/* AccuFlow public site — direction A "Paper & Ink". Light, editorial; navy ink, AccuFlow orange, Instrument Serif display + Inter. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/inter-latin.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/instrument-serif-latin.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/instrument-serif-italic-latin.woff2") format("woff2"); }

:root {
  --paper: #fbfaf7;
  --paper-2: #f4f1ea;
  --card: #ffffff;
  --ink: #0f1b2d;
  --ink-2: #3a4556;
  --muted: #667085;
  --line: #e7e2d8;
  --line-2: #d9d2c4;
  --navy: #0f1b2d;
  --navy-2: #172640;
  --navy-line: #2a3a56;
  --navy-ink: #b9c4d6;
  --brand: #d9600b;
  --brand-hover: #b9520a;
  --brand-text: #b04e08;
  --brand-soft: #fdf1e6;
  --gold: #f5b623;
  --ok: #12703b;
  --warn: #b54708;
  --focus: #1d5fb4;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --wrap: 1200px;
  --r: 14px;
  --shadow-1: 0 1px 2px rgba(15, 27, 45, .06), 0 1px 1px rgba(15, 27, 45, .04);
  --shadow-3: 0 2px 4px rgba(15, 27, 45, .04), 0 12px 24px -6px rgba(15, 27, 45, .10), 0 40px 80px -20px rgba(15, 27, 45, .22);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink-2); background: var(--paper); font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-text); text-underline-offset: 3px; }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { color: var(--ink); margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; line-height: 1.02; }
h1 { font-size: clamp(2.9rem, 7.2vw, 5.6rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h1 em, h2 em { font-style: italic; color: var(--brand-text); }
h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
@media (min-width: 760px) { .wrap { padding: 0 40px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 60; background: #fff; padding: 8px 12px; border-radius: 8px; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-text); margin-bottom: 18px; }
.eyebrow.on-dark { color: var(--gold); }
.lede { font-size: 1.15rem; line-height: 1.6; color: var(--ink-2); max-width: 36em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: .97rem; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s; }
.btn svg { width: 18px; height: 18px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 6px 16px -6px rgba(217, 96, 11, .55); }
.btn-brand:hover { background: var(--brand-hover); color: #fff; transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #22324d; color: #fff; }
.btn-line { background: var(--card); color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.btn-quiet { background: transparent; color: var(--ink); }
.btn-quiet:hover { background: rgba(15, 27, 45, .06); color: var(--ink); }

/* header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251, 250, 247, .82); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(231, 226, 216, .7); }
.bar { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.12rem; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.logo:hover { color: var(--ink); }
.nav { display: none; gap: 4px; margin-left: 12px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: .93rem; font-weight: 500; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { color: var(--ink); background: rgba(15, 27, 45, .05); }
.bar-cta { margin-left: auto; display: flex; gap: 6px; }
@media (min-width: 980px) { .nav { display: flex; } }
@media (max-width: 420px) { .bar-cta .btn-ink { display: none; } }

/* hero */
.hero { position: relative; padding: 76px 0 0; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 78% 62%, rgba(245, 182, 35, .20), transparent 70%),
    radial-gradient(50% 45% at 18% 70%, rgba(29, 95, 180, .10), transparent 70%),
    linear-gradient(var(--paper), var(--paper-2));
}
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(15,27,45,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(15,27,45,.045) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(70% 60% at 50% 20%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000 30%, transparent 75%); }
.hero-copy { display: grid; justify-items: start; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-1); font-size: .86rem; font-weight: 500; color: var(--ink-2); margin-bottom: 28px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(217, 96, 11, .15); }
.hero h1 { max-width: 13.5em; }
.hero h1 em { display: block; }
.hero h1 .h1-sub { display: block; margin-top: .22em; font-size: .56em; line-height: 1.1; color: var(--ink); letter-spacing: -0.01em; }
.hero h1 .h1-sub::before { content: ""; display: inline-block; width: .9em; height: 2px; margin: 0 .35em .28em 0; background: var(--brand); vertical-align: middle; }
.hero .lede { margin-top: 26px; font-size: 1.22rem; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 22px; font-size: .9rem; color: var(--muted); }
.hero-note span { margin: 0 6px; }

.stage { position: relative; margin-top: 64px; padding-bottom: 96px; }
.window { margin: 0; border-radius: 16px; background: #fff; border: 1px solid rgba(15, 27, 45, .10); box-shadow: var(--shadow-3); overflow: hidden; position: relative; z-index: 1;
  animation: rise .9s cubic-bezier(.2, .7, .2, 1) both .1s; }
.chrome { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #f3f4f6; border-bottom: 1px solid #e5e7eb; }
.chrome i { width: 11px; height: 11px; border-radius: 50%; background: #d4d7dd; }
.chrome span { margin-left: 12px; font-size: .78rem; color: #6b7280; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chrome .demo { margin-left: auto; flex: none; font-size: .7rem; font-weight: 600; color: #6b7280; background: #e5e7eb; padding: 3px 9px; border-radius: 999px; }
.window img { width: 100%; }
.float { position: absolute; z-index: 2; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(15, 27, 45, .08); border-radius: 14px; box-shadow: 0 18px 40px -12px rgba(15, 27, 45, .28); }
.float-a { left: -6px; bottom: 40px; padding: 16px 20px; min-width: 220px; animation: rise .9s cubic-bezier(.2, .7, .2, 1) both .45s, bob 7s ease-in-out infinite 1.4s; }
.float-a .k { font-size: .78rem; color: var(--muted); font-weight: 500; }
.float-a .v { font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); line-height: 1.25; }
.float-a .v.warn { color: var(--warn); }
.float-a .s { font-size: .82rem; color: var(--ink-2); }
.float-b { right: -6px; top: -30px; display: flex; gap: 12px; align-items: center; padding: 12px 16px 12px 12px; max-width: 330px; animation: rise .9s cubic-bezier(.2, .7, .2, 1) both .65s, bob 8s ease-in-out infinite 2s; }
.float-b .tick { width: 46px; height: 46px; flex: none; }
.float-b p { font-size: .86rem; line-height: 1.45; color: var(--ink-2); }
.float-b b { color: var(--ink); font-weight: 600; }
@media (min-width: 1280px) { .float-a { left: -48px; } .float-b { right: -40px; } }
@media (max-width: 760px) {
  .hero { padding-top: 48px; }
  .stage { margin-top: 44px; padding-bottom: 64px; }
  .float-a { position: relative; left: auto; bottom: auto; margin: -28px 12px 0 auto; width: max-content; }
  .float-b { display: none; }
  }

/* tick mascot motion */
.tick .tick-lid { transform-box: fill-box; transform-origin: center; transform: scaleY(0); animation: blink 5.5s infinite 1s; }
.tick .tick-body { transform-box: fill-box; transform-origin: 50% 100%; animation: breathe 4s ease-in-out infinite; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(0); } 95% { transform: scaleY(1); } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025, .985); } }

/* compliance in one place */
.comp { padding: 110px 0 100px; background: var(--paper-2); border-top: 1px solid var(--line); }
.comp-head h2 em { white-space: nowrap; }
.comp-grid { display: grid; gap: 18px; }
.cc { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-1); display: flex; flex-direction: column; }
.cc-copy { padding: 28px 28px 24px; }
.cc-tag { display: inline-block; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-text); background: var(--brand-soft); border-radius: 999px; padding: 4px 11px; margin-bottom: 14px; }
.cc h3 { font-family: var(--serif); font-weight: 400; font-size: 1.85rem; line-height: 1.1; letter-spacing: -0.01em; }
.cc-copy > p:not(.cc-tag) { margin-top: 10px; font-size: .96rem; color: var(--ink-2); max-width: 36em; }
.cc-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; font-size: .93rem; }
.cc-list li { position: relative; padding-left: 24px; }
.cc-list li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 11px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.cc-list b { color: var(--ink); font-weight: 600; }
.cc img { margin: auto 0 0 28px; width: calc(100% - 28px); border-top-left-radius: 10px; border: 1px solid var(--line); border-right: 0; border-bottom: 0; box-shadow: -8px -8px 30px -18px rgba(15, 27, 45, .25); background: #f8f9fb; }
.duelist { margin: auto 28px 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); padding: 14px 16px 8px; }
.dl-h { font-size: .82rem; font-weight: 600; color: var(--ink); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; margin-bottom: 6px; }
.dl-h span { font-weight: 500; color: var(--muted); white-space: nowrap; }
@media (max-width: 640px) { .duelist { margin: auto 20px 20px; } }
.duelist ol { list-style: none; margin: 0; padding: 0; }
.duelist li { display: grid; grid-template-columns: 2.2em 1fr auto; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: .88rem; }
.duelist li:first-child { border-top: 0; }
.duelist b { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; }
.duelist i { font-style: normal; font-size: .76rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: #eef0f3; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.duelist i.d { background: #e6f4ea; color: var(--ok); }
.duelist i.p { background: #fef3e2; color: var(--warn); }
.comp-note { margin-top: 26px; padding: 18px 22px; border-radius: 14px; border: 1px dashed var(--line-2); background: var(--card); font-size: .92rem; color: var(--ink-2); }
.comp-note span { color: var(--muted); }
@media (min-width: 1000px) {
  .comp-grid { grid-template-columns: repeat(12, 1fr); }
  .cc-tds { grid-column: span 7; } .cc-gst { grid-column: span 5; }
  .cc-cal { grid-column: span 5; } .cc-pay { grid-column: span 7; }
  .cc-rep { grid-column: span 12; display: grid; grid-template-columns: 5fr 7fr; align-items: end; }
  .cc-rep .cc-copy { align-self: center; padding: 32px; }
  .cc-rep img { margin: 28px 0 0; width: 100%; }
}
@media (max-width: 640px) { .comp { padding: 80px 0 72px; } .cc h3 { font-size: 1.6rem; } .comp-head h2 em { white-space: normal; } }

/* sections */
section { scroll-margin-top: 80px; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head > p:not(.eyebrow) { margin-top: 18px; font-size: 1.12rem; color: var(--ink-2); }


.tick-sec { padding: 120px 0; background: var(--navy); color: var(--navy-ink); position: relative; overflow: hidden; }
.tick-sec::before { content: ""; position: absolute; width: 720px; height: 720px; right: -200px; top: -260px; background: radial-gradient(closest-side, rgba(245, 182, 35, .16), transparent); }
.tick-sec h2 { color: #fff; }
.tick-sec h2 em { color: var(--gold); }
.tick-sec .lede { color: var(--navy-ink); margin-top: 22px; }
.tick-grid { display: grid; gap: 56px; align-items: center; position: relative; }
@media (min-width: 980px) { .tick-grid { grid-template-columns: 1.05fr 1fr; gap: 80px; } }
.checks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: #dfe6f1; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: rgba(245, 182, 35, .16); }
.checks li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 8px; height: 5px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.chat { background: #fff; color: var(--ink-2); border-radius: 20px; padding: 22px; box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .55); display: grid; gap: 12px; font-size: .93rem; }
.chat-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #eef0f3; }
.chat-head .tick { width: 44px; height: 44px; }
.chat-head b { display: block; color: var(--ink); }
.chat-head span { font-size: .8rem; color: var(--muted); }
.msg { max-width: 86%; padding: 11px 14px; border-radius: 14px; line-height: 1.5; }
.msg.you { justify-self: end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.msg.bot { justify-self: start; background: #f4f5f7; border-bottom-left-radius: 4px; }
.rows { display: grid; gap: 6px; margin: 10px 0 8px; }
.rows i { display: block; height: 10px; border-radius: 4px; background: linear-gradient(90deg, #dfe3e9 40%, #eceff3 40% 70%, #dfe3e9 70%); }
.src { font-size: .76rem; color: var(--muted); }
.chat-note { justify-self: end; font-size: .72rem; color: var(--muted); }

.editions { padding: 120px 0; }
.ed-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .ed-grid { grid-template-columns: 1fr 1fr; } }
.ed { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 36px; box-shadow: var(--shadow-1); position: relative; overflow: hidden; }
.ed::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--brand); }
.ed-alt::before { background: var(--ink); }
.ed .for { font-size: .78rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-text); }
.ed-alt .for { color: var(--ink); }
.ed h3 { font-family: var(--serif); font-weight: 400; font-size: 2.1rem; letter-spacing: -.01em; margin: 12px 0 10px; }
.ed ul { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.ed li { padding: 13px 0 13px 28px; border-bottom: 1px solid var(--line); position: relative; font-size: .95rem; }
.ed li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 9px; height: 5px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.same { margin-top: 26px; color: var(--muted); }

.security { padding: 120px 0; background: var(--navy); color: var(--navy-ink); }
.security h2 { color: #fff; }
.security h2 em { color: var(--gold); }
.security .lede { color: var(--navy-ink); margin-top: 20px; }
.sec-grid { display: grid; gap: 48px; }
@media (min-width: 980px) { .sec-grid { grid-template-columns: 4fr 7fr; gap: 72px; } }
.facts { margin: 0; display: grid; gap: 1px; background: var(--navy-line); border: 1px solid var(--navy-line); border-radius: 18px; overflow: hidden; }
@media (min-width: 640px) { .facts { grid-template-columns: 1fr 1fr; } }
.facts div { background: var(--navy-2); padding: 24px 24px 26px; }
.facts dt { color: #fff; font-weight: 600; margin-bottom: 6px; }
.facts dd { margin: 0; font-size: .93rem; }
.facts a { color: var(--gold); }

.cta { padding: 110px 0; }
.cta-card { display: grid; gap: 36px; align-items: center; background: radial-gradient(80% 120% at 100% 0%, rgba(245, 182, 35, .22), transparent 60%), var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 48px 28px; box-shadow: var(--shadow-3); }
@media (min-width: 760px) { .cta-card { padding: 64px; } }
@media (min-width: 1000px) { .cta-card { grid-template-columns: 1.4fr 1fr; } }
.cta-card .lede { margin-top: 18px; }
.contact-lines { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; font-size: .95rem; color: var(--muted); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 1000px) { .cta-actions { justify-content: flex-end; } }

.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: .88rem; color: var(--muted); }
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1fr auto; } }
.legal { margin-top: 16px; display: grid; gap: 2px; }
.legal strong { color: var(--ink-2); font-weight: 600; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; align-content: start; }
.foot-links a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.foot-links a:hover { color: var(--brand-text); }
.copy { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .82rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.chat-wrap { position: relative; }
.tick-big { position: absolute; z-index: 2; right: -22px; top: -46px; width: 96px; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .35)); animation: bob 6s ease-in-out infinite; }
.tick-big .tick { width: 96px; height: 96px; }
@media (max-width: 760px) { .tick-big { width: 72px; right: -4px; top: -38px; } .tick-big .tick { width: 72px; height: 72px; } }

/* ===== a3: the film's pitch ===== */
.kicker { font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 1.75rem); line-height: 1.2; color: var(--ink-2); margin-bottom: 22px; max-width: 30em; }
.kicker em { font-style: italic; color: var(--brand-text); }
.pressures { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 600; color: var(--ink); font-size: 1.02rem; }
.pressures span { display: inline-flex; align-items: center; gap: 8px; }
.pressures span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.hero .pressures + .lede { margin-top: 14px; }
.float-a .v { font-size: 1.25rem; }

/* problem */
.problem { padding: 110px 0 100px; background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.problem-head { margin-bottom: 36px; }
.mess { position: relative; aspect-ratio: 350 / 540; margin: 0 auto; max-width: 1120px; }
@media (min-width: 760px) { .mess { aspect-ratio: 1120 / 500; } }
.links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: #b9b2a4; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1 6; }
.links line { vector-effect: non-scaling-stroke; animation: march 3.5s linear infinite; }
.links-d { display: none; }
@media (min-width: 760px) { .links-d { display: block; } .links-m { display: none; } }
@keyframes march { to { stroke-dashoffset: -14; } }
.mt { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 10px; padding: 9px 13px 9px 10px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 22px -12px rgba(15, 27, 45, .28); white-space: nowrap; animation: drift 9s ease-in-out infinite; }
.mt svg { width: 30px; height: 30px; padding: 6px; border-radius: 8px; background: var(--paper-2); fill: none; stroke: var(--ink-2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mt p { display: grid; line-height: 1.2; }
.mt b { color: var(--ink); font-size: .86rem; font-weight: 600; }
.mt span { color: var(--muted); font-size: .72rem; }
.mt-books, .mt-epfo { animation-delay: -3s; }
.mt-traces, .mt-xls { animation-delay: -6s; }
@keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
.late { position: absolute; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 9px; border-radius: 999px; background: #f1efea; border: 1px solid var(--line-2); color: #80858f; font-size: .76rem; white-space: nowrap; opacity: .92; animation: latein 1s ease-out both; }
.late i { width: 7px; height: 7px; border-radius: 50%; background: #b8b2a6; }
.late b { color: #9a5a3a; font-weight: 600; }
.late-1 { animation-delay: 1.2s; }
.late-2 { animation-delay: 2s; }
.late-3 { animation-delay: 2.8s; }
@keyframes latein { from { opacity: 0; transform: translateY(8px); } to { opacity: .92; transform: none; } }
.chase { margin-top: 40px; text-align: center; font-family: var(--serif); font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.1; color: var(--ink); }
.chase em { color: var(--brand-text); }
@media (max-width: 759px) {
  .mt { padding: 7px 10px 7px 7px; gap: 8px; }
  .mt svg { width: 26px; height: 26px; padding: 5px; }
  .mt b { font-size: .8rem; }
  .mt span { font-size: .68rem; }
  .late { font-size: .7rem; padding: 5px 10px 5px 8px; }
}

/* turn */
.turn { padding: 110px 0 100px; text-align: center; background: radial-gradient(60% 50% at 50% 45%, rgba(245, 182, 35, .14), transparent 70%), var(--paper); }
.whatif { font-family: var(--serif); font-size: clamp(2rem, 4.4vw, 3.2rem); color: var(--ink); line-height: 1.1; }
.whatif em { color: var(--brand-text); }
.flowline { list-style: none; margin: 30px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; row-gap: 12px; max-width: 1000px; }
.flowline li { display: inline-flex; align-items: center; font-size: .84rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.flowline li::before { content: ""; width: 8px; height: 8px; margin-right: 8px; border-radius: 2px; background: var(--brand); }
.flowline li::after { content: ""; width: 28px; height: 2px; margin: 0 10px; background: linear-gradient(90deg, var(--brand), var(--gold)); }
.flowline li:last-child::after { display: none; }
.meet { margin: 64px auto 0; max-width: 900px; }
.meet h2 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
.meet h2 em { display: block; margin-top: .2em; font-size: .52em; line-height: 1.2; color: var(--ink-2); font-style: normal; }
.mods-core, .mods-more { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.mods-core { margin: 40px 0 0; gap: 10px; }
.mods-core a { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow-1); color: var(--ink); font-weight: 650; text-decoration: none; animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.mods-core a { position: relative; }
.mods-core a::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--ok); }
.mods-core a::after { content: ""; position: absolute; left: 20px; top: 50%; width: 8px; height: 4px; margin-top: -4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.mods-core a:hover { border-color: var(--ink); color: var(--ink); }
.mods-core li:nth-child(2) a { animation-delay: .1s; } .mods-core li:nth-child(3) a { animation-delay: .2s; } .mods-core li:nth-child(4) a { animation-delay: .3s; } .mods-core li:nth-child(5) a { animation-delay: .4s; } .mods-core li:nth-child(6) a { animation-delay: .5s; }
.mods-more { margin: 18px auto 0; gap: 8px; max-width: 820px; }
.mods-more li { padding: 6px 13px; border-radius: 999px; border: 1px dashed var(--line-2); font-size: .84rem; color: var(--muted); }
.mods-more li:nth-child(n+5) { opacity: .75; }
.mods-more li:nth-child(n+8) { opacity: .55; }
.mods-more .plus { border-style: solid; font-weight: 600; color: var(--ink-2); opacity: 1 !important; }
.six { margin-top: 34px; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--ink); }
.six em { color: var(--brand-text); }

/* six modules */
.modules { padding: 40px 0 100px; background: var(--paper-2); border-top: 1px solid var(--line); }
.mod { display: grid; gap: 28px; align-items: center; padding: 72px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
@media (min-width: 1000px) {
  .mod { grid-template-columns: 5fr 7fr; gap: 64px; }
  .mod:nth-of-type(even) .mod-copy { order: 2; }
}
.mod-name { display: flex; align-items: center; gap: 12px; font-size: .8rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-text); }
.mod-name span { font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0; color: var(--ink); font-weight: 400; }
.mod h3 { margin-top: 12px; font-family: var(--serif); font-weight: 400; font-size: clamp(2.1rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -.01em; }
.acts { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.acts li { position: relative; padding-left: 26px; font-size: 1rem; }
.acts li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 11px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.fromto { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; padding: 8px 16px; border-radius: 999px; background: var(--ink); color: var(--navy-ink); font-size: .9rem; }
.fromto b { color: #fff; font-weight: 600; }
.fromto b:last-child { color: var(--gold); }
.fromto b:first-child::after { content: "→"; margin-left: 8px; color: var(--navy-ink); font-weight: 400; }
.mod-vis { margin: 0; }
.shot img { width: 100%; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow-3); background: #fff; }
.shot figcaption, .ill-note { margin-top: 10px; font-size: .78rem; color: var(--muted); text-align: right; }
.card-ill { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-3); padding: 20px 22px 14px; max-width: 560px; justify-self: center; width: 100%; }
.ill-h { display: flex; justify-content: space-between; gap: 10px; font-weight: 600; color: var(--ink); font-size: .95rem; padding-bottom: 10px; }
.ill-h span { font-weight: 500; color: var(--muted); font-size: .82rem; }
.card-ill ol { list-style: none; margin: 0; padding: 0; }
.card-ill li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: .9rem; }
.card-ill li b { color: var(--ink); font-weight: 600; }
.card-ill li span { color: var(--muted); font-size: .82rem; }
.card-ill li i { font-style: normal; font-size: .76rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #eef0f3; color: var(--ink-2); }
.card-ill li i.bad { background: #fde8e4; color: #a8321d; }
.card-ill li i.p { background: #fef3e2; color: var(--warn); }
.card-ill li i.d { background: #e6f4ea; color: var(--ok); }
.ill-f { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.ill-f span { font-size: .8rem; font-weight: 600; color: var(--ink-2); padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line-2); }
.ill-f .go { background: var(--brand); border-color: var(--brand); color: #fff; }
.andmore { padding-top: 72px; }
.andmore-h { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.1; }
.andmore-h em { color: var(--brand-text); }
.am-grid { display: grid; gap: 14px; margin-top: 28px; }
@media (min-width: 900px) { .am-grid { grid-template-columns: repeat(3, 1fr); } }
.am { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; box-shadow: var(--shadow-1); font-size: .93rem; }
@media (max-width: 640px) { .mod { padding: 56px 0; } .modules { padding-bottom: 72px; } }

/* why */
.why { padding: 110px 0 90px; }
.why-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-grid article { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px; box-shadow: var(--shadow-1); position: relative; overflow: hidden; }
.why-grid article::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--brand), var(--gold)); }
.why-grid .n { font-family: var(--serif); font-size: 1.6rem; color: var(--brand-text); }
.why-grid h3 { margin-top: 10px; font-size: 1.15rem; }
.why-grid p { margin-top: 8px; font-size: .95rem; }

/* outcomes + proof */
.outcomes { padding: 30px 0 110px; }
.out-list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .out-list { grid-template-columns: 1fr 1fr; } .out-list li:nth-child(odd) { border-right: 1px solid var(--line); } }
.out-list li { padding: 30px 8px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.1; color: var(--ink); }
@media (min-width: 900px) { .out-list li { padding: 34px 32px; } .out-list li:nth-child(odd) { padding-left: 0; } }
.out-list em { color: var(--brand-text); }
.proof { margin-top: 36px; display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-1); font-weight: 600; color: var(--ink); }
.cta-actions .btn-quiet { border: 1px solid transparent; }
#contact-title em { display: block; }

/* a3 fixes */
.mt, .late { width: max-content; }
@media (min-width: 1000px) { .mod:nth-of-type(even) { grid-template-columns: 7fr 5fr; } }
@media (max-width: 759px) {
  .chase em { display: block; }
  .flowline { flex-direction: column; row-gap: 0; }
  .flowline li { flex-direction: column; }
  .flowline li::before { display: none; }
  .flowline li { padding: 7px 14px; }
  .flowline li::after { width: 2px; height: 14px; margin: 7px 0 -7px; background: var(--brand); }
}

/* problem diagram positions (generated by a3/make.py) */
.mt-mail { left: 27%; top: 7%; }
.mt-books { left: 74%; top: 17%; }
.mt-gst { left: 28%; top: 35%; }
.mt-traces { left: 74%; top: 49%; }
.mt-epfo { left: 27%; top: 64%; }
.mt-bank { left: 74%; top: 80%; }
.mt-xls { left: 30%; top: 93%; }
.late-1 { left: 4%; top: 15%; }
.late-2 { left: 6%; top: 43%; }
.late-3 { left: 52%; top: 57%; }
@media (min-width: 760px) {
  .mt-mail { left: 11%; top: 20%; }
  .mt-books { left: 38%; top: 10%; }
  .mt-gst { left: 68%; top: 16%; }
  .mt-traces { left: 89%; top: 46%; }
  .mt-epfo { left: 66%; top: 80%; }
  .mt-bank { left: 37%; top: 86%; }
  .mt-xls { left: 10%; top: 62%; }
  .late-1 { left: 3%; top: 34%; }
  .late-2 { left: 63%; top: 29%; }
  .late-3 { left: 72%; top: 61%; }
}

/* legal pages and 404 */
.doc { padding: 72px 0 96px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(2.6rem, 6vw, 4rem); }
.doc .updated { margin-top: 12px; color: var(--muted); font-size: .92rem; }
.doc h2 { font-size: 1.9rem; margin-top: 44px; }
.doc p, .doc ul, .doc address { margin-top: 14px; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-top: 8px; }
.doc li strong, .doc p strong { color: var(--ink); }
.doc address { font-style: normal; line-height: 1.7; }
.nf { padding: 110px 0 140px; }
.nf .lede { margin-top: 20px; }
