/* ViennaScan — smoke-test landing page styles (v1)
   Self-contained, no dependencies. Calm medical palette, system fonts. */

:root {
  --teal-900: #0c3b3f;
  --teal-700: #0e6b73;
  --teal-600: #138a93;
  --teal-500: #19a3ad;
  --teal-50:  #eefafb;
  --ink:      #142026;
  --slate:    #4a5b66;
  --line:     #e2e8ec;
  --bg:       #ffffff;
  --bg-alt:   #f5f9fa;
  --amber-bg: #fff7e8;
  --amber-bd: #f0d8a3;
  --radius:   14px;
  --shadow:   0 8px 30px rgba(12, 59, 63, 0.08);
  --maxw:     1080px;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }

a { color: var(--teal-700); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 0.4em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  border-radius: 999px;
  padding: 11px 22px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .06s ease, box-shadow .2s ease, background .2s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal-600); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--teal-700); color: #fff; }
.btn-ghost { background: transparent; color: var(--teal-700); border-color: var(--line); }
.btn-ghost:hover { background: var(--teal-50); }
.btn-small { padding: 8px 16px; background: var(--teal-600); color: #fff; }
.btn-small:hover { background: var(--teal-700); color: #fff; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-size: 1.25rem; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo-mark { color: var(--teal-600); font-size: 1.4rem; }
.logo-word { font-weight: 500; letter-spacing: -0.02em; }
.logo-word strong { color: var(--teal-700); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--slate); font-weight: 500; font-size: 0.97rem; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav a.btn-small { color: #fff; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; background:
  radial-gradient(1100px 380px at 78% -8%, var(--teal-50), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--teal-600); margin: 0 0 14px; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); font-weight: 800; }
.hero h1 .hl { color: var(--teal-600); }
.lede { font-size: 1.18rem; color: var(--slate); max-width: 36ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 16px; }
.hero-micro { font-size: .92rem; color: var(--slate); max-width: 46ch; }

.hero-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px 24px;
}
.card-title { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--slate); margin-bottom: 16px; }
.stat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.stat-list li { display: flex; flex-direction: column; }
.stat-num { font-size: 1.4rem; font-weight: 800; color: var(--teal-700); letter-spacing: -0.01em; }
.stat-lbl { font-size: .92rem; color: var(--slate); }
.card-foot { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--slate); }

/* ---------- Sections ---------- */
.section { padding: 68px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: clamp(1.6rem, 3.2vw, 2.1rem); font-weight: 800; text-align: center; }
.section-sub { text-align: center; color: var(--slate); font-size: 1.08rem; max-width: 58ch; margin: 0 auto 40px; }

.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }

.feature { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.section-alt .feature { background: #fff; }
.feature-ico { font-size: 1.7rem; margin-bottom: 10px; }
.feature h3 { font-size: 1.15rem; }
.feature p { color: var(--slate); margin: 0; }

/* ---------- Steps ---------- */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--teal-600); color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 14px;
}
.step h3 { font-size: 1.12rem; }
.step p { color: var(--slate); margin: 0; }
.note { text-align: center; color: var(--slate); margin-top: 28px; font-size: .98rem; }

/* ---------- Lists / boxes ---------- */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; color: var(--ink); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--teal-600); font-weight: 800;
}
.aside-box { background: var(--teal-50); border: 1px solid #cfeef0; border-radius: var(--radius); padding: 24px; }
.aside-box h3 { font-size: 1.1rem; }
.aside-box p { color: var(--slate); margin: 0; }

/* ---------- Pricing ---------- */
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.price-card h3 { font-size: 1.2rem; }
.price-line { color: var(--slate); margin: 0 0 12px; }
.price-list { margin: 0 0 12px; padding-left: 18px; color: var(--ink); }
.price-list li { margin-bottom: 6px; }
.fineprint { font-size: .85rem; color: var(--slate); margin: 0; }
.callout {
  margin-top: 30px; background: var(--amber-bg); border: 1px solid var(--amber-bd);
  border-radius: var(--radius); padding: 20px 24px; color: #5a4a23; font-size: .98rem;
}

/* ---------- Request form ---------- */
.section-request { background: linear-gradient(180deg, #fff, var(--teal-50)); }
.request-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.form-row { margin-bottom: 18px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.req { color: #c0392b; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(25,163,173,.16);
}
textarea { resize: vertical; }
.consent .checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .92rem; color: var(--slate); }
.consent .checkbox input { width: auto; margin-top: 4px; }
.form-foot { text-align: center; font-size: .85rem; color: var(--slate); margin: 14px 0 0; }
.hp { position: absolute; left: -9999px; }

/* ---------- FAQ ---------- */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--teal-600); font-weight: 800; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--slate); }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-900); color: #cfe3e4; padding: 48px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: 40px; }
.footer-logo { color: #fff; font-size: 1.3rem; }
.footer-logo strong { color: #6fd0d8; }
.footer-tag { color: #9fc2c4; margin-top: 10px; font-size: .95rem; }
.footer-legal p { font-size: .88rem; color: #9fc2c4; margin: 0 0 12px; }
.footer-legal strong { color: #e6f3f3; }
.copyright { font-size: .82rem !important; color: #7ba6a8 !important; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .cols-3, .steps { grid-template-columns: 1fr; }
  .cols-2 { grid-template-columns: 1fr; }
  .nav { gap: 14px; }
  .nav a:not(.btn-small) { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .form-grid-2 { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 40px; }
  .section { padding: 52px 0; }
}

/* ---------- Legal pages ---------- */
.legal-head { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 44px 0 34px; }
.legal-back { display: inline-block; margin-bottom: 10px; font-size: .9rem; color: var(--teal-700); }
.legal-head h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; margin: 0; }
.legal-meta { color: var(--slate); font-size: .9rem; margin: 8px 0 0; }
.legal-content { padding: 40px 0 64px; }
.legal-content h2 { font-size: 1.22rem; font-weight: 800; margin: 2em 0 .5em; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 { font-size: 1.04rem; font-weight: 700; margin: 1.5em 0 .4em; }
.legal-content p, .legal-content li { color: var(--slate); }
.legal-content ul, .legal-content ol { padding-left: 22px; margin: 0 0 1em; }
.legal-content li { margin-bottom: 8px; }
.legal-content > .container > p:first-child { margin-top: 0; }

/* Table of contents */
.legal-toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 24px; margin-bottom: 34px; box-shadow: var(--shadow); }
.legal-toc h2 { font-size: .78rem !important; text-transform: uppercase; letter-spacing: .1em; color: var(--slate); margin: 0 0 10px !important; }
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; }
.legal-toc li { margin-bottom: 6px; }

/* Highlighted [placeholder] tokens that must be filled before launch */
.ph { background: var(--amber-bg); border-bottom: 1px dashed var(--amber-bd); padding: 1px 4px; border-radius: 3px; color: #7a5a14; font-style: normal; white-space: nowrap; }

/* Inline notice / emergency box */
.legal-note { background: var(--amber-bg); border: 1px solid var(--amber-bd); border-radius: var(--radius); padding: 16px 20px; color: #5a4a23; font-size: .96rem; margin: 0 0 28px; }
.legal-note.danger { background: #fdecea; border-color: #f3b8af; color: #7d2018; }
.legal-note strong { color: inherit; }

/* Footer legal nav (shared across pages) */
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 0 0 18px; padding: 0 0 18px; list-style: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-nav a { color: #cfe3e4; font-size: .9rem; }
.footer-nav a:hover { color: #fff; }

@media (max-width: 520px) {
  .legal-toc ol { columns: 1; }
}
