:root {
  --ink: #07111f;
  --ink-2: #14233a;
  --paper: #f5f7fb;
  --paper-elev: #ffffff;
  --muted: #66768c;
  --line: rgba(7, 17, 31, 0.08);
  --line-strong: rgba(7, 17, 31, 0.14);
  --blue: #1a56db;
  --blue-deep: #123a9a;
  --blue-soft: #e8f0ff;
  --glow: rgba(26, 86, 219, 0.22);
  --danger: #dc2626;
  --shadow-sm: 0 1px 0 rgba(7, 17, 31, 0.04);
  --shadow-md: 0 18px 50px rgba(7, 17, 31, 0.1);
  --shadow-lg: 0 40px 90px rgba(7, 17, 31, 0.16);
  --radius: 24px;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(26, 86, 219, 0.12), transparent 55%),
    radial-gradient(900px 500px at -10% 30%, rgba(14, 165, 233, 0.08), transparent 50%),
    linear-gradient(180deg, #eef2f8 0%, var(--paper) 35%, #f8fafc 100%);
  -webkit-font-smoothing: antialiased;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.orb {
  pointer-events: none;
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  opacity: 0.55;
}

.orb-a {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
  background: rgba(56, 189, 248, 0.18);
}

.orb-b {
  width: 380px;
  height: 380px;
  bottom: 10%;
  left: -120px;
  background: rgba(26, 86, 219, 0.12);
}

.top,
main,
.footer {
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px 28px 0;
}

.top-home {
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

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

.top-cta {
  padding: 9px 16px !important;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff !important;
  font: inherit;
  font-weight: 600 !important;
  font-size: 0.92rem;
  cursor: pointer;
}

.top-cta:hover {
  background: var(--ink-2);
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px 28px 88px;
}

/* Hero */
.hero {
  padding: 28px 0 20px;
}

.hero-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 48px 44px;
  border-radius: 36px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.62));
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.eyebrow,
.eyebrow.on-dark {
  margin: 0 0 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow.on-dark {
  color: #93c5fd;
}

h1 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(2.15rem, 4.6vw, 3.45rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.lead {
  margin: 0 0 28px;
  max-width: 31em;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--muted);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.15s ease, color 0.15s ease;
}

.btn:active {
  transform: scale(0.985);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #2b6ef2 0%, var(--blue-deep) 100%);
  box-shadow: 0 16px 36px var(--glow);
}

.btn-primary:hover {
  box-shadow: 0 20px 44px rgba(26, 86, 219, 0.34);
}

.btn-quiet {
  color: var(--ink);
  background: rgba(7, 17, 31, 0.05);
}

.btn-quiet:hover {
  background: rgba(7, 17, 31, 0.09);
}

.btn-ghost {
  color: var(--ink);
  background: #eef3fb;
}

.btn-ghost:hover {
  background: #e3ebf8;
}

.btn-light {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.btn-block {
  width: 100%;
}

.meta-line {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-visual {
  min-height: 460px;
  display: grid;
  place-items: center;
}

.stage {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 460px;
}

.chaos-card {
  position: absolute;
  left: 0;
  top: 56px;
  width: 210px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
  transform: rotate(-5deg);
  animation: float-a 6s ease-in-out infinite;
}

.chaos-label {
  margin: 0 0 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
}

.bubble {
  margin-bottom: 8px;
  padding: 9px 11px;
  border-radius: 14px;
  font-size: 0.76rem;
  line-height: 1.35;
}

.bubble.in {
  background: #e8edf5;
  color: #334155;
  border-bottom-left-radius: 4px;
}

.bubble.out {
  margin-left: 16px;
  background: var(--blue-soft);
  color: var(--ink-2);
  border-bottom-right-radius: 4px;
}

.phone {
  position: absolute;
  right: 8px;
  top: 28px;
  z-index: 2;
  width: 268px;
  padding: 14px;
  border-radius: 40px;
  background: linear-gradient(160deg, #1a2438, #0b1220 55%, #070d18);
  box-shadow:
    var(--shadow-lg),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  animation: float-b 7s ease-in-out infinite;
  overflow: hidden;
}

.phone-shine {
  position: absolute;
  inset: -40% -30% auto auto;
  width: 180px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
  pointer-events: none;
}

.phone-notch {
  width: 102px;
  height: 11px;
  margin: 6px auto 12px;
  border-radius: 999px;
  background: #020617;
}

.phone-screen {
  position: relative;
  padding: 16px 14px 18px;
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff, #f4f7fc);
  color: var(--ink);
}

.phone-head {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}

.tg-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(145deg, #38bdf8, #1d4ed8);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.phone-head strong {
  display: block;
  font-size: 0.86rem;
  letter-spacing: -0.02em;
}

.phone-head small {
  color: #64748b;
  font-size: 0.7rem;
}

.phone-service,
.phone-date {
  margin: 0 0 7px;
  font-size: 0.78rem;
  color: #64748b;
}

.slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 12px 0 16px;
}

.slots span {
  display: grid;
  place-items: center;
  padding: 9px 4px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 0.72rem;
  font-weight: 650;
}

.slots .active {
  border-color: transparent;
  background: linear-gradient(135deg, #2b6ef2, #1d4ed8);
  color: #fff;
  box-shadow: 0 8px 18px rgba(29, 78, 216, 0.28);
}

.phone-cta {
  display: grid;
  place-items: center;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2b6ef2, #1d4ed8);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
}

/* Sections */
.section-head {
  margin-bottom: 26px;
}

.section-head.center {
  text-align: center;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.section-sub {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.pains,
.solution,
.pricing,
.faq,
.offer-band {
  margin-top: 56px;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pain-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pain-icon {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
}

.pain-card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.pain-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.rail li {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.rail-num {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
}

.rail strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.rail p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.925fr 0.925fr;
  gap: 16px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.price-card.featured {
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(145deg, #60a5fa, #1d4ed8 55%, #0ea5e9) border-box;
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-8px);
}

.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.price-label {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.price-value {
  margin: 0;
  font-family: var(--display);
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.price-value span {
  margin-left: 6px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}

.price-period {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.price-perks {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.price-perks li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-2);
  font-size: 0.92rem;
}

.price-perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.price-card .btn {
  margin-top: auto;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq-item {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 18px 52px 18px 20px;
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--ink);
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.offer-band {
  border-radius: 32px;
  background:
    radial-gradient(circle at 90% 10%, rgba(96, 165, 250, 0.35), transparent 35%),
    linear-gradient(135deg, #07111f 0%, #12233f 48%, #1a56db 160%);
  box-shadow: var(--shadow-lg);
  color: #e8eefc;
}

.offer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 42px 40px;
}

.offer-inner h2 {
  color: #fff;
  margin-bottom: 10px;
}

.offer-inner p:last-child {
  margin: 0;
  max-width: 38em;
  color: #a9bddc;
}

.modal[hidden] {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 31, 0.55);
  backdrop-filter: blur(6px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  max-height: min(92vh, 820px);
  overflow: auto;
  padding: 28px 24px 24px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  animation: modal-in 0.28s ease;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--ink);
  background: var(--blue-soft);
}

.waitlist-copy {
  margin-bottom: 18px;
  padding-right: 28px;
}

.waitlist-copy h2 {
  margin: 0;
}

.waitlist-copy p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.waitlist-copy em {
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
}

.waitlist-panel {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.modal-open {
  overflow: hidden;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-size: 0.8rem;
  font-weight: 650;
  color: #526277;
}

.field input,
.field select {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #d9e2f0;
  border-radius: 16px;
  background: #f7f9fc;
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.field input:focus,
.field select:focus {
  background: #fff;
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%64748b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.or {
  position: relative;
  display: grid;
  place-items: center;
  margin: 2px 0;
}

.or span {
  position: relative;
  z-index: 1;
  padding: 0 12px;
  background: #fff;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: lowercase;
}

.or::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: #e8eef6;
}

.form-hint {
  margin: 0;
  color: var(--danger);
  font-size: 0.9rem;
  font-weight: 600;
}

.fineprint {
  margin: 2px 0 0;
  text-align: center;
  font-size: 0.76rem;
  line-height: 1.45;
  color: #94a3b8;
}

.success {
  text-align: center;
  padding: 40px 10px 20px;
}

.success h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 600;
}

.success p {
  margin: 0;
  color: var(--muted);
}

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px 48px;
  display: flex;
  justify-content: space-between;
  color: #94a3b8;
  font-size: 0.88rem;
}

@keyframes float-a {
  0%, 100% { transform: rotate(-5deg) translateY(0); }
  50% { transform: rotate(-3.5deg) translateY(-10px); }
}

@keyframes float-b {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 980px) {
  .hero-shell,
  .pain-grid,
  .rail,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    padding: 28px 22px;
    gap: 28px;
    overflow: hidden;
  }

  .hero-visual {
    min-height: 0;
    width: 100%;
  }

  .stage {
    width: 100%;
    max-width: 280px;
    height: auto;
    min-height: 0;
    margin: 0 auto;
  }

  .phone {
    position: relative;
    right: auto;
    top: 0;
    left: auto;
    width: 100%;
    max-width: 268px;
    margin: 0 auto;
    transform: none;
    animation: float-b 7s ease-in-out infinite;
  }

  .price-card.featured {
    transform: none;
    order: -1;
  }

  .offer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
  }
}

@media (max-width: 600px) {
  .top-nav a:nth-child(2) {
    display: none;
  }

  .top-nav a:first-child {
    display: none;
  }

  main,
  .top,
  .footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-shell {
    padding: 24px 18px 20px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .chaos-card {
    display: none;
  }

  .stage {
    max-width: 250px;
  }

  .phone {
    max-width: 250px;
  }
}
