:root {
  --ink: #031b3b;
  --ink-soft: #243a55;
  --cream: #fffaf3;
  --paper: #fffdf9;
  --line: #edd8bf;
  --coral: #f15a32;
  --orange: #ff9d1d;
  --teal: #087c89;
  --teal-dark: #005967;
  --blue: #2167a8;
  --shadow: 0 24px 60px rgba(3, 27, 59, 0.11);
  --radius: 1.25rem;
  --shell: 73rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-wrap: break-word;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(3, 27, 59, 0.035) 0.7px, transparent 0.7px);
  background-size: 7px 7px;
  content: "";
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin-top: 0; }
h1, h2, h3 { overflow-wrap: break-word; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(calc(100% - 3rem), var(--shell)); margin-inline: auto; }
.section { padding: clamp(2.5rem, 6dvh, 4.5rem) 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 0.5rem; left: 0.5rem; z-index: 100; padding: 0.7rem 1rem; color: white; background: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 20; padding: 0.85rem 0; border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3rem; }
.header-login { order: 2; flex-shrink: 0; }
.header-inner .site-nav { margin-left: auto; }
.brand { font-size: 1.65rem; font-weight: 850; letter-spacing: -0.06em; white-space: nowrap; }
.brand span { color: var(--teal); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1rem, 2vw, 2rem); font-weight: 650; }
.site-nav > a:not(.button) { position: relative; }
.site-nav > a:not(.button)::after { position: absolute; right: 0; bottom: -0.4rem; left: 0; height: 2px; background: var(--coral); content: ""; transform: scaleX(0); transition: transform 180ms ease; }
.site-nav > a:hover::after, .site-nav > a:focus-visible::after { transform: scaleX(1); }
.menu-toggle { display: none; padding: 0.4rem; border: 0; background: transparent; }
.menu-toggle > span:not(.sr-only) { display: block; width: 1.6rem; height: 2px; margin: 5px; background: var(--ink); transition: transform 180ms, opacity 180ms; }

.button { display: inline-flex; min-height: 2.75rem; padding: 0.5rem 1.6rem; align-items: center; justify-content: center; gap: 0.5rem; border: 2px solid var(--ink); border-radius: 0.65rem; color: white; background: var(--ink); font-weight: 750; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.button:hover, .button:focus-visible { box-shadow: 0 8px 0 rgba(3, 27, 59, 0.12); transform: translateY(-2px); }
.button--small { min-height: 2.8rem; padding: 0.55rem 1.35rem; }
.button--outline { border-color: rgba(241, 90, 50, 0.55); color: var(--ink); background: transparent; }
.button--outline:hover { background: white; }
.button--light { border-color: white; color: var(--ink); background: white; }
.button-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.hero { position: relative; padding: clamp(1.5rem, 4dvh, 3rem) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: 2rem; }
.hero-copy { position: relative; z-index: 3; padding-block: 1rem 2rem; }
.kicker { color: var(--coral); font-size: 0.78rem; font-weight: 850; letter-spacing: 0.14em; text-transform: uppercase; }
h1 { margin-bottom: 1.25rem; font-size: clamp(2.5rem, 1.25rem + 2.8vw, 3.75rem); line-height: 1.04; letter-spacing: -0.055em; }
h1 span { display: block; }
.hero-intro { max-width: 36rem; color: var(--ink-soft); font-size: 1.08rem; }
.hero-art { position: relative; width: calc(100% + max(1.5rem, (100vw - var(--shell)) / 2)); margin: 0 min(-1.5rem, calc((var(--shell) - 100vw) / 2)) 0 0; }
.hero-art::after { position: absolute; top: -3rem; right: -1.5rem; width: 7rem; height: 18rem; border-right: 0.4rem solid var(--ink); border-radius: 50%; content: ""; transform: rotate(13deg); transform-origin: bottom; }
.hero-art img { position: relative; z-index: 1; display: block; width: 100%; height: auto; max-height: min(34rem, calc(100svh - 8rem)); object-fit: contain; }

.section-heading { max-width: 44rem; margin: 0 auto 3rem; text-align: center; }
.section-heading h2, .section-copy h2, .principles-intro h2, .cta h2 { margin-bottom: 1rem; font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.04; letter-spacing: -0.05em; }
.section-heading > p:last-child, .section-copy > p:not(.kicker), .principles-intro > p:not(.kicker) { color: var(--ink-soft); font-size: 1.08rem; }
.section-heading--ruled { max-width: none; }
.section-heading--ruled h2 { display: flex; align-items: center; gap: 2rem; white-space: nowrap; }
.section-heading--ruled h2::before, .section-heading--ruled h2::after { height: 1px; flex: 1; background: rgba(3, 27, 59, 0.25); content: ""; }
.steps { padding-top: 3rem; }
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.step-card { position: relative; display: flex; min-height: 25rem; padding: 1.6rem; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.4); }
.step-number { display: grid; width: 2rem; aspect-ratio: 1; place-items: center; border-radius: 50%; color: white; background: var(--teal); font-weight: 850; }
.step-card:nth-child(2) .step-number { background: var(--coral); }
.step-card:nth-child(3) .step-number { background: var(--orange); }
.step-icon { display: block; width: 100%; height: 9.5rem; margin: 0.2rem 0; object-fit: contain; }
.step-card h3 { margin-bottom: 0.65rem; font-size: 1.2rem; }
.step-card p { margin: auto 0 0; color: var(--ink-soft); font-size: 0.93rem; }

.proof { padding: 0 0 3rem; }
.proof-panel { display: grid; grid-template-columns: repeat(3, 1fr); padding: 1.8rem 2.5rem; border-radius: var(--radius); color: white; background: var(--ink); }
.proof article { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1.2rem; padding: 0 2rem; border-right: 1px solid rgba(255,255,255,0.35); }
.proof article:first-child { padding-left: 0; }
.proof article:last-child { padding-right: 0; border: 0; }
.proof strong { color: #fff8ee; font-size: 2.35rem; letter-spacing: -0.05em; white-space: nowrap; }
.proof p { margin: 0; font-size: 0.9rem; }

.principles-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: clamp(3rem, 8vw, 8rem); }
.xray { background: white; }
.xray .section-copy { max-width: 48rem; }
.xray-examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.xray-example { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.xray-example img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #edf2f6; }
.xray-example figcaption { padding: 1.5rem; }
.xray-example h3 { margin-bottom: 0.75rem; font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.025em; }
.xray-example p { margin-bottom: 0; color: var(--ink-soft); }
.xray-source-note { max-width: 48rem; margin: 1.5rem 0 1rem; color: var(--ink-soft); font-size: 0.85rem; }
.check-list { display: grid; gap: 0.75rem; margin: 1.5rem 0 2rem; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 1.75rem; }
.check-list li::before { position: absolute; left: 0; color: var(--teal); font-weight: 900; content: "✓"; }
.text-link { display: inline-block; border-bottom: 1px solid var(--coral); font-weight: 800; }

.principles { background: #f7efe4; }
.principles-intro { max-width: 30rem; }
.principles-grid { column-gap: clamp(3rem, 8vw, 8rem); row-gap: 1.5rem; }
.principles-art { display: block; width: 100%; max-height: 16rem; object-fit: contain; border: 1px solid var(--line); border-radius: 1rem; mix-blend-mode: multiply; }
.dont-list { display: grid; grid-column: 2; grid-row: 1 / span 2; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.dont-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(3,27,59,0.12); }
.dont-list li > span { display: grid; width: 1.7rem; height: 1.7rem; place-items: center; border: 1.5px solid var(--coral); border-radius: 50%; color: var(--coral); font-weight: 900; }
.dont-list strong { display: block; }
.dont-list p { margin: 0.1rem 0 0; color: var(--ink-soft); font-size: 0.9rem; }

.pricing .section-heading { max-width: none; margin-bottom: 2rem; }
.pricing .section-heading h2 { font-size: clamp(2.1rem, 1.2rem + 2vw, 3rem); }
.pricing .section-heading > p:last-child { max-width: 52rem; margin-inline: auto; }
.plan-label { margin-bottom: 0.6rem; color: var(--coral); font-size: 0.75rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.price { margin-bottom: 1rem; font-size: 2rem; font-weight: 850; line-height: 1.1; letter-spacing: -0.04em; }
.price span, .price small { font-size: 0.8rem; font-weight: 650; letter-spacing: 0; }
.pricing-note { margin: 1.75rem 0 0; text-align: center; }
.pricing-note a { border-bottom: 1px solid var(--coral); font-weight: 750; }

.cta { padding-top: 2rem; }
.cta-panel { display: flex; padding: 3rem 4rem; align-items: center; justify-content: space-between; gap: 2rem; border-radius: var(--radius); color: white; background: var(--ink); overflow: hidden; }
.cta-panel h2 { margin-bottom: 0.5rem; }
.cta-panel p:last-child { margin: 0; color: #dce5ea; }
.cta-panel > div { min-width: 0; }
.cta .kicker { color: #f9b34e; }
.cta .button { flex: 0 0 auto; }
.policy { padding-top: 2.5rem; }
.policy-body { max-width: 48rem; }
.policy-header { margin-bottom: 2.5rem; }
.policy h1 { max-width: none; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.04; letter-spacing: -0.05em; }
.policy-lead { color: var(--ink-soft); font-size: 1.08rem; }
.policy-updated { margin: 0; color: var(--ink-soft); font-size: 0.85rem; font-weight: 650; }
.policy section { padding-top: 2rem; }
.policy h2 { margin-bottom: 0.8rem; font-size: 1.45rem; letter-spacing: -0.03em; }
.policy p:not(.kicker), .policy li { color: var(--ink-soft); }
.policy strong, .policy th { color: var(--ink); }
.policy ul { display: grid; gap: 0.6rem; padding-left: 1.25rem; }
.policy-body a { border-bottom: 1px solid var(--coral); color: var(--ink); font-weight: 700; }
.policy-highlight { padding: 1.6rem 1.8rem; border: 2px solid var(--teal); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.policy-highlight h2 { color: var(--teal-dark); }
.policy-highlight p { margin: 0; }
.table-wrap { margin: 1.25rem 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.policy table { width: 100%; min-width: 36rem; border-collapse: collapse; font-size: 0.92rem; }
.policy th, .policy td { padding: 0.9rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.policy tbody tr:last-child > * { border-bottom: 0; }
.policy thead th { color: var(--coral); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.policy td { color: var(--ink-soft); }
.dont-list .text-link { font-weight: 700; }
.footer-grid nav a[aria-current="page"] { color: var(--teal); }

.site-footer { padding: 2.5rem 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 3rem; }
.brand--footer { display: inline-block; margin-bottom: 0.3rem; }
.footer-grid p { margin: 0; color: var(--ink-soft); font-size: 0.82rem; }
.footer-grid nav { display: flex; gap: 1.4rem; font-size: 0.85rem; font-weight: 700; }
.footer-meta { text-align: right; font-size: 0.85rem; }

@media (max-width: 1100px) {
  .hero h1 { font-size: clamp(2rem, 0.6rem + 3vw, 2.5rem); }
  .hero-intro { font-size: 1rem; }
}

@media (max-width: 960px) {
  .menu-toggle { order: 3; }
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
  .hero-copy { max-width: 42rem; }
  .hero-art { width: min(100%, 42rem); margin: 0 auto; }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-panel { grid-template-columns: 1fr; gap: 1.2rem; }
  .proof article, .proof article:first-child, .proof article:last-child { padding: 0 0 1.2rem; border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.25); }
  .proof article:last-child { padding-bottom: 0; border-bottom: 0; }
  .shell { width: min(calc(100% - 2rem), var(--shell)); }
  .header-login { margin-left: auto; }
  .menu-toggle { position: relative; z-index: 22; display: block; min-width: 2.75rem; min-height: 2.75rem; cursor: pointer; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { position: absolute; top: 100%; right: 1rem; left: 1rem; display: none; max-height: calc(100dvh - 6rem); overflow-y: auto; padding: 1rem; flex-direction: column; align-items: stretch; gap: 0; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper); box-shadow: var(--shadow); }
  .site-nav { flex-wrap: nowrap; }
  .site-nav.is-open { display: flex; }
  .site-nav > a { padding: 0.8rem; }
  .site-nav .button { margin-top: 0.6rem; }
  .hero-art { width: 100%; margin: 0 auto; }
  .hero-art::after { display: none; }
  .section-heading--ruled h2 { display: block; white-space: normal; }
  .section-heading--ruled h2::before, .section-heading--ruled h2::after { display: none; }
  .principles-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .xray-examples { grid-template-columns: minmax(0, 1fr); max-width: 42rem; }
  .dont-list { grid-column: auto; grid-row: auto; }
  .cta-panel { padding: 2.5rem; flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-grid nav { flex-wrap: wrap; }
  .footer-meta { text-align: left; }
}

@media (max-width: 760px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { width: min(100%, 26rem); }
  .hero-art img { max-height: none; }
  .policy table { min-width: 0; }
  .policy thead { display: none; }
  .policy tr, .policy tbody th, .policy td { display: block; }
  .policy tr { padding: 0.4rem 0; border-bottom: 1px solid var(--line); }
  .policy tbody tr:last-child { border-bottom: 0; }
  .policy tbody th, .policy td { padding: 0.5rem 1rem; border-bottom: 0; }
  .policy td::before { display: block; color: var(--coral); font-size: 0.7rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; content: attr(data-label); }
}

@media (max-width: 520px) {
  .section { padding-block: 2rem; }
  .brand { font-size: 1.25rem; }
  .header-inner { gap: 0.5rem; }
  .header-login { padding-inline: 1rem; }
  .hero { padding-top: 1.25rem; }
  .hero h1 { font-size: clamp(2rem, 0.9rem + 5vw, 3.5rem); }
  .hero-copy { padding-top: 0; padding-bottom: 0; }
  .hero-intro { font-size: 1rem; }
  .button-row { display: grid; gap: 0.75rem; margin-top: 1.25rem; }
  .button-row .button { width: 100%; }
  .hero-art { width: calc(100% + 1rem); margin: 1rem -0.5rem 0; }
  .step-grid { grid-template-columns: minmax(0, 1fr); }
  .step-card { min-height: 22rem; }
  .proof-panel { padding: 1.5rem; }
  .proof article { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }
  .proof strong { flex: 0 0 6rem; }
  .proof article p { flex: 1 1 8rem; min-width: 0; }
  .proof strong { font-size: 1.9rem; }
  .principles-intro h2 { font-size: 2rem; }
  .principles-grid { gap: 1rem; }
  .principles-intro > p:not(.kicker) { margin-bottom: 0; font-size: 1rem; }
  .dont-list { gap: 0.5rem; }
  .dont-list li { padding-bottom: 0.5rem; }
  .cta-panel { padding: 2rem 1.5rem; }
  .cta .button { width: 100%; }
}

@media (min-width: 600px) and (max-height: 500px) {
  .hero h1 { font-size: 2.25rem; }
  .hero-copy { padding-block: 0 1rem; }
  .hero .button-row { margin-top: 1rem; }
}

:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }

.homepage .section { padding-block: clamp(3rem, 7dvh, 5rem); }
.homepage .hero { padding-block: 2rem; }
.homepage h1 span { color: var(--teal-dark); }
.homepage .hero-art { width: 100%; margin: 0; }
.homepage .hero-art::after { display: none; }
.homepage .hero-art img { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); }
.homepage .hero-intro { margin-bottom: 1rem; }
.homepage .hero .kicker { font-size: 0.7rem; letter-spacing: 0.1em; }
.homepage .section-heading h2 { text-wrap: balance; }
.experience { border-block: 1px solid var(--line); background: var(--paper); }
.demo-placeholder { max-width: 58rem; margin: 0 auto; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); box-shadow: 0 16px 45px rgb(3 27 59 / 5%); }
.demo-window { display: flex; align-items: center; gap: 0.4rem; padding: 0.85rem 1.2rem; border-bottom: 1px solid var(--line); background: white; }
.demo-window > span:last-child { margin-left: 0.75rem; color: var(--ink-soft); font-size: 0.75rem; }
.demo-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--line); }
.demo-placeholder-body { display: flex; min-height: 22rem; padding: 2rem; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: radial-gradient(ellipse at center, #e7f0eb, var(--cream) 72%); }
.demo-symbol { display: grid; width: 3.5rem; aspect-ratio: 1; margin-bottom: 1.25rem; place-items: center; border: 1px solid #b2cfca; border-radius: 50%; color: var(--teal-dark); background: var(--paper); }
.demo-placeholder-body h3 { margin-bottom: 0.5rem; font-size: 1.8rem; letter-spacing: -0.04em; }
.demo-placeholder-body > p:not(.kicker) { max-width: 30rem; color: var(--ink-soft); }
.demo-label { font-size: 0.75rem; color: var(--ink-soft); border-bottom: 1px dashed var(--teal); }
.demo-placeholder figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1rem; padding: 1rem; border-top: 1px solid var(--line); font-size: 0.85rem; font-weight: 650; }
.homepage .step-card { min-height: 24rem; }
.difference-heading { margin-bottom: 2.25rem; }
.difference-heading h2 { margin-bottom: 0.75rem; font-size: clamp(2rem, 1rem + 2.5dvw, 3.25rem); letter-spacing: -0.055em; line-height: 1.12; text-wrap: balance; }
.difference-heading > p:last-child { color: var(--ink-soft); font-size: 1.2rem; }
.difference-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.difference-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.difference-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.difference-card > div { padding: 1.5rem; }
.difference-card h3 { margin-bottom: 0.65rem; font-size: 1.8rem; letter-spacing: -0.045em; }
.difference-card p { margin-bottom: 0; color: var(--ink-soft); }
.difference-payoff { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 1.75rem; padding: 1.75rem; border-radius: var(--radius); background: #e2efeb; }
.difference-payoff h3 { margin-bottom: 0.4rem; font-size: 1.6rem; line-height: 1.2; letter-spacing: -0.045em; }
.difference-payoff h3 span { color: var(--teal-dark); }
.difference-payoff p { margin-bottom: 0; color: var(--ink-soft); }
.difference-payoff .button { flex-shrink: 0; }
.privacy-note { margin: 1.5rem 0 0; color: var(--ink-soft); font-size: 0.85rem; text-align: center; }
.enterprise { border-block: 1px solid var(--line); background: #f5ede2; }
.rapid-response { padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.rapid-response ol { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.rapid-response li { display: flex; gap: 1rem; }
.rapid-response li > span { color: var(--teal-dark); font-size: 1rem; font-weight: 850; }
.rapid-response h3 { margin-bottom: 0.2rem; font-size: 1rem; }
.rapid-response li p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }
.homepage .price small { display: block; margin-top: 0.4rem; }
.plan-terms { margin-top: auto; padding-block: 1rem; color: var(--ink-soft); font-size: 0.78rem; }
@media (max-width: 960px) {
  .difference-payoff { align-items: flex-start; flex-direction: column; }
  .difference-card > div { padding: 1rem; }
  .difference-card h3 { font-size: 1.5rem; }
}
@media (max-width: 760px) {
  .difference-grid { grid-template-columns: minmax(0, 1fr); }
  .difference-grid { max-width: 32rem; margin-inline: auto; }
  .difference-card > div { padding: 1.5rem; }
  .difference-card img { max-height: 16rem; object-fit: cover; }
  .homepage .hero-art { max-width: 26rem; margin-inline: auto; }
  .demo-placeholder-body { min-height: 20rem; padding: 1.5rem; }
}
@media (max-width: 520px) {
  .homepage .hero { padding-top: 1.25rem; padding-bottom: 0; }
  .homepage .hero .kicker { max-width: 19rem; }
  .homepage .hero h1 { font-size: clamp(2rem, 1rem + 4dvw, 2.5rem); }
  .homepage .step-card { min-height: 0; }
  .homepage .step-card p { margin-top: 0; }
  .difference-payoff .button { width: 100%; }
  .rapid-response { padding: 1.5rem; }
  .demo-window > span:last-child { font-size: 0.65rem; }
  .demo-placeholder figcaption { display: block; text-wrap: balance; }
}

/* Small, independently readable beats, never a clipped viewport-height box. */
.homepage .section { padding-block: clamp(1.25rem, 3dvh, 2rem); }
.homepage .section-heading, .homepage .difference-heading { margin-bottom: 0; }
.homepage .section-copy { max-width: 48rem; }
.homepage .hero-grid { display: block; }
.homepage .hero-copy { max-width: 48rem; padding-block: 0; }
.opening-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 2rem; }
.opening-grid .shell { width: 100%; }
.homepage .scene-grid { display: flex; flex-direction: column-reverse; gap: 1rem; }
.homepage .hero-art img { max-height: 35dvh; object-fit: contain; }
.homepage .section-beats { margin-block: 0; margin-inline: auto; padding-block: 1rem; }
.homepage .step-card { min-height: 0; padding: 1.25rem; }
.homepage .step-card p { margin-top: 0; }
.homepage .step-icon { height: 7rem; }
.homepage .demo-placeholder { max-width: 46rem; }
.homepage .demo-placeholder-body { min-height: 0; padding: 1.25rem; }
.homepage .demo-symbol { width: 2.75rem; margin-bottom: 0.75rem; }
.homepage .xray-example img { max-height: 48dvh; }
.homepage .xray-example figcaption { padding: 1rem; }
.homepage .difference-card img { max-height: 30dvh; object-fit: contain; }
.homepage .difference-payoff { margin-top: 0; }
.homepage .rapid-response { padding: 1.25rem; }
.homepage .rapid-response ol { grid-template-columns: 1fr 1fr; }
.plan-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding-block: 1rem; }
.plan-pair { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.plan-pair--featured { border: 2px solid var(--teal); background: #f0f7f4; }
.homepage .button { min-width: 0; max-width: 100%; padding-inline: clamp(0.5rem, 3dvw, 1.6rem); }
.homepage .button-row { grid-template-columns: minmax(0, 1fr); }
.homepage .difference-payoff > div, .homepage .rapid-response li > div, .homepage .footer-grid > * { min-width: 0; max-width: 100%; }
.plan-pair > div { padding: 1.25rem; min-width: 0; }
.plan-pair .plan-inclusions { display: flex; flex: 1; flex-direction: column; }
.plan-inclusions .text-link { align-self: stretch; margin-top: auto; text-align: center; }
.plan-pair h3 { margin-bottom: 0.75rem; font-size: 1.35rem; }
.plan-pair .price { margin-bottom: 0.75rem; }
.plan-pair .check-list { grid-template-columns: minmax(0, 1fr); font-size: 1rem; line-height: 1.4; gap: 0.4rem; margin-block: 0.75rem; }
.plan-pair .text-link { min-height: 2.75rem; padding-block: 0.5rem; }
.homepage .plan-terms { margin-bottom: 0.75rem; padding-block: 0.5rem; font-size: 0.875rem; line-height: 1.4; }
.homepage .pricing-note { margin-top: 0; }
@media (max-width: 760px) {
  .opening-grid { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 520px) {
  .homepage .scene-grid { gap: 0.5rem; }
  .plan-pair > div { padding: clamp(0.5rem, 3dvw, 1rem); }
  .plan-pair h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
  .plan-pair .price { font-size: 1.75rem; }
  .plan-pair .check-list { gap: 0.3rem; margin-block: 0.6rem; }
  .homepage .plan-label { margin-bottom: 0.35rem; }
  .homepage .rapid-response ol { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
}
@media (max-height: 500px) and (min-width: 521px) {
  .homepage .section { padding-block: 1rem; }
  .opening-grid { grid-template-columns: minmax(0, 1fr); }
  .homepage .demo-window { padding-block: 0.5rem; }
  .homepage .demo-placeholder-body { padding: 0.75rem; }
  .homepage .demo-symbol { margin-bottom: 0.25rem; }
  .homepage .demo-placeholder figcaption { display: block; text-align: center; }
  .plan-pair > div { padding: 0.75rem; }
  .plan-pair p { margin-bottom: 0.5rem; }
  .plan-pair .plan-terms { padding-block: 0.25rem; }
  .homepage .step-grid, .homepage .difference-grid, .homepage .xray-examples { grid-template-columns: 1fr; max-width: var(--shell); }
  .homepage .step-card { display: grid; grid-template-columns: auto 7rem 1fr; gap: 0.5rem 1rem; align-items: center; }
  .homepage .step-card .step-icon { grid-row: 1 / span 2; grid-column: 2; }
  .homepage .step-card h3, .homepage .step-card p { grid-column: 3; margin: 0; }
  .homepage .difference-card, .homepage .xray-example { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
}

@media (min-width: 64rem) {
  .plan-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .plan-pair > div { padding: 0.625rem; }
  .plan-pair h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
  .plan-pair p { margin-bottom: 0.5rem; line-height: 1.4; }
  .plan-pair .price { font-size: 1.75rem; line-height: 1.1; }
  .plan-pair .plan-terms { margin-bottom: 0.25rem; padding-block: 0.25rem; }
  .plan-pair .check-list { gap: 0.2rem; margin-block: 0.5rem; }
}

@media (min-width: 64rem) and (max-height: 37.5rem) {
  .plan-pair > div { padding: 0.5rem; }
  .plan-pair h3, .plan-pair p { margin-bottom: 0.25rem; }
  .plan-pair .price { margin-bottom: 0.25rem; }
  .plan-pair .plan-terms { margin-bottom: 0; padding-block: 0; }
  .plan-pair .check-list { gap: 0.125rem; margin-block: 0.25rem; }
}

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