/* ==========================================================================
   Zuzu — Landing Page Design System
   --------------------------------------------------------------------------
   Baby blue + white brand. Inter font. No build step, no framework.

   Conventions:
   * LOGICAL properties only (padding-inline, margin-block, inset-inline).
     Arabic is a launch language and RTL flips with `dir="rtl"` and no CSS changes.
   * Colour tokens as CSS custom properties — rebrand is one edit.
   * Mobile-first responsive.
   ========================================================================== */

/* ----------------------------------------------------------------- tokens */

:root {
  /* Brand — cloud / baby blue */
  --brand: #4AADE4;
  --brand-deep: #2E8BC0;
  --brand-deeper: #1B6FA0;
  --brand-soft: #E8F4FC;
  --brand-line: #B8D8F0;

  /* Surfaces */
  --paper: #FAFCFF;
  --paper-raised: #FFFFFF;
  --paper-sunk: #EFF5FA;

  /* Text */
  --ink: #1A2B3D;
  --ink-soft: #4A6178;
  --ink-faint: #7E93A7;

  /* Lines */
  --line: #DCE6EE;
  --line-strong: #C0D0DE;

  /* Accent */
  --accent: #F5A623;

  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --maxw: 1180px;
  --gutter: 80px;

  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, 'Noto Sans', sans-serif;

  --transition: 0.2s ease;
}

/* ------------------------------------------------------------------ reset */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--brand-deep);
  text-underline-offset: 3px;
}

/* ----------------------------------------------------------------- layout */

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

@media (min-width: 900px) {
  .wrap { padding-inline: var(--gutter); }
}

.section { padding-block: 64px; }
@media (min-width: 768px) { .section { padding-block: 112px; } }

.section--sunk {
  background: var(--paper-sunk);
  border-block: 1px solid var(--line);
}

.section__cta {
  margin-block-start: 48px;
  text-align: center;
}

/* --------------------------------------------------------------- eyebrow */

.eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin-block-end: 14px;
}

/* -------------------------------------------------------------- headings */

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5.2vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.7rem); margin-block-end: 16px; }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.35; }

p { margin-block: 0 20px; max-width: 64ch; }

.lede {
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  color: var(--ink-soft);
  line-height: 1.6;
}

/* -----------------------------------------------------------------== nav */

.nav {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  background: rgba(250, 252, 255, 0.88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-block-end: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-decoration: none;
}

.brand__mark {
  width: 38px;
  height: 34px;
  flex: none;
}

/* ---- mobile toggle ---- */
.nav__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  border-radius: var(--radius);
}
.nav__toggle svg { width: 22px; height: 22px; }

@media (min-width: 900px) {
  .nav__toggle { display: none; }
}

/* ---- links ---- */
.nav__links {
  display: none;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .nav__links { display: flex; }
}

/* mobile menu open state */
.nav__links.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  inset-block-start: 100%;
  inset-inline: 0;
  background: var(--paper-raised);
  border-block-end: 1px solid var(--line);
  padding: 24px;
  gap: 16px;
  box-shadow: 0 12px 32px rgba(26, 43, 61, 0.1);
  animation: slideDown 0.25s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}

.nav__links a:not(.btn) {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav__links a:not(.btn):hover { color: var(--ink); }

.lang {
  font-size: 0.82rem;
  color: var(--ink-faint);
  text-decoration: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
  transition: border-color var(--transition);
}
.lang:hover { border-color: var(--brand); color: var(--brand-deep); }

/* ---- Modern International Language Picker ---- */
.lang-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-picker__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--paper-raised);
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 12px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1;
}

.lang-picker__btn:hover,
.lang-picker.is-open .lang-picker__btn {
  border-color: var(--brand);
  color: var(--ink);
  background: #fff;
  box-shadow: 0 2px 8px rgba(74, 173, 228, 0.15);
}

.lang-picker__globe {
  width: 14px;
  height: 14px;
  color: var(--brand);
}

.lang-picker__arrow {
  width: 10px;
  height: 10px;
  transition: transform 0.2s ease;
  color: var(--ink-faint);
}

.lang-picker.is-open .lang-picker__arrow {
  transform: rotate(180deg);
}

.lang-picker__dropdown {
  display: none;
  position: absolute;
  inset-block-start: calc(100% + 8px);
  inset-inline-end: 0;
  min-width: 155px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(26, 43, 61, 0.12);
  padding: 6px;
  z-index: 100;
  animation: pickerPop 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pickerPop {
  from { opacity: 0; transform: translateY(-4px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.lang-picker.is-open .lang-picker__dropdown {
  display: flex;
  flex-direction: column;
}

.lang-picker__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}

.lang-picker__option:hover {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.lang-picker__option.is-active {
  color: var(--brand-deep);
  font-weight: 700;
  background: rgba(74, 173, 228, 0.08);
}

.lang-check {
  font-size: 0.85rem;
  color: var(--brand);
  font-weight: 700;
}

.footer .lang-picker__dropdown {
  inset-block-start: auto;
  inset-block-end: calc(100% + 8px);
}

/* -------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding-inline: 32px;
  padding-block: 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--transition), transform 0.1s ease, box-shadow var(--transition);
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 2px 8px rgba(74, 173, 228, 0.25);
}
.btn--primary:hover {
  background: var(--brand-deep);
  box-shadow: 0 4px 16px rgba(74, 173, 228, 0.35);
  transform: translateY(-1px);
}
.btn--primary:active { transform: translateY(0); }

.btn--white {
  background: #fff;
  color: var(--brand-deeper);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.btn--white:hover {
  background: var(--brand-soft);
  transform: translateY(-1px);
}

.btn--nav {
  min-height: 44px;
  padding-inline: 22px;
  font-size: 0.92rem;
  border-radius: 999px;
}

.btn--lg {
  min-height: 60px;
  padding-inline: 40px;
  font-size: 1.08rem;
  border-radius: var(--radius);
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  padding-block: 72px 80px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 10%, rgba(74, 173, 228, 0.15) 0%, rgba(235, 245, 252, 0.6) 40%, var(--paper) 75%);
}

@media (min-width: 768px) {
  .hero { padding-block: 88px 112px; }
}

/* animated gradient orbs */
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}

.hero__orb--1 {
  width: 550px;
  height: 550px;
  background: rgba(74, 173, 228, 0.22);
  top: -180px;
  right: 5%;
  animation: orbFloat 22s ease-in-out infinite;
}

.hero__orb--2 {
  width: 400px;
  height: 400px;
  background: rgba(46, 139, 192, 0.12);
  bottom: 0px;
  left: -80px;
  animation: orbFloat 18s ease-in-out infinite reverse;
}

.hero__orb--3 {
  width: 300px;
  height: 300px;
  background: rgba(74, 173, 228, 0.14);
  top: 30%;
  left: 30%;
  animation: orbFloat 25s ease-in-out infinite 5s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(30px, -40px) scale(1.08); }
  66%      { transform: translate(-20px, 30px) scale(0.94); }
}

.hero__header {
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
  position: relative;
  z-index: 2;
}


.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-block-end: 20px;
  color: #0F1D2F;
}

.hero__sub {
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  color: #334E68;
  max-width: 68ch;
  margin-inline: auto;
  margin-block-end: 32px;
  line-height: 1.6;
}

/* Fast quick-waitlist input bar in hero */
.hero__cta-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 520px;
  margin-inline: auto;
  margin-block-end: 20px;
}

@media (min-width: 560px) {
  .hero__cta-bar {
    flex-direction: row;
    background: #FFFFFF;
    border: 1px solid rgba(74, 173, 228, 0.35);
    border-radius: 999px;
    padding: 6px 6px 6px 20px;
    box-shadow: 0 10px 25px -5px rgba(26, 43, 61, 0.08), 0 0 0 1px rgba(74, 173, 228, 0.1);
  }

  .hero__cta-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: var(--ink);
    outline: none;
    font-family: inherit;
  }

  .hero__cta-bar .btn {
    border-radius: 999px;
    min-height: 48px;
    padding-inline: 26px;
    white-space: nowrap;
  }
}

.hero__guarantees {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 24px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #627D98;
  margin-block-end: 48px;
}

.hero__guarantees span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero__guarantees svg {
  color: #10B981;
}

/* --------------------------------------------------- showcase window */

.showcase-window {
  max-width: 1100px;
  margin-inline: auto;
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid rgba(74, 173, 228, 0.28);
  box-shadow:
    0 1px 3px rgba(26, 43, 61, 0.04),
    0 20px 48px -12px rgba(26, 43, 61, 0.12),
    0 40px 80px -24px rgba(74, 173, 228, 0.18);
  overflow: hidden;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.showcase-chrome {
  background: #F8FAFC;
  border-block-end: 1px solid rgba(220, 230, 238, 0.8);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.showcase-dots {
  display: flex;
  gap: 6px;
}

.showcase-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.showcase-dot--red { background: #FF5F56; }
.showcase-dot--yellow { background: #FFBD2E; }
.showcase-dot--green { background: #27C93F; }

.showcase-url {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 4px 16px;
  font-size: 0.78rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #64748B;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.showcase-url svg {
  color: #10B981;
}

.showcase-badge {
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
}

/* Showcase navigation tabs */
.showcase-tabs {
  display: flex;
  overflow-x: auto;
  background: #F1F5F9;
  padding: 8px 12px 0;
  gap: 6px;
  border-block-end: 1px solid #E2E8F0;
  scrollbar-width: none;
}
.showcase-tabs::-webkit-scrollbar { display: none; }

.showcase-tab {
  background: transparent;
  border: 1px solid transparent;
  border-block-end: none;
  border-radius: 8px 8px 0 0;
  padding: 10px 18px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748B;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.showcase-tab:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
}

.showcase-tab.is-active {
  background: #FFFFFF;
  color: var(--brand-deeper);
  border-color: #E2E8F0;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.02);
}

.showcase-body {
  padding: 24px;
  background: #FFFFFF;
  min-height: 480px;
}

@media (min-width: 768px) {
  .showcase-body { padding: 36px; }
}

.showcase-panel {
  display: none;
  animation: fadeInPanel 0.25s ease forwards;
}

.showcase-panel.is-active {
  display: block;
}

@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ------------------------------------------- Panel 1: Face Injection Charting */

.charting-view {
  display: grid;
  gap: 28px;
}

@media (min-width: 900px) {
  .charting-view {
    grid-template-columns: 1.1fr 1fr;
    gap: 36px;
    align-items: center;
  }
}

.face-chart-container {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 24px;
  position: relative;
  text-align: center;
}

.face-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  margin-block-end: 16px;
  padding-block-end: 10px;
  border-block-end: 1px solid #E2E8F0;
}

.face-svg-wrapper {
  position: relative;
  max-width: 320px;
  margin-inline: auto;
}

.face-map-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(74, 173, 228, 0.1));
}

.inject-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  background: #FFFFFF;
  border: 2px solid var(--brand-deep);
  color: var(--brand-deeper);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(46, 139, 192, 0.25);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.inject-marker:hover {
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--brand-soft);
}

.inject-marker--forehead { top: 24%; left: 50%; }
.inject-marker--glabella { top: 35%; left: 50%; }
.inject-marker--crows-l { top: 38%; left: 24%; }
.inject-marker--crows-r { top: 38%; left: 76%; }

.chart-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.chart-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.chart-patient-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-block-end: 14px;
}

.patient-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1E293B;
}

.pin-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #10B981;
  background: rgba(16, 185, 129, 0.1);
  padding: 3px 8px;
  border-radius: 6px;
}

.dosage-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: #F8FAFC;
  border-radius: 10px;
  padding: 12px;
  margin-block: 14px;
  text-align: center;
}

.dosage-item-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-deeper);
}

.dosage-item-lbl {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #64748B;
}

.chart-lot-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #475569;
  padding-block-start: 10px;
  border-block-start: 1px dashed #E2E8F0;
}

/* --------------------------------------- Panel 2: Multi-Room Schedule */

.calendar-grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 768px) {
  .calendar-grid { grid-template-columns: repeat(3, 1fr); }
}

.calendar-col {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px;
}

.calendar-col-header {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1E293B;
  display: flex;
  justify-content: space-between;
  margin-block-end: 14px;
}

.appt-pill {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-inline-start: 4px solid var(--brand);
  border-radius: 8px;
  padding: 12px;
  margin-block-end: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.appt-pill--green { border-inline-start-color: #10B981; }
.appt-pill--purple { border-inline-start-color: #8B5CF6; }

.appt-time {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748B;
  margin-block-end: 2px;
}

.appt-client {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0F172A;
}

.appt-service {
  font-size: 0.78rem;
  color: #475569;
}

/* --------------------------------------- Panel 3: Autonomous AI Receptionist */

.ai-reception-layout {
  display: grid;
  gap: 24px;
}

@media (min-width: 800px) {
  .ai-reception-layout { grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: start; }
}

.ai-call-card {
  background: #0F172A;
  color: #FFFFFF;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.3);
}

.ai-call-status {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #38BDF8;
  margin-block-end: 12px;
}

.ai-waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 48px;
  margin-block: 20px;
}

.waveform-bar {
  width: 4px;
  background: #38BDF8;
  border-radius: 999px;
  animation: waveAnim 1.2s ease-in-out infinite;
}

.waveform-bar:nth-child(1) { height: 16px; animation-delay: 0.1s; }
.waveform-bar:nth-child(2) { height: 32px; animation-delay: 0.2s; }
.waveform-bar:nth-child(3) { height: 44px; animation-delay: 0.3s; }
.waveform-bar:nth-child(4) { height: 28px; animation-delay: 0.4s; }
.waveform-bar:nth-child(5) { height: 40px; animation-delay: 0.5s; }
.waveform-bar:nth-child(6) { height: 20px; animation-delay: 0.6s; }

@keyframes waveAnim {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

.ai-transcript {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.transcript-msg {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.45;
  max-width: 90%;
}

.transcript-msg--caller {
  background: #F1F5F9;
  color: #1E293B;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.transcript-msg--ai {
  background: var(--brand-soft);
  color: var(--brand-deeper);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  border: 1px solid var(--brand-line);
}

/* --------------------------------------- Panel 4: POS & Commission Split */

.pos-view {
  display: grid;
  gap: 24px;
}

@media (min-width: 800px) {
  .pos-view { grid-template-columns: 1fr 1fr; gap: 32px; }
}

.pos-receipt {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pos-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding-block: 8px;
  border-block-end: 1px solid #F1F5F9;
}

.pos-total {
  font-weight: 800;
  font-size: 1.15rem;
  color: #0F172A;
  border-block-start: 2px solid #E2E8F0;
  border-block-end: none;
  padding-block-start: 14px;
  margin-block-start: 8px;
}

.split-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 20px;
}

/* --------------------------------------------------------------- bento grid */

.bento-grid {
  display: grid;
  gap: 24px;
  margin-block-start: 48px;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bento-card--2col {
    grid-column: span 2;
  }
}

.bento-card {
  background: #FFFFFF;
  border: 1px solid rgba(74, 173, 228, 0.22);
  border-radius: 18px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: 0 12px 30px -10px rgba(74, 173, 228, 0.18);
}

.bento-card__badge {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-deep);
  margin-block-end: 10px;
}

.bento-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-block-end: 12px;
  color: #0F172A;
}

.bento-card p {
  color: #475569;
  font-size: 0.96rem;
  line-height: 1.6;
  margin-block-end: 20px;
}

.bento-preview-widget {
  margin-block-start: auto;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px;
}

/* ---------------------------------------------------- comparison table */

.compare-wrap {
  margin-block-start: 48px;
  overflow-x: auto;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  text-align: left;
}

.compare-table th,
.compare-table td {
  padding: 18px 24px;
  border-block-end: 1px solid #E2E8F0;
}

.compare-table th {
  background: #F8FAFC;
  font-weight: 700;
  color: #1E293B;
}

.compare-table th.col-zuzu {
  background: var(--brand-soft);
  color: var(--brand-deeper);
  border-inline: 2px solid var(--brand);
  position: relative;
}

.compare-table td.col-zuzu {
  background: rgba(232, 244, 252, 0.3);
  font-weight: 600;
  color: var(--brand-deeper);
  border-inline: 2px solid var(--brand);
}

.check-yes {
  color: #10B981;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.check-no {
  color: #94A3B8;
  font-weight: 500;
}


/* --------------------------------------------------------------- waitlist */

.waitlist {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(74, 173, 228, 0.28);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  box-shadow:
    0 1px 3px rgba(26, 43, 61, 0.04),
    0 12px 32px -8px rgba(74, 173, 228, 0.15),
    0 32px 64px -16px rgba(26, 43, 61, 0.08);
}

@media (min-width: 600px) {
  .waitlist { padding: 48px 44px; }
}

/* ---- Form mode segmented tabs (Founding 10 vs General Waitlist) ---- */
.form-mode-tabs {
  display: flex;
  background: #F1F5F9;
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
  margin-block-end: 24px;
  border: 1px solid var(--line);
}

.form-mode-tab {
  flex: 1;
  padding: 10px 14px;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  line-height: 1.3;
}

.form-mode-tab:hover {
  color: var(--ink);
}

.form-mode-tab.is-active {
  background: #FFFFFF;
  color: var(--brand-deep);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.waitlist h2 {
  font-size: 1.45rem;
  margin-block-end: 8px;
  letter-spacing: -0.02em;
}

.waitlist__intro {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-block-end: 28px;
  max-width: none;
}

.field { margin-block-end: 24px; }
.field:last-of-type { margin-block-end: 0; }

.field label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-block-end: 8px;
  color: var(--ink);
}

.field .hint {
  display: block;
  font-size: 0.84rem;
  font-weight: 400;
  color: var(--ink-faint);
  margin-block-start: 2px;
}

.input {
  width: 100%;
  min-height: 52px;
  padding-block: 0;
  padding-inline: 18px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.input::placeholder { color: var(--ink-faint); }

.input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%),
    linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 24px) 22px, calc(100% - 18px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

/* founding 10 interest checkbox */
.founding-check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius);
  padding: 16px;
}

.founding-check input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--brand);
  cursor: pointer;
}

.founding-check label {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
  cursor: pointer;
}

/* CASL consent checkbox */
.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
}

.consent input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--brand);
  cursor: pointer;
}

.consent label {
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  cursor: pointer;
}

.waitlist .btn {
  width: 100%;
  margin-block-start: 24px;
}

.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-block: 16px 0;
  max-width: none;
}

.form-status {
  margin-block-start: 16px;
  font-size: 0.95rem;
  border-radius: var(--radius);
  padding: 14px 18px;
  display: none;
}

.form-status[data-state="ok"] {
  display: block;
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  color: var(--brand-deeper);
}

.form-status[data-state="error"] {
  display: block;
  background: #FFF0F0;
  border: 1px solid #F0C0C0;
  color: #8B2020;
}

/* ----------------------------------------------------------------- cards */

.grid {
  display: grid;
  gap: 24px;
  margin-block-start: 48px;
}

@media (min-width: 600px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(74, 173, 228, 0.12);
  border-color: var(--brand-line);
}

.card--featured {
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F9FD 100%);
  border-color: var(--brand-line);
  box-shadow: 0 4px 18px rgba(74, 173, 228, 0.08);
}

.card__badge {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin-block-end: 10px;
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
  display: grid;
  place-items: center;
  margin-block-end: 18px;
  transition: background-color var(--transition), transform var(--transition);
}

.card:hover .card__icon {
  background: #DCF0FA;
  transform: scale(1.05);
}

.card__icon svg {
  width: 22px;
  height: 22px;
  color: var(--brand);
}

.card h3 { margin-block-end: 10px; }

.card p {
  font-size: 0.94rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.6;
}

/* ----------------------------------------------------------------- offer */

.offer__grid {
  display: grid;
  gap: 24px;
  margin-block-start: 48px;
}

@media (min-width: 768px) {
  .offer__grid { grid-template-columns: repeat(2, 1fr); }
}

.offer__card {
  background: var(--paper-raised);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.offer__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(74, 173, 228, 0.12);
}

@media (min-width: 600px) {
  .offer__card { padding: 44px 36px; }
}

.offer__card--primary {
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-deep) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 32px rgba(46, 139, 192, 0.25);
}

.offer__card--primary h3 { color: #fff; }
.offer__card--primary .offer__desc { color: rgba(255, 255, 255, 0.85); }
.offer__card--primary .offer__list li { color: rgba(255, 255, 255, 0.92); }
.offer__card--primary .check { color: rgba(255, 255, 255, 0.9); }
.offer__card--primary .offer__note { color: rgba(255, 255, 255, 0.7); }

.offer__badge {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-block-end: 12px;
}

.offer__badge--outline {
  color: var(--brand-deep);
}

.offer__card h3 {
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  margin-block-end: 12px;
}

.offer__desc {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-block-end: 28px;
  max-width: none;
}

.offer__list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 14px;
  flex: 1;
}

.offer__list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  font-size: 0.94rem;
  line-height: 1.5;
  align-items: start;
}

.check {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--brand);
  margin-block-start: 1px;
}

.offer__card .btn { align-self: stretch; text-align: center; }

.offer__note {
  font-size: 0.82rem;
  color: var(--ink-faint);
  margin-block: 12px 0;
  text-align: center;
}

/* ----------------------------------------------------------- compliance */

.compliance {
  display: grid;
  gap: 40px;
}

@media (min-width: 900px) {
  .compliance {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: start;
  }
}

.compliance__list {
  display: grid;
  gap: 24px;
}

.badge {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
}

.badge__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  display: grid;
  place-items: center;
}

.badge__icon svg {
  width: 24px;
  height: 24px;
  color: var(--brand);
}

.badge h3 {
  font-size: 1.05rem;
  margin-block-end: 6px;
}

.badge p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
  max-width: none;
}

/* ------------------------------------------------------------------- faq */

.faq {
  display: grid;
  gap: 0;
  margin-block-start: 40px;
  max-width: 76ch;
}

.faq details {
  border-block-end: 1px solid var(--line);
  padding-block: 24px;
}

.faq details:first-of-type {
  border-block-start: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.06rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
  transition: color var(--transition);
}

.faq summary:hover { color: var(--brand-deep); }

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

.faq summary::after {
  content: "+";
  color: var(--brand);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1;
  flex: none;
  transition: transform var(--transition);
}

.faq details[open] summary::after {
  content: "\2212";
  transform: rotate(180deg);
}

.faq details p {
  margin-block: 16px 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* -------------------------------------------------------------- closing */

.closing {
  background: linear-gradient(168deg, var(--brand-soft) 0%, #fff 60%);
  text-align: center;
}

.closing__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.closing .lede {
  max-width: 52ch;
  margin-block-end: 32px;
}

/* ---------------------------------------------------------------- footer */

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding-block: 72px 48px;
  font-size: 0.9rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.footer a:hover { text-decoration: underline; }

.footer__grid {
  display: grid;
  gap: 44px;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 64px;
  }
}

.footer h3 {
  color: #fff;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-block-end: 20px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.footer .brand { color: #fff; margin-block-end: 16px; }
.footer .brand__mark rect { fill: #4AADE4; }

.footer__blurb { max-width: 38ch; }

.footer__legal {
  margin-block-start: 56px;
  padding-block-start: 28px;
  border-block-start: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ----------------------------------------------------------- animations */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: none;
}

/* stagger children in grids */
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.40s; }

/* hero entrance */
.hero__content {
  animation: fadeUp 0.7s ease both;
}

.waitlist {
  animation: fadeUp 0.7s ease 0.15s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* -------------------------------------------------------------- utilities */

.skip-link {
  position: absolute;
  inset-inline-start: -9999px;
  inset-block-start: 0;
  background: var(--brand);
  color: #fff;
  padding: 14px 22px;
  z-index: 100;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus { inset-inline-start: 0; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
