@font-face {
  font-family: "Fira Sans";
  src: url("../fonts/FiraSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("../fonts/FiraSans-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("../fonts/FiraSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

/* Shared with the app: Fira Sans headings, Nunito reading, Smart Dentist blue. */
:root {
  color-scheme: light;
  --ink: #172b46;
  --ink-2: #142740;
  --muted: #526176;
  --muted-2: #65738a;
  --line: #dfe6f0;
  --surface: #fff;
  --surface-soft: #f6f8fc;
  --blue: #315cf5;
  --blue-dark: #2548cf;
  --blue-soft: #eaf0ff;
  --blue-pale: #f4f7ff;
  --green: #247357;
  --orange: #a95319;
  --purple: #6750ac;
  --shadow-sm: 0 4px 16px rgba(26, 53, 99, .035);
  --shadow-lg: 0 20px 50px -16px rgba(26, 53, 99, .22);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --max: 1184px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 {
  color: var(--ink-2);
  font-family: "Fira Sans", system-ui, sans-serif;
  font-weight: 600;
  text-wrap: balance;
}
h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 3.9vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}
h2 {
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 2.7vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -.025em;
}
h3 { margin-bottom: 12px; font-size: 1.25rem; line-height: 1.3; letter-spacing: -.015em; }
h4 { line-height: 1.4; }
p { color: var(--muted); }
strong { font-weight: 700; }
small { font-size: .875rem; }
::selection { background: #d9e3ff; color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.skip-link {
  position: fixed;
  z-index: 999;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
.container { width: min(calc(100% - 64px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 64px), 800px); margin-inline: auto; }

/* One compact navigation shell on every page. */
[data-site-header] { position: sticky; z-index: 100; top: 0; }
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
}
.nav-shell { display: flex; min-height: 80px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { flex: 0 0 auto; }
.brand img { width: 155px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: .9375rem;
  font-weight: 700;
  transition: color 160ms ease;
}
.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue-dark); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--blue-pale);
  color: var(--ink);
}
.nav-menu-button span, .nav-menu-button span::before, .nav-menu-button span::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: auto;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transition: transform 160ms ease;
}
.nav-menu-button span { position: relative; }
.nav-menu-button span::before { position: absolute; top: -6px; }
.nav-menu-button span::after { position: absolute; top: 6px; }
.nav-menu-button[aria-expanded="true"] span { background: transparent; }
.nav-menu-button[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-menu-button[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--blue);
  box-shadow: 0 3px 8px rgba(49,92,245,.14);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  transition: background 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.button:hover { background: var(--blue-dark); box-shadow: 0 5px 14px rgba(49,92,245,.18); }
.button.secondary { border-color: #c8d3eb; background: #fff; color: var(--blue-dark); box-shadow: none; }
.button.secondary:hover { border-color: var(--blue); background: var(--blue-pale); }
.button.compact { min-height: 44px; padding: 10px 17px; font-size: .9375rem; }
.arrow { font-size: 1.15em; line-height: 1; }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Preserve the split page structure; give the brand artwork room to breathe. */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 80px) 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(115deg, #fff 32%, #f2f6ff);
}
.hero-grid {
  position: relative;
  display: grid;
  align-items: center;
  gap: clamp(32px, 5vw, 68px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.hero-copy { min-width: 0; }
.hero-copy > p { max-width: 570px; margin-bottom: 28px; font-size: 1.125rem; line-height: 1.7; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--blue-dark);
  font-family: "Fira Sans", sans-serif;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.eyebrow::before { width: 22px; height: 2px; flex: 0 0 22px; background: currentColor; content: ""; }
.hero-visual {
  position: relative;
  display: grid;
  align-items: center;
  padding: 18px;
  border: 1px solid #e1e9fc;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.hero-visual > img { width: 100%; max-height: 500px; object-fit: contain; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; }
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 600;
}
.trust-pill::before { content: "✓"; color: var(--blue); font-weight: 700; }
.pill, .badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border: 1px solid #dce5ff;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.4;
}
.section { padding: clamp(56px, 6.5vw, 88px) 0; }
.section.soft { border-block: 1px solid #eaf0f7; background: var(--surface-soft); }
.section.blue-soft { background: var(--blue-pale); }
.section-heading { max-width: 720px; margin-bottom: 36px; }
.section-heading > p:last-child { margin-bottom: 0; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading.center .eyebrow { justify-content: center; }
.split { display: grid; align-items: center; gap: clamp(32px, 6vw, 76px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split.reverse > :first-child { order: 2; }
.split-copy { min-width: 0; }
.split-copy > p { max-width: 630px; }

/* A single card and icon language across product, pricing and support. */
.feature-grid, .price-grid, .support-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-card, .content-card, .price-card, .support-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.feature-card, .support-card { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; }
.feature-card p, .support-card p { font-size: 1rem; }
.feature-card p:last-child, .content-card p:last-child, .support-card p:last-child { margin-bottom: 0; }
.feature-card > .button, .support-card > .button { margin-top: auto; }
.feature-card > a:not(.button) {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  color: var(--blue-dark);
  font-size: 1rem;
  font-weight: 700;
}
.feature-card > a:not(.button):hover { text-decoration: underline; text-underline-offset: 4px; }
.feature-icon {
  display: grid;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border: 1px solid #dce5ff;
  border-radius: 13px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-family: "Fira Sans", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  place-items: center;
}
.feature-icon.green, .feature-icon.orange, .feature-icon.purple { background: var(--blue-soft); color: var(--blue-dark); }
.feature-icon svg { width: 24px; height: 24px; }
.check-list, .plain-list { display: grid; margin: 24px 0 28px; padding: 0; gap: 14px; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); }
.check-list li::before {
  display: grid;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  border-radius: 6px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  content: "✓";
  font-size: .875rem;
  font-weight: 700;
  place-items: center;
}
.plain-list li, .plain-list > span { padding-block: 10px; border-bottom: 1px solid var(--line); color: var(--muted); }
.plain-list { gap: 0; }
.plain-list li:last-child, .plain-list > span:last-child { border-bottom: 0; }
.content-card > h3:not(:first-child) { margin-top: 24px; }

/* Actual app captures stay uncropped and retain their original UI. */
.phone-frame {
  width: min(100%, 328px);
  margin-inline: auto;
  padding: 7px;
  border: 1px solid #33435e;
  border-radius: 33px;
  background: #152137;
  box-shadow: 0 0 0 5px #e9edf5, var(--shadow-lg);
}
.phone-frame img { width: 100%; border-radius: 25px; }
.phone-frame .screen-crop { overflow: hidden; border-radius: 25px; }
.caption { margin: 22px auto 0; color: var(--muted-2); font-size: .875rem; text-align: center; }
body[data-page="courses"] .hero .phone-frame { width: min(100%, 268px); }
.app-journey-grid { display: grid; align-items: start; gap: 28px; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: app-step; }
.app-shot-card { min-width: 0; padding: 28px 22px 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface-soft); counter-increment: app-step; }
.app-shot-card .phone-frame { width: min(100%, 266px); }
.app-shot-copy { width: 100%; max-width: 320px; margin: 28px auto 0; }
.app-shot-copy::before {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-dark);
  content: "STEP 0" counter(app-step);
  font-family: "Fira Sans", sans-serif;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .06em;
}
.app-shot-copy h3 { margin-bottom: 8px; font-size: 1.125rem; }
.app-shot-copy p { margin-bottom: 0; font-size: 1rem; line-height: 1.6; }

/* Illustrative previews are visibly distinguished from the app captures. */
.community-device {
  overflow: hidden;
  width: min(100%, 422px);
  margin-inline: auto;
  padding: 8px;
  border: 1px solid #33435e;
  border-radius: 30px;
  background: #152137;
  box-shadow: 0 0 0 5px #e9edf5, var(--shadow-lg);
}
.community-screen { overflow: hidden; padding: 24px 18px 18px; border: 1px solid #29364c; border-radius: 22px; background: #101722; }
.community-screen .micro { margin: 0 0 8px; color: #adc0ff; font-size: .875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.community-screen h3 { margin-bottom: 7px; color: #fff; font-size: 1.375rem; }
.community-screen .screen-subtitle { margin-bottom: 18px; color: #b1bfd3; font-size: 1rem; line-height: 1.5; }
.community-tabs { display: grid; margin-bottom: 14px; padding: 4px; border: 1px solid #34425b; border-radius: 10px; grid-template-columns: repeat(3, 1fr); }
.community-tabs span { padding: 7px 4px; border-radius: 7px; color: #b6c2d6; font-size: .875rem; font-weight: 700; text-align: center; }
.community-tabs span:first-child { background: var(--blue); color: #fff; }
.discussion-list { display: grid; gap: 10px; }
.discussion-tile { padding: 14px; border: 1px solid #314059; border-radius: 12px; background: #1a2434; }
.discussion-top, .discussion-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px 8px; }
.discussion-category { color: #adc0ff; font-size: .875rem; font-weight: 600; }
.discussion-state { color: #93dfb8; font-size: .875rem; }
.discussion-tile h4 { margin: 10px 0 12px; color: #f5f8ff; font-size: 1rem; line-height: 1.4; }
.discussion-meta { color: #b6c2d6; font-size: .875rem; }
.avatar-initial { display: inline-grid; width: 26px; height: 26px; margin-right: 5px; border-radius: 50%; background: #33486e; color: #f3f6ff; font-size: .75rem; font-weight: 700; place-items: center; }
.illustrative-label { margin: 14px 0 0; color: #b0bdd0; font-size: .875rem; text-align: center; line-height: 1.5; }
.metric-grid { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metric { padding: 24px; border: 1px solid var(--line); border-top: 3px solid #a3b7ff; border-radius: 12px; background: #fff; }
.metric strong { display: block; margin-bottom: 8px; color: var(--ink-2); font-family: "Fira Sans", sans-serif; font-size: 1.125rem; font-weight: 600; }
.metric span { color: var(--muted); font-size: 1rem; }
.flow-grid { display: grid; counter-reset: flow; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.flow-step { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; counter-increment: flow; }
.flow-step::before { display: grid; width: 38px; height: 38px; margin-bottom: 20px; border: 1px solid #dce5ff; border-radius: 50%; background: var(--blue-soft); color: var(--blue-dark); content: counter(flow, decimal-leading-zero); font-family: "Fira Sans", sans-serif; font-size: .875rem; font-weight: 600; place-items: center; }
.flow-step h3 { font-size: 1.125rem; }
.flow-step p { margin-bottom: 0; font-size: 1rem; }
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 5vw, 58px);
  border: 1px solid #d6e1ff;
  border-radius: var(--radius-lg);
  background: #e8efff;
  color: var(--ink);
}
.cta-band::after { position: absolute; right: -10%; top: -130px; width: 430px; height: 430px; border: 70px solid rgba(49,92,245,.045); border-radius: 50%; content: ""; pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { max-width: 680px; }
.cta-band p { max-width: 690px; margin-bottom: 26px; color: #465b79; font-size: 1.125rem; }
.store-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.store-row a { display: inline-flex; min-height: 48px; border-radius: 7px; transition: transform 160ms ease; }
.store-row a:hover { transform: translateY(-2px); }
.store-row img { width: auto; height: 48px; }
.article-mock { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg); }
.article-mock-header { padding: 30px; border-bottom: 1px solid var(--line); background: var(--blue-soft); }
.article-mock-header span { color: var(--blue-dark); font-size: .875rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.article-mock-header h3 { max-width: 460px; margin: 14px 0 12px; font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.3; }
.article-mock-header p { margin: 0; font-size: 1rem; }
.topic-rail { display: grid; padding: 20px; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.topic-chip { padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 1rem; font-weight: 700; }
.topic-chip small { display: block; margin-top: 5px; color: var(--muted); font-weight: 400; }
.article-mock .illustrative-label { margin: 0 20px; color: var(--muted-2); }
.course-banner { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.course-banner img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: var(--blue-pale); }
.course-banner-copy { padding: 26px; }
.course-banner-copy p { margin-bottom: 0; }
.price-grid { align-items: stretch; }
.price-card { position: relative; padding: 30px; }
.price-card.featured { border: 2px solid var(--blue); background: var(--blue-pale); }
.price-card .price-label { color: var(--blue-dark); font-size: .875rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.price-card .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px; margin: 22px 0 20px; color: var(--ink-2); font-family: "Fira Sans", sans-serif; font-size: clamp(2rem, 3vw, 2.5rem); font-weight: 600; line-height: 1.15; letter-spacing: -.03em; }
.price-card .price small { color: var(--muted); font-family: "Nunito", sans-serif; font-size: 1rem; font-weight: 400; letter-spacing: 0; }
.price-card p { font-size: 1rem; margin-bottom: 0; }
.credit-grid { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.credit-card { padding: 20px; border: 1px solid #d7e1f5; border-radius: 12px; background: #fff; }
.credit-card strong { display: block; margin-bottom: 7px; color: var(--blue-dark); font-family: "Fira Sans", sans-serif; font-size: 1.25rem; font-weight: 600; }
.credit-card > span { color: var(--ink); font-size: 1.125rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.notice { padding: 18px 20px; border: 1px solid #dce5ff; border-left: 3px solid var(--blue); border-radius: 10px; background: var(--blue-pale); color: var(--muted); font-size: 1rem; }
.support-card a:not(.button) { color: var(--blue-dark); font-weight: 700; overflow-wrap: anywhere; }

/* Legal copy is unchanged; only its reading presentation is refined. */
.legal-hero { padding: 54px 0 38px; border-bottom: 1px solid var(--line); background: var(--blue-pale); }
.legal-hero h1 { margin-bottom: 16px; font-size: clamp(2.1rem, 3.9vw, 3rem); }
.legal-lead { max-width: 720px; margin: 0; color: var(--muted); font-size: 1.125rem; line-height: 1.7; }
.legal-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 26px 0 0; }
.legal-meta > div { padding: 16px 18px; border: 1px solid #dce5f5; border-radius: 12px; background: #fff; }
.legal-meta dt { margin-bottom: 5px; color: var(--muted); font-size: .875rem; font-weight: 700; }
.legal-meta dd { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.legal-meta a { color: var(--blue-dark); }
.legal-content { padding: 48px 0 80px; }
.legal-content section:first-child h2 { margin-top: 0; }
.legal-content h2 { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 1.5rem; line-height: 1.35; letter-spacing: -.015em; }
.legal-content section:first-child h2 { padding-top: 0; border-top: 0; }
.legal-content h3 { margin-top: 28px; font-size: 1.125rem; }
.legal-content li, .legal-content p { color: #45556c; line-height: 1.8; overflow-wrap: anywhere; }
.legal-content ul, .legal-content ol { display: grid; gap: 10px; padding-left: 1.4rem; }
.legal-summary-list { display: grid; gap: 12px; }
.legal-summary-list p { margin: 0; padding: 16px 20px; border-left: 3px solid var(--blue); border-radius: 0 10px 10px 0; background: var(--blue-pale); }
.legal-contact { margin: 20px 0; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-soft); font-style: normal; }
.legal-contact p { margin: 0 0 8px; }
.legal-contact p:last-child { margin-bottom: 0; }
.legal-content a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }

/* Light footer with high-contrast local social icons. */
.site-footer { padding: 58px 0 28px; border-top: 1px solid var(--line); background: #fff; color: var(--muted); }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1.35fr .7fr 1fr 1fr; }
.footer-brand { width: 160px; margin-bottom: 22px; }
.site-footer h3 { margin-bottom: 18px; font-size: 1rem; }
.site-footer p, .site-footer a, .footer-analytics-button { font-size: .9375rem; }
.site-footer p { color: var(--muted); overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--blue-dark); }
.footer-links { display: grid; justify-items: start; gap: 8px; }
.footer-links a, .footer-analytics-button { padding-block: 3px; }
.footer-links a[aria-current="page"] { color: var(--blue-dark); font-weight: 700; }
.footer-analytics-button { width: fit-content; padding-inline: 0; border: 0; background: transparent; color: inherit; text-align: left; }
.footer-analytics-button:hover, .footer-analytics-button:focus-visible { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-row a { display: grid; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-soft); place-items: center; transition: background 160ms ease, border-color 160ms ease; }
.social-row a:hover { border-color: #a9bcff; background: var(--blue-soft); }
.social-row img { width: 22px; height: 22px; }
.footer-bottom { display: flex; margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); align-items: flex-start; justify-content: space-between; gap: 24px; }
.footer-bottom p { max-width: 600px; margin: 0; font-size: .875rem; }
.whatsapp-float { position: fixed; z-index: 90; right: 20px; bottom: max(20px, env(safe-area-inset-bottom)); display: inline-flex; min-height: 48px; align-items: center; gap: 9px; padding: 11px 17px; border: 1px solid #0c6750; border-radius: 14px; background: #11755a; box-shadow: 0 6px 18px rgba(17,117,90,.18); color: #fff; font-size: .9375rem; font-weight: 700; }
.whatsapp-float:hover { background: #0d624b; }
.whatsapp-float img { width: 23px; height: 23px; filter: brightness(0) invert(1); }
.analytics-consent { position: fixed; z-index: 220; right: 20px; bottom: max(20px, env(safe-area-inset-bottom)); left: 20px; display: flex; width: min(calc(100% - 40px), 980px); max-height: calc(100dvh - 40px); overflow: auto; margin-inline: auto; padding: 22px; border: 1px solid #c7d5f3; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); align-items: center; gap: 24px; }
.analytics-consent[hidden] { display: none; }
.analytics-consent-copy { flex: 1; min-width: 0; }
.analytics-consent-copy strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 1.0625rem; }
.analytics-consent-copy p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.analytics-consent-copy a { color: var(--blue-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.analytics-consent-actions { display: flex; flex: 0 0 auto; gap: 10px; }
.reveal { opacity: 1; }

/* Content stays available without JavaScript or animation support. */
@media (max-width: 1040px) {
  .site-nav { gap: 18px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: .875rem; }
  .nav-shell { gap: 18px; }
}
@media (max-width: 900px) {
  .nav-menu-button { display: block; }
  .site-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; max-height: calc(100dvh - 80px); overflow-y: auto; padding: 16px 32px 24px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-lg); }
  .site-nav.open { display: block; }
  .nav-links { display: grid; gap: 0; }
  .nav-links a { padding: 12px; border-radius: 8px; font-size: 1rem; }
  .nav-links a[aria-current="page"] { background: var(--blue-soft); }
  .nav-links a::after { display: none; }
  .site-nav .button { width: 100%; margin-top: 16px; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { max-width: 680px; }
  .hero-visual { width: min(100%, 550px); margin-inline: auto; }
  .split.reverse > :first-child { order: initial; }
  .feature-grid, .price-grid, .support-grid { gap: 16px; }
  .feature-card, .price-card, .support-card { padding: 22px; }
  .metric-grid, .flow-grid, .credit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-journey-grid { gap: 16px; }
  .app-shot-card { padding: 20px 14px; }
  .footer-grid { gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .analytics-consent { align-items: stretch; flex-direction: column; gap: 16px; }
}
@media (max-width: 700px) {
  .feature-grid, .price-grid, .support-grid { grid-template-columns: 1fr; }
  .feature-card, .support-card { padding: 24px; }
  .app-journey-grid { grid-template-columns: 1fr; gap: 24px; }
  .app-shot-card { padding: 28px 24px; }
  .app-shot-copy { max-width: 400px; }
  .app-shot-card .phone-frame { width: min(100%, 280px); }
  .benefits-grid { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container, .narrow { width: calc(100% - 40px); }
  .nav-shell { min-height: 68px; }
  .brand img { width: 140px; }
  .site-nav { padding: 12px 20px 22px; max-height: calc(100dvh - 68px); }
  .hero { padding: 38px 0 44px; }
  h1 { margin-bottom: 18px; font-size: clamp(2rem, 7.8vw, 2.5rem); }
  h2 { font-size: clamp(1.65rem, 6.2vw, 1.95rem); }
  h3 { font-size: 1.1875rem; }
  .eyebrow { font-size: .875rem; letter-spacing: .045em; gap: 8px; margin-bottom: 14px; }
  .eyebrow::before { width: 16px; flex-basis: 16px; }
  .hero-copy > p { font-size: 1.0625rem; margin-bottom: 24px; }
  .hero-actions, .button-row { gap: 10px; }
  .hero-actions .button, .button-row .button { flex: 1 1 190px; }
  .hero-visual { padding: 12px; border-radius: 20px; }
  .section { padding-block: 48px; }
  .section-heading { margin-bottom: 28px; }
  .trust-row { gap: 8px 16px; margin-top: 20px; }
  .community-screen { padding: 20px 12px 16px; }
  .community-device { padding: 6px; border-radius: 26px; }
  .community-screen { border-radius: 20px; }
  .discussion-tile { padding: 12px; }
  .community-screen h3 { font-size: 1.25rem; }
  .article-mock-header { padding: 24px; }
  .topic-rail { padding: 16px; gap: 10px; }
  .topic-chip { padding: 13px; font-size: .9375rem; }
  .flow-grid { grid-template-columns: 1fr; }
  .flow-step { padding: 22px; }
  .flow-step::before { float: left; margin: 0 16px 10px 0; }
  .flow-step h3 { padding-top: 7px; }
  .flow-step p { clear: both; }
  .metric { padding: 18px; }
  .metric span { font-size: .9375rem; }
  .credit-card { padding: 16px; }
  .credit-card > span { font-size: 1.0625rem; }
  .cta-band { padding: 28px 24px; border-radius: 20px; }
  .cta-band p { font-size: 1rem; }
  .store-row { gap: 10px; }
  .store-row img { height: 44px; }
  .legal-hero { padding: 38px 0 30px; }
  .legal-hero h1 { font-size: 2rem; }
  .legal-meta { grid-template-columns: 1fr; }
  .legal-lead { font-size: 1rem; }
  .legal-content { padding: 36px 0 54px; }
  .legal-content h2 { font-size: 1.3125rem; }
  .legal-contact { padding: 20px; }
  .footer-grid { gap: 28px 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
  .site-footer { padding: 40px 0 88px; }
  .footer-bottom { margin-top: 28px; align-items: flex-start; flex-direction: column; gap: 16px; }
  .footer-links a, .footer-analytics-button { min-height: 44px; display: inline-flex; align-items: center; }
  .footer-analytics-button[hidden] { display: none; }
  .whatsapp-float { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); width: 50px; min-height: 50px; padding: 0; justify-content: center; border-radius: 16px; }
  .whatsapp-float span { position: absolute; overflow: hidden; width: 1px; height: 1px; clip-path: inset(50%); }
  .analytics-consent { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); left: 12px; width: calc(100% - 24px); padding: 18px; }
  .analytics-consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .analytics-consent-actions .button { padding-inline: 12px; font-size: .9375rem; }
}
@media (max-width: 360px) {
  .container, .narrow { width: calc(100% - 32px); }
  .metric-grid, .topic-rail { grid-template-columns: 1fr; }
  .store-row { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
@media print {
  [data-site-header], [data-site-footer], .whatsapp-float, .analytics-consent, .skip-link { display: none !important; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .container, .narrow { width: 100%; }
  .legal-hero, .legal-content { padding: 16px 0; background: #fff; }
  .legal-content h2 { break-after: avoid; }
  .legal-contact, .legal-meta > div { break-inside: avoid; }
}
