/* =====================================================
   GROOVLE - Marketing site stylesheet
   Palette: deep teal + warm cream
   Type: Instrument Serif (display) + Inter (body) + JetBrains Mono (utility)
   ===================================================== */

:root {
  /* Palette */
  --ink: #1a1a17;
  --ink-soft: #2a2926;
  --ink-muted: #6b6862;
  --ink-faint: #9a968d;

  --teal: #0d6e6e;
  --teal-deep: #0a4f4f;
  --teal-soft: #d8e8e6;
  --teal-tint: #ebf2f0;

  --cream: #f7f3ec;
  --paper: #fdfbf5;
  --paper-warm: #f3ede1;

  --tan: #c8966b;
  --warn: #c47a3a;

  --line: rgba(26, 26, 23, 0.08);
  --line-strong: rgba(26, 26, 23, 0.14);

  /* Type */
  --font-display: 'Instrument Serif', 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Menlo', monospace;

  /* Spacing */
  --max: 1200px;
  --pad: clamp(20px, 4vw, 48px);

  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; padding: 0; margin: 0; }

/* ============ TYPOGRAPHY ============ */
.italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 24px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--teal);
  color: var(--cream);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 6px 16px -8px rgba(13, 110, 110, 0.5);
}
.btn-primary:hover { background: var(--teal-deep); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: var(--paper); border-color: var(--ink); }

.btn-link {
  color: var(--teal);
  padding: 12px 0;
  background: none;
  font-weight: 500;
}
.btn-link:hover { color: var(--teal-deep); }

.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-full { width: 100%; }

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(247, 243, 236, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--teal);
  color: var(--cream);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1;
  padding-bottom: 2px;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  font-style: italic;
  color: var(--ink);
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 15px;
  color: var(--ink-soft);
}
.nav-links a:hover { color: var(--teal); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
@media (max-width: 720px) {
  .nav-links { display: none; }
}
@media (max-width: 460px) {
  .nav-cta .btn-ghost { display: none; }
}

/* ============ HERO ============ */
.hero {
  padding: clamp(40px, 8vw, 96px) var(--pad) clamp(40px, 8vw, 80px);
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; }
}

.hero-headline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
  color: var(--ink);
}
.hero-headline .italic {
  display: block;
  font-size: 1.04em;
  letter-spacing: -0.02em;
  color: var(--teal);
}
.hero-headline span { display: block; }

.hero-sub {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 52ch;
  margin: 0 0 32px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-fineprint {
  font-size: 13px;
  color: var(--ink-faint);
  margin: 0;
}

.hero-phone-wrap {
  display: grid;
  place-items: center;
  position: relative;
}
.phone-hero {
  transform: perspective(1600px) rotateY(-9deg) rotateX(3deg) rotateZ(0.5deg);
  transform-origin: center center;
}
.phone-hero::before {
  /* Soft floor shadow */
  content: '';
  position: absolute;
  bottom: -30px; left: 10%; right: 10%;
  height: 40px;
  background: radial-gradient(ellipse at center, rgba(13, 110, 110, 0.18), transparent 70%);
  filter: blur(6px);
  z-index: -1;
}

/* ============ TRUST STRIP ============ */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px var(--pad);
  background: var(--paper-warm);
}
.trust-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.trust-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-list li {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-style: italic;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.trust-list li + li::before {
  content: '·';
  margin-right: 24px;
  color: var(--ink-faint);
}
@media (max-width: 720px) {
  .trust-list li + li::before { display: none; }
}

/* ============ FEATURE SECTIONS ============ */
.feature {
  padding: clamp(60px, 10vw, 120px) var(--pad);
}
.feature-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 96px);
  align-items: center;
}
.feature-reverse .feature-inner {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}
.feature-reverse .feature-copy,
.feature-reverse .feature-phone-wrap { direction: ltr; }

@media (max-width: 920px) {
  .feature-inner,
  .feature-reverse .feature-inner {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .feature-phone-wrap { order: 2; }
  .feature-reverse .feature-phone-wrap { order: 2; }
}

.feature-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.pro-pill {
  display: inline-block;
  padding: 3px 10px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.feature-headline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  color: var(--ink);
}
.feature-headline .italic {
  color: var(--teal);
}
.feature-text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 50ch;
  margin: 0 0 28px;
}
.feature-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-points li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-soft);
  font-size: 15px;
}
.feature-points li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
}

.feature-phone-wrap {
  display: grid;
  place-items: center;
  position: relative;
}

/* ============ PHONE FRAME ============ */
.phone {
  width: 320px;
  position: relative;
}
.phone-frame {
  position: relative;
  background: #0d0d0c;
  border-radius: 48px;
  padding: 10px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.1),
    0 30px 60px -20px rgba(13, 110, 110, 0.25),
    0 18px 30px -12px rgba(0, 0, 0, 0.18);
}
.phone-frame::before {
  /* outer rim highlight */
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 47px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 30%, transparent 70%, rgba(255,255,255,0.04));
  pointer-events: none;
}
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 26px;
  background: #050505;
  border-radius: 999px;
  z-index: 3;
}
.phone-screen {
  background: var(--cream);
  border-radius: 38px;
  overflow: hidden;
  height: 640px;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Status bar */
.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 28px 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  height: 44px;
  flex-shrink: 0;
}
.status-time { font-feature-settings: 'tnum' 1; }
.status-icons { display: flex; gap: 6px; align-items: center; }
.ico-signal, .ico-wifi, .ico-batt {
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.ico-signal {
  width: 16px; height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Crect x='0' y='6' width='3' height='4' rx='0.5' fill='%231a1a17'/%3E%3Crect x='4' y='4' width='3' height='6' rx='0.5' fill='%231a1a17'/%3E%3Crect x='8' y='2' width='3' height='8' rx='0.5' fill='%231a1a17'/%3E%3Crect x='12' y='0' width='3' height='10' rx='0.5' fill='%231a1a17'/%3E%3C/svg%3E");
}
.ico-wifi {
  width: 14px; height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M7 10a1.4 1.4 0 1 0 0-2.8 1.4 1.4 0 0 0 0 2.8z' fill='%231a1a17'/%3E%3Cpath d='M2.5 5.5C3.7 4.3 5.3 3.6 7 3.6s3.3.7 4.5 1.9l1.4-1.4C11.4 2.6 9.3 1.7 7 1.7S2.6 2.6 1.1 4.1l1.4 1.4z' fill='%231a1a17'/%3E%3Cpath d='M0 3 1.4 4.4C2.9 2.9 4.9 2 7 2s4.1.9 5.6 2.4L14 3c-1.9-1.9-4.4-3-7-3S1.9 1.1 0 3z' fill='%231a1a17'/%3E%3C/svg%3E");
}
.ico-batt {
  width: 25px; height: 11px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: transparent;
  position: relative;
}
.ico-batt::after {
  content: '';
  position: absolute;
  left: 1px; top: 1px; bottom: 1px;
  width: 75%;
  background: var(--ink);
  border-radius: 1.5px;
}
.ico-batt::before {
  content: '';
  position: absolute;
  right: -3px; top: 3px;
  width: 2px; height: 5px;
  background: var(--ink);
  border-radius: 0 1px 1px 0;
}

/* ============ APP SCREENS ============ */
.app {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 12px 16px 16px;
  overflow: hidden;
}
.app-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 4px 16px;
}
.app-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-style: italic;
  color: var(--ink);
  line-height: 1;
}
.app-date {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  color: var(--ink);
  line-height: 1;
}
.app-date-sub {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 4px;
  font-weight: 500;
}
.app-add {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--cream);
  font-size: 22px;
  font-weight: 400;
  line-height: 0;
  padding-bottom: 4px;
  display: grid;
  place-items: center;
}
.client-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
  background: var(--paper-warm);
  padding: 4px 10px;
  border-radius: 999px;
}

/* === Diary === */
.day-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 14px;
  padding: 0 2px;
}
.day {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0;
  border-radius: 10px;
  font-size: 10px;
  color: var(--ink-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.day span {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  margin-top: 2px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}
.day-active {
  background: var(--ink);
  color: var(--paper-warm);
}
.day-active span { color: var(--cream); }

.bookings {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  flex: 1;
}
.bookings .booking {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  background: var(--paper);
  border-radius: 12px;
  border: 1px solid var(--line);
}
.b-time {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: -0.02em;
}
.b-client {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.b-service {
  font-size: 11px;
  color: var(--ink-muted);
  margin-top: 2px;
}
.b-price {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--teal);
}
.b-warn {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--warn);
  margin-top: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.booking-warn {
  border-color: rgba(196, 122, 58, 0.35);
  background: rgba(196, 122, 58, 0.06);
}
.day-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding: 12px 14px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}
.total-amt {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
}

/* === Clients === */
.search {
  margin-bottom: 12px;
  padding: 0 2px;
}
.search input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-muted);
  font-family: inherit;
}
.client-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}
.client-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
}
.client-list li:hover { background: var(--paper); }
.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--cream);
}
.avatar-1 { background: var(--teal); }
.avatar-2 { background: #4a5c6e; }
.avatar-3 { background: var(--tan); }
.avatar-4 { background: var(--teal-deep); }
.avatar-5 { background: #8b6e58; }
.cl-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.cl-meta {
  font-size: 11px;
  color: var(--ink-muted);
  margin-top: 1px;
}

/* === Summary === */
.summary { gap: 0; }
.big-num {
  background: var(--ink);
  color: var(--cream);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 14px;
}
.big-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.7);
  margin-bottom: 6px;
}
.big-amount {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.split {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}
.split-label {
  font-size: 11px;
  color: var(--ink-muted);
  font-weight: 500;
  margin-bottom: 4px;
}
.split-amt {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
}
.pay-section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
  padding-left: 2px;
}
.pay-row {
  display: grid;
  grid-template-columns: 40px 1fr 60px;
  gap: 10px;
  align-items: center;
  padding: 6px 4px;
  font-size: 12px;
  color: var(--ink-soft);
}
.bar {
  display: block;
  height: 6px;
  background: var(--paper-warm);
  border-radius: 999px;
  overflow: hidden;
}
.bar > span {
  display: block;
  height: 100%;
  background: var(--teal);
  border-radius: 999px;
  transition: width 1s ease-out;
}
.pay-amt {
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: right;
  color: var(--ink);
  font-weight: 500;
}
.appt-count {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding-top: 12px;
  font-size: 11px;
  color: var(--ink-muted);
  font-weight: 500;
}

/* === Public booking === */
.biz-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 4px 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.biz-logo {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--teal);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
}
.biz-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  line-height: 1.1;
}
.biz-loc {
  font-size: 11px;
  color: var(--ink-muted);
  margin-top: 2px;
}
.book-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
  padding: 0 2px;
}
.book-section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 8px;
  padding-left: 2px;
}
.service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.chip {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  font-size: 11px;
  color: var(--ink-soft);
  font-weight: 500;
}
.chip-active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}
.slot {
  padding: 10px 0;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  font-family: var(--font-mono);
}
.slot-off {
  color: var(--ink-faint);
  text-decoration: line-through;
  background: transparent;
}
.slot-active {
  background: var(--teal);
  color: var(--cream);
  border-color: var(--teal);
}
.book-btn {
  margin-top: auto;
  padding: 14px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
}

/* ============ PRICING ============ */
.pricing {
  padding: clamp(60px, 10vw, 120px) var(--pad);
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pricing-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.section-head .eyebrow {
  display: inline-block;
}
.section-headline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--ink);
}
.section-headline .italic { color: var(--teal); }

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 880px) {
  .plans { grid-template-columns: 1fr; max-width: 420px; }
}

.plan {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.plan-featured {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  transform: translateY(-6px);
}
@media (max-width: 880px) {
  .plan-featured { transform: none; }
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.plan-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  margin: 0 0 12px;
  line-height: 1;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 12px;
}
.price {
  font-family: var(--font-body);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.per {
  font-size: 14px;
  color: var(--ink-muted);
}
.plan-featured .per { color: rgba(247, 243, 236, 0.7); }

.plan-tag {
  font-size: 14px;
  color: var(--ink-muted);
  margin: 0 0 28px;
  min-height: 42px;
}
.plan-featured .plan-tag { color: rgba(247, 243, 236, 0.75); }

.plan-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 28px;
  flex: 1;
}
.plan-list li {
  font-size: 14px;
  color: var(--ink-soft);
  position: relative;
  padding-left: 22px;
  line-height: 1.4;
}
.plan-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  color: var(--teal);
  font-weight: 600;
}
.plan-list li.muted {
  color: var(--ink-faint);
}
.plan-list li.muted::before {
  content: '—';
  color: var(--ink-faint);
}
.plan-featured .plan-list li { color: rgba(247, 243, 236, 0.85); }
.plan-featured .plan-list li::before { color: var(--teal-soft); }
.plan-featured .btn-primary { background: var(--teal-soft); color: var(--teal-deep); }
.plan-featured .btn-primary:hover { background: var(--cream); }

.pricing-foot {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: var(--ink-muted);
}

/* ============ FAQ ============ */
.faq {
  padding: clamp(60px, 10vw, 120px) var(--pad);
}
.faq-inner {
  max-width: 780px;
  margin: 0 auto;
}
.faq-list {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.faq-item summary {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  color: var(--teal);
  line-height: 0.8;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin: 14px 0 0;
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 60ch;
}

/* ============ FINAL CTA ============ */
.cta {
  padding: clamp(60px, 10vw, 120px) var(--pad);
  background: var(--ink);
  color: var(--cream);
}
.cta-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.cta-headline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
}
.cta-headline .italic { color: var(--teal-soft); }
.cta-sub {
  font-size: 18px;
  color: rgba(247, 243, 236, 0.7);
  margin: 0 0 32px;
}
.cta .btn-primary {
  background: var(--cream);
  color: var(--ink);
}
.cta .btn-primary:hover {
  background: var(--paper-warm);
}

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  color: rgba(247, 243, 236, 0.6);
  padding: 28px var(--pad);
  border-top: 1px solid rgba(247, 243, 236, 0.1);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-brand .brand-mark { background: var(--cream); color: var(--teal); }
.footer-brand .brand-name { color: var(--cream); }
.footer-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
}
.footer-links a:hover { color: var(--cream); }
.footer-copy {
  font-size: 13px;
  margin: 0;
}

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s cubic-bezier(0.16, 1, 0.3, 1), transform .9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0ms);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-phone {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-phone.in {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.phone-hero.in {
  /* Preserve the hero's 3D tilt while animating */
  transform: perspective(1600px) rotateY(-9deg) rotateX(3deg) rotateZ(0.5deg);
}

/* Staggered items inside phones */
.stagger {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s ease, transform .6s ease;
}
.stagger.in {
  opacity: 1;
  transform: translateY(0);
}

/* Bar growth animation — JS sets width:0 on reveal then animates to target inline width */

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-phone, .stagger {
    opacity: 1 !important;
    transform: none !important;
  }
  html { scroll-behavior: auto; }
}

/* ============ MOBILE TWEAKS ============ */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .phone { width: 280px; }
  .phone-screen { height: 560px; border-radius: 32px; }
  .phone-frame { border-radius: 42px; padding: 8px; }
  .phone-notch { width: 80px; height: 22px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .feature-points li { font-size: 14px; }
  .plan { padding: 28px 24px; }
}
