/* AI for Accounting Professionals — site styles. Palette and type follow the approved decks (build/deck_lib.py). */
:root {
  --bg: #FDFDFC;
  --navy: #0B1F33;
  --blue: #1F4FD8;
  --grey: #3A4A5C;
  --muted: #5F6B7A;
  --rule: #C9CED6;
  --tint: #F3F5F8;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: Arial, Helvetica, sans-serif;
  --wrap: 1120px;
  --gutter: 40px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--navy); font-family: var(--sans); font-size: 18px; line-height: 1.55; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--navy); margin: 0; }
h1 { font-size: 52px; line-height: 1.12; letter-spacing: -0.01em; max-width: 920px; }
h2 { font-size: 36px; line-height: 1.18; max-width: 860px; }
h3 { font-size: 22px; line-height: 1.3; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.site-head { border-bottom: 1px solid var(--rule); }
.site-head .wrap { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.mark { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--navy); text-decoration: none; white-space: nowrap; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 15px; }
.nav a { color: var(--grey); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--blue); }
.nav a.nav-cta { color: var(--blue); font-weight: 700; }
.nav a.nav-login { color: var(--navy); font-weight: 700; padding-left: 22px; border-left: 1px solid var(--rule); border-bottom-color: transparent; }

/* Sections */
.hero { padding: 88px 0 72px; }
.hero .lede { font-size: 21px; line-height: 1.5; color: var(--grey); max-width: 760px; margin-top: 28px; }
.hero .actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.section { padding: 72px 0; border-top: 1px solid var(--rule); }
.section.tint { background: var(--tint); }
.label { font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 14px; }
.intro { font-size: 19px; color: var(--grey); max-width: 760px; margin-top: 18px; }
.section > .wrap > h2 + .rows, .section > .wrap > .intro + .rows, .section > .wrap > h2 + .table, .section > .wrap > .intro + .table { margin-top: 40px; }
.mt { margin-top: 40px; }
.source { font-size: 14px; color: var(--muted); margin-top: 20px; max-width: 860px; }

/* Buttons: square, solid navy or text link */
.btn { display: inline-block; background: var(--navy); color: var(--bg); text-decoration: none; font-weight: 700; font-size: 17px; padding: 15px 26px; border: 2px solid var(--navy); }
.btn:hover { background: var(--blue); border-color: var(--blue); color: var(--bg); }
.btn.light { background: var(--bg); color: var(--navy); border-color: var(--bg); }
.btn.light:hover { background: transparent; color: var(--bg); }
.textlink { font-weight: 700; font-size: 17px; }

/* Numbered rows, as on the decks */
.rows { border-bottom: 1px solid var(--rule); }
.row { display: grid; grid-template-columns: 48px minmax(180px, 300px) 1fr; gap: 28px; padding: 22px 0; border-top: 1px solid var(--rule); }
.row.nonum { grid-template-columns: minmax(180px, 300px) 1fr; }
.row .n { font-family: var(--serif); font-size: 24px; color: var(--blue); line-height: 1.2; }
.row .k { font-weight: 700; }
.row .v { color: var(--grey); }

/* Tables built from rows so they stack on phones */
.table { border-bottom: 1px solid var(--rule); }
.tr { display: grid; gap: 24px; padding: 18px 0; border-top: 1px solid var(--rule); }
.tr.th { border-top: 2px solid var(--navy); font-size: 14px; font-weight: 700; color: var(--muted); padding: 12px 0; }
.tr .c { color: var(--grey); }
.tr .c.b { color: var(--navy); font-weight: 700; }
.tr .c .wk { font-family: var(--serif); color: var(--blue); font-size: 20px; font-weight: 600; }
.cols-week { grid-template-columns: 70px 1.1fr 1.25fr 1.6fr 1fr; }
.cols-rhythm { grid-template-columns: 220px 160px 1fr; }
.cols-rubric { grid-template-columns: 1fr 90px 2fr; }
.cols-price { grid-template-columns: 1fr 1fr 1.6fr; }
.mobile-label, .mobile-only { display: none; }

/* Exhibit: a recorded result */
.exhibit { border-left: 3px solid var(--blue); padding: 6px 0 6px 28px; max-width: 860px; }
.exhibit .label { margin-bottom: 8px; }
.exhibit p.big { font-family: var(--serif); font-size: 26px; line-height: 1.4; color: var(--navy); }
.exhibit p.small { font-size: 16px; color: var(--muted); margin-top: 14px; }

/* Two columns of prose */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 40px; }
.split p + p { margin-top: 14px; }
.split .v { color: var(--grey); }

/* Placeholders the owner must fill. Deliberately loud. */
.ph { background: #FFF4CC; color: var(--navy); border: 1px dashed #A07A00; padding: 1px 6px; font-weight: 700; font-size: 0.92em; white-space: normal; }
.ph-note { border: 1px dashed #A07A00; background: #FFFAE6; padding: 18px 22px; color: var(--navy); max-width: 860px; margin-top: 28px; font-size: 16px; }

/* FAQ */
.faq { border-bottom: 1px solid var(--rule); margin-top: 40px; }
.qa { display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: 32px; padding: 24px 0; border-top: 1px solid var(--rule); }
.qa h3 { font-size: 20px; }
.qa .v { color: var(--grey); }
.qa .v p + p { margin-top: 12px; }

/* Dark band */
.band { background: var(--navy); color: var(--bg); padding: 80px 0; }
.band h2 { color: var(--bg); }
.band p { color: #B8C2CF; font-size: 19px; max-width: 720px; margin-top: 18px; }
.band .label { color: #8FB0FF; }
.band .actions { margin-top: 34px; }

/* Form */
.form { max-width: 720px; margin-top: 36px; display: grid; gap: 22px; }
.field label { display: block; font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 17px; color: var(--navy); background: #fff; border: 1px solid #8A95A3; border-radius: 0; padding: 12px 14px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.field textarea { min-height: 120px; resize: vertical; }
.form button { justify-self: start; cursor: pointer; font-family: var(--sans); }
.form-status { border-left: 3px solid var(--blue); padding: 6px 0 6px 18px; color: var(--grey); display: none; }
.form-status.on { display: block; }

/* Footer */
.site-foot { border-top: 1px solid var(--rule); padding: 44px 0 56px; font-size: 14px; color: var(--muted); }
.site-foot .wrap { display: grid; gap: 14px; }
.site-foot .fnav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-foot .fnav a { color: var(--grey); }
.site-foot p { max-width: 860px; }

@media (max-width: 900px) {
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .qa { grid-template-columns: 1fr; gap: 10px; }
  .row { grid-template-columns: 40px 1fr; gap: 8px 16px; }
  .row .v { grid-column: 2; }
  .row.nonum { grid-template-columns: 1fr; }
  .row.nonum .v { grid-column: 1; }
  .tr.th { display: none; }
  .tr { grid-template-columns: 1fr !important; gap: 6px; padding: 22px 0; }
  .mobile-only { display: inline; }
  .mobile-label { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-top: 6px; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 17px; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .hero { padding: 48px 0 48px; }
  .hero .lede { font-size: 18px; }
  .section { padding: 52px 0; }
  .band { padding: 56px 0; }
  .site-head .wrap { padding-top: 16px; padding-bottom: 14px; gap: 10px; }
  .nav { gap: 4px 18px; font-size: 15px; }
  .exhibit { padding-left: 18px; }
  .exhibit p.big { font-size: 21px; }
}

/* Home: hero with the recorded log beside it */
.hero-split .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.hero-split h1 { font-size: 46px; }
.log { margin: 6px 0 0; background: var(--navy); color: var(--bg); padding: 30px 30px 26px; }
.log figcaption { font-size: 14px; font-weight: 700; color: #8FB0FF; margin-bottom: 18px; }
.log ol { list-style: none; margin: 0; padding: 0; }
.log li { display: grid; grid-template-columns: 74px 1fr; gap: 14px; padding: 13px 0; border-top: 1px solid #2A3F57; font-size: 15px; line-height: 1.5; color: #D5DCE5; }
.log li .t { font-weight: 700; color: #8FB0FF; font-size: 13px; padding-top: 2px; }
.log li b { color: var(--bg); font-variant-numeric: tabular-nums; }
.log li.hi { border-left: 3px solid #8FB0FF; padding-left: 12px; margin-left: -15px; color: var(--bg); }
.log .log-note { font-size: 13px; color: #9AA9BB; margin-top: 16px; border-top: 1px solid #2A3F57; padding-top: 14px; }

/* Key figures */
.figures { border-top: 1px solid var(--rule); }
.figures .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fig { padding: 34px 24px 34px 0; }
.fig + .fig { border-left: 1px solid var(--rule); padding-left: 24px; }
.fig .num { font-family: var(--serif); font-size: 60px; line-height: 1; color: var(--blue); font-weight: 600; }
.fig p:last-child { margin-top: 12px; color: var(--grey); font-size: 16px; }

/* A week: four steps on a rule */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--navy); }
.steps li { padding: 22px 24px 0 0; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--rule); }
.steps .n { font-family: var(--serif); font-size: 26px; color: var(--blue); }
.steps .k { font-weight: 700; margin-top: 6px; }
.steps .v { color: var(--grey); margin-top: 6px; font-size: 16px; }

/* Eight weeks at a glance */
.glance { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.glance li { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.glance a { display: block; padding: 20px 20px 24px; text-decoration: none; color: var(--navy); height: 100%; background: var(--bg); }
.glance a:hover { background: var(--navy); color: var(--bg); }
.glance a:hover .wk { color: #8FB0FF; }
.glance .wk { display: block; font-size: 14px; font-weight: 700; color: var(--blue); }
.glance .t { display: block; font-family: var(--serif); font-size: 20px; line-height: 1.3; margin-top: 8px; }

@media (max-width: 900px) {
  .hero-split .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-split h1 { font-size: 40px; }
  .figures .wrap { grid-template-columns: 1fr 1fr; }
  .fig:nth-child(3) { border-left: 0; padding-left: 0; }
  .fig:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .glance { grid-template-columns: 1fr 1fr; }
  .nav a.nav-login { padding-left: 0; border-left: 0; }
}
@media (max-width: 600px) {
  .hero-split h1 { font-size: 32px; }
  .log { padding: 22px 18px; }
  .log li { grid-template-columns: 1fr; gap: 2px; }
  .log li.hi { margin-left: -9px; padding-left: 6px; }
  .fig .num { font-size: 44px; }
  .fig { padding: 24px 12px 24px 0; }
  .fig + .fig { padding-left: 12px; }
  .fig:nth-child(3) { padding-left: 0; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .glance { grid-template-columns: 1fr; }
}

/* Enrol page */
.cols-pay { grid-template-columns: 1fr 1fr 1.6fr; }
.btn-off { background: #8A95A3; border-color: #8A95A3; cursor: not-allowed; }
.btn-off:hover { background: #8A95A3; border-color: #8A95A3; }
.btn.ghost-b { background: transparent; color: var(--navy); }
.btn.ghost-b:hover { background: var(--navy); color: var(--bg); }
.small-note { font-size: 14px; color: var(--muted); margin-top: 10px; }

/* Prices */
.price { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--navy); display: block; line-height: 1.2; }
.per { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }

/* Ledger & Agent wordmark */
.mark { display: inline-flex; flex-direction: column; line-height: 1.1; }
.mark .wm { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--navy); letter-spacing: -0.005em; }
.mark .wm .amp { color: var(--blue); font-weight: 400; }
.mark .wm-sub { font-family: var(--sans); font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 4px; letter-spacing: 0.01em; }
@media (max-width: 600px) { .mark .wm { font-size: 23px; } }

/* Direction B logo (owner choice, 2026-10-25): outlined SVG with the double rule. The SVG has 16 units of padding, so pull it back to the column edge. */
.mark.logo { display: block; line-height: 0; margin-left: -8px; }
.mark.logo img { display: block; width: 236px; height: auto; }
@media (max-width: 600px) { .mark.logo img { width: 200px; } .mark.logo { margin-left: -7px; } }

/* Legal drafts and consent */
.legal .wrap { max-width: 860px; }
.legal h2 { font-size: 26px; margin: 36px 0 12px; }
.legal h3 { font-size: 20px; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--grey); }
.legal p + p { margin-top: 10px; }
.legal ul, .legal ol { padding-left: 22px; }
.legal hr { border: 0; border-top: 1px solid var(--rule); margin: 28px 0; }
.legal .gtable { overflow-x: auto; margin: 14px 0; }
.legal table { border-collapse: collapse; width: 100%; font-size: 15px; }
.legal th { text-align: left; border-bottom: 2px solid var(--navy); padding: 6px 10px 6px 0; }
.legal td { border-bottom: 1px solid var(--rule); padding: 7px 10px 7px 0; vertical-align: top; color: var(--grey); }
.legal-draft { margin-top: 24px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--grey); cursor: pointer; }
.consent input { width: 18px; height: 18px; flex: none; margin-top: 3px; accent-color: var(--blue); }
.hint-line { font-size: 14px; color: var(--muted); margin-top: -8px; }


/* ===== v47 refresh: modern, engaging, still ledger-minded ===== */
:root {
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Consolas, Menlo, monospace;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(11,31,51,.06), 0 8px 24px -8px rgba(11,31,51,.12);
  --blue-soft: #E8EEFC;
}
body { font-size: 17.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1 { letter-spacing: -0.015em; }
h2 { letter-spacing: -0.01em; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }

/* Sticky compact header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(253,253,252,.92); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--rule); }
.site-head .wrap { align-items: center; padding-top: 10px; padding-bottom: 10px; flex-wrap: nowrap; }
.mark.logo img { width: 184px; }
.nav { align-items: center; gap: 4px 6px; font-size: 14.5px; font-weight: 500; flex-wrap: nowrap; }
.nav a { padding: 8px 11px; border-bottom: 0; border-radius: 8px; white-space: nowrap; }
.nav a:hover { background: var(--tint); }
.nav a[aria-current="page"] { background: var(--blue-soft); color: var(--blue); }
.nav a.nav-login { padding: 8px 12px; margin-left: 6px; border-left: 0; font-weight: 600; color: var(--navy); }
.nav a.nav-cta { background: var(--blue); color: #fff; font-weight: 600; padding: 9px 16px; margin-left: 4px; box-shadow: 0 1px 2px rgba(31,79,216,.35); }
.nav a.nav-cta:hover { background: var(--navy); color: #fff; }
.nav a.nav-cta[aria-current="page"] { background: var(--navy); color: #fff; }
@media (max-width: 1100px) { .site-head .wrap { flex-wrap: wrap; } .nav { flex-wrap: wrap; } .mark.logo img { width: 170px; } }

/* Buttons */
.btn { border-radius: 10px; padding: 14px 24px; font-size: 16px; font-weight: 600; background: var(--blue); border-color: var(--blue); box-shadow: 0 1px 2px rgba(31,79,216,.35), 0 8px 18px -8px rgba(31,79,216,.55); transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn:hover { background: var(--navy); border-color: var(--navy); transform: translateY(-1px); }
.btn.light { background: #fff; color: var(--navy); border-color: #fff; box-shadow: none; }
.btn.light:hover { background: var(--blue-soft); color: var(--navy); border-color: var(--blue-soft); }
.btn.ghost-b { background: transparent; box-shadow: none; border-color: var(--navy); color: var(--navy); }
.btn.ghost-b:hover { background: var(--navy); color: #fff; }
.textlink { font-weight: 600; font-size: 16px; text-decoration: none; border-bottom: 2px solid var(--blue-soft); }
.textlink:hover { border-bottom-color: var(--blue); }
.btn-off { box-shadow: none; }
.btn:focus-visible, .nav a:focus-visible, a:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Hero */
.hero { position: relative; padding: 96px 0 80px; background: linear-gradient(180deg, #F3F6FD 0%, var(--bg) 100%); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--rule) 1px, transparent 1px); background-size: 100% 44px;
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 100%); mask-image: linear-gradient(90deg, transparent 40%, #000 100%); }
.hero .wrap { position: relative; }
.hero h1 { font-size: 54px; line-height: 1.1; }
.hero .lede { font-size: 20px; color: var(--grey); }
.hero-split h1 { font-size: 46px; }
.hero .source { font-size: 14px; border-top: 1px solid var(--rule); padding-top: 18px; margin-top: 36px; }

/* Sections and labels */
.section { padding: 88px 0; border-top: 0; }
.section.tint { background: var(--tint); }
.section + .section:not(.tint):not(.legal) { border-top: 1px solid #E6E9EE; }
.label { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; letter-spacing: .01em; }
.label::before { content: ""; width: 28px; height: 3px; background: var(--blue); border-radius: 2px; flex: none; }
.intro { font-size: 18.5px; }
.legal .label { display: block; } .legal .label::before { display: none; }

/* Rows become a ledger of cards */
.rows { border-bottom: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.row, .row.nonum { display: block; background: #fff; border: 1px solid #E1E5EB; border-top: 3px solid var(--blue); border-radius: var(--radius); padding: 26px 26px 28px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.row:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(11,31,51,.06), 0 14px 32px -10px rgba(11,31,51,.2); }
.row .n { margin-bottom: 8px; }
.row .k { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.3; margin-bottom: 10px; }
.row .v { font-size: 16.5px; }
.section.tint .row { background: #fff; }

/* Tables */
.table { border: 1px solid #DCE1E8; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.tr { padding: 22px 26px; gap: 28px; }
.tr.th { background: var(--navy); color: #C9D6E8; border-top: 0; font-size: 13.5px; letter-spacing: .02em; padding: 14px 26px; }
.tr + .tr { border-top: 1px solid #E6E9EE; }
.tr:not(.th):hover { background: #F8FAFE; }
.tr .c .wk { font-family: var(--serif); }

/* Key figures */
.figures { background: var(--navy); border-top: 0; color: var(--bg); }
.figures .wrap { padding-top: 8px; padding-bottom: 8px; }
.fig { padding: 40px 28px 40px 0; }
.fig + .fig { border-left: 1px solid #27405A; padding-left: 28px; }
.fig .num { color: #fff; font-size: 64px; font-variant-numeric: lining-nums tabular-nums; }
.fig p:last-child { color: #B8C6D8; font-size: 15.5px; line-height: 1.5; }
.fig .num::after { content: ""; display: block; width: 32px; height: 3px; background: #6E96FF; margin-top: 16px; border-radius: 2px; }

/* Exhibits: the recorded run as a ledger */
.log { background: #0B1F33; border-radius: 14px; padding: 0; overflow: hidden; margin-top: 4px; box-shadow: 0 30px 60px -24px rgba(11,31,51,.55), 0 2px 6px rgba(11,31,51,.2); border: 1px solid #1B3350; }
.log figcaption { display: flex; align-items: center; gap: 12px; margin: 0; padding: 14px 24px; background: #0F2942; border-bottom: 1px solid #27405A; font-size: 13px; font-weight: 600; color: #A9C2FF; }
.log figcaption::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #6EE7A8; box-shadow: 0 0 0 4px rgba(110,231,168,.15); flex: none; }
.log ol { padding: 6px 24px 4px; }
.log li { grid-template-columns: 70px 1fr; padding: 15px 0; border-top: 1px solid #1F3752; }
.log li:first-child { border-top: 0; }
.log li .t { font-family: var(--mono); font-size: 12px; font-weight: 600; color: #8FB0FF; padding-top: 3px; }
.log li b { font-family: var(--mono); font-size: .94em; color: #fff; background: rgba(110,150,255,.18); padding: 1px 6px; border-radius: 4px; white-space: nowrap; }
.log li.hi { border-left: 0; margin-left: -24px; padding-left: 21px; padding-right: 24px; margin-right: -24px; background: rgba(110,150,255,.1); box-shadow: inset 3px 0 0 #6E96FF; }
.log .log-note { margin: 0; padding: 14px 24px 18px; border-top: 1px solid #27405A; font-size: 13px; color: #9FB0C5; background: #0D2339; }
.hero-split .log { margin-top: 0; }

.exhibit { max-width: 900px; border-left: 0; background: #fff; border: 1px solid #E1E5EB; border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px 38px 30px 41px; position: relative; }
.exhibit::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--blue); border-radius: var(--radius) 0 0 var(--radius); }
.exhibit p.big { font-size: 25px; line-height: 1.42; }
.exhibit p.small { font-size: 15px; border-top: 1px solid #E6E9EE; padding-top: 14px; margin-top: 20px; font-variant-numeric: tabular-nums; }
.section .exhibit .label { margin-bottom: 12px; }

/* Split, FAQ */
.split { gap: 48px; }
.faq { margin-top: 12px; display: grid; gap: 12px; border-bottom: 0; }
.qa { background: #fff; border: 1px solid #E1E5EB; border-radius: var(--radius); padding: 26px 28px; box-shadow: 0 1px 2px rgba(11,31,51,.04); grid-template-columns: minmax(220px, 360px) 1fr; }
.qa h3 { font-size: 20px; }

/* Band */
.band { position: relative; overflow: hidden; background: linear-gradient(135deg, #0B1F33 0%, #12304F 100%); padding: 96px 0; }
.band::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35; background-image: linear-gradient(#27405A 1px, transparent 1px); background-size: 100% 44px; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); }
.band .wrap { position: relative; z-index: 1; }
.band h2 { font-size: 38px; max-width: 800px; }
.band p { color: #C3CEDC; }

/* Forms and notes */
.field input, .field select, .field textarea { border-radius: 8px; border-color: #98A3B1; }
.ph-note { border-radius: 10px; }
.form { background: #fff; border: 1px solid #E1E5EB; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }

/* Footer */
.site-foot { background: var(--navy); color: #9FB0C5; border-top: 0; padding: 64px 0 56px; font-size: 14px; }
.site-foot .wrap { gap: 20px; }
.foot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-bottom: 28px; margin-bottom: 8px; border-bottom: 1px solid #27405A; }
.foot-logo img { display: block; width: 200px; height: auto; margin-left: -8px; }
.site-foot .fnav { max-width: 560px; justify-content: flex-end; gap: 10px 24px; font-size: 14.5px; }
.site-foot .fnav a { color: #D5DEEA; text-decoration: none; }
.site-foot .fnav a:hover { color: #fff; text-decoration: underline; }
.site-foot a { color: #C9D6E8; }
.site-foot p { max-width: 900px; line-height: 1.6; }
.site-foot .ph { background: #3A3210; color: #FFE9A0; border-color: #A07A00; }

/* Scroll reveal: content is visible without JS or with reduced motion */
.js .rv { opacity: 0; transform: translateY(18px); }
.js .rv.in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; } .btn, .row { transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 1100px) {
  .hero h1 { font-size: 44px; }
  .foot-top { flex-direction: column; }
  .site-foot .fnav { justify-content: flex-start; }
}
@media (max-width: 900px) {
  .hero { padding: 64px 0 56px; }
  .hero h1, .hero-split h1 { font-size: 38px; }
  .section { padding: 64px 0; }
  .tr { padding: 20px; }
  .figures .wrap { grid-template-columns: 1fr 1fr; }
  .fig { padding: 28px 16px 28px 0; }
  .fig + .fig { padding-left: 20px; border-left: 1px solid #27405A; }
  .fig:nth-child(3) { border-left: 0; padding-left: 0; }
  .fig:nth-child(n+3) { border-top: 1px solid #27405A; }
  .qa { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .hero { padding: 40px 0 44px; }
  .hero h1, .hero-split h1 { font-size: 30px; }
  .hero .lede { font-size: 17.5px; }
  .section { padding: 48px 0; }
  .band { padding: 60px 0; }
  .band h2 { font-size: 27px; }
  .site-head .wrap { gap: 6px; padding-top: 8px; padding-bottom: 8px; }
  .mark.logo img { width: 150px; }
  .nav { gap: 2px 2px; font-size: 14px; }
  .nav a { padding: 7px 8px; }
  .nav a.nav-login { margin-left: 0; }
  .row, .row.nonum { padding: 22px 20px 24px; }
  .rows { grid-template-columns: 1fr; }
  .exhibit { padding: 24px 22px 22px 26px; }
  .exhibit p.big { font-size: 20px; }
  .fig .num { font-size: 42px; }
  .log ol { padding: 4px 18px; }
  .log figcaption, .log .log-note { padding-left: 18px; padding-right: 18px; }
  .log li.hi { margin-left: -18px; margin-right: -18px; padding-left: 15px; padding-right: 18px; }
  .log li { grid-template-columns: 1fr; gap: 2px; }
  .form { padding: 22px 18px; }
  .qa { padding: 20px; }
}

/* ===== Signature moment: reconciliation then journal entry ===== */
.demo { margin: 0; background: #fff; border: 1px solid #D5DBE4; border-radius: 14px; box-shadow: 0 30px 60px -28px rgba(11,31,51,.45), 0 2px 6px rgba(11,31,51,.1); overflow: hidden; min-width: 0; font-variant-numeric: tabular-nums; }
.demo-bar { display: flex; align-items: center; gap: 14px; background: var(--navy); padding: 0 14px; }
.demo-bar .dots { width: 36px; height: 10px; flex: none; background: radial-gradient(circle, #3C5675 4px, transparent 5px) 0 50%/12px 10px repeat-x; }
.tabs { display: flex; gap: 2px; min-width: 0; }
.tab { font: 600 13px var(--sans); color: #9FB4CE; background: transparent; border: 0; padding: 13px 14px 11px; border-bottom: 3px solid transparent; cursor: pointer; white-space: nowrap; }
.tab.on { color: #fff; border-bottom-color: #6E96FF; }
.tab:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
.demo-body { display: grid; padding: 22px 24px 8px; }
.stage { grid-area: 1 / 1; transition: opacity .45s ease; min-width: 0; }
.stage.st-b { opacity: 0; pointer-events: none; visibility: hidden; }
.show-b .st-a { opacity: 0; visibility: hidden; }
.show-b .st-b { opacity: 1; visibility: visible; pointer-events: auto; }
.d-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; font-size: 14.5px; color: var(--navy); padding-bottom: 14px; border-bottom: 2px solid var(--navy); }
.badge { font-size: 12.5px; font-weight: 600; color: #1D5E3C; background: #E4F4EA; padding: 3px 10px; border-radius: 99px; white-space: nowrap; }
.badge.hold { color: #7A4A00; background: #FFF1D6; }
.d-bal { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid #E6E9EE; }
.d-bal span { display: block; font-size: 12.5px; color: var(--muted); }
.d-bal b { font-size: 18px; font-weight: 600; font-family: var(--serif); color: var(--navy); }
.d-items, .d-je { list-style: none; margin: 0; padding: 0; }
.ri, .ji { display: grid; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid #EEF0F4; font-size: 14.5px; line-height: 1.35; color: var(--grey); transition: background .3s ease, opacity .5s ease, transform .5s ease; }
.ri { grid-template-columns: 20px 1fr 56px 96px; }
.ri .am, .ji .am { text-align: right; font-weight: 600; color: var(--navy); font-family: var(--mono); font-size: 13.5px; }
.ri .side { font-size: 12px; color: var(--muted); }
.tk { width: 18px; height: 18px; border: 1.5px solid #AEB8C6; border-radius: 5px; position: relative; flex: none; transition: all .25s ease; }
.tk::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .25s ease .05s; }
.ri.done .tk, .tk.on { background: var(--blue); border-color: var(--blue); }
.ri.done .tk::after, .tk.on::after { transform: rotate(45deg) scale(1); }
.ri.now { background: var(--blue-soft); }
.d-diff { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 6px; font-weight: 600; font-size: 14.5px; }
.d-diff .num, .d-tot .num { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--navy); }
.d-diff .num.zero { color: #1D6B44; }
.d-foot { font-size: 13.5px; color: var(--muted); padding-bottom: 14px; }
.d-foot b { color: var(--navy); font-family: var(--mono); font-size: .96em; }
.ji { grid-template-columns: 1fr 96px 104px; }
.ji .ja { font-size: 12.5px; color: var(--muted); font-family: var(--mono); line-height: 1.4; }
.ji.pre { opacity: 0; transform: translateY(8px); }
.d-tot { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 14px 0 4px; border-top: 2px solid var(--navy); margin-top: -1px; }
.d-tot span { display: block; font-size: 12.5px; color: var(--muted); }
.d-bal-ok { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: #1D6B44; padding: 6px 0; transition: opacity .5s ease; }
.d-bal-ok .tk { background: #1D6B44; border-color: #1D6B44; }
.d-hold { font-size: 14px; font-weight: 600; color: #7A4A00; background: #FFF1D6; border-left: 4px solid #D98F00; padding: 10px 14px; margin: 8px 0 14px; transition: opacity .5s ease; }
.d-bal-ok.pre, .d-hold.pre { opacity: 0; }
.demo-note { font-size: 12.5px; color: var(--muted); padding: 10px 24px 14px; border-top: 1px solid #EEF0F4; background: #FAFBFC; }
.hero-split .wrap { align-items: center; }
@media (max-width: 600px) {
  .demo-body { padding: 16px 14px 4px; }
  .ri { grid-template-columns: 20px 1fr 88px; }
  .ri .side { display: none; }
  .ji { grid-template-columns: 1fr 98px; }
  .ji .ja { grid-column: 1; grid-row: 2; }
  .ji .jl { grid-column: 1; }
  .ji .am { grid-column: 2; grid-row: 1 / span 2; }
  .tab { padding: 12px 10px 10px; font-size: 12.5px; }
  .demo-bar .dots { display: none; }
  .demo-note { padding: 10px 14px 12px; }
  .d-diff .num, .d-tot .num { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { .stage, .ri, .ji, .tk, .tk::after { transition: none; } }

.stage { display: flex; flex-direction: column; }
.stage .d-tot { margin-top: auto; }
.st-a .d-foot { transition: opacity .5s ease; }
.js .st-a .d-foot { opacity: 0; }
.js .rec .st-a .d-foot { opacity: 1; }
@media (min-width: 901px) { .hero-split .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; } }
.d-bal-ok { margin-top: 0; }

/* Phone header: one scrolling row, request button first, not sticky (saves the screen) */
@media (max-width: 700px) {
  .site-head { position: static; }
  .nav { width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-top: 2px; padding-bottom: 2px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: none; }
  .nav a.nav-cta { order: -1; margin-left: 0; }
  .nav a.nav-login { order: -1; margin-left: 0; }
}
.rows:has(> .row:nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .rows:has(> .row:nth-child(4):last-child) { grid-template-columns: 1fr; } }
