/* ==========================================================================
   fudidate — reset, primitives, atoms
   ========================================================================== */

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--ink-950);
  color: var(--text-1);
  font-family: var(--font-ui);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.02;
  text-wrap: balance;
}

p { margin: 0; }

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

input, select {
  font: inherit;
  color: inherit;
}

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

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

/* --------------------------------------------------------- shell / sections */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section-head {
  max-width: 68ch;
  margin-bottom: clamp(2.25rem, 1.5rem + 2.5vw, 4rem);
}

.section-head .lede { max-width: 48ch; }
.section-head--center .lede { margin-inline: auto; }

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral-300);
}

.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--coral-500);
  box-shadow: 0 0 12px 2px rgba(255, 8, 62, 0.7);
}

.eyebrow--violet { color: var(--violet-400); }
.eyebrow--violet::before {
  background: var(--violet-500);
  box-shadow: 0 0 12px 2px rgba(140, 114, 199, 0.7);
}

.h2 { font-size: var(--step-4); max-width: 28ch; }
.section-head--center .h2 { margin-inline: auto; }
.h3 { font-size: var(--step-2); }

.lede {
  margin-top: 1.15rem;
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--text-2);
  text-wrap: pretty;
}

.muted { color: var(--text-3); }
.dim { color: var(--text-4); }

.grad-text {
  background: linear-gradient(92deg, #ff5b69 0%, #ff8d97 42%, #ffb3ba 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------------------------------------------------------------------ logo */

/* real wordmark, exported from Figma ("Text Logo 1") — ink follows currentColor,
   the heart keeps its own brand gradient */
.logo {
  display: inline-flex;
  align-items: center;
  color: #fff;
}

.logo__mark {
  display: block;
  height: 22px;
  width: auto;
}

.logo--lg .logo__mark { height: 26px; }

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

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s, background 0.22s, border-color 0.22s;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--grad-coral);
  color: #fff;
  box-shadow: var(--glow-coral);
}

.btn--primary:hover {
  background: var(--grad-coral-hover);
  box-shadow: 0 24px 54px -14px rgba(255, 8, 62, 0.62);
}

.btn--ghost {
  background: var(--surface-2);
  color: #fff;
  border: 1px solid var(--line-2);
  backdrop-filter: blur(12px);
}

.btn--ghost:hover {
  background: var(--surface-3);
  border-color: var(--line-3);
}

.btn--lg { padding: 1.1rem 2rem; font-size: 1.05rem; }
.btn--sm { padding: 0.7rem 1.15rem; font-size: 0.88rem; }
.btn--block { width: 100%; }

.btn__arrow { transition: transform 0.25s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ------------------------------------------------------------------ pills */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.9rem 0.45rem 0.7rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-1);
  background: var(--surface-1);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-2);
  backdrop-filter: blur(10px);
}

.pill__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--coral-500);
  box-shadow: 0 0 0 4px rgba(255, 8, 62, 0.18);
}

.pill__dot--live { animation: pulse-dot 2.4s ease-in-out infinite; }

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 8, 62, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(255, 8, 62, 0.05); }
}

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

.card {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--line-1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    var(--ink-850);
  box-shadow: var(--sh-card);
  overflow: hidden;
}

.card__glow {
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 70%;
  background: radial-gradient(60% 60% at 50% 0%, rgba(255, 8, 62, 0.2), transparent 70%);
  pointer-events: none;
}

/* ------------------------------------------------------------- decoration */

.mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.mesh__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hr-glow {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14) 20%, rgba(255, 255, 255, 0.14) 80%, transparent);
}

/* -------------------------------------------------------------- reveal fx */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .mesh__blob { animation: none !important; }
  .pill__dot--live { animation: none; }
}

/* ==========================================================================
   Touch and small screens
   ========================================================================== */

@media (hover: none) {
  /* the grey flash on tap adds nothing over the page's own hover states */
  a, button, summary { -webkit-tap-highlight-color: rgba(255, 255, 255, 0.06); }
}

@media (max-width: 899px) {
  /* keep secondary copy legible instead of merely small */
  .eyebrow { font-size: 0.78rem; }
  .plan__foot,
  .form__note,
  .footer__bar,
  .footer__tag { font-size: 0.88rem; }
}

/* respect the notch and the home bar on phones */
@supports (padding: env(safe-area-inset-left)) {
  .shell {
    padding-left: max(var(--gutter), env(safe-area-inset-left));
    padding-right: max(var(--gutter), env(safe-area-inset-right));
  }

  .footer { padding-bottom: max(2.5rem, env(safe-area-inset-bottom)); }
}
