/* Apex Smiles Orthodontics: boutique, photo-led theme (v1.0.0)
   Brand kit: green #82C01D, navy #1A3E92, steel #779EB8, black. Fredoka for the wordmark, Jost (a free
   Futura-style face) for everything else. No scripts drive the layout; motion is hover-only. */

@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-var.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("../fonts/fredoka-latin-var.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  --green: #82C01D;
  --green-deep: #4A730C;
  --navy: #1A3E92;
  --navy-deep: #11275E;
  --steel: #779EB8;
  --ink: #111B33;
  --muted: #556079;
  --paper: #FBFAF7;
  --white: #FFFFFF;
  --sand: #F5F1E9;
  --sage: #EFF4E7;
  --line: rgba(17, 27, 51, .12);
  --line-strong: rgba(17, 27, 51, .28);

  --font: "Jost", Futura, "Century Gothic", system-ui, sans-serif;
  --font-brand: "Fredoka", "Arial Rounded MT Bold", system-ui, sans-serif;

  --header-h: 84px;
  --gutter: clamp(20px, 5vw, 64px);
  --wrap: 1240px;
  --space: clamp(72px, 10vw, 144px);
  --radius: 20px;
  --radius-lg: 32px;
  --shadow: 0 2px 4px rgba(17, 27, 51, .04), 0 24px 48px -24px rgba(17, 27, 51, .22);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.7; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, address { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
h1, h2, h3 { font-weight: 400; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.2vw, 4.75rem); line-height: 1.03; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.5vw, 3.1rem); line-height: 1.08; letter-spacing: -0.03em; }
h3 { font-size: 1.3rem; line-height: 1.3; letter-spacing: -0.01em; font-weight: 500; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 6px; }

.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--green-deep);
  margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--green); flex: none; }
.lead { font-size: clamp(1.15rem, .5vw + 1rem, 1.3rem); line-height: 1.6; color: var(--muted); }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 54px; padding: 0 1.9em; border-radius: 999px; border: 1px solid transparent;
  font: 500 1rem/1 var(--font); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .12s var(--ease);
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); }
.btn-light { background: #fff; color: var(--navy); border-color: var(--line-strong); }
.btn-light:hover { border-color: var(--navy); }
.btn:active { transform: scale(.98); }
.i-arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); flex: none; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .55em; font-weight: 500; color: var(--navy); text-decoration: none;
  padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
}
.link-arrow:hover .i-arrow, .btn:hover .i-arrow { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 2.4rem; }

/* ---------- Header ---------- */
header.wp-block-template-part { position: sticky; top: 0; z-index: 50; }
body.admin-bar header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { body.admin-bar header.wp-block-template-part { top: 46px; } }
.site-header { background: rgba(251, 250, 247, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 32px; height: var(--header-h); position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 38px; height: 38px; }
.brand-word { display: flex; flex-direction: column; font-family: var(--font-brand); line-height: 1; }
.brand-word b { font-weight: 600; font-size: 1.25rem; color: var(--green); }
.brand-word i { font-style: normal; font-weight: 500; font-size: .8rem; margin-top: 3px; color: var(--green-deep); letter-spacing: .02em; }
.primary { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); margin-left: auto; }
.primary a { text-decoration: none; font-size: .98rem; color: var(--ink); padding: 8px 0; transition: color .2s var(--ease); }
.primary > a:hover, .has-menu > a:hover { color: var(--navy); }
.has-menu { position: relative; }
.has-menu > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.submenu {
  position: absolute; top: 100%; left: -24px; min-width: 300px; padding: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.has-menu:hover .submenu, .has-menu:focus-within .submenu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.submenu a { display: block; padding: 10px 14px; border-radius: 12px; }
.submenu a:hover { background: var(--sage); color: var(--ink); }
.header-cta { min-height: 46px; padding: 0 1.5em; font-size: .95rem; }
.mobile-menu { display: none; margin-left: auto; }
.mobile-menu summary { list-style: none; cursor: pointer; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .2s var(--ease); }
.burger { position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; } .burger::after { top: 6px; }
.mobile-menu[open] .burger { background: transparent; }
.mobile-menu[open] .burger::before { transform: translateY(6px) rotate(45deg); }
.mobile-menu[open] .burger::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu nav {
  position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100svh - var(--header-h)); overflow: auto;
  display: grid; gap: 2px; padding: 20px var(--gutter) 28px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
}
.mobile-menu nav a:not(.btn) { padding: 11px 0; text-decoration: none; font-size: 1.08rem; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 20px; }
.menu-label { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--green-deep); margin: 14px 0 4px; }
@media (max-width: 1040px) { .primary, .header-cta { display: none; } .mobile-menu { display: block; } :root { --header-h: 72px; } }

/* ---------- Photographs ---------- */
.arch { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; background: var(--sage); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.rounded { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Home hero ---------- */
.hero { padding: clamp(32px, 4vw, 56px) 0 clamp(40px, 5vw, 64px); background: linear-gradient(180deg, var(--white) 0%, var(--paper) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero-copy .lead { max-width: 34ch; margin-top: 1.6rem; }
.hero-media { position: relative; width: 100%; max-width: 440px; justify-self: end; margin-right: clamp(0px, 3vw, 40px); }
.hero-media::before { content: ""; position: absolute; inset: -18px -18px 18px 18px; border: 1px solid var(--green); border-radius: 999px 999px var(--radius) var(--radius); opacity: .7; }
.hero-note {
  position: absolute; left: clamp(-72px, -5vw, -24px); bottom: 12%; max-width: 290px;
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-note p { display: grid; gap: 2px; font-size: .9rem; line-height: 1.45; color: var(--muted); }
.hero-note strong { font-size: 1.02rem; font-weight: 500; color: var(--ink); }
.i-check { width: 22px; height: 22px; flex: none; margin-top: 2px; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.i-check circle { fill: var(--sage); stroke: none; }
.i-check path { stroke: var(--green-deep); }
.hero-inset { position: absolute; right: -36px; top: 16%; width: 132px; height: 132px; border-radius: 50%; overflow: hidden; border: 6px solid var(--paper); box-shadow: var(--shadow); }
.hero-inset img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.facts > div { padding: 26px 24px 0 0; }
.facts > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts dt { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.facts dd { font-size: 1.1rem; line-height: 1.4; font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: var(--space) 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head > p:not(.eyebrow) { margin-top: 1.3rem; color: var(--muted); font-size: 1.15rem; max-width: 36rem; }

.statement { background: var(--white); border-block: 1px solid var(--line); padding: clamp(64px, 8vw, 112px) 0; }
.statement-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.statement-text { font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.2; letter-spacing: -0.025em; font-weight: 300; color: var(--ink); }
.statement-body { display: grid; gap: 1.1rem; color: var(--muted); padding-top: .5rem; }

/* treatment cards */
.t-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(20px, 2.6vw, 36px); }
.t-card { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-content: start; text-decoration: none; color: var(--ink); }
.t-img { grid-column: 1 / -1; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--sage); margin-bottom: 22px; }
.t-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.t-body { display: grid; gap: 8px; }
.t-title { font-size: 1.35rem; line-height: 1.25; font-weight: 500; letter-spacing: -0.015em; }
.t-text { color: var(--muted); font-size: 1rem; line-height: 1.6; }
.t-go { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--navy); transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.t-card:hover .t-img img { transform: scale(1.03); }
.t-card:hover .t-go { background: var(--navy); border-color: var(--navy); color: #fff; }
.t-card:hover .t-title { color: var(--navy); }

/* split sections */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.split-rev { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.split-media .arch { max-width: 460px; }
.why { background: var(--sage); }
.reasons { margin-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line-strong); }
.reasons li { display: grid; grid-template-columns: 72px 1fr; gap: 8px; padding: 28px 0; border-bottom: 1px solid var(--line-strong); }
.num { font-size: .95rem; font-weight: 500; letter-spacing: .12em; color: var(--green-deep); padding-top: .35rem; }
.reasons p, .steps p, .process p { color: var(--muted); margin-top: .4rem; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: none; }
.steps li { border-top: 1px solid var(--ink); padding-top: 24px; }
.steps .num { display: block; margin-bottom: 2.4rem; padding: 0; }
.steps h3 { font-size: 1.25rem; }

.signs { background: var(--white); border-block: 1px solid var(--line); }
.signs .split-copy > p:not(.eyebrow) { margin-top: 1.2rem; color: var(--muted); font-size: 1.12rem; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; margin-top: 2.2rem; }
.checks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }

/* questions */
.faq { background: var(--sand); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-head > p:not(.eyebrow) { margin-top: 1.2rem; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line-strong); }
.qa { border-bottom: 1px solid var(--line-strong); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { font-size: 1.2rem; font-weight: 500; transition: color .2s var(--ease); }
.qa summary:hover h3 { color: var(--navy); }
.qa-icon { position: relative; width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid var(--line-strong); }
.qa-icon::before, .qa-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--ink); transition: transform .25s var(--ease); }
.qa-icon::after { transform: rotate(90deg); }
.qa[open] .qa-icon::after { transform: rotate(0deg); }
.qa-a { padding: 0 60px 26px 0; color: var(--muted); font-size: 1.08rem; max-width: 62ch; }

/* booking band */
.book { padding: var(--space) 0; background: var(--paper); }
.book-panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center;
  padding: clamp(40px, 6vw, 88px); border-radius: var(--radius-lg); background: var(--navy-deep); color: #fff;
}
.book-mark { position: absolute; right: -60px; bottom: -120px; width: 420px; opacity: .07; filter: brightness(0) invert(1); z-index: -1; }
.book-panel .eyebrow { color: #B9E36A; }
.book-panel h2 { color: #fff; }
.book-copy > p:not(.eyebrow) { margin-top: 1.3rem; color: rgba(255, 255, 255, .8); font-size: 1.15rem; max-width: 36ch; }
.book-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: grid; gap: 14px; justify-items: start; }
.book-card address { color: var(--muted); }
.book-soon { font-size: .92rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; width: 100%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 96px) 0 28px; font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1.2fr 1fr 1fr; gap: clamp(28px, 4vw, 64px); }
.footer-brand p { margin-top: 18px; color: var(--muted); max-width: 30ch; }
.site-footer h2 { font-size: .74rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--green-deep); margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 9px; }
.site-footer nav a { text-decoration: none; color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .2s var(--ease); padding-bottom: 2px; }
.site-footer nav a:hover { background-size: 100% 1px; }
.site-footer address { color: var(--muted); margin-bottom: 14px; }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: clamp(40px, 5vw, 72px); padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }

/* ---------- Service pages ---------- */
.s-hero { padding: 28px 0 clamp(48px, 6vw, 80px); background: linear-gradient(180deg, var(--white) 0%, var(--paper) 100%); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--navy); }
.s-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: clamp(28px, 4vw, 56px); }
.s-hero h1 { font-size: clamp(2.4rem, 4.4vw, 4rem); }
.s-hero .lead { margin-top: 1.6rem; max-width: 56ch; }
.s-hero-media { position: relative; max-width: 400px; width: 100%; justify-self: end; }
.s-hero-media::before { content: ""; position: absolute; inset: -14px -14px 14px 14px; border: 1px solid var(--green); border-radius: 999px 999px var(--radius) var(--radius); opacity: .7; }
.glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(40px, 6vw, 72px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.glance > div { padding: 26px 28px; }
.glance > div + div { border-left: 1px solid var(--line); }
.glance dt { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green-deep); margin-bottom: 8px; }
.glance dd { font-size: 1.05rem; line-height: 1.45; font-weight: 500; }

.doc { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(32px, 6vw, 96px); padding-block: var(--space); align-items: start; }
.doc-toc { position: sticky; top: calc(var(--header-h) + 32px); }
.doc-toc ol { display: grid; gap: 4px; border-left: 1px solid var(--line-strong); }
.doc-toc a { display: block; padding: 7px 0 7px 18px; margin-left: -1px; border-left: 1px solid transparent; text-decoration: none; color: var(--muted); font-size: .95rem; line-height: 1.4; transition: color .2s var(--ease), border-color .2s var(--ease); }
.doc-toc a:hover { color: var(--navy); border-left-color: var(--navy); }
.doc-body { max-width: 46rem; }
.doc-sec + .doc-sec { margin-top: clamp(48px, 6vw, 80px); }
.doc-sec h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: 1.4rem; }
.doc-sec > p { font-size: 1.12rem; color: var(--muted); }
.doc-sec > p + p { margin-top: 1.1rem; }
.doc-sec a:not(.btn) { color: var(--navy); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.bullets { display: grid; gap: 12px; font-size: 1.1rem; color: var(--muted); }
.bullets li { position: relative; padding-left: 28px; }
.bullets li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.bullets strong { color: var(--ink); font-weight: 500; }
.bullets + p { margin-top: 1.4rem; }
.terms { border-top: 1px solid var(--line-strong); }
.terms > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line-strong); }
.terms dt { font-weight: 500; font-size: 1.12rem; }
.terms dd { color: var(--muted); font-size: 1.08rem; }
.process { border-top: 1px solid var(--line-strong); }
.process li { display: grid; grid-template-columns: 64px 1fr; gap: 8px; padding: 24px 0; border-bottom: 1px solid var(--line-strong); }
.process h3 { font-size: 1.2rem; }
.process p { font-size: 1.08rem; }
.doc-sec .faq-list { margin-top: 0; }
.doc-note { margin-top: clamp(40px, 5vw, 64px); padding-top: 20px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.doc-note + .doc-note { margin-top: 10px; padding-top: 0; border-top: 0; }
.related { background: var(--sand); }

/* ---------- Plain pages (page.html, single, 404) ---------- */
.page-main { padding: clamp(56px, 8vw, 112px) var(--gutter) var(--space); min-height: 60vh; }
.page-main > * { max-width: 46rem; margin-inline: auto; }
.page-main h1 { margin-bottom: 2rem; }
.page-main p, .page-main li { color: var(--muted); font-size: 1.12rem; }
.page-main > * + * { margin-top: 1.1rem; }
.page-main a { color: var(--navy); text-underline-offset: 4px; }

/* ---------- Smaller screens ---------- */
@media (max-width: 1040px) {
  .t-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glance > div:nth-child(3) { border-left: 0; }
  .glance > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .hero-inset { right: -12px; width: 104px; height: 104px; }
}
@media (max-width: 900px) {
  .hero-grid, .s-hero-grid, .statement-grid, .split, .split-rev, .faq-grid, .book-panel, .doc { grid-template-columns: minmax(0, 1fr); }
  .hero-media { justify-self: start; max-width: 340px; margin: 8px 0 0; }
  .hero-media .arch, .s-hero-media .arch { aspect-ratio: 1 / 1; }
  .hero-media::before, .s-hero-media::before { display: none; }
  .hero-note { left: -12px; bottom: 8%; max-width: 240px; padding: 14px 16px; }
  .hero-note span { display: none; }
  .s-hero-media { justify-self: start; max-width: 340px; }
  .split-media { max-width: 420px; }
  .split-rev .split-media { order: -1; max-width: none; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div { padding: 20px 16px 20px 0; border-left: 0 !important; padding-left: 0 !important; }
  .facts > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .doc-toc { display: none; }
  .qa-a { padding-right: 0; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .eyebrow { letter-spacing: .14em; gap: 10px; }
  .eyebrow::before { width: 20px; }
  .t-grid, .checks, .steps, .footer-grid, .glance { grid-template-columns: minmax(0, 1fr); }
  .glance > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .steps .num { margin-bottom: 1rem; }
  .terms > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .reasons li, .process li { grid-template-columns: 48px 1fr; }
  .actions .btn { width: 100%; }
  .hero-inset { display: none; }
  .book-panel { border-radius: var(--radius); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .t-card:hover .t-img img { transform: none; }
}
