/* nextweigh.com — brand: sky blue #0ea5e9, deep navy #0E0C32, light blue #e0f2fe, slate #64748b (from /brand-assets). Mobile-first. */
:root {
  --brand: #0ea5e9; --brand-ink: #0369a1; --brand-dark: #075985; --navy: #0e0c32; --ink: #0f172a; --muted: #475569; --line: #e2e8f0;
  --tint: #e0f2fe; --soft: #f0f9ff; --bg: #ffffff; --ok: #0284c7; --bad: #b91c1c; --r: 16px; --shadow: 0 10px 30px -12px rgba(14, 165, 233, .35);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 400 17px/1.6 var(--font); color: var(--ink); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-ink); text-underline-offset: 2px; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 7vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.25rem); font-weight: 800; }
h3, .h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }
.small { font-size: .9rem; color: var(--muted); }
.muted { color: var(--muted); font-weight: 400; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 48px; padding: .7em 1.4em; border-radius: 999px; background: var(--brand-ink); color: #fff; font-weight: 700; text-decoration: none; border: 2px solid var(--brand-ink); cursor: pointer; font: inherit; font-weight: 700; line-height: 1.2; text-align: center; box-shadow: var(--shadow); transition: background .15s, transform .15s; }
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn.lg { min-height: 56px; font-size: 1.1rem; width: 100%; max-width: 560px; }
.btn.sm { min-height: 44px; padding: .5em 1.1em; font-size: .95rem; }
.btn.ghost { background: transparent; color: var(--brand-ink); box-shadow: none; }
.btn.ghost:hover { background: var(--tint); color: var(--brand-dark); }
.btn.light { background: #fff; color: var(--brand-dark); border-color: #fff; }
.btn.ghost.light { background: transparent; color: #fff; border-color: #fff; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn.grow { flex: 1; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: inherit; }
.center .ctas, .ctas.center { justify-content: center; }
.cta-row { margin: 1.4em 0; }
.linkish { background: none; border: 0; color: var(--brand-ink); text-decoration: underline; cursor: pointer; font: inherit; font-size: .9rem; padding: 0; }

/* header */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .row { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.logo img { width: 88px; height: auto; }
.mainnav { display: none; }
.topcta { margin-left: auto; }
.topcta .wide { display: none; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; font-size: 1.4rem; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: 52px; width: min(280px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 40px -20px rgba(15, 23, 42, .3); padding: 8px; display: grid; }
.menu nav a { padding: 12px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; }
.menu nav a:hover { background: var(--soft); }
@media (min-width: 900px) {
  .logo img { width: 120px; }
  .mainnav { display: flex; gap: 28px; margin: 0 auto; }
  .mainnav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; }
  .mainnav a:hover, .mainnav a[aria-current] { color: var(--ink); }
  .topcta { margin-left: 0; }
  .topcta .wide { display: inline; } .topcta .narrow { display: none; }
  .menu { display: none; }
}
.crumbs { font-size: .85rem; color: var(--muted); padding: 14px 0 0; }
.crumbs a { color: var(--muted); }

/* sections */
.sec { padding: 56px 0; }
.sec.tight { padding: 36px 0; }
.sec.soft { background: var(--soft); }
.sec.band { background: linear-gradient(135deg, var(--brand-ink), var(--navy)); color: #fff; }
.sec.band h2, .sec.band p, .sec.band .small, .sec.band a:not(.btn) { color: #fff; }
.sec.band.plan { background: linear-gradient(135deg, rgba(3, 105, 161, .94), rgba(14, 12, 50, .94)), url(/img/blue-background-960.webp) center/cover; }
.center-head > .wrap > h2, .center-head > .wrap > .lead-in { text-align: center; }
.lead-in { color: var(--muted); font-size: 1.1rem; max-width: 680px; margin: 0 auto 2em; }
.center-head .lead-in { text-align: center; }
.more { margin-top: 1.5em; }
.sub { margin-top: 2em; }

/* hero */
.hero { padding: 40px 0 48px; background: radial-gradient(1200px 600px at 80% 0, var(--tint), transparent 60%), #fff; }
.hero.light { padding: 40px 0 32px; }
.hero .lede { font-size: 1.2rem; color: var(--muted); }
.hero .sub { font-size: .98rem; color: var(--muted); margin-top: 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; color: var(--navy); }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.eyebrow, .tag { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--brand-ink); margin-bottom: .6em; display: block; }
.trust-row { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .9rem; color: var(--muted); }
.trust-row li::before { content: "✓ "; color: var(--brand-ink); font-weight: 700; }
.center .trust-row { justify-content: center; }
.hero-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.hero-pics .pic.b { margin-top: 40px; }
.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) {
  .hero { padding: 72px 0 80px; }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split.founder { grid-template-columns: 360px 1fr; }
  .hero .split > div:first-child h1 { font-size: 3.6rem; }
  .hero-pics { margin-top: 0; }
}

/* pictures with a floating "text" note */
.pic { position: relative; margin: 0; }
.pic img { border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .45); width: 100%; }
.note { position: absolute; left: 10px; right: 10px; bottom: 10px; background: rgba(255, 255, 255, .96); border-radius: 14px; padding: 10px 12px; font-size: .85rem; color: var(--muted); box-shadow: 0 10px 30px -10px rgba(15, 23, 42, .35); }
.note b { display: block; color: var(--ink); }

/* SMS bubbles */
.phone-pair { display: grid; gap: 16px; max-width: 900px; margin: 0 auto 1em; }
@media (min-width: 760px) { .phone-pair { grid-template-columns: 1fr 1fr; } }
.sms { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px; margin: 1em 0; }
.sms .sms-from { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-ink); margin: 0 0 8px; }
.sms .bubble { background: var(--tint); color: var(--ink); border-radius: 18px 18px 18px 4px; padding: 12px 14px; margin: 0; }
.sms.reply { text-align: right; border: 0; background: none; padding: 0 16px; }
.sms.reply .bubble { display: inline-block; background: var(--brand-ink); color: #fff; border-radius: 18px 18px 4px 18px; }
.sms.reply .sms-from { color: var(--muted); }
.phone { background: var(--soft); border-radius: 28px; padding: 16px; }

/* steps */
.steps { list-style: none; padding: 0; display: grid; gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.steps li::before { content: "0" counter(s); display: block; font-weight: 800; font-size: 1.6rem; color: var(--brand); margin-bottom: 6px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } .steps.four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps.four { grid-template-columns: repeat(4, 1fr); } }
.loop { list-style: none; padding: 0; display: grid; gap: 16px; }
.loop li { background: var(--soft); border-radius: var(--r); padding: 18px; }
.loop .sms { margin-bottom: 0; }
@media (min-width: 760px) { .loop { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .loop { grid-template-columns: repeat(4, 1fr); } }

/* cards + tiles */
.cards { display: grid; gap: 18px; }
@media (min-width: 640px) { .cards.c2, .cards.c3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards.c3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; min-width: 0; }
.card img { border-radius: 14px; margin-bottom: 14px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card img.brandlogo { aspect-ratio: auto; width: 120px; border-radius: 0; }
.card.link { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.card.link:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -20px rgba(15, 23, 42, .35); }
.card.link h3 { color: var(--ink); }
.card.link p { color: var(--muted); font-size: .95rem; }
.card .meta { margin-top: auto; font-size: .82rem; color: var(--muted); }
.card.accent { border: 2px solid var(--brand); background: linear-gradient(180deg, var(--soft), #fff); box-shadow: var(--shadow); }
.card .sample { background: var(--soft); border-radius: 12px; padding: 10px 12px; font-size: .95rem; }
.card .sample .tag { margin-bottom: 2px; }
.situations .card img { aspect-ratio: 3 / 2; }
.prices .card { text-align: left; }
.price { font-size: 1rem; color: var(--muted); }
.price span { font-size: 2.4rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.tiles { display: grid; gap: 14px; margin: 1.2em 0; }
.tile { background: var(--soft); border-radius: 14px; padding: 16px 18px; }
.tile h3 { margin-bottom: .3em; }
.tile p:last-child { margin-bottom: 0; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); } .tiles.one { grid-template-columns: 1fr; } .tiles.four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tiles.four { grid-template-columns: repeat(4, 1fr); } }
.sec.soft .tile { background: #fff; }
.feature { display: grid; gap: 20px; text-decoration: none; color: inherit; background: var(--soft); border-radius: 24px; padding: 16px; align-items: center; }
.feature img { border-radius: 18px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.feature h2 { color: var(--ink); }
.feature p { color: var(--muted); }
.feature .meta { font-size: .85rem; color: var(--muted); }
@media (min-width: 900px) { .feature { grid-template-columns: 1.1fr 1fr; padding: 24px; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; text-decoration: none; color: var(--ink); font-size: .92rem; background: #fff; }
.chips a:hover { border-color: var(--brand); }
.count { font-size: .8rem; font-weight: 600; color: var(--muted); background: var(--soft); border-radius: 999px; padding: 2px 8px; vertical-align: middle; }

/* lists */
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 30px; margin: .45em 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230369a1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.checks.inline { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.crosses { list-style: none; padding: 0; }
.crosses li { position: relative; padding-left: 30px; margin: .45em 0; }
.crosses li::before { content: "✕"; position: absolute; left: 3px; top: 0; color: var(--muted); font-weight: 700; }
.link-list { list-style: none; padding: 0; display: grid; gap: 8px; }
@media (min-width: 640px) { .link-list { grid-template-columns: repeat(2, 1fr); } }
.link-list a { display: block; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-weight: 600; background: #fff; }
.link-list a:hover { border-color: var(--brand); }
.benefits { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 2em; }
@media (min-width: 900px) { .benefits { grid-template-columns: repeat(4, 1fr); } }
.benefits li { background: #fff; border-radius: 14px; padding: 18px 14px; font-weight: 700; text-align: center; border: 1px solid var(--line); }
dl.facts { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 0 0 1em; }
dl.facts > div { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
dl.facts > div:first-child { border-top: 0; }
dl.facts dt { font-weight: 700; }
dl.facts dd { margin: 0; color: var(--muted); }
dl.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0; }
dl.stats div { background: #fff; border-radius: 14px; padding: 16px; text-align: center; }
dl.stats dt { font-size: 2rem; font-weight: 800; color: var(--brand-ink); }
dl.stats dd { margin: 0; color: var(--muted); font-size: .9rem; }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 1.4em; }
table { border-collapse: collapse; width: 100%; min-width: 480px; font-size: .95rem; }
th, td { text-align: left; padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
thead th { border-top: 0; background: var(--soft); }
table.compare td:nth-child(2) { font-weight: 600; color: var(--brand-dark); }

/* price card */
.price-card { max-width: 460px; margin: 0 auto; background: #fff; border: 2px solid var(--brand); border-radius: 24px; padding: 28px 22px; box-shadow: var(--shadow); text-align: left; }
.price-card .btn { width: 100%; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.faq summary { cursor: pointer; padding: 16px 44px 16px 18px; font-weight: 700; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 1.4rem; color: var(--brand-ink); }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 18px 4px; color: var(--muted); }
#faq > .wrap > h2, #faq > .wrap > .lead-in { text-align: center; }

/* articles */
.art-head { padding-top: 24px; }
.art-head .lede { font-size: 1.2rem; color: var(--muted); }
.byline { font-size: .9rem; color: var(--muted); }
.hero-img { margin: 8px 0 28px; }
.hero-img img { border-radius: 20px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.prose { font-size: 1.06rem; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.4rem, 4vw, 1.8rem); }
.prose h3 { margin-top: 1.4em; }
.prose li { margin: .35em 0; }
.prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--brand); background: var(--soft); border-radius: 0 14px 14px 0; font-size: 1.1rem; }
.prose blockquote p { margin: 0; }
.prose figure { margin: 1.4em 0; }
.prose figure img { border-radius: 16px; }
.prose.topic { padding-top: 24px; padding-bottom: 24px; }
.prose .tiles { margin: 1.4em 0; }
.cta-box { background: linear-gradient(135deg, var(--brand-ink), var(--navy)); color: #fff; border-radius: 24px; padding: 28px 22px; margin: 2.5em 0; }
.cta-box h2, .cta-box p, .cta-box li { color: #fff; }
.cta-box .checks li::before { background-color: #fff; }
.cta-box .btn { background: #fff; color: var(--brand-dark); border-color: #fff; }
.cta-box a:not(.btn) { color: #fff; }
.see-also { margin: 2em 0 1em; }
.see-also h2 { font-size: 1.3rem; }
.legal { padding-bottom: 48px; }
.mission { margin: 0; padding: 22px; background: var(--soft); border-radius: 18px; font-size: 1.15rem; }
.mission p { margin: 0; }
.sig { color: var(--muted); }
.sig b { color: var(--ink); }

/* brand assets */
.logo-box { background: var(--soft); border-radius: 14px; padding: 28px; display: grid; place-items: center; margin-bottom: 14px; }
.logo-box img { width: 200px; aspect-ratio: auto; margin: 0; border-radius: 0; }
.swatches { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 900px) { .swatches { grid-template-columns: repeat(4, 1fr); } }
.swatches li { background: #fff; border-radius: 16px; padding: 14px; border: 1px solid var(--line); }
.sw { display: block; height: 72px; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 10px; }
.copy { font: inherit; font-size: .8rem; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 4px 8px; cursor: pointer; }

/* forms */
.form label, .field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
input, select, textarea { font: inherit; width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #94a3b8; border-radius: 12px; background: #fff; color: var(--ink); }
textarea { min-height: 96px; resize: vertical; }
input[type="range"] { padding: 0; min-height: 32px; border: 0; accent-color: var(--brand-ink); }
input[type="checkbox"], input[type="radio"] { width: 22px; height: 22px; min-height: 0; accent-color: var(--brand-ink); flex: none; margin: 2px 0 0; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--bad); }
.err { color: var(--bad); font-size: .88rem; margin: 6px 0 0; }
.calc label { margin-top: 12px; display: block; font-weight: 600; }
.calc output { font-weight: 700; }

/* modals */
html.modal-open { overflow: hidden; }
dialog.modal { border: 0; padding: 0; color: var(--ink); background: #fff; }
dialog.modal::backdrop { background: rgba(14, 12, 50, .55); }
dialog.onboard { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; overflow-y: auto; }
.ob-top { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: rgba(255, 255, 255, .95); max-width: 680px; margin: 0 auto; }
.ob-top img { width: 88px; }
.ob-top span { width: 44px; }
.x { width: 44px; height: 44px; border: 0; background: var(--soft); border-radius: 50%; cursor: pointer; font-size: 1.1rem; color: var(--ink); }
.bar { height: 6px; background: var(--soft); position: sticky; top: 64px; z-index: 2; }
.bar span { display: block; height: 100%; background: var(--brand); border-radius: 0 999px 999px 0; transition: width .35s; }
.ob-body { max-width: 540px; margin: 0 auto; padding: 24px 16px 40px; }
.ob-head { text-align: center; margin-bottom: 20px; }
.ob-head h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
.ob-head p { color: var(--muted); }
.ob-body .field { margin: 0 0 16px; }
.ob .two, .lf .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
legend { font-weight: 600; font-size: .95rem; margin-bottom: 8px; padding: 0; }
.choices { display: grid; gap: 10px; }
.choices.two { grid-template-columns: 1fr 1fr; }
.choice { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; text-align: left; min-height: 60px; padding: 14px; border: 2px solid var(--line); border-radius: 16px; background: #fff; font: inherit; font-weight: 600; cursor: pointer; color: var(--ink); }
.choice span { font-weight: 400; font-size: .85rem; color: var(--muted); }
.choice.on, .choice:has(input:checked) { border-color: var(--brand-ink); background: var(--soft); color: var(--brand-dark); }
label.choice { flex-direction: row; flex-wrap: wrap; gap: 8px; align-items: center; }
label.choice span { width: 100%; }
.chips-in { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-in legend { width: 100%; }
.chip { font: inherit; font-size: .92rem; font-weight: 600; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); }
.chip.on { background: var(--brand-ink); border-color: var(--brand-ink); color: #fff; }
.range-ends { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); }
.review { background: var(--soft); border-radius: 16px; padding: 16px; margin-bottom: 16px; }
.review .grid { display: grid; gap: 6px 14px; font-size: .92rem; margin-bottom: 10px; }
@media (min-width: 560px) { .review .grid { grid-template-columns: 1fr 1fr; } .review .grid .full { grid-column: 1 / -1; } }
.review span { color: var(--muted); }
.consent { display: flex; gap: 12px; align-items: flex-start; border: 2px solid var(--line); border-radius: 16px; padding: 14px; font-size: .82rem; color: var(--muted); }
.consent.bad { border-color: var(--bad); }
.consent label { font-weight: 400; margin: 0; }
.alert { background: #fef2f2; border: 1px solid #fecaca; color: var(--bad); border-radius: 12px; padding: 10px 14px; font-size: .9rem; margin-bottom: 14px; }
.ob-nav { display: flex; gap: 10px; margin-top: 24px; }
.ob-nav .btn.ghost { flex: none; width: 56px; padding: 0; }
.dots { list-style: none; padding: 0; display: flex; gap: 6px; justify-content: center; margin-top: 22px; }
.dots li { width: 6px; height: 6px; border-radius: 999px; background: var(--line); }
.dots li.past { background: #7dd3fc; } .dots li.cur { width: 24px; background: var(--brand-ink); }
.ob-done { text-align: center; padding: 32px 0; }
.ob-done .next { background: var(--soft); border-radius: 16px; padding: 16px 18px; text-align: left; margin: 18px 0; }
.hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
dialog.lead { width: min(500px, calc(100vw - 24px)); border-radius: 20px; max-height: calc(100dvh - 24px); overflow-y: auto; }
.lf { padding: 24px 20px; position: relative; }
.lf .x { position: absolute; right: 12px; top: 12px; }
.lf-logo { width: 100px; margin: 0 auto 16px; }

/* footer */
.foot { background: var(--navy); color: #cbd5e1; padding: 48px 0 28px; margin-top: 0; font-size: .95rem; }
.foot a { color: #fff; }
.foot .cols { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
.foot .about-col { grid-column: 1 / -1; }
.foot .logo img { width: 110px; background: #fff; border-radius: 10px; padding: 4px 8px; margin-bottom: 12px; }
.foot .fh { color: #fff; font-weight: 700; margin-bottom: .5em; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin: .4em 0; }
.foot ul a { color: #cbd5e1; text-decoration: none; }
.foot ul a:hover { color: #fff; text-decoration: underline; }
.foot .fine { font-size: .82rem; color: #94a3b8; margin-top: 1em; }
.foot .fine strong { color: #cbd5e1; }
.legal-row { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 1.5em; padding-top: .5em; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 20px; }
@media (min-width: 900px) { .foot .cols { grid-template-columns: 2fr 1fr 1fr 1fr; } .foot .about-col { grid-column: auto; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
