/* Townline Pages: marketing site. Direction D, evidence-first.
   Archivo (variable, width axis) on slate with hi-vis orange. Orange is used for fills only, never for text on light grounds. */
/* Shared structure for all three directions. Tokens come from each direction. */
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2 { text-wrap: balance; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); margin: 0 0 16px; }
p { margin: 0 0 1em; max-width: 66ch; }
ul, ol { padding-left: 1.2em; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
img { max-width: 100%; height: auto; }
.muted { color: var(--muted); }
.small { font-size: 16px; line-height: 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 16px; font-weight: 600; }
.skip-link:focus { top: 12px; color: var(--paper); }
.container { max-width: 1192px; margin: 0 auto; padding: 0 clamp(20px, 3vw, 32px); }
section { padding: clamp(48px, 6vw, 88px) 0; }

/* header */
.site-header { position: relative; z-index: 10; background: var(--header-bg, var(--paper)); border-bottom: 1px solid var(--header-line, var(--line)); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-family: var(--font-head); font-size: 22px; font-weight: var(--brand-weight, 600); color: var(--header-ink, var(--ink)); text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--header-ink, var(--ink)); }
.m-line { stroke: var(--mark-line); }
.m-dot { fill: var(--mark-dot); }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; font-size: 16px; font-weight: 600; color: var(--header-ink, var(--ink)); text-decoration: none; }
.site-nav a:hover { color: var(--nav-hover, var(--accent-hover)); text-decoration: underline; }
.site-nav a.nav-cta { margin-left: 8px; padding: 0 18px; background: var(--accent); color: var(--on-accent); border-radius: var(--radius); text-decoration: none; }
.site-nav a.nav-cta:hover { background: var(--accent-hover); color: var(--on-accent); text-decoration: none; }
.nav-toggle { width: 48px; height: 48px; display: none; align-items: center; justify-content: center; border: 1px solid var(--field-line); border-radius: var(--radius); background: var(--surface); color: var(--ink); cursor: pointer; }
.nav-toggle[hidden] { display: none !important; }

/* buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 26px; border-radius: var(--radius); font-family: var(--font-body); font-size: 17px; font-weight: 700; text-decoration: none; cursor: pointer; background: var(--accent); color: var(--on-accent); border: 2px solid var(--accent); }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin: 28px 0 14px; }
.text-link { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; }
.hero-reassure { font-size: 16px; line-height: 24px; color: var(--muted); margin: 0; }

/* screenshot */
.product-shot { margin: 0; }
.product-shot .shot { display: block; width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.product-shot figcaption { font-size: 16px; line-height: 24px; color: var(--muted); margin-top: 12px; }

/* steps */
.steps { list-style: none; padding: 0; margin: 28px 0 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { margin: 0; }
.step-num { font-size: 16px; font-weight: 700; margin: 0 0 6px; color: var(--muted); }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* founder */
.founder { display: flex; gap: 32px; align-items: center; }
.founder-photo { width: 160px; height: 160px; flex: none; object-fit: cover; border-radius: var(--radius-lg); }
.founder p { color: var(--muted); }

/* faq */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: var(--faq-weight, 600); font-size: 20px; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-body); font-size: 26px; color: var(--link); flex: none; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { color: var(--muted); margin: 0 0 16px; }

/* form */
.contact-wrap { max-width: 660px; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; margin: 24px 0 16px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .help { display: block; font-size: 16px; line-height: 24px; color: var(--muted); margin: -2px 0 6px; }
.field input, .field select { width: 100%; min-height: 48px; padding: 12px; border: 1px solid var(--field-line); border-radius: var(--radius); background: var(--surface); font-family: var(--font-body); font-size: 16px; color: var(--ink); }
.form-submit { width: 100%; }
.form-note { font-size: 16px; line-height: 24px; color: var(--muted); margin: 12px 0 0; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; font-size: 16px; line-height: 24px; color: var(--muted); background: var(--footer-bg, var(--paper)); }
.site-footer p { margin: 0 0 4px; max-width: none; }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 16px 32px; }
.footer-brand { font-family: var(--font-head); font-size: 20px; line-height: 27px; font-weight: 600; color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 48px; color: var(--muted); }
.site-footer a[href*="abr.business.gov.au"] { white-space: nowrap; }

@media (max-width: 900px) { .steps { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 640px) {
  .nav { min-height: 64px; flex-wrap: wrap; }
  .site-nav { flex-wrap: wrap; gap: 0 4px; }
  .site-nav a { padding: 0 8px; }
  .menu-ready .nav { flex-wrap: nowrap; }
  .menu-ready .nav-toggle { display: inline-flex; }
  .menu-ready .site-nav { display: none; }
  .menu-ready.menu-open .site-nav { display: flex; flex-direction: column; align-items: stretch; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .menu-ready.menu-open .site-nav a { color: var(--ink); border-bottom: 1px solid var(--line); padding: 0 4px; }
  .menu-ready.menu-open .site-nav a.nav-cta { margin: 12px 0 0; justify-content: center; border: none; color: var(--on-accent); }
  .btn-row .btn { width: 100%; }
  .form-card { padding: 20px; }
  .founder { flex-direction: column; align-items: flex-start; gap: 18px; }
  .founder-photo { width: 112px; height: 112px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
/* Direction B: The facts. Archivo (width axis) on slate with hi-vis orange. */
@font-face { font-family: 'Archivo'; font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; src: url('/assets/fonts/archivo-latin-wdth-normal.woff2') format('woff2'); }
:root {
  --paper: #EEF0EB; --surface: #FFFFFF; --slate: #1C2A33;
  --ink: #151D23; --muted: #4B5961;
  --accent: #F26B1D; --accent-hover: #FF8540; --on-accent: #151D23;
  --link: #151D23; --focus: #151D23;
  --line: #CDD2CA; --field-line: #6A767D;
  --mark-line: #F26B1D; --mark-dot: #EEF0EB;
  --header-bg: #1C2A33; --header-ink: #EEF0EB; --header-line: #2E4048; --nav-hover: #FFFFFF;
  --footer-bg: #1C2A33;
  --radius: 4px; --radius-lg: 6px;
  --font-head: 'Archivo', 'Arial Narrow', Arial, sans-serif; --font-body: 'Archivo', -apple-system, 'Segoe UI', Arial, sans-serif;
  --brand-weight: 800;
}
body { font-stretch: 100%; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.01em; }
h1 { word-spacing: 0.12em; font-stretch: 62%; font-size: clamp(56px, 5.2vw + 24px, 112px); line-height: 0.94; letter-spacing: -0.012em; }
h2 { word-spacing: 0.1em; font-stretch: 68%; font-size: clamp(40px, 2.4vw + 26px, 68px); line-height: 0.98; }
h3 { word-spacing: 0.04em; font-stretch: 80%; font-size: 26px; line-height: 1.1; font-weight: 700; }
.brand { font-stretch: 80%; font-size: 24px; }
.site-header :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: #fff; }
.hero { background: var(--slate); color: #E8ECEA; padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(56px, 6vw, 88px); }
.hero h1 { color: #fff; }
.hero-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-body { font-size: 20px; line-height: 1.5; color: #C9D3D8; }
.hero .hero-reassure, .hero .product-shot figcaption { color: #AEBBC2; }
.hero .text-link, .hero a { color: #fff; }
.hero .btn { color: var(--on-accent); }
.hero .product-shot .shot { border-color: #38505C; }
.facts { background: var(--accent); padding: 0; }
.facts-row { display: grid; grid-template-columns: repeat(6, 1fr); margin: 0; }
.facts-row dd a { color: inherit; text-decoration: none; font-size: 0.5em; display: inline-block; font-stretch: 100%; line-height: 1.2; }
.facts-row > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 36px 20px 36px 24px; border-left: 2px solid var(--ink); }
.facts-row > div:first-child { border-left: 0; padding-left: 0; }
.facts-row dd { word-spacing: 0.08em; margin: 0; font-stretch: 62%; font-weight: 800; font-size: clamp(44px, 2.6vw + 22px, 72px); line-height: 0.95; color: var(--ink); }
.facts-row dt { font-size: 16px; line-height: 1.3; font-weight: 600; color: var(--ink); margin-top: 8px; max-width: 18ch; }
.pack-grid { display: grid; grid-template-columns: 4fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.pack-list { list-style: none; padding: 0; margin: 0 0 28px; }
.pack-list li { margin: 0; padding: 18px 0 20px; border-top: 3px solid var(--ink); }
.pack-list h3 { margin-bottom: 4px; }
.pack-list p { margin: 0; color: var(--muted); }
.how-section { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how-section .step { border-top: 6px solid var(--accent); padding-top: 16px; }
.founder-section h2 { font-size: clamp(36px, 2vw + 24px, 56px); }
.faq-section { background: var(--surface); border-top: 1px solid var(--line); }
.faq summary { font-stretch: 85%; font-weight: 700; font-size: 22px; }
.contact-section { background: var(--paper); }
.site-footer { color: #AEBBC2; border-top: 0; }
.site-footer a { color: #E8ECEA; }
.footer-brand { color: #fff; font-stretch: 80%; font-weight: 800; }
.footer-links a { color: #E8ECEA; }
@media (max-width: 900px) {
  .hero-grid, .pack-grid { grid-template-columns: 1fr; }
  .facts-row { grid-template-columns: 1fr 1fr; }
  .facts-row > div { padding: 24px 16px 24px 20px; border-top: 2px solid var(--ink); }
  .facts-row > div:nth-child(1), .facts-row > div:nth-child(2) { border-top: 0; }
  .facts-row > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts-row > div:nth-child(3), .facts-row > div:nth-child(4) { border-top: 2px solid var(--ink); }
}

/* ---- v2 additions: evidence-first ---- */
.hero-art { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid #38505C; }
.hero-grid { grid-template-columns: 6fr 5fr; }
.anatomy { background: var(--paper); }
.anatomy-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.anatomy-fig { margin: 0; }
.anatomy-frame { position: relative; }
.anatomy-frame .shot { display: block; width: 100%; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.pin { position: absolute; transform: translate(-50%, -50%); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--ink); font-weight: 800; font-size: 15px; line-height: 1; border: 2px solid var(--ink); }
.anatomy-fig figcaption { font-size: 16px; line-height: 24px; color: var(--muted); margin-top: 12px; }
.legend { list-style: none; padding: 0; margin: 20px 0 0; counter-reset: pin; }
.legend li { counter-increment: pin; position: relative; padding: 14px 0 14px 48px; margin: 0; border-top: 2px solid var(--ink); }
.legend li::before { content: counter(pin); position: absolute; left: 0; top: 14px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--ink); font-weight: 800; font-size: 15px; border: 2px solid var(--ink); }
.legend strong { display: block; font-stretch: 85%; font-size: 20px; line-height: 1.2; margin-bottom: 2px; }
.pack-section { background: var(--surface); border-top: 1px solid var(--line); }
.register-section { background: var(--slate); color: #E8ECEA; }
.register-section h2 { color: #fff; max-width: 18ch; }
.register-section .lede { font-size: 20px; color: #C9D3D8; max-width: 56ch; }
.register-section a { color: #fff; }
.register-section :focus-visible { outline-color: #fff; }
.register { margin: 32px 0 0; border-top: 3px solid var(--accent); }
.register th, .register td { text-align: left; vertical-align: top; padding: 18px 20px 18px 0; border-bottom: 1px solid #38505C; }
.register thead th { font-size: 16px; font-weight: 600; color: #AEBBC2; padding-bottom: 10px; }
.register tbody th { width: 34%; font-stretch: 80%; font-weight: 800; font-size: 26px; line-height: 1.1; color: #fff; word-spacing: 0.04em; }
.register td { color: #D4DCE0; }
.wont { margin-top: 40px; padding: 24px 28px; border: 2px solid var(--accent); border-radius: var(--radius-lg); max-width: 760px; }
.wont h3 { color: #fff; margin-bottom: 6px; }
.wont p { margin: 0; color: #E8ECEA; }
.founder-section { background: var(--paper); }
.founder-letter { display: grid; grid-template-columns: 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.founder-letter .founder-photo { width: 200px; height: 200px; }
.founder-letter h2 { font-size: clamp(36px, 2vw + 24px, 56px); }
.founder-letter p { color: var(--ink); font-size: 18px; max-width: 62ch; }
.founder-letter .sig { font-stretch: 80%; font-weight: 800; font-size: 32px; margin: 24px 0 8px; line-height: 1.1; }
.founder-links { display: flex; flex-wrap: wrap; gap: 0 24px; font-size: 16px !important; }
.founder-links a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art-wrap { aspect-ratio: 640 / 300; }
  .anatomy-grid, .founder-letter { grid-template-columns: 1fr; }
  .founder-letter .founder-photo { width: 128px; height: 128px; }
  .register th, .register td { padding-right: 0; }
  .register tbody th { width: auto; }
}
@media (max-width: 700px) {
  .register thead { display: none; }
  .register, .register tbody, .register tr, .register th, .register td { display: block; width: 100% !important; }
  .register tr { padding: 16px 0; border-bottom: 1px solid #38505C; }
  .register th, .register td { border: 0; padding: 0 0 6px; }
  .wont { padding: 20px; }
}

/* ---- round 3 ---- */
.hero-art-wrap { position: relative; aspect-ratio: 640 / 460; border: 1px solid #38505C; border-radius: var(--radius-lg); overflow: hidden; }
.hero-art-wrap .hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 0; }
.tag { position: absolute; top: calc(51.7% + 22px); transform: translateX(-50%); background: var(--paper); color: var(--ink); font-weight: 700; font-size: 14px; line-height: 1; padding: 7px 10px; border-radius: 3px; white-space: nowrap; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.byline img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid #38505C; }
.byline p { margin: 0; color: #E8ECEA; font-size: 16px; line-height: 1.4; max-width: 34ch; }
.anatomy-wrap { display: flex; flex-direction: column; gap: 28px; }
.anatomy-wrap .legend { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px 24px; margin: 0; }
.anatomy-wrap .legend li { padding: 14px 0 0 0; }
.anatomy-wrap .legend li::before { position: static; margin-bottom: 10px; }
.anatomy-wrap .legend strong { font-size: 19px; }
.pin { width: 32px; height: 32px; font-size: 16px; }
.prev { font-size: 16px !important; color: var(--muted) !important; margin: 0 0 8px !important; }
@media (max-width: 1000px) { .anatomy-wrap .legend { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .anatomy-wrap .legend { grid-template-columns: 1fr; } .pin { width: 26px; height: 26px; font-size: 14px; } .tag { font-size: 12px; padding: 5px 7px; } }

/* ===== Site-wide additions (all pages) ===== */
/* Modest default headings; the homepage opts in to the large display scale via body.home */
h2 { font-size: clamp(26px, 1.2vw + 21px, 36px); line-height: 1.1; }
h3 { font-size: 22px; }
body.home h2 { font-size: clamp(40px, 2.4vw + 26px, 68px); line-height: .98; }
body.home .faq-section h2, body.home .how-section h2 { font-size: clamp(36px, 2vw + 24px, 56px); }
body.home .contact-section h2 { font-size: clamp(36px, 2vw + 24px, 56px); }
body.home h3 { font-size: 26px; }
section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* page-header hero on inner pages */
.hero { color: #E8ECEA; padding-bottom: clamp(40px, 5vw, 72px); }
.hero p { color: #C9D3D8; }
.hero .muted, .hero .caption { color: #AEBBC2; }
.hero a { color: #fff; }
.hero .btn { color: var(--on-accent); }
.hero .eyebrow { font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #AEBBC2; margin: 0 0 12px; }
.hero .lede { font-size: clamp(18px, .3vw + 16.5px, 21px); line-height: 1.5; color: #C9D3D8; max-width: 60ch; }
main > section.hero:not(#top) h1 { font-size: clamp(44px, 3.6vw + 20px, 76px); max-width: 16ch; }
main > section.hero:not(#top) .prose h1 { max-width: none; }
.hero .example-links a { color: #fff; }
.hero .product-shot { margin: 28px 0 0; max-width: 960px; }
.hero .product-shot .shot { border-color: #38505C; }
.hero .product-shot figcaption { color: #AEBBC2; }
.about-layout { display: flex; gap: clamp(24px, 4vw, 48px); align-items: center; flex-wrap: wrap; }
.about-layout .text { flex: 1; min-width: 260px; }
.about-photo { width: 220px; height: 220px; border-radius: var(--radius-lg); object-fit: cover; border: 2px solid #38505C; }

/* long-form reading blocks */
.prose { max-width: 720px; }
.prose h2 { margin-top: 40px; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; max-width: 66ch; }
.prose .btn, .prose .text-link { margin-top: 8px; }
section.alt > .container > h2 { margin-top: 36px; }
section.alt > .container > h2:first-child { margin-top: 0; }
.text-link { text-decoration: underline; text-underline-offset: 3px; }

/* steps on how-it-works */
.steps-stack { grid-template-columns: 1fr; max-width: 760px; gap: 32px; }
.step-h { font-size: 26px !important; line-height: 1.1; margin: 0 0 8px; word-spacing: .04em; }
.steps.steps-stack .step { border-top: 6px solid var(--accent); padding-top: 16px; }
.steps.steps-stack .step-num { font-size: 16px; }

/* misc legacy */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.card p { color: var(--muted); }
.example-links { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.example-links li { margin: 0; }
.example-links a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; }
.caption { font-size: 16px; line-height: 24px; }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 26px; border-radius: var(--radius); font-weight: 700; text-decoration: none; border: 2px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.footer-row { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 16px 32px; }

/* form validation states (form.js toggles these) */
.form-status:empty { display: none; }
.form-status { border: 2px solid #B3261E; border-radius: var(--radius); background: #FCEFEE; color: #5C1410; padding: 12px 14px; margin: 0 0 20px; font-weight: 600; }
.form-status.is-info { border-color: var(--field-line); background: #EEF0EB; color: var(--ink); }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.field input[aria-invalid="true"] { border-color: #B3261E; border-width: 2px; }
.field-error { display: block; color: #B3261E; font-size: 16px; line-height: 24px; font-weight: 600; margin-top: 6px; }
.form-submit:disabled { opacity: .7; cursor: default; }
.btn:focus-visible { outline-color: var(--ink); }
@media (max-width: 640px) { .about-photo { width: 160px; height: 160px; } }


/* ---- site-fixes-oct16 ---- */
/* Screenshot frame that stops above the first card row (no mid-card crop). Pin tops are percentages of this 1280x728 frame. */
.shot-crop { position: relative; aspect-ratio: 1280 / 728; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.shot-crop img { position: absolute; top: 0; left: 0; width: 100%; height: auto; max-width: none; }
.hero .shot-crop, .hero .product-shot .shot-crop { border-color: #38505C; }
.hero-shot { margin: 0; }
.facts-row { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) { .facts-row { grid-template-columns: 1fr 1fr; } .facts-row > div:nth-child(5) { grid-column: 1 / -1; border-left: 0; padding-left: 0; } }
/* Mobile sticky CTA: markup is always in the page, shown only below 768px; site.js hides it while the form is on screen. */
.sticky-cta { display: none; }
@media (max-width: 767px) {
 .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--slate); border-top: 2px solid var(--accent); }
 .sticky-cta .btn { display: flex; width: 100%; min-height: 48px; }
 .sticky-cta.is-hidden { display: none; }
 body:has(.sticky-cta) { padding-bottom: 76px; }
}
.shot-label { font-size: 16px; line-height: 24px; font-weight: 600; margin: 12px 0 0; color: var(--ink); max-width: none; }
.hero .shot-label { color: #fff; }
@media (max-width: 767px) { .js .sticky-cta[data-after]:not(.is-shown) { display: none; } }

/* ---- site-fixes-oct15b ---- */
/* Home hero: CSS phone frame around the 390px capture */
.phone-shot { margin: 0; justify-self: center; text-align: center; }
.phone { width: min(300px, 78vw); margin: 0 auto; padding: 12px; background: #0E151A; border: 2px solid #38505C; border-radius: 40px; }
.phone-screen { aspect-ratio: 390 / 844; overflow: hidden; border-radius: 28px; background: #fff; }
.phone-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-shot .shot-label { text-align: center; }
.anatomy-link { margin: 0; }
.anatomy-wrap .legend { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .anatomy-wrap .legend { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .anatomy-wrap .legend { grid-template-columns: 1fr; } }
/* /work: tabbed browser frame (no JS: four stacked, linked screenshots) */
.tabs-fig { margin: 28px 0 0; max-width: 960px; }
.browser { border: 1px solid #38505C; border-radius: var(--radius-lg); background: #DDE1DA; overflow: hidden; }
.browser-bar { display: flex; align-items: flex-end; gap: 16px; padding: 10px 0 0; min-height: 22px; }
.browser-tabs { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; }
.browser-tabs [role="tab"] { min-height: 44px; padding: 0 18px; border: 0; border-radius: 8px 8px 0 0; background: #C3C9C1; color: var(--ink); font: 600 16px/1 var(--font-body); cursor: pointer; }
.browser-tabs [role="tab"]:hover { background: #EEF0EB; }
.browser-tabs [role="tab"][aria-selected="true"] { background: #fff; }
.browser-tabs [role="tab"]:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }
.hero .browser-tabs [role="tab"] { color: var(--ink); }
.browser-body { background: #fff; border-top: 1px solid #B9C0B7; }
.browser-body .tab-panel + .tab-panel { border-top: 6px solid #DDE1DA; }
.tabs-fig .shot-crop { display: block; border: 0; border-radius: 0; }
.tabs-fig .shot-crop:focus-visible { outline-offset: -3px; outline-color: var(--ink); }
.tabs-open { margin: 20px 0 0; }
.tabs-open[hidden] { display: none; }
.tabs-open .btn-outline { background: transparent; border-color: #E8ECEA; color: #fff; }
.tabs-open .btn-outline:hover { background: #fff; border-color: #fff; color: var(--slate); }
.tabs-open .btn-outline:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 767px) {
  .browser-tabs { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
  .browser-tabs [role="tab"] { flex: 0 0 auto; white-space: nowrap; }
}
.tabs-fig .shot-label { margin-top: 12px; }
