/* Tandem Orthodontics: bold and modern.
   Change the studio's colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --soft: #F1EFFA;
  --ink: #15121F;
  --muted: #5D5870;
  --line: #E4E1EE;
  --line-strong: #CFCADF;
  --violet: #4B2BE0;
  --pink: #FF3D7F;
  --brand: #4B2BE0;
  --brand-hover: #3A1EC0;
  --brand-ink: #FFFFFF;
  --brand-text: #4B2BE0;
  --ok: #12A87A;
  --head: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Figtree", system-ui, sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --btn-radius: 999px;
  --wrap: 1200px;
  --gap: 20px;
}
h1, h2, h3 { font-weight: 800; letter-spacing: -.03em; }
.eyebrow { color: var(--pink); letter-spacing: .1em; }
.btn { font-weight: 700; }
.btn svg { width: 20px; height: 20px; }

/* ---------- header ---------- */
.header { background: rgba(250,250,247,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-mark { width: 38px; height: 38px; }
.logo b { font: 800 1.7rem var(--head); letter-spacing: -.05em; }
.nav a { font-weight: 600; color: var(--muted); border-radius: 999px; }
.nav a:hover { color: var(--ink); background: var(--soft); }
.nav a[aria-current="page"] { color: var(--violet); background: var(--soft); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 88px); }
.hero-grid { display: grid; grid-template-columns: 1fr minmax(0, 540px); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.4rem); line-height: .96; margin: 16px 0 22px; }
.hl { color: var(--violet); position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .12em; border-radius: 99px; background: var(--pink); transform-origin: left; animation: stretch .9s .3s cubic-bezier(.2,.8,.2,1) both; }
@keyframes stretch { from { transform: scaleX(0); } }
@media (max-width: 480px) { .hl { white-space: normal; } .hl::after { display: none; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hero-chips li { padding: 7px 14px; border-radius: 999px; background: var(--soft); font-weight: 600; font-size: .9rem; }

/* ---------- aligner slider (signature) ---------- */
.aligner-card { padding: clamp(18px, 3vw, 28px); border-radius: 28px; background: var(--ink); color: #fff; box-shadow: 0 40px 70px -40px rgba(75,43,224,.7); }
.al-head { display: flex; justify-content: space-between; align-items: center; }
.al-label { font-weight: 700; color: #CFC8FF; }
.al-badge { min-width: 64px; padding: 6px 12px; border-radius: 999px; background: var(--pink); font: 800 1rem var(--head); text-align: center; font-variant-numeric: tabular-nums; }
.aligner-svg { width: 100%; height: auto; margin: 12px 0 4px; }
.aligner-svg .gum { fill: #E58C9E; }
.a-tooth .face { fill: #F6F1E7; stroke: #D8CFC0; stroke-width: 1.5; }
.a-tooth .tray { fill: rgba(205,225,255,.18); stroke: rgba(205,225,255,.75); stroke-width: 1.5; }
.al-range { display: block; padding: 8px 0; }
.al-range input { width: 100%; height: 36px; accent-color: var(--pink); cursor: grab; }
.al-range input:focus-visible { outline-color: #fff; }
.al-read { display: grid; grid-template-columns: auto auto 1fr; gap: 6px 18px; align-items: baseline; }
.al-read p:first-child { font: 800 1.5rem var(--head); }
.al-read p:nth-child(2) { color: #CFC8FF; font-weight: 600; }
.al-note { grid-column: 1 / -1; color: #E7E3FA; }
.al-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.14); font-size: .8rem; color: #A9A2C9; }

/* ---------- sections ---------- */
.sec-head { margin-bottom: 32px; max-width: 760px; }
.sec-head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin: 10px 0 12px; line-height: 1; }
.table-scroll { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; }
.compare th, .compare td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font: 800 1.15rem var(--head); background: var(--soft); }
.compare thead a { text-decoration: none; }
.compare thead a:hover { color: var(--violet); }
.compare tbody th { font-weight: 600; color: var(--muted); width: 22%; }
.compare tbody tr:last-child td { font: 800 1.2rem var(--head); color: var(--violet); }

.journey { background: var(--violet); color: #fff; }
.journey .eyebrow { color: #FFC2D6; }
.journey-list { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 1000px) { .journey-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .journey-list { grid-template-columns: 1fr; } }
.journey-list li { padding: 22px; border-radius: var(--radius-lg); background: rgba(255,255,255,.1); }
.j-when { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--pink); font-weight: 700; font-size: .82rem; }
.journey-list h3 { font-size: 1.35rem; margin: 14px 0 8px; }
.journey-list p { color: #E2DCFF; font-size: .95rem; }

.doc .portrait { border-radius: var(--radius-lg); }
.doc .role { color: var(--violet); }
.doc a { color: var(--violet); }
.quote-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }
.quote-grid blockquote { margin: 0; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); border-top: 5px solid var(--pink); }
.quote-grid li:nth-child(2) blockquote { border-top-color: var(--violet); }
.quote-grid li:nth-child(3) blockquote { border-top-color: var(--ok); }
.quote-grid p { font-size: 1.08rem; font-weight: 500; }
.quote-grid footer { font-weight: 700; color: var(--muted); font-size: .9rem; }

/* ---------- inner pages ---------- */
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: .98; }
.t-card { transition: transform .2s, box-shadow .2s; }
.t-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -28px rgba(75,43,224,.6); }
.t-card .meta b, .t-card .links a { color: var(--violet); }
.t-steps li::before { background: var(--pink); }
.slot input:checked + span { background: var(--violet); }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 64px); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.prose { display: grid; gap: 16px; font-size: 1.06rem; }
.prose h2 { font-size: 2rem; }
.promise { list-style: none; display: grid; gap: 12px; }
.promise li { padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--pink); }
.promise b { display: block; font: 800 1.15rem var(--head); }

/* ---------- CTA + footer ---------- */
.cta-band { padding-block: clamp(56px, 8vw, 104px); background: var(--ink); color: #fff; text-align: center; }
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1; max-width: 18ch; margin-inline: auto; }
.cta-band h2 span { color: var(--pink); }
.cta-band p { margin: 16px auto 0; max-width: 54ch; color: #CFC8FF; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #ECE8FF; }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline-light:hover { border-color: #fff; }
.footer { background: #0E0C16; color: #C9C4DC; --footer-line: rgba(255,255,255,.12); }
.footer .logo b { color: #fff; }
.footer h2 { color: #fff; }
.f-about { margin: 14px 0 10px; max-width: 34ch; }
.footer .credit a { color: #fff; }
