:root {
  /* Sampled directly from the Suhika logo files (assets/logo-icon.png,
     assets/logo-wordmark.png) rather than eyeballed. */
  --navy: #0b1b33;
  --brand-blue: #0062f9;
  --brand-green: #2fbe73;
  --teal: #0284c7;
  --teal-dark: #026aa3;
  --teal-light: #e6f4fb;
  --brand-gradient: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
  --bg: #ffffff;
  --bg-soft: #f4f8f8;
  --text: #16232e;
  --text-muted: #55707a;
  --border: #e1eaea;
  --radius: 10px;
  --max-width: 1120px;
  --shadow: 0 4px 20px rgba(11, 37, 69, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--teal-dark);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Beta banner ---------- */

.beta-banner {
  background: var(--brand-gradient);
  color: #ffffff;
  text-align: center;
  padding: 10px 24px;
}

.beta-banner p {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 500;
  max-width: var(--max-width);
  margin: 0 auto;
}

.beta-banner strong {
  font-weight: 700;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand .brand-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand .brand-wordmark {
  height: 22px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--teal-dark);
}

.nav-cta {
  display: inline-flex;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--brand-gradient);
  color: #ffffff;
}

.btn-primary:hover {
  filter: brightness(0.92);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

/* Patient WhatsApp CTA — deliberately not the gradient primary, so it reads as
   a secondary path next to the clinic "Get in touch" call to action. */
.btn-whatsapp {
  background: #ffffff;
  color: var(--teal-dark);
  border-color: var(--teal);
}

.btn-whatsapp:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: #ffffff;
}

/* The closing note + register button in the "Getting started" block — laid
   out as a row so it fills the same width as the .steps grid above it,
   instead of shrinking back to the note's own narrow text column. */
.clinic-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.clinic-cta-row .section-note {
  margin: 0;
  flex: 1 1 420px;
}

.clinic-cta-row .btn-whatsapp {
  flex-shrink: 0;
}

/* ---------- Hero ---------- */

.hero {
  padding: 96px 0 88px;
  background:
    radial-gradient(circle at 85% 0%, var(--teal-light) 0%, transparent 55%),
    var(--bg);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--teal-light);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.badge-soon {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  /* Distinct amber "planned, not live yet" tag — same convention as GitHub/
     Linear/Notion-style roadmap badges. The previous version used var(--bg)
     for its background, which is the same white as the card it sits on, so it
     had almost no contrast and read as part of the sentence rather than a tag. */
  color: #92620a;
  background: #fef3e2;
  border: 1px solid #f5d9a8;
  padding: 3px 9px;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 6px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 20px;
  color: var(--navy);
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0 0 32px;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Secondary, upfront doctor self-registration path — deliberately plain text
   next to the two buttons above, not a third button, so it reads as an
   alternative fast path rather than competing with "Get in touch". */
.hero-alt-cta {
  margin: 16px 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-alt-cta a {
  color: var(--teal-dark);
  font-weight: 600;
}

.hero-visual {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-visual .msg {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--border);
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.hero-visual .msg:last-child {
  margin-bottom: 0;
}

.msg .tag {
  flex-shrink: 0;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 3px 8px;
  border-radius: 999px;
  color: #ffffff;
}

.tag.routine {
  background: #6b8f9c;
}

.tag.review {
  background: var(--teal);
}

.tag.urgent {
  background: #d9534f;
}

.msg .body strong {
  display: block;
  color: var(--navy);
  margin-bottom: 2px;
}

.msg .body span {
  color: var(--text-muted);
}

/* ---------- Patient entry point ---------- */

.patient-bar {
  padding: 24px 0;
  background: var(--teal-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.patient-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
}

.patient-bar-copy strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.patient-bar-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.patient-start {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 32px;
  max-width: 900px;
  margin-bottom: 24px;
}

.patient-start-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.patient-start-number {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
}

.patient-start-send {
  padding-left: 32px;
  border-left: 1px solid var(--border);
}

.patient-start-send h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1rem;
}

.patient-send-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.patient-send-list li {
  margin-bottom: 6px;
}

.patient-send-list li:last-child {
  margin-bottom: 0;
}

.patient-start-hint {
  margin: 14px 0 0;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- Section shared ---------- */

section {
  padding: 84px 0;
}

.section-heading {
  max-width: 640px;
  margin: 0 0 48px;
}

.section-heading .eyebrow {
  margin-bottom: 14px;
}

.section-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: var(--navy);
  margin: 0 0 14px;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
}

.bg-soft {
  background: var(--bg-soft);
}

.subsection-title {
  margin: 56px 0 20px;
  color: var(--navy);
  font-size: 1.3rem;
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 8px;
}

.about-stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.about-stat .stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 6px;
}

.about-stat .stat-label {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ---------- Features ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--teal-light);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: var(--navy);
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.section-note {
  margin: 32px 0 0;
  padding: 16px 20px;
  border-left: 3px solid var(--border);
  color: var(--text-muted);
  font-size: 0.92rem;
  font-style: italic;
  max-width: 640px;
}

/* Sits above the feature grid rather than after it, so the scope caveat is
   read next to the patient WhatsApp CTA. */
.section-note.patient-scope {
  margin: 0 0 40px;
  font-style: normal;
  max-width: 900px;
}

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 12px;
}

.step {
  position: relative;
  padding-left: 4px;
}

.step .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.step h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- Trust strip ---------- */

.trust-strip {
  background: var(--navy);
  color: #ffffff;
  padding: 40px 0;
}

.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  align-items: center;
  justify-content: space-between;
}

.trust-strip h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  max-width: 320px;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust-items li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: #cfe3e2;
}

.trust-items svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--teal);
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 760px;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 22px;
  margin-bottom: 12px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  color: var(--teal-dark);
  transition: transform 0.15s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* ---------- Contact ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.contact-info h2 {
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin: 0 0 14px;
}

.contact-info > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 0 28px;
  max-width: 42ch;
}

.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-detail .icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--teal-light);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail .icon svg {
  width: 18px;
  height: 18px;
}

.contact-detail strong {
  display: block;
  color: var(--navy);
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.contact-detail a,
.contact-detail span {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.contact-detail a:hover {
  color: var(--teal-dark);
}

.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-soft);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  background: #ffffff;
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: #cfe3e2;
  padding: 56px 0 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  margin-bottom: 10px;
}

/* The wordmark PNG is dark navy text — unreadable on this dark footer, so the
   footer uses the icon (which carries its own blue/green gradient, still
   visible on dark) plus plain white text instead of the wordmark image. */
.footer-brand .brand-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.footer-tagline {
  color: #9db8ba;
  font-size: 0.92rem;
  max-width: 320px;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #cfe3e2;
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: #7f9da0;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .patient-start {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .patient-start-send {
    padding-left: 0;
    padding-top: 20px;
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 24px 24px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 10px 0;
    width: 100%;
  }

  .nav-cta {
    margin-top: 8px;
    width: 100%;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .nav-toggle {
    display: block;
  }

  .trust-strip .container {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .hero {
    padding: 64px 0 56px;
  }

  section {
    padding: 64px 0;
  }

  .patient-bar .btn-whatsapp,
  .patient-start .btn-whatsapp {
    width: 100%;
  }

  .patient-start {
    padding: 20px;
  }
}

/* ---------- Legal pages (privacy policy, data deletion) ---------- */

.legal-page {
  padding: 64px 0 96px;
}

.legal-page .container {
  max-width: 760px;
}

.legal-page .legal-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: -8px 0 36px;
}

.legal-page h1 {
  color: var(--navy);
  font-size: clamp(1.9rem, 3.5vw, 2.4rem);
  margin: 0 0 8px;
}

.legal-page h2 {
  color: var(--navy);
  font-size: 1.3rem;
  margin: 40px 0 14px;
}

.legal-page h3 {
  color: var(--navy);
  font-size: 1.05rem;
  margin: 24px 0 10px;
}

.legal-page p,
.legal-page li {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
}

.legal-page ul,
.legal-page ol {
  padding-left: 22px;
  margin: 0 0 16px;
}

.legal-page li {
  margin-bottom: 8px;
}

.legal-page a {
  color: var(--teal-dark);
}

.legal-callout {
  background: var(--teal-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 28px 0;
}

.legal-callout p {
  margin: 0;
  font-size: 0.95rem;
}

.legal-callout p + p {
  margin-top: 10px;
}
