/* Clearview Dental Co.: transparent pricing and membership concept */
:root {
  --teal: #0FA3A3;
  --teal-d: #0B7F80;
  --teal-dd: #075E5F;
  --ink: #0D1B2A;
  --ink-2: #1B2B3C;
  --text: #2B3A4A;
  --muted: #5A6B7C;
  --mint: #EFFAF7;
  --mint-2: #D9F3EC;
  --coral: #FF6B6B;
  --coral-d: #C73E3E;
  --bg: #FFFFFF;
  --soft: #F5F8FA;
  --line: #E1E8EE;
  --line-2: #CBD6DF;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(13, 27, 42, .06), 0 12px 32px -14px rgba(13, 27, 42, .22);
  --shadow-lg: 0 2px 4px rgba(13, 27, 42, .05), 0 28px 60px -24px rgba(13, 27, 42, .35);
  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 8vw, 112px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
figure { margin: 0; }
a { color: var(--teal-d); text-underline-offset: 3px; }
a:hover { color: var(--teal-dd); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -.015em; font-weight: 700; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.soft { background: var(--soft); }
.mint { background: var(--mint); }
.ink-bg { background: var(--ink); color: #C9D6E2; }
.ink-bg h2, .ink-bg h3 { color: #fff; }
.icon { width: 1.2em; height: 1.2em; flex: none; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: .86rem; font-weight: 700; color: var(--teal-d); letter-spacing: .01em; }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(15, 163, 163, .18); }
.ink-bg .kicker { color: #6FE0D6; }
.head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.head p { color: var(--muted); font-size: 1.1rem; }
.head.center { text-align: center; margin-left: auto; margin-right: auto; }
.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(24px, 3.5vw, 40px); }
.row-head .head { margin: 0; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--text); max-width: 33em; }
.muted { color: var(--muted); }
.fine { font-size: .88rem; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 12px; border: 1.5px solid transparent; font: 700 1rem/1 var(--font); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.btn .icon { width: 19px; height: 19px; }
.btn:active { transform: scale(.98); }
.btn-teal { background: var(--teal-d); color: #fff; box-shadow: 0 6px 16px -8px rgba(11, 127, 128, .7); }
.btn-teal:hover { background: var(--teal-dd); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); color: #fff; }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: .95rem; border-radius: 10px; }
.link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; color: var(--teal-d); text-decoration: none; }
.link .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link:hover .icon { transform: translateX(3px); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--mint-2); color: var(--teal-dd); }
.pill.coral { background: #FFE5E5; color: var(--coral-d); }
.pill .icon { width: 14px; height: 14px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px) saturate(1.4); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; margin-right: auto; font-weight: 800; font-size: 1.22rem; letter-spacing: -.03em; }
.brand svg { width: 34px; height: 34px; }
.brand small { font-weight: 500; color: var(--muted); margin-left: 1px; }
.nav { display: flex; gap: 2px; }
.nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 10px; color: var(--text); font-weight: 500; text-decoration: none; transition: background-color .2s, color .2s; }
.nav a:hover { background: var(--soft); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 700; background: var(--mint); }
.h-phone { color: var(--ink); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; white-space: nowrap; }
.h-phone .icon { width: 18px; height: 18px; color: var(--teal-d); }
.menu-btn { display: none; }
.mobile-menu { display: none; }
@media (max-width: 1080px) { .h-phone span { display: none; } }
@media (max-width: 920px) {
  .nav, .h-cta { display: none; }
  .header-row { min-height: 64px; gap: 8px; }
  .h-phone { width: 44px; justify-content: center; border: 1.5px solid var(--line-2); border-radius: 12px; }
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; font: 700 .95rem var(--font); cursor: pointer; }
  .menu-btn .icon { width: 18px; height: 18px; }
  .menu-btn .i-close { display: none; }
  .menu-btn[aria-expanded="true"] .i-open { display: none; }
  .menu-btn[aria-expanded="true"] .i-close { display: block; }
  .mobile-menu { display: block; position: fixed; left: 0; right: 0; top: var(--menu-top, 65px); bottom: 0; z-index: 59; background: #fff; padding: 8px var(--gutter) 40px; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s; }
  .mobile-menu.open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
  .mobile-menu a.m-link { display: flex; align-items: center; justify-content: space-between; min-height: 58px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: 1.2rem; text-decoration: none; }
  .mobile-menu a.m-link .icon { width: 18px; height: 18px; color: var(--muted); }
  .mobile-menu a.m-link[aria-current="page"] { color: var(--teal-d); }
  .mobile-menu .m-actions { display: grid; gap: 10px; margin-top: 22px; }
  body.menu-open { overflow: hidden; }
}

/* Hero */
.hero { padding: clamp(40px, 6vw, 84px) 0 clamp(56px, 7vw, 96px); background: linear-gradient(180deg, var(--mint) 0%, #fff 72%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .hl { color: var(--teal-d); }
.hero .lead { margin-bottom: 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: .94rem; color: var(--text); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust .icon { width: 18px; height: 18px; color: var(--teal-d); }
.stars { display: inline-flex; gap: 1px; color: #E9A300; }
.stars .icon { width: 15px; height: 15px; }
.hero-art { position: relative; padding: 0 0 84px 40px; }
.hero-art > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.receipt { position: absolute; left: 0; bottom: 0; width: min(340px, 78%); background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 18px 20px 16px; font-size: .95rem; }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 10px; background: radial-gradient(circle at 6px 0, #fff 5px, transparent 5.5px) 0 0 / 12px 10px repeat-x; }
.receipt .r-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.receipt .r-top b { color: var(--ink); font-size: 1rem; }
.receipt dl { margin: 0; display: grid; gap: 6px; border-bottom: 1px dashed var(--line-2); padding-bottom: 10px; }
.receipt dl div { display: flex; justify-content: space-between; gap: 12px; }
.receipt dt { color: var(--muted); }
.receipt dd { margin: 0; font-weight: 700; color: var(--ink); }
.receipt .total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; }
.receipt .total span { color: var(--ink); font-weight: 700; }
.receipt .total strong { font-size: 1.7rem; color: var(--teal-d); letter-spacing: -.03em; }
.receipt .vs { margin-top: 2px; font-size: .84rem; color: var(--muted); text-align: right; }
.next-pill { position: absolute; right: 18px; top: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: rgba(13, 27, 42, .86); color: #fff; border-radius: 999px; font-size: .88rem; font-weight: 600; backdrop-filter: blur(6px); }
.next-pill .live { width: 8px; height: 8px; border-radius: 50%; background: #3BE3C3; box-shadow: 0 0 0 4px rgba(59, 227, 195, .25); }

/* Promise strip */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.promise li { padding: 28px 28px 30px; display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.promise li + li { border-left: 1px solid var(--line); }
.promise .p-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--mint); color: var(--teal-d); display: grid; place-items: center; }
.promise .p-ic .icon { width: 22px; height: 22px; }
.promise h3 { margin: 2px 0 4px; font-size: 1.1rem; }
.promise p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Segmented toggle */
.seg { display: inline-flex; padding: 4px; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; gap: 4px; }
.seg button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 9px; background: transparent; font: 700 .94rem var(--font); color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(13, 27, 42, .12); }

/* Price table */
.table-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.ptable { width: 100%; border-collapse: collapse; }
.ptable th, .ptable td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ptable thead th { font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--soft); }
.ptable tbody tr:last-child td, .ptable tbody tr:last-child th { border-bottom: 0; }
.ptable tbody tr:hover { background: #FAFCFD; }
.ptable .svc { font-weight: 700; color: var(--ink); }
.ptable .svc small { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; margin-top: 2px; }
.ptable .num { text-align: right; white-space: nowrap; }
.ptable td.num strong { font-size: 1.1rem; color: var(--ink); }
.ptable .cat { color: var(--muted); font-size: .9rem; }
.ptable .free { color: var(--teal-d); font-weight: 800; }
.ptable .save { display: block; font-size: .8rem; color: var(--coral-d); font-weight: 700; }
.ptable .empty td { text-align: center; color: var(--muted); padding: 36px 20px; }
.table-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 20px; border-top: 1px solid var(--line); background: var(--soft); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; }
.plan.feat { border: 2px solid var(--teal-d); box-shadow: var(--shadow-lg); }
.plan .badge { position: absolute; top: -13px; left: 24px; background: var(--teal-d); color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .03em; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.15rem; margin-bottom: 2px; }
.plan .who { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.plan .price { font-size: 2.8rem; font-weight: 800; color: var(--ink); letter-spacing: -.04em; line-height: 1; }
.plan .price small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .yr { font-size: .9rem; color: var(--muted); margin: 6px 0 18px; }
.plan ul { display: grid; gap: 10px; margin-bottom: 24px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: .97rem; }
.plan li .icon { width: 19px; height: 19px; color: var(--teal-d); margin-top: 3px; }

/* Feature cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s var(--ease); }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card .c-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }
.card .meta { margin-top: auto; padding-top: 12px; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.review blockquote { margin: 0; color: var(--ink); font-size: 1.04rem; flex: 1; }
.review figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .92rem; font-weight: 700; color: var(--ink); }
.review figcaption span { font-weight: 500; color: var(--muted); }
.score { display: flex; align-items: center; gap: 14px; }
.score strong { font-size: 2.6rem; font-weight: 800; color: var(--ink); letter-spacing: -.04em; line-height: 1; }
.score span { display: block; color: var(--muted); font-size: .9rem; }

/* Visit */
.visit { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; align-items: stretch; }
.visit-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); }
.hours { width: 100%; border-collapse: collapse; margin: 14px 0 20px; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; font-size: .98rem; }
.hours th { font-weight: 600; color: var(--ink); }
.hours td { text-align: right; }
.hours tr.hl th, .hours tr.hl td { color: var(--teal-d); font-weight: 800; }
.addr { display: grid; gap: 10px; }
.addr p { display: flex; gap: 10px; margin: 0; }
.addr .icon { width: 19px; height: 19px; color: var(--teal-d); margin-top: 3px; }
.map { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); min-height: 340px; background: #EEF3F6; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* CTA band */
.cta-band { display: grid; grid-template-columns: 1.2fr auto; gap: 28px; align-items: center; background: var(--ink); color: #C9D6E2; border-radius: var(--radius-lg); padding: clamp(28px, 4.5vw, 56px); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; background: radial-gradient(circle, rgba(15, 163, 163, .35), transparent 70%); pointer-events: none; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; font-size: 1.08rem; }
.cta-band .cta-row { position: relative; z-index: 1; }

/* Footer */
.site-footer { background: var(--ink); color: #9FB0C1; padding: 64px 0 28px; font-size: .95rem; }
.site-footer a { color: #E6EEF5; text-decoration: none; display: inline-flex; align-items: center; min-height: 36px; }
.site-footer a:hover { color: #6FE0D6; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h2 { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: #6FE0D6; margin-bottom: 12px; }
.foot-grid .brand { color: #fff; margin-bottom: 12px; }
.foot-grid .brand small { color: #9FB0C1; }
.demo-note { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .86rem; }
.demo-note p { margin: 0; }
.demo-note nav { display: flex; gap: 20px; }

/* Page hero */
.page-hero { padding: clamp(40px, 6vw, 76px) 0 clamp(32px, 5vw, 56px); background: linear-gradient(180deg, var(--mint), #fff); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.page-hero .lead { margin: 0; }

/* Pricing page */
.tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.search { position: relative; flex: 1 1 280px; max-width: 420px; }
.search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search input[type="search"] { padding-left: 42px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); font: 600 .92rem var(--font); cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.tab:hover { border-color: var(--line-2); }
.tab[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.count { font-size: .9rem; color: var(--muted); }
.estimate { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: est; }
.estimate li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.estimate li::before { counter-increment: est; content: counter(est); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 800; margin-bottom: 14px; }
.estimate p { color: var(--muted); margin: 0; font-size: .97rem; }
.ins-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.plan-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.plan-chips li { padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--ink); }

/* Forms */
input[type="text"], input[type="tel"], input[type="email"], input[type="search"], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line-2); border-radius: 11px; background: #fff;
  font: 500 1rem var(--font); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 100px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal-d); box-shadow: 0 0 0 4px rgba(15, 163, 163, .16); }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label, .field .lab { font-weight: 700; color: var(--ink); font-size: .94rem; }
.field .hint { font-size: .85rem; color: var(--muted); font-weight: 400; }
.field.invalid input { border-color: var(--coral-d); }
.err { color: var(--coral-d); font-size: .86rem; font-weight: 600; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; font-weight: 800; color: var(--ink); font-size: 1.25rem; letter-spacing: -.02em; margin-bottom: 14px; }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.calc-in { padding: clamp(22px, 3.2vw, 36px); border-right: 1px solid var(--line); }
.calc-out { padding: clamp(22px, 3.2vw, 36px); background: var(--ink); color: #C9D6E2; display: flex; flex-direction: column; }
.calc-out h3 { color: #fff; }
.stepper-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.stepper-row:last-of-type { border-bottom: 0; }
.stepper-row .lab b { display: block; color: var(--ink); font-weight: 700; }
.stepper-row .lab small { color: var(--muted); font-size: .86rem; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 12px; overflow: hidden; flex: none; }
.stepper button { width: 44px; height: 44px; border: 0; background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background-color .2s; }
.stepper button:hover:not(:disabled) { background: var(--soft); }
.stepper button:disabled { color: #B6C2CD; cursor: not-allowed; }
.stepper button .icon { width: 18px; height: 18px; }
.stepper output { min-width: 42px; text-align: center; font-weight: 800; color: var(--ink); }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; }
.switch { position: relative; width: 52px; height: 30px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--line-2); transition: background-color .2s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s var(--ease); }
.switch input:checked + span { background: var(--teal-d); }
.switch input:checked + span::after { transform: translateX(22px); }
.switch input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.big-save { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; color: #fff; letter-spacing: -.045em; line-height: 1; margin: 6px 0 4px; }
.big-save.neg { color: #FFB4B4; }
.bars { display: grid; gap: 14px; margin: 22px 0; }
.bar .b-lab { display: flex; justify-content: space-between; font-size: .92rem; margin-bottom: 6px; }
.bar .b-lab b { color: #fff; }
.bar .track { height: 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bar .fill { height: 100%; border-radius: 999px; background: #8798A8; width: 0; transition: width .45s var(--ease); }
.bar.mem .fill { background: #3BE3C3; }
.breakdown { width: 100%; border-collapse: collapse; font-size: .9rem; margin-bottom: 18px; }
.breakdown th, .breakdown td { padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); text-align: right; font-weight: 500; }
.breakdown th:first-child, .breakdown td:first-child { text-align: left; }
.breakdown thead th { color: #8FA3B6; font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.breakdown td { color: #E6EEF5; }
.calc-out .assume { font-size: .84rem; color: #8FA3B6; margin-top: auto; }
.calc-out .btn { margin-top: 18px; align-self: flex-start; }
.compare-t { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.compare-t th, .compare-t td { padding: 15px 20px; border-bottom: 1px solid var(--line); text-align: left; }
.compare-t thead th { background: var(--soft); font-size: .86rem; color: var(--muted); font-weight: 700; }
.compare-t tbody th { font-weight: 600; color: var(--ink); }
.compare-t td .icon { width: 19px; height: 19px; }
.compare-t .yes { color: var(--teal-d); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.compare-t .no { color: var(--muted); display: flex; align-items: center; gap: 8px; }
.compare-t tr:last-child th, .compare-t tr:last-child td { border-bottom: 0; }
.scroll-x { overflow-x: auto; border-radius: var(--radius-lg); }

/* Tech page */
.tech { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(40px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); }
.tech:last-child { border-bottom: 0; }
.tech.flip > img { order: 2; }
.tech > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); }
.tech .gains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.tech .gains div { background: var(--soft); border-radius: 12px; padding: 12px 14px; }
.tech .gains b { display: block; color: var(--ink); font-size: 1.15rem; letter-spacing: -.02em; }
.tech .gains span { font-size: .84rem; color: var(--muted); }

/* About */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.member .m-body { padding: 18px 20px 22px; }
.member h3 { margin-bottom: 2px; }
.member .role { color: var(--teal-d); font-weight: 700; font-size: .92rem; margin-bottom: 8px; }
.member p { color: var(--muted); font-size: .95rem; margin: 0; }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.story img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); }
.photo-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.photo-row img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.values div { padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.values b { display: block; color: #fff; font-size: 2rem; letter-spacing: -.04em; line-height: 1; margin-bottom: 8px; }
.values span { font-size: .94rem; }

/* Booking */
.book { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.booker { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.stepper-nav { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); background: var(--soft); }
.stepper-nav li { display: flex; align-items: center; gap: 10px; padding: 16px 18px; font-size: .92rem; font-weight: 600; color: var(--muted); }
.stepper-nav li + li { border-left: 1px solid var(--line); }
.stepper-nav .n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-2); font-size: .82rem; font-weight: 800; flex: none; background: #fff; }
.stepper-nav li[aria-current="step"] { color: var(--ink); background: #fff; }
.stepper-nav li[aria-current="step"] .n { background: var(--teal-d); border-color: var(--teal-d); color: #fff; }
.stepper-nav li.done .n { background: var(--mint-2); border-color: var(--mint-2); color: var(--teal-dd); }
.step-body { padding: clamp(20px, 3vw, 32px); }
.svc-list { display: grid; gap: 10px; }
.svc-opt { position: relative; }
.svc-opt input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.svc-opt .o { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.svc-opt .o b { color: var(--ink); }
.svc-opt .o small { color: var(--muted); font-size: .88rem; grid-column: 1; }
.svc-opt .o .pr { grid-row: 1 / span 2; grid-column: 2; text-align: right; font-weight: 800; color: var(--ink); }
.svc-opt .o .pr small { display: block; font-weight: 500; }
.svc-opt input:hover + .o { border-color: var(--line-2); }
.svc-opt input:checked + .o { border-color: var(--teal-d); background: var(--mint); box-shadow: 0 0 0 3px rgba(15, 163, 163, .15); }
.svc-opt input:focus-visible + .o { outline: 3px solid var(--teal); outline-offset: 2px; }
.dayrow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 18px; }
.day, .slot { min-height: 54px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: 700 .94rem var(--font); cursor: pointer; padding: 4px; line-height: 1.2; transition: border-color .2s, background-color .2s; }
.day small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.day:hover:not(:disabled), .slot:hover:not(:disabled) { border-color: var(--line-2); }
.day[aria-pressed="true"], .slot[aria-pressed="true"] { border-color: var(--teal-d); background: var(--mint); }
.day:disabled, .slot:disabled { color: #A9B6C2; background: var(--soft); cursor: not-allowed; }
.slot:disabled { text-decoration: line-through; }
.slotgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.actions .btn { min-width: 140px; }
.member-q { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.chip-opt { position: relative; }
.chip-opt input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.chip-opt span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 6px 10px; border: 1.5px solid var(--line); border-radius: 11px; font-weight: 700; font-size: .92rem; color: var(--ink); transition: border-color .2s, background-color .2s; }
.chip-opt input:checked + span { border-color: var(--teal-d); background: var(--mint); }
.chip-opt input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.summary-card { position: sticky; top: 92px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 22px; }
.summary-card h2 { font-size: 1.15rem; letter-spacing: -.02em; margin-bottom: 14px; }
.summary-card dl { margin: 0; display: grid; gap: 0; }
.summary-card dl div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.summary-card dt { color: var(--muted); }
.summary-card dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }
.summary-card .due { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; }
.summary-card .due strong { font-size: 1.8rem; color: var(--teal-d); letter-spacing: -.03em; }
.summary-card .fine { margin-top: 10px; }
.success { text-align: center; padding: clamp(24px, 5vw, 48px) 12px; }
.success .s-ic { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 20px; background: var(--mint); color: var(--teal-d); display: grid; place-items: center; }
.success .s-ic .icon { width: 36px; height: 36px; }
.success p { color: var(--muted); max-width: 34em; margin-left: auto; margin-right: auto; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 0 20px; }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; cursor: pointer; font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; color: var(--teal-d); transition: transform .2s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 640px; }
  .plans { grid-template-columns: 1fr 1fr; }
  .plans .plan:last-child { grid-column: 1 / -1; }
  .cards, .reviews, .team { grid-template-columns: 1fr 1fr; }
  .reviews .review:last-child, .cards .card:last-child { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .calc { grid-template-columns: 1fr; }
  .calc-in { border-right: 0; border-bottom: 1px solid var(--line); }
  .book { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .values { grid-template-columns: 1fr 1fr; }
  .ins-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  body { font-size: 16px; }
  .promise { grid-template-columns: 1fr; }
  .promise li + li { border-left: 0; border-top: 1px solid var(--line); }
  .visit, .tech, .story, .photo-row { grid-template-columns: 1fr; }
  .tech.flip > img { order: 0; }
  .estimate { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .stepper-nav li { padding: 12px 8px; justify-content: center; }
  .stepper-nav li .t { display: none; }
  .stepper-nav li[aria-current="step"] .t { display: inline; }
  .stepper-nav { grid-template-columns: auto auto auto auto; justify-content: space-between; }
  .dayrow { grid-template-columns: repeat(3, 1fr); }
  .slotgrid { grid-template-columns: repeat(3, 1fr); }
  .two { grid-template-columns: 1fr; }
  .ptable .cat { display: none; }
  .ptable th, .ptable td { padding: 14px 12px; }
  .tech .gains { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 600px) {
  .plans, .cards, .reviews, .team, .foot-grid, .values { grid-template-columns: 1fr; }
  .plans .plan:last-child, .reviews .review:last-child, .cards .card:last-child { grid-column: auto; }
  .hero-art { padding: 0 0 120px 0; }
  .receipt { width: 88%; left: 6%; }
  .next-pill { right: 12px; top: 12px; font-size: .8rem; }
  .cta-row .btn { flex: 1 1 100%; }
  .member-q { grid-template-columns: 1fr; }
  .actions .btn { flex: 1; min-width: 0; }
  .tools { padding: 14px; }
  .search { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.pt-0 { padding-top: 0; }
.mt { margin-top: 22px; }
.mt-sm { margin-top: 12px; }
.h-legend { font-weight: 800; color: var(--ink); font-size: 1.25rem; letter-spacing: -.02em; margin-bottom: 10px; }
.calc-out .kicker { color: #6FE0D6; }

/* Pass 1 fixes */
.score .stars { display: flex; margin-bottom: 4px; }
.card .meta { align-self: flex-start; }
.toggle-row .lab b { display: block; color: var(--ink); font-weight: 700; }
.toggle-row .lab small { color: var(--muted); font-size: .86rem; }
.brand span { white-space: nowrap; }
@media (max-width: 420px) { .brand small { display: none; } }
@media (max-width: 768px) {
  .compare-t { min-width: 560px; }
  .compare-t th, .compare-t td { padding: 13px 14px; }
}

/* Pass 3: tablet layouts */
@media (max-width: 900px) {
  .promise { grid-template-columns: 1fr; }
  .promise li + li { border-left: 0; border-top: 1px solid var(--line); }
}
@media (min-width: 601px) and (max-width: 1024px) {
  .plans .plan:last-child { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto auto 1fr; column-gap: 32px; }
  .plans .plan:last-child ul { grid-column: 2; grid-row: 1 / span 5; margin: 0; align-self: center; }
  .plans .plan:last-child .btn { align-self: end; }
  .cards .card:last-child { display: grid; grid-template-columns: 1fr 1fr; }
  .cards .card:last-child img { height: 100%; aspect-ratio: auto; }
  .reviews .review:last-child blockquote { max-width: 40em; }
}
