/* LedgerHouse public site: Home, About, Pricing, Log in and legal pages.
   Design tokens and components from the Website Design Brief, section 2. */
:root {
  --lh-ink: #0B1F2A;        /* dark header, hero, footer */
  --lh-ink-2: #12303F;      /* raised dark surfaces */
  --lh-paper: #FAF8F3;      /* page background */
  --lh-card: #FFFFFF;
  --lh-rule: #E4E0D6;       /* ledger lines, borders */
  --lh-text: #14232C;
  --lh-muted: #5B6B73;
  --lh-teal: #12A594;       /* primary accent, ticks, links */
  --lh-teal-dark: #0B7D70;  /* buttons and text on light (keeps white text above 4.5:1) */
  --lh-logo-teal: #5EEAD4;  /* the tick in the LedgerHouse logo */
  --lh-flag: #E8A317;       /* flags only */
  --lh-flag-bg: #FFF4D6;
  --lh-flag-text: #7A5200;
  --lh-ok: #2E9E5B;         /* passed checks */
  --lh-danger: #C8452F;     /* errors only */
  --lh-radius: 12px;
  --lh-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --lh-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --lh-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--lh-paper); color: var(--lh-text); font: 400 17px/1.6 var(--lh-sans); }
img, svg { display: block; max-width: 100%; }
a { color: var(--lh-teal-dark); text-underline-offset: 3px; }
a:hover { color: var(--lh-ink); }
:focus-visible { outline: 3px solid var(--lh-teal-dark); outline-offset: 2px; border-radius: 4px; }
.dark :focus-visible, .site-header.on-dark :focus-visible, .sheet :focus-visible, .auth-side :focus-visible, .site-footer :focus-visible { outline-color: var(--lh-logo-teal); }
h1, h2, h3 { font-family: var(--lh-serif); font-weight: 600; line-height: 1.1; margin: 0; text-wrap: balance; }
h1 { font-size: 38px; line-height: 44px; }
h2 { font-size: 30px; line-height: 36px; }
h3 { font-size: 20px; line-height: 28px; }
p { margin: 0 0 16px; max-width: 64ch; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lh-card); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.section { padding: 64px 0; position: relative; }
.dark { background: var(--lh-ink); color: #E8EEF1; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark p, .dark .muted { color: #B8C7CE; }
.dark a:not(.btn) { color: var(--lh-logo-teal); }
.dark a:not(.btn):hover { color: #fff; }
.muted { color: var(--lh-muted); }
.eyebrow { font: 600 13px/1.4 var(--lh-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--lh-teal-dark); margin: 0 0 14px; }
.dark .eyebrow { color: var(--lh-logo-teal); }
.lede { font-size: 19px; line-height: 1.55; }
.center { text-align: center; }
.center p { margin-left: auto; margin-right: auto; }
.head { margin-bottom: 36px; }
.head p { margin-top: 14px; }

/* Ledger paper: faint ruled lines 32px apart */
.ruled { background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 31px, var(--lh-rule) 31px, var(--lh-rule) 32px); }
.dark.ruled { background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 31px, rgba(255,255,255,.055) 31px, rgba(255,255,255,.055) 32px); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: var(--lh-radius); font: 600 16px/1 var(--lh-sans); text-decoration: none; cursor: pointer;
  border: 2px solid var(--lh-teal-dark); background: var(--lh-teal-dark); color: #fff; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { background: #086257; border-color: #086257; color: #fff; }
.btn.secondary { background: transparent; color: var(--lh-teal-dark); }
.btn.secondary:hover { background: rgba(11,125,112,.08); color: var(--lh-ink); }
.dark .btn.secondary { color: #fff; border-color: rgba(255,255,255,.55); }
.dark .btn.secondary:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }

/* Flag chips: amber means "look here" */
.chip { display: inline-block; font: 600 11px/1 var(--lh-sans); letter-spacing: .06em; text-transform: uppercase;
  color: var(--lh-flag-text); background: var(--lh-flag-bg); border: 1px solid #F1D48A; border-radius: 999px; padding: 6px 10px; white-space: nowrap; }
.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; }
.tick-list svg { flex-shrink: 0; margin-top: 4px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,248,243,.96); border-bottom: 1px solid var(--lh-rule);
  backdrop-filter: saturate(1.2) blur(6px); }
.site-header.on-dark { background: rgba(11,31,42,.97); border-bottom-color: rgba(255,255,255,.08); }
.site-header .bar { display: flex; align-items: center; gap: 24px; height: 80px; transition: height .2s; }
.site-header.shrink .bar { height: 64px; }
.brandlink { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--lh-ink); margin-right: auto; padding: 6px 0; }
.on-dark .brandlink, .dark .brandlink { color: #fff; }
.brandlink .word { display: flex; flex-direction: column; line-height: 1; }
.brandlink .word b { font: 600 22px/1 var(--lh-serif); letter-spacing: -.01em; }
.brandlink .word small { font: 500 10.5px/1 var(--lh-sans); color: var(--lh-muted); margin-top: 4px; letter-spacing: .02em; }
.on-dark .brandlink .word small, .dark .brandlink .word small { color: #9FB4BD; }
.mainnav { display: none; gap: 4px; }
.mainnav a, .navside .login { color: var(--lh-text); text-decoration: none; font-weight: 500; font-size: 16px; padding: 10px 12px; border-radius: 8px; }
.mainnav a:hover, .navside .login:hover { background: rgba(11,31,42,.06); }
.mainnav a[aria-current="page"] { color: var(--lh-teal-dark); }
.on-dark .mainnav a, .on-dark .navside .login { color: #E8EEF1; }
.on-dark .mainnav a:hover, .on-dark .navside .login:hover { background: rgba(255,255,255,.08); }
.on-dark .mainnav a[aria-current="page"] { color: var(--lh-logo-teal); }
.navside { display: none; align-items: center; gap: 8px; }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--lh-rule); background: transparent; color: inherit; font: 600 15px var(--lh-sans); cursor: pointer; }
.on-dark .menu-btn { color: #fff; border-color: rgba(255,255,255,.25); }
.sheet { position: fixed; inset: 0; z-index: 60; background: var(--lh-ink); color: #fff; padding: 20px 16px 32px; display: none; flex-direction: column; overflow-y: auto; }
.sheet.open { display: flex; }
.sheet .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.sheet nav { display: grid; gap: 4px; }
.sheet nav a { color: #fff; text-decoration: none; font: 600 26px/1.2 var(--lh-serif); padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
.sheet .btns { margin-top: 28px; flex-direction: column; }
.sheet .btn.secondary { color: #fff; border-color: rgba(255,255,255,.55); }

/* Footer and closing band */
.site-footer { background: var(--lh-ink); color: #B8C7CE; padding: 56px 0 32px; font-size: 15px; border-top: 1px solid rgba(255,255,255,.06); }
.site-footer .cols { display: grid; gap: 28px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer a { color: #E8EEF1; text-decoration: none; }
.site-footer a:hover { color: var(--lh-logo-teal); text-decoration: underline; }
.site-footer .slogan { font: 600 18px var(--lh-serif); color: #fff; margin: 14px 0 0; }
.site-footer .fine { border-top: 1px solid rgba(255,255,255,.08); margin-top: 32px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13.5px; }
.cta-band { text-align: center; }
.cta-band h2 { font-size: 36px; line-height: 44px; }
.cta-band p { margin: 14px auto 26px; }

/* Cards and grids */
.grid { display: grid; gap: 20px; }
.card { background: var(--lh-card); border: 1px solid var(--lh-rule); border-radius: var(--lh-radius); padding: 24px; }
.card h3 { margin: 14px 0 8px; }
.card p:last-child { margin-bottom: 0; }
.dark .card { background: var(--lh-ink-2); border-color: rgba(255,255,255,.08); }
.icon-badge { width: 48px; height: 48px; border-radius: 12px; background: rgba(18,165,148,.1); display: grid; place-items: center; }
.dark .icon-badge { background: rgba(94,234,212,.1); }
.check-card .chip { margin-top: 6px; }
.note-line { margin-top: 22px; font-size: 15px; }

/* Hero */
.hero { padding: 48px 0 0; overflow: visible; }
.hero .cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: end; }
.grid > *, .two-col > *, .hero .cols > * { min-width: 0; }
.hero .cols > div:first-child { padding-bottom: 8px; }
.hero .micro { font-size: 15px; color: #B8C7CE; margin: 0; }
.hero-visual { position: relative; margin-bottom: -48px; z-index: 2; }
.hero + .section { padding-top: 112px; }

/* Hero product mock: a cropped invoice sheet, a scan line, amber flags appearing */
.mock { position: relative; background: var(--lh-ink-2); border: 1px solid rgba(255,255,255,.09); border-radius: 16px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); overflow: hidden; font: 400 12.5px/1 var(--lh-mono); color: #CFDAE0; }
.mock .tbar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.07); font: 500 12px var(--lh-sans); color: #9FB4BD; }
.mock .tbar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.14); }
.mock .tbar span { margin-left: 8px; }
.mock table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.mock th { font: 600 10.5px var(--lh-sans); letter-spacing: .06em; text-transform: uppercase; color: #8AA0AA; text-align: left; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.07); white-space: nowrap; }
.mock td { padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.05); white-space: nowrap; }
.mock td.r, .mock th.r { text-align: right; }
.mock .scan { position: absolute; left: 0; right: 0; height: 36px; top: 40px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(94,234,212,0), rgba(94,234,212,.18), rgba(94,234,212,0)); animation: scan 4s linear infinite; }
.mock .chip { font-size: 9.5px; padding: 4px 7px; border: 0; opacity: 0; }
.mock .chipcell { width: 1%; }
.mock tr.f td { animation: 4s steps(1, end) infinite; }
.mock tr.f .chip { animation: 4s steps(1, end) infinite; }
.mock tr.f1 td { animation-name: row1; } .mock tr.f1 .chip { animation-name: chip1; }
.mock tr.f2 td { animation-name: row2; } .mock tr.f2 .chip { animation-name: chip2; }
.mock tr.f3 td { animation-name: row3; } .mock tr.f3 .chip { animation-name: chip3; }
@keyframes scan { 0% { transform: translateY(0); opacity: 1; } 88% { transform: translateY(300px); opacity: 1; } 100% { transform: translateY(300px); opacity: 0; } }
@keyframes row1 { 0% { background: transparent; } 22%, 100% { background: rgba(232,163,23,.15); } }
@keyframes row2 { 0% { background: transparent; } 50%, 100% { background: rgba(232,163,23,.15); } }
@keyframes row3 { 0% { background: transparent; } 72%, 100% { background: rgba(232,163,23,.15); } }
@keyframes chip1 { 0% { opacity: 0; } 22%, 100% { opacity: 1; } }
@keyframes chip2 { 0% { opacity: 0; } 50%, 100% { opacity: 1; } }
@keyframes chip3 { 0% { opacity: 0; } 72%, 100% { opacity: 1; } }
.summary-card { position: absolute; right: -10px; bottom: -28px; width: 230px; background: var(--lh-card); color: var(--lh-text);
  border-radius: 14px; padding: 16px 18px; box-shadow: 0 18px 40px -12px rgba(0,0,0,.45); font: 400 14px/1.4 var(--lh-sans); border-top: 3px solid var(--lh-flag); }
.summary-card .label { font: 600 11px var(--lh-sans); letter-spacing: .07em; text-transform: uppercase; color: var(--lh-muted); }
.summary-card .big { font: 600 30px/1.1 var(--lh-serif); margin: 6px 0 2px; }
.summary-card .row { display: flex; justify-content: space-between; border-top: 1px solid var(--lh-rule); padding-top: 8px; margin-top: 8px; font-size: 13px; }

/* Process strip */
.process { position: relative; display: grid; gap: 28px; margin-top: 8px; counter-reset: step; }
.process .line { display: none; }
.step { position: relative; z-index: 1; }
.step .num { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--lh-teal); display: grid; place-items: center;
  font: 600 22px var(--lh-serif); color: var(--lh-logo-teal); background: var(--lh-ink); transition: background .5s, color .5s; position: relative; }
.step .num svg { position: absolute; opacity: 0; transition: opacity .4s .2s; }
.step .num svg path { stroke-dasharray: 30; stroke-dashoffset: 30; transition: stroke-dashoffset .6s .25s ease-out; }
.step.in .num { background: var(--lh-teal); color: transparent; }
.step.in .num svg { opacity: 1; }
.step.in .num svg path { stroke-dashoffset: 0; }
.step h3 { margin: 18px 0 6px; }
.step p { color: #B8C7CE; margin: 0; }

/* Report preview: a scaled-down copy of the PDF */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.preview-wrap { position: relative; padding: 18px 8px 8px; }
.preview-tag { position: absolute; top: -6px; left: 18px; z-index: 2; font: 600 11px var(--lh-sans); letter-spacing: .08em; text-transform: uppercase;
  background: var(--lh-ink); color: #fff; padding: 6px 10px; border-radius: 999px; }
.paper-page { background: #fff; border: 1px solid var(--lh-rule); border-radius: 6px; transform: rotate(3deg); box-shadow: 0 28px 50px -20px rgba(11,31,42,.35);
  overflow: hidden; font: 400 10px/1.35 var(--lh-sans); color: var(--lh-text); max-width: 460px; margin: 0 auto; }
.pp-head { background: var(--lh-ink) repeating-linear-gradient(to bottom, transparent 0, transparent 7px, rgba(255,255,255,.05) 7px, rgba(255,255,255,.05) 8px);
  color: #fff; padding: 14px 16px 12px; display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--lh-teal); }
.pp-head .b { display: flex; align-items: center; gap: 7px; font: 600 14px var(--lh-serif); }
.pp-head .r { text-align: right; font-size: 7.5px; letter-spacing: .05em; color: #9FB4BD; }
.pp-head .r b { color: #fff; display: block; font-size: 8px; }
.pp-body { padding: 14px 16px 16px; }
.pp-title { font: 600 19px/1.1 var(--lh-serif); margin: 0 0 3px; }
.pp-meta { color: var(--lh-muted); font-size: 8.5px; margin: 0 0 9px; }
.pp-banner { background: var(--lh-flag-bg); border-left: 3px solid var(--lh-flag); color: var(--lh-flag-text); padding: 6px 9px; font-size: 9px; margin-bottom: 9px; }
.pp-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-bottom: 10px; }
.pp-cards div { background: var(--lh-paper); border: 1px solid var(--lh-rule); border-top: 2px solid var(--lh-ink); padding: 5px 6px; font-size: 7px; color: var(--lh-muted); }
.pp-cards div:nth-child(2) { border-top-color: var(--lh-ok); } .pp-cards div:nth-child(3) { border-top-color: var(--lh-flag); } .pp-cards div:nth-child(4) { border-top-color: var(--lh-teal); }
.pp-cards b { display: block; font: 600 14px/1.1 var(--lh-serif); color: var(--lh-ink); }
.pp-cards div:nth-child(2) b { color: var(--lh-ok); } .pp-cards div:nth-child(3) b { color: #B77A00; } .pp-cards div:nth-child(4) b { font-size: 11px; }
.pp-h { font: 600 11px var(--lh-serif); margin: 0 0 5px; }
.pp-table { width: 100%; border-collapse: collapse; font-size: 7.6px; }
.pp-table th { text-align: left; font-size: 6.5px; color: var(--lh-muted); letter-spacing: .05em; border-bottom: 1px solid var(--lh-ink); padding: 3px 4px; }
.pp-table td { vertical-align: top; padding: 5px 4px; border-bottom: 1px solid var(--lh-rule); }
.pp-table td:first-child { box-shadow: inset 2px 0 0 var(--lh-flag); font-weight: 600; }
.pp-table .chip { font-size: 5.6px; padding: 2px 4px; border: 0; margin-bottom: 2px; }
.preview-sum { margin: 26px auto 0; text-align: center; font-size: 14px; color: var(--lh-muted); }

/* Who, data, pricing */
.points { display: grid; gap: 14px; list-style: none; padding: 0; margin: 0; }
.points li { display: flex; gap: 14px; align-items: flex-start; }
.points li svg { flex-shrink: 0; margin-top: 3px; }
.price-card { max-width: 520px; margin: 0 auto; text-align: center; }
.price { font: 600 52px/1 var(--lh-serif); color: var(--lh-ink); }
.price small { font: 500 17px var(--lh-sans); color: var(--lh-muted); }
.vat { display: inline-block; font: 600 12px var(--lh-sans); letter-spacing: .05em; text-transform: uppercase; background: rgba(18,165,148,.1); color: var(--lh-teal-dark); padding: 5px 9px; border-radius: 999px; vertical-align: middle; margin-left: 6px; }
.plan { max-width: 560px; margin: -96px auto 0; position: relative; z-index: 2; box-shadow: 0 30px 60px -25px rgba(11,31,42,.35); padding: 32px 28px; }
.plan .tick-list { text-align: left; margin: 24px 0 28px; }
.plan .fine { font-size: 14px; color: var(--lh-muted); margin: 12px auto 0; text-align: center; }
.tiles { display: flex; flex-wrap: wrap; align-items: stretch; gap: 6px; margin: 26px 0 8px; }
.tile { flex: 1 1 52px; min-width: 46px; background: var(--lh-card); border: 1px solid var(--lh-rule); border-radius: 8px; padding: 8px 6px; text-align: center; font-size: 12px; color: var(--lh-muted); }
.tile b { display: block; font: 500 13px var(--lh-mono); color: var(--lh-teal-dark); margin-top: 2px; }
.tile.dup { flex: 2 1 140px; background: var(--lh-flag-bg); border: 2px solid var(--lh-flag); color: var(--lh-flag-text); }
.tile.dup b { color: var(--lh-flag-text); }
.equals { align-self: center; font: 600 22px var(--lh-serif); color: var(--lh-muted); padding: 0 4px; }
.caption { font-size: 13px; color: var(--lh-muted); }
.compare { width: 100%; border-collapse: collapse; background: var(--lh-card); border: 1px solid var(--lh-rule); border-radius: var(--lh-radius); overflow: hidden; font-size: 15.5px; }
.compare th, .compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--lh-rule); vertical-align: top; }
.compare thead th { font: 600 13px var(--lh-sans); letter-spacing: .05em; text-transform: uppercase; color: var(--lh-muted); background: #F4F1E9; }
.compare td.us { color: var(--lh-ink); font-weight: 500; }
.compare td.us::before { content: ""; display: inline-block; width: 12px; height: 7px; border: solid var(--lh-teal); border-width: 0 0 2px 2px; transform: rotate(-45deg) translateY(-3px); margin-right: 10px; }
.tablewrap { overflow-x: auto; }

/* FAQ accordion (details/summary: keyboard accessible by default) */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--lh-card); border: 1px solid var(--lh-rule); border-radius: var(--lh-radius); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 24px; width: 9px; height: 9px; border: solid var(--lh-teal-dark); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 28px; }
.faq details > div { padding: 0 20px 18px; color: var(--lh-muted); }
.faq details > div p { margin: 0; }

/* About */
.about-mark { display: grid; place-items: center; }
.principles .card h3 { margin-top: 0; }
.is-isnot .card h3 { margin-top: 0; display: flex; gap: 10px; align-items: center; }

/* Legal stubs */
.prose { max-width: 720px; }
.prose h2 { font-size: 24px; line-height: 32px; margin: 32px 0 10px; }
.legal { font-size: 16px; }
.legal h2 { font-size: 22px; line-height: 28px; margin: 36px 0 10px; }
.legal h3 { font-size: 17px; line-height: 24px; margin: 20px 0 6px; font-family: var(--lh-sans); font-weight: 600; }
.legal ul { padding-left: 22px; margin: 0 0 16px; max-width: 64ch; }
.legal li { margin-bottom: 8px; }
.legal p, .legal li { color: var(--lh-text); }
.cookies { width: 100%; border-collapse: collapse; margin: 6px 0 16px; font-size: 15px; background: var(--lh-card); }
.cookies th, .cookies td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--lh-rule); }
.cookies th { font: 600 13px var(--lh-sans); letter-spacing: .04em; text-transform: uppercase; color: var(--lh-muted); }
.tbc { background: #F1EFE8; border: 1px dashed var(--lh-muted); border-radius: 4px; padding: 0 4px; color: var(--lh-muted); white-space: nowrap; }
.draft { background: #F1EFE8; border-left: 4px solid var(--lh-muted); border-radius: 8px; padding: 12px 14px; font-size: 15px; }

/* Log in: split screen */
.auth { min-height: 100vh; display: flex; flex-direction: column; }
.auth-side { display: none; }
.auth-top { background: var(--lh-ink); padding: 14px 16px; }
.auth-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 16px 40px; }
.auth-card { width: 100%; max-width: 400px; background: var(--lh-card); border: 1px solid var(--lh-rule); border-radius: 16px; padding: 30px 26px 26px; box-shadow: 0 20px 45px -30px rgba(11,31,42,.35); }
.auth-card h1 { font-size: 32px; line-height: 38px; margin-bottom: 20px; }
.auth-card p { font-size: 16px; }
.field { display: block; margin: 0 0 16px; font: 500 15px var(--lh-sans); color: var(--lh-text); }
.field input { display: block; width: 100%; margin-top: 6px; font: 400 16px var(--lh-sans); color: var(--lh-text); background: #fff;
  border: 1px solid #C9C4B8; border-radius: 10px; padding: 12px 14px; min-height: 48px; }
.field input:focus { outline: 3px solid rgba(18,165,148,.35); border-color: var(--lh-teal-dark); outline-offset: 0; }
.pw { position: relative; }
.pw input { padding-right: 76px; }
.pw button { position: absolute; right: 6px; bottom: 6px; height: 36px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent;
  color: var(--lh-teal-dark); font: 600 14px var(--lh-sans); cursor: pointer; }
.pw button:hover { background: rgba(11,125,112,.08); }
.auth-card .btn { margin-top: 6px; }
.auth-card .forgot { display: inline-block; margin-top: 16px; font-size: 15px; }
.auth-after { text-align: center; margin-top: 22px; font-size: 15px; color: var(--lh-muted); }
.auth-after p { margin: 0 auto 8px; }
.auth-after .legal a { color: var(--lh-muted); margin: 0 6px; font-size: 13.5px; }
.notice { border-radius: 10px; padding: 12px 14px; font-size: 15px; margin: 0 0 18px; border-left: 4px solid; }
.notice.error { background: #FCEDEA; border-color: var(--lh-danger); color: #8E2C1B; }
.notice.info { background: #F1EFE8; border-color: var(--lh-muted); color: var(--lh-text); }
.notice.sent { background: #E3F5F2; border-color: var(--lh-teal); color: #0B5F55; }
.notice.hold { background: var(--lh-flag-bg); border-color: var(--lh-flag); color: var(--lh-flag-text); }
.notice:focus { outline: 3px solid rgba(200,69,47,.35); }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; display: none; }
.busy .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.side-ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; color: #D5E0E5; }
.side-ticks li { display: flex; gap: 12px; align-items: center; }

/* Fade up on scroll (only when scripts run, so content never stays hidden) */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease-out, transform .6s ease-out; }
.js .reveal.in { opacity: 1; transform: none; }

@media (min-width: 640px) {
  .wrap { padding: 0 24px; }
  .grid.three { grid-template-columns: repeat(2, 1fr); }
  .grid.two { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: 1.4fr 1fr; }
  .auth-card { padding: 36px 34px 30px; }
}
@media (min-width: 960px) {
  .section { padding: 96px 0; }
  .hero + .section { padding-top: 144px; }
  h1 { font-size: 56px; line-height: 64px; }
  h2 { font-size: 36px; line-height: 44px; }
  .hero { padding: 72px 0 0; }
  .hero .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; }
  .hero .cols > div:first-child { padding-bottom: 88px; }
  .grid.three { grid-template-columns: repeat(3, 1fr); }
  .two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .process { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .process .line { display: block; position: absolute; left: 56px; top: 27px; height: 2px; z-index: 0; max-width: none;
    width: calc((100% - 80px) * 2 / 3 + 80px - 56px); }
  .mainnav, .navside { display: flex; }
  .menu-btn { display: none; }
  .auth { flex-direction: row; }
  .auth-top { display: none; }
  .auth-side { display: flex; flex-direction: column; width: 45%; background: var(--lh-ink); color: #fff; padding: 48px 56px; position: relative; overflow: hidden; }
  .auth-side h2 { font-size: 40px; line-height: 48px; margin-top: 64px; max-width: 14ch; }
  .auth-side .ghost { position: absolute; left: 56px; right: -40px; bottom: -120px; opacity: .22; transform: rotate(-4deg); pointer-events: none; }
  .auth-main { width: 55%; }
  .faq.two { grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (min-width: 1200px) { .summary-card { right: -28px; } }
@media (max-width: 639px) {
  .summary-card { position: relative; right: auto; bottom: auto; width: auto; margin: -24px 12px 0; }
  .hero-visual { margin-bottom: -48px; }
  .mock td.hide-sm, .mock th.hide-sm { display: none; }
  .cta-band h2 { font-size: 30px; line-height: 36px; }
  .plan { margin-top: -64px; padding: 26px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .mock .scan { display: none; }
  .mock tr.f td { background: rgba(232,163,23,.14) !important; }
  .mock tr.f .chip { opacity: 1 !important; }
  .js .reveal { opacity: 1; transform: none; }
  .step .num { background: var(--lh-teal); color: transparent; }
  .step .num svg { opacity: 1; }
  .step .num svg path { stroke-dashoffset: 0; }
}

/* The wordmark is white on every dark surface (after the generic dark-link colour, so it wins). */
.dark a.brandlink, .auth-top a.brandlink, .sheet a.brandlink, .site-footer a.brandlink, .on-dark a.brandlink { color: #fff; }
.dark a.brandlink:hover, .auth-top a.brandlink:hover, .sheet a.brandlink:hover, .site-footer a.brandlink:hover { color: #fff; text-decoration: none; }
.auth-top .brandlink .word small, .sheet .brandlink .word small { color: #9FB4BD; }
