/* Original Selesa design tokens, extracted from the supplied homepage. */
:root {
  --bg: #f5f3ee;
  --ink: #15201d;
  --on-ink: #f5f3ee;
  --body: #4a5551;
  --muted: #6b7571;
  --faint: #8a938f;
  --line: #e2ded5;
  --line2: #cfcac0;
  --surface: #ffffff;
  --bubble: #ebe8e1;
  --accent: #2f6e58;
  --brand: #4f9b80;
  --orange: #c27a2c;
  --orange-line: rgba(194,122,44,0.45);
  --field: rgba(255,255,255,0.88);
  --toggle: rgba(255,255,255,0.45);
  --silk: linear-gradient(118deg, #fdfbf4 0%, #ffffff 22%, #d7f1e6 46%, #f6fbf8 64%, #c6ebdb 86%, #eef8f3 100%);
  --silk-edge: rgba(255,255,255,0.7);
  --silk-ring: linear-gradient(110deg, #b9e6d3 0%, #ffffff 50%, #b9e6d3 100%);
  --silk-glow: 0.85;
  --sheen: rgba(255,255,255,0.6);
  --shine: #9fd6c2;
  --glow: rgba(21,32,29,0.3);
  --mint-soft: #e6f3ee;
  --error: #b23b40;
  --hover: #2f6e58;
  --on-hover: #ffffff;
  --hover-soft: rgba(21,32,29,0.06);
  --on-disabled: #ffffff;
  --light-only: block;
  --dark-only: none;
  --silk-base: #f9f6ec;
  --silk-mint: rgba(150,222,192,0.75);
  --silk-mint2: rgba(186,236,214,0.6);
  --silk-ridge: rgba(255,255,255,0.95);
  --silk-cream: #fdf8e8;
  --fold-hi: rgba(255,255,255,0.75);
  --fold-lo: rgba(110,98,78,0.07);
  --word-grad: linear-gradient(100deg, #5fbf9c 0%, #3fa283 45%, #1f6e5a 100%);
}
:root[data-theme="dark"] {
  --bg: #0f1614;
  --ink: #eef3f0;
  --on-ink: #0f1614;
  --body: #bccac5;
  --muted: #93a6a0;
  --faint: #71847e;
  --line: #26332f;
  --line2: #34443f;
  --surface: #17211e;
  --bubble: #1f2b28;
  --accent: #9fd6c2;
  --brand: #82c9af;
  --orange: #e8aa5c;
  --orange-line: rgba(232,170,92,0.45);
  --field: rgba(255,255,255,0.06);
  --toggle: rgba(0,0,0,0.25);
  --silk: linear-gradient(118deg, #141d1b 0%, #18231f 22%, #1d3a31 46%, #16201d 64%, #1f4034 86%, #15201d 100%);
  --silk-edge: rgba(130,201,175,0.18);
  --silk-ring: linear-gradient(110deg, rgba(130,201,175,0.4) 0%, rgba(130,201,175,0.12) 50%, rgba(130,201,175,0.4) 100%);
  --silk-glow: 0.7;
  --sheen: rgba(255,255,255,0.08);
  --shine: #ffffff;
  --glow: rgba(0,0,0,0.6);
  --mint-soft: rgba(130,201,175,0.14);
  --error: #e8797c;
  --hover: #82c9af;
  --on-hover: #0f2620;
  --hover-soft: rgba(255,255,255,0.06);
  --on-disabled: #55655f;
  --light-only: none;
  --dark-only: block;
  --silk-base: #0e1614;
  --silk-mint: rgba(63,140,112,0.38);
  --silk-mint2: rgba(90,170,140,0.22);
  --silk-ridge: rgba(170,235,210,0.10);
  --silk-cream: rgba(232,170,92,0.06);
  --fold-hi: rgba(255,255,255,0.035);
  --fold-lo: rgba(0,0,0,0.35);
  --word-grad: linear-gradient(100deg, #b4ead6 0%, #82c9af 45%, #5fae92 100%);
}

@font-face { font-family: Newsreader; font-style: normal; font-weight: 300 600; font-display: swap; src: url('/assets/newsreader-latin.woff2') format('woff2'); }
@font-face { font-family: Newsreader; font-style: italic; font-weight: 300 500; font-display: swap; src: url('/assets/newsreader-italic-latin.woff2') format('woff2'); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/montserrat-semibold.ttf') format('truetype'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/space-grotesk-semibold.ttf') format('truetype'); }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); }
body { color: var(--ink); font-family: Newsreader, Georgia, serif; }
html { color-scheme: light; }
html[data-theme='dark'] { color-scheme: dark; }
a { color: var(--accent); }
a:hover { color: var(--ink); }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
input::placeholder { color: var(--faint); opacity: 1; }
.light-only { display: var(--light-only); }
.dark-only { display: var(--dark-only); }
.site-shell { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; transition: color 300ms ease, background 300ms ease; }
#silk-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; background: var(--silk); }
.site-header { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.brand-mark { width: 24px; height: 24px; transform: translateY(-2px); }
.brand-word { display: block; font-weight: 500; font-size: 27px; line-height: 1; letter-spacing: -.02em; background-image: var(--word-grad); background-clip: text; -webkit-background-clip: text; color: transparent; }
.brand-parent { display: flex; align-items: center; gap: 6px; padding-left: 10px; margin-left: 2px; border-left: 1px solid var(--line2); font-size: 15px; color: var(--muted); white-space: nowrap; }
.brand-parent span { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px; letter-spacing: -.01em; color: var(--brand); }
.header-cta { flex: none; display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border: none; border-radius: 10px; background: #5fae92; color: #0f1f1a; font-family: Montserrat, sans-serif; font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer; box-shadow: 0 1px 2px rgba(15,38,32,.12); text-decoration: none; }
.header-cta:hover { background: #52a185; color: #0f1f1a; }
.site-main { flex: 1; display: flex; flex-direction: column; }
.home-view { position: relative; isolation: isolate; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; min-height: calc(100vh - 141px); min-height: calc(100svh - 141px); padding: 0 24px 176px; text-align: center; }
.hero-copy { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero-eyebrow { font-style: italic; font-size: 21px; transform: translateY(-32px); }
.hero-eyebrow span { display: inline-block; line-height: 1.05; padding-bottom: 1px; border-bottom: 1.5px solid var(--orange); background-image: linear-gradient(100deg, var(--accent) 0%, var(--accent) 42%, var(--shine) 50%, var(--accent) 58%, var(--accent) 100%); background-size: 300% 100%; background-position: 0% 0; background-clip: text; -webkit-background-clip: text; color: transparent; animation: selesa-shine 2.2s cubic-bezier(.45,0,.2,1) .5s 1 both; }
h1 { align-self: stretch; flex-shrink: 0; margin: 0; transform: translateY(-32px); font-family: Newsreader, Georgia, serif; font-weight: 300; font-size: clamp(44px, 5.8vw, 76px); line-height: 1.02; letter-spacing: -.025em; color: var(--ink); text-wrap: balance; }
h1 span { background-image: var(--word-grad); background-clip: text; -webkit-background-clip: text; color: transparent; padding-right: .04em; }
.hero-copy p { margin: 0; max-width: 780px; font-size: 19px; line-height: 1.5; color: var(--body); text-wrap: pretty; }
.question-area { width: 100%; max-width: 780px; margin-top: -8px; display: flex; flex-direction: column; gap: 16px; }
.question-ring { padding: 1.5px; border-radius: 31.5px; background: var(--silk-ring); box-shadow: 0 18px 44px -24px var(--glow); }
.question-field { display: flex; align-items: center; gap: 6px; min-height: 60px; padding: 0 10px 0 22px; border-radius: 30px; background: var(--surface); border: none; box-shadow: 0 1px 2px rgba(21,32,29,.04), 0 18px 40px -22px rgba(21,32,29,.3); text-align: left; }
#question-input { flex: 1; min-width: 0; height: 56px; padding: 0; border: none; outline: none; background: transparent; font-size: 18.5px; color: var(--ink); }
.question-field:focus-within { outline: 2px solid var(--brand); outline-offset: 3px; }
#question-submit { flex: none; width: 40px; height: 40px; border: none; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: flex; align-items: center; justify-content: center; }
#question-submit:hover:not(:disabled) { background: var(--hover); color: var(--on-hover); }
#question-submit:disabled { background: var(--line); color: var(--on-disabled); }
.suggestions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.suggestions button { white-space: nowrap; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--orange-line); background: transparent; font-size: 15.5px; font-weight: 400; color: var(--body); }
.suggestions button:hover:not(:disabled) { border-color: var(--orange); background: var(--surface); color: var(--ink); }
.email-fallback { font-size: 16px; line-height: 1.5; }
.thinking-view { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: calc(100svh - 141px); padding: 40px 24px 80px; }
.thinking-content { width: 100%; max-width: 640px; display: flex; flex-direction: column; gap: 28px; }
.question-bubble { margin: 0; align-self: flex-end; max-width: 80%; padding: 12px 18px; border-radius: 20px; background: var(--bubble); font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; animation: cura-in 420ms cubic-bezier(.16,1,.3,1) both; }
.thinking-progress { display: flex; gap: 14px; align-items: flex-start; padding-left: 2px; }
.thinking-orb { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #d6f5e9 0%, #8fd3b9 30%, #4f9b80 70%, #2c6652 100%); animation: cura-breathe 1.6s ease-in-out infinite; }
.thinking-orb::before { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid transparent; border-right-color: #82c9af; border-top-color: #e8aa5c; animation: cura-spin 1.1s linear infinite; }
#thinking-step { margin: 3px 0 8px; font-size: 17px; font-weight: 500; color: var(--accent); }
.thinking-bar { position: relative; width: 160px; height: 2px; border-radius: 2px; overflow: hidden; background: rgba(79,155,128,.14); }
.thinking-bar::after { content: ''; position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, #82c9af, #e8aa5c); animation: cura-scan 1.3s cubic-bezier(.16,1,.3,1) infinite; }
.form-view { flex: 1; display: flex; align-items: center; justify-content: center; padding: 32px 24px 64px; }
.request-content { width: 100%; max-width: 640px; display: flex; flex-direction: column; gap: 40px; animation: cura-in 520ms cubic-bezier(.16,1,.3,1) both; }
.request-intro { display: flex; flex-direction: column; gap: 22px; }
.back-button { align-self: flex-start; display: flex; align-items: center; gap: 6px; padding: 0; border: none; background: transparent; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.back-button:hover:not(:disabled) { color: var(--ink); }
#submitted-question { display: flex; flex-direction: column; gap: 8px; }
.question-label { font-size: 13px; font-weight: 600; color: var(--muted); }
#question-display { margin: 0; font-weight: 300; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; overflow-wrap: anywhere; }
#request-heading { margin: 0; font-weight: 300; font-size: clamp(36px, 4.4vw, 54px); line-height: 1.05; letter-spacing: -.025em; text-wrap: balance; }
#request-heading span { color: var(--accent); }
#request-explanation { margin: 0; font-size: 18px; line-height: 1.55; color: var(--body); text-wrap: pretty; }
.request-benefits { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.request-benefits li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.45; }
.request-benefits span { font-size: 12.5px; font-weight: 600; color: var(--orange); }
.request-card { position: relative; overflow: hidden; isolation: isolate; width: 100%; padding: 32px; border-radius: 28px; background: var(--silk); border: 1px solid var(--silk-edge); box-shadow: 0 30px 70px -36px rgba(21,32,29,.4); }
.request-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(105deg, transparent 35%, var(--sheen) 50%, transparent 65%); background-size: 250% 100%; animation: cura-silk 12s ease-in-out infinite alternate; pointer-events: none; }
#lead-form { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.form-copy { display: flex; flex-direction: column; gap: 6px; }
.form-copy h2, .success-view h2 { margin: 0; font-weight: 400; font-size: 28px; line-height: 1.15; letter-spacing: -.02em; }
.form-copy p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--body); }
.role-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: var(--toggle); }
.role-switch button { padding: 9px; border: none; border-radius: 9px; background: transparent; font-size: 16px; font-weight: 500; color: var(--muted); }
.role-switch button[aria-pressed='true'] { background: var(--surface); box-shadow: 0 1px 3px rgba(21,32,29,.1); color: var(--ink); }
.role-switch button:hover:not(:disabled) { color: var(--ink); }
.form-fields { display: flex; flex-direction: column; gap: 14px; }
.form-fields label { display: flex; flex-direction: column; gap: 6px; font-size: 15.5px; font-weight: 500; color: var(--ink); }
.form-fields input, .form-fields select { width: 100%; height: 46px; min-width: 0; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--field); outline: none; font-size: 17px; font-weight: 400; color: var(--ink); }
.form-fields input:focus, .form-fields select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(79,155,128,.15); background: var(--surface); }
.form-fields input:disabled, .form-fields select:disabled { opacity: .8; }
#captcha-container { align-self: center; width: 100%; min-width: 0; max-width: 100%; }
.verification-error { font-size: 14px; line-height: 1.5; color: var(--body); }
.verification-error button { border: 0; padding: 0; background: transparent; color: var(--accent); text-decoration: underline; }
.form-error { margin: 0; font-size: 13px; font-weight: 600; color: var(--error); }
.submit-button { height: 50px; border: none; border-radius: 999px; background: var(--ink); color: var(--on-ink); font-size: 17px; font-weight: 500; }
.submit-button:hover:not(:disabled) { background: var(--hover); color: var(--on-hover); }
.submit-button:disabled { opacity: .65; }
.qrrx-link { align-self: center; display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 500; color: var(--ink); text-decoration: none; }
.qrrx-link:hover { color: var(--accent); }
.form-terms { margin: 0; text-align: center; font-size: 12px; line-height: 1.5; color: var(--muted); }
.form-terms a { color: var(--body); }
.success-view { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 24px 0; animation: cura-in 420ms cubic-bezier(.16,1,.3,1) both; }
.success-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--mint-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.success-view p { margin: 0; max-width: 320px; font-size: 14.5px; line-height: 1.55; color: var(--body); }
.success-view a { display: inline-flex; align-items: center; height: 46px; padding: 0 22px; margin-top: 4px; border-radius: 999px; background: var(--ink); color: var(--on-ink); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.success-view a:hover { background: var(--hover); color: var(--on-hover); }
.site-footer { flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 24px 18px; text-align: center; font-size: 14px; line-height: 1.5; color: var(--muted); }
.site-footer p { margin: 0; color: var(--orange); font-weight: 500; font-size: 17px; }
.site-footer div { display: flex; justify-content: center; gap: 4px; }
.site-footer a { color: var(--body); }
.theme-toggle { position: fixed; left: 20px; bottom: 20px; z-index: 40; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line2); background: var(--surface); color: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px -12px var(--glow); }
.theme-toggle:hover { border-color: var(--brand); }
.skip-link { position: fixed; top: -100px; left: 16px; padding: 12px; z-index: 100; background: var(--surface); }
.skip-link:focus { top: 12px; }
@keyframes cura-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes cura-spin { to { transform: rotate(360deg); } }
@keyframes cura-breathe { 0%, 100% { transform: scale(.9); } 50% { transform: scale(1.04); } }
@keyframes cura-scan { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
@keyframes cura-silk { from { background-position: 120% 0; } to { background-position: -20% 0; } }
@keyframes selesa-shine { from { background-position: 100% 0; } to { background-position: 0% 0; } }
@media (max-width: 480px) {
  .site-header { padding-inline: 16px; gap: 8px; }
  .brand { gap: 6px; }
  .brand-parent { gap: 4px; padding-left: 7px; margin-left: 0; }
  .header-cta { padding-inline: 12px; font-size: 13px; }
  .home-view { padding: 64px 20px 92px; min-height: calc(100svh - 141px); }
  .request-card { padding: 24px; }
  .form-view { padding-inline: 20px; }
  .site-footer { padding-bottom: 76px; }
}
@media (max-width: 350px) {
  .brand-parent { flex-direction: column; gap: 0; font-size: 12px; }
  .brand-parent span { font-size: 12px; }
  .brand-word { font-size: 25px; }
  .brand-mark { width: 21px; height: 21px; }
  .request-card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Searchable content follows the original hero, using the same type and silk palette. */
.clinic-information, .clinic-faq { width: min(1080px, calc(100% - 48px)); margin: 0 auto; padding: 72px 0; border-top: 1px solid var(--line2); }
.section-eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 17px; font-style: italic; }
.information-intro { max-width: 690px; }
.clinic-information h2, .clinic-faq h2 { margin: 0 0 22px; font-size: clamp(32px, 4vw, 48px); font-weight: 400; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
.information-intro > p:not(.section-eyebrow), .information-grid p, .clinic-faq details p { font-size: 19px; line-height: 1.55; color: var(--body); }
.inline-link { display: inline-block; font-size: 17px; text-underline-offset: 5px; text-decoration-style: dotted; }
.information-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin: 52px 0 36px; }
.information-number { color: var(--orange); font-size: 15px; }
.information-grid h3 { margin: 14px 0 10px; font-size: 25px; line-height: 1.2; font-weight: 400; }
.information-grid p { margin: 0; }
.information-setup { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 30px; border-top: 1px solid var(--line); }
.information-setup p { color: var(--body); font-size: 19px; line-height: 1.5; }
.information-setup strong { color: var(--ink); font-weight: 500; }
.clinic-faq { max-width: 800px; }
.clinic-faq details { padding: 21px 0; border-bottom: 1px solid var(--line); }
.clinic-faq summary { cursor: pointer; font-size: 22px; line-height: 1.3; }
.clinic-faq details p { margin-bottom: 0; }
.site-footer div { flex-wrap: wrap; gap: 4px 8px; }
.site-footer button { color: var(--body); border: 0; padding: 0; background: transparent; text-decoration: underline; }
.analytics-preferences { position: fixed; z-index: 60; bottom: 20px; right: 20px; width: min(420px, calc(100% - 40px)); padding: 24px; background: var(--surface); border: 1px solid var(--line2); border-radius: 20px; box-shadow: 0 10px 45px -20px var(--glow); }
.analytics-preferences h2 { font-size: 24px; line-height: 1.15; font-weight: 400; margin: 0 0 12px; }
.analytics-preferences p { font-size: 16px; line-height: 1.5; color: var(--body); margin: 0 0 18px; }
.analytics-preferences div { display: flex; gap: 10px; }
.analytics-preferences button { min-height: 44px; padding: 10px 14px; border: 1px solid var(--line2); background: transparent; border-radius: 9px; color: var(--ink); font-size: 15px; }
.analytics-preferences #analytics-allow { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
@media (max-width: 700px) {
  .clinic-information, .clinic-faq { width: calc(100% - 40px); padding: 48px 0; }
  .information-grid { grid-template-columns: 1fr; gap: 30px; margin-top: 36px; }
  .information-setup { align-items: flex-start; flex-direction: column; gap: 12px; }
  .analytics-preferences { bottom: 72px; }
}
