/* signup.onestop.online. Built to sit next to www.onestop.online: same navy and red, same heading face,
   white cards with a soft shadow, red circle icons, navy rounded buttons. */
:root {
  --navy: #0c1454;
  --navy-2: #18227a;
  --red: #bf1e2e;
  --red-2: #a31826;
  --tint: #e7e7ee;
  --tint-2: #f4f4f8;
  --line: #c9cbdd;
  --muted: #555a82;
  --white: #fff;
  --head: "Milliard-Medium", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --body: Helvetica, Arial, sans-serif;
  --shadow: 0 3px 10px 1px rgba(12, 20, 84, .22);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--navy); font: 17px/1.5 var(--body); min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--navy); text-underline-offset: 2px; }
a:hover { color: var(--red); }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.2; margin: 0; text-wrap: balance; }
p { margin: 0; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

/* ---- header ---- */
.top { background: var(--white); border-bottom: 1px solid var(--tint); }
.top-in { max-width: 1180px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; gap: 12px 28px; }
.logo { display: block; flex: none; }
.logo img { display: block; height: 30px; width: auto; }
.menu { display: flex; gap: 30px; margin: 0 auto; font: 600 19px var(--head); }
.menu a { text-decoration: none; padding: 6px 0; white-space: nowrap; }
.top-btns { display: flex; gap: 8px; margin-left: auto; }
.menu + .top-btns { margin-left: 0; }
.pill { display: inline-block; background: var(--navy); color: #fff; font: 600 15px/1.1 var(--head); padding: 11px 14px; border-radius: 10px; text-decoration: none; white-space: nowrap; }
.pill:hover { background: var(--red); color: #fff; }
.pill.call { background: var(--red); }
.pill.call:hover { background: var(--navy); }
@media (max-width: 980px) { .menu { display: none; } .top-btns { margin-left: auto !important; } }
@media (max-width: 700px) { .wide-only { display: none; } .logo img { height: 24px; } }

/* ---- banner ---- */
.banner { background: var(--navy) linear-gradient(100deg, #0c1454 0%, #101a66 55%, #1a2585 100%); color: #fff; position: relative; overflow: hidden; }
.banner::after { content: ""; position: absolute; right: 6%; top: 50%; width: 230px; height: 230px; transform: translateY(-50%) rotate(-8deg);
  background: url(brand/mark.png) center / contain no-repeat; opacity: .13; pointer-events: none; }
.banner-in { max-width: 1180px; margin: 0 auto; padding: 44px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; position: relative; z-index: 1; }
.banner h1 { font-size: 40px; font-weight: 700; color: #fff; }
.crumbs { font-size: 15px; display: flex; gap: 8px; align-items: center; color: #c8cae6; }
.crumbs a { color: #fff; }
.crumbs a:hover { color: #ffb3bb; }
@media (max-width: 700px) { .banner-in { padding: 26px 16px; } .banner h1 { font-size: 30px; } .banner::after { width: 150px; height: 150px; right: -20px; } }

/* ---- page ---- */
.page { width: 100%; max-width: 940px; margin: 0 auto; padding: 28px 16px 56px; flex: 1; }
.card { background: var(--white); box-shadow: var(--shadow); padding: 28px; }
.card + .card, .card + section, section + .card, form + .card, form + section { margin-top: 24px; }
.card-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.card-head h2 { font-size: 26px; text-transform: none; }
.card-head p { margin-top: 4px; color: var(--muted); }
.ico { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; }
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico svg .dot { fill: currentColor; stroke: none; }
.ico.sm { width: 30px; height: 30px; }
.ico.sm svg { width: 16px; height: 16px; }
.ico.xl { width: 72px; height: 72px; }
.ico.xl svg { width: 38px; height: 38px; stroke-width: 2.4; }
@media (max-width: 560px) { .card { padding: 20px 16px; } .card-head h2 { font-size: 22px; } }

/* ---- progress ---- */
.steps { list-style: none; display: flex; margin: 0 0 24px; padding: 0; font: 600 15px var(--head); }
.steps li { flex: 1 1 0; display: flex; align-items: center; gap: 10px; color: var(--muted); min-width: 0; }
.steps li:first-child { flex: 0 0 auto; }
.steps li + li::before { content: ""; flex: 1 1 16px; min-width: 16px; height: 2px; background: var(--line); margin: 0 2px 0 12px; }
.steps .n { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-size: 14px; background: #fff; }
.steps .t { flex: none; white-space: nowrap; }
.steps .on, .steps .done { color: var(--navy); }
.steps .on .n { background: var(--navy); border-color: var(--navy); color: #fff; }
.steps .done .n { background: var(--red); border-color: var(--red); color: #fff; }
.steps .done + li::before { background: var(--red); }
@media (max-width: 560px) { .steps { font-size: 14px; } .steps li:not(.on) .t { display: none; } .steps li.on { flex: 0 0 auto; } }

/* ---- forms ---- */
.form { display: grid; gap: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; align-content: start; }
.field.grow { flex: 1 1 240px; }
.field.unit { flex: 0 1 170px; }
.field.st { flex: 0 0 76px; }
.field.zip { flex: 0 1 140px; }
label, legend { font: 600 15px var(--head); padding: 0; }
.opt { font-weight: 400; color: var(--muted); font-family: var(--body); font-size: 14px; }
input:not([type=radio]):not([type=checkbox]), select, textarea { width: 100%; font: 17px var(--body); color: var(--navy); background: #fff; border: 1.5px solid var(--line);
  border-radius: 10px; padding: 12px 14px; min-height: 50px; appearance: none; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%230c1454' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 38px; }
textarea { min-height: 96px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #8a8eb0; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--navy); outline-offset: 0; border-color: var(--navy); border-radius: 10px; }
input[readonly] { background: var(--tint-2); color: var(--muted); text-align: center; }
input[type=radio], input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--navy); margin: 0; flex: none; }
.choice { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.choice legend { margin-bottom: 6px; width: 100%; }
.choice label { display: inline-flex; align-items: center; gap: 8px; font: 400 17px var(--body); min-height: 44px; cursor: pointer; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.btn { display: inline-block; appearance: none; border: 0; cursor: pointer; background: var(--navy); color: #fff; font: 600 16px/1.2 var(--head); padding: 12px 20px;
  border-radius: 15px; text-decoration: none; text-align: center; transition: background-color .15s; }
.btn:hover { background: var(--red); color: #fff; }
.btn.big { font-size: 19px; padding: 16px 28px; justify-self: start; }
.btn[disabled] { background: #9a9db8; cursor: not-allowed; }
.btn.ghost { background: none; color: var(--navy); text-decoration: underline; padding: 12px 8px; font-weight: 400; font-family: var(--body); }
.btn.ghost:hover { color: var(--red); background: none; }
.link { appearance: none; border: 0; background: none; padding: 6px 0; color: var(--navy); font: 15px var(--body); text-decoration: underline; cursor: pointer; }
.link:hover { color: var(--red); }
@media (max-width: 560px) { .btn.big { width: 100%; } }
.alert { border-left: 5px solid var(--red); background: #fdf1f2; padding: 12px 16px; margin-bottom: 18px; color: #7a121d; }
.alert ul { margin: 4px 0 0; padding-left: 20px; }
.alert ul:only-child { margin: 0; }
.fine { font-size: 14px; color: var(--muted); }
.help { margin-top: 28px; text-align: center; color: var(--muted); }
.help a { font-weight: 700; white-space: nowrap; }

/* ---- first page ---- */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.perk { text-align: center; padding: 24px 18px; margin: 0 !important; }
.perk .ico { margin: 0 auto 12px; }
.perk h3 { font-size: 18px; text-transform: uppercase; margin-bottom: 6px; }
.perk p { font-size: 15px; color: var(--muted); }
@media (max-width: 700px) { .perks { grid-template-columns: 1fr; gap: 14px; } .perk { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; text-align: left; padding: 16px; }
  .perk .ico { grid-row: span 2; margin: 0; } .perk h3 { align-self: end; } }

/* ---- result ---- */
.where { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 18px; }
.where a { font-size: 15px; margin-left: auto; }
.verdict { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; margin-bottom: 28px; }
.verdict h2 { font-size: 25px; }
.verdict p { margin-top: 6px; }

/* ---- portal: the signed-in shell ---- */
.who { display: flex; align-items: center; gap: 8px 14px; margin-left: auto; font-size: 15px; flex-wrap: wrap; }
.who a { text-decoration: none; }
.who form { margin: 0; }
.tabs { display: flex; gap: 2px; flex-wrap: wrap; margin: -10px 0 22px; border-bottom: 2px solid var(--tint); }
.tabs a { padding: 10px 14px; text-decoration: none; font: 600 16px var(--head); color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tabs a.on, .tabs a:hover { color: var(--navy); border-color: var(--red); }
.switch { display: inline-flex; align-items: center; gap: 8px; }
.switch select { min-height: 40px; padding: 6px 34px 6px 12px; font-size: 15px; border-radius: 8px; width: auto; }
.notice { border-left: 5px solid #c99b17; background: #fff8e3; padding: 12px 16px; margin-bottom: 18px; color: #5a4300; }
.flash { border-left: 5px solid var(--navy); background: var(--tint-2); padding: 12px 16px; margin-bottom: 18px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat { background: var(--white); box-shadow: var(--shadow); padding: 18px 20px; text-decoration: none; display: block; }
.stat b { display: block; font: 700 28px var(--head); }
.stat span { color: var(--muted); font-size: 14px; }
.stat.bad b { color: var(--red); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; align-items: start; }
.grid2 > .card { margin-top: 0; }
.list { width: 100%; border-collapse: collapse; font-size: 16px; }
.list th { text-align: left; font: 600 14px var(--head); color: var(--muted); padding: 8px 10px; border-bottom: 2px solid var(--tint); }
.list td { padding: 10px; border-bottom: 1px solid var(--tint); vertical-align: top; }
.list tr:last-child td { border-bottom: 0; }
.list .num { text-align: right; white-space: nowrap; }
.svc { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--tint); }
.svc:last-child { border-bottom: 0; }
.svc .ico { width: 38px; height: 38px; }
.svc .ico svg { width: 20px; height: 20px; }
.svc h4 { margin: 0; font: 600 18px var(--head); }
.svc p { color: var(--muted); font-size: 15px; }
.svc .right { margin-left: auto; text-align: right; white-space: nowrap; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 1rem; background: var(--tint); font-size: 13px; font-weight: 600; }
.tag.ok { background: #e2f5e7; color: #14532d; }
.tag.bad { background: #fde8ea; color: #7a121d; }
.tag.warn { background: #fff4d6; color: #5a4300; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; font-size: 16px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.codes { columns: 2; font: 18px/1.9 ui-monospace, Menlo, Consolas, monospace; margin: 16px 0; }
.qr { width: 200px; height: 200px; background: #fff; padding: 8px; border: 1px solid var(--line); }
.qr svg { width: 100%; height: 100%; }
.sec { font: 16px ui-monospace, Menlo, Consolas, monospace; letter-spacing: 1px; word-break: break-all; }
.site-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.site-head h2 { font-size: 24px; }
.site-head .addr { color: var(--muted); }
.mock { background: #fff4d6; color: #5a4300; text-align: center; font-size: 14px; padding: 6px; }
@media (max-width: 700px) { .kv { grid-template-columns: 1fr; gap: 2px 0; } .kv dt { margin-top: 10px; } .codes { columns: 1; } }
/* ---- footer ---- */
.bottom { background: var(--navy); color: #fff; margin-top: 24px; }
.bottom-in { max-width: 1180px; margin: 0 auto; padding: 40px 16px 24px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
.f-brand img { width: 220px; height: auto; display: block; margin-bottom: 14px; }
.f-brand p { color: #c8cae6; font-size: 15px; }
.bottom h2 { font-size: 18px; color: #fff; margin-bottom: 10px; }
.bottom ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.bottom a { color: #fff; text-decoration: none; }
.bottom a:hover { color: #ffb3bb; text-decoration: underline; }
.copy { text-align: center; font-size: 14px; color: #c8cae6; padding: 16px; border-top: 1px solid rgba(255, 255, 255, .15); }
@media (max-width: 700px) { .bottom-in { grid-template-columns: 1fr; gap: 22px; padding-top: 30px; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print { .top, .banner, .bottom, .help, .tabs, .who, .flash, .mock, .no-print { display: none; } .card { box-shadow: none; padding: 0; } }
