/* Nova — novamethod.app. Tokens ported 1:1 from the app so the site and product feel
   like one object. Fraunces (serif display) + Inter (sans), purple #7A5AF0, the same
   living glass orb. */
:root {
  --bg: #f9f9f9;
  --card: #ffffff;
  --ink: #17150f;
  --ink-soft: #7a7266;
  --line: #ece9f2;
  --coral: #7a5af0;
  --coral-bg: #ece8fc;
  --coral-ink: #5b45c7;
  --pink: #c9388f;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans); color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--coral-bg); color: var(--coral-ink); }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---- top nav ---- */
.nav { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 26px 0 8px; }
.wordmark { font-family: 'Castoro', Georgia, serif; font-weight: 400; font-size: 22px; text-transform: uppercase; letter-spacing: 0.22em; }
.nav-cta { font-size: 14px; font-weight: 600; color: var(--coral-ink); background: var(--coral-bg); padding: 9px 16px; border-radius: 999px; transition: transform 0.15s ease, background 0.2s ease; }
.nav-cta:hover { transform: translateY(-1px); background: #e2dcfb; }

/* ---- hero ---- */
.hero { position: relative; text-align: center; padding: 32px 0 80px; }
/* Higher specificity than `.hero > *` so the gradient stays absolute (out of flow) —
   otherwise it takes 720px of real space and shoves the hero to the bottom. */
.hero > .hero-bg { position: absolute; inset: -60px 0 auto 0; height: 620px; z-index: 0; pointer-events: none;
  background: radial-gradient(120% 70% at 50% 0%, #FCE9F1 0%, #EFE9FC 40%, transparent 72%); }
.hero > .wrap { position: relative; z-index: 2; }

.eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--coral-ink); margin-bottom: 22px; }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 8vw, 68px); line-height: 1.02; letter-spacing: -0.03em; max-width: 12ch; margin: 0 auto; }
.hero h1 em { font-style: italic; color: var(--coral); }
.hero .lead { font-size: clamp(16px, 2.4vw, 20px); color: var(--ink-soft); max-width: 46ch; margin: 22px auto 0; line-height: 1.5; }
.hero-actions { display: flex; gap: 12px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 26px; border-radius: 999px; font-size: 16px; font-weight: 600; transition: transform 0.15s ease, box-shadow 0.2s ease; }
.btn.primary { background: var(--coral); color: #fff; box-shadow: 0 10px 26px rgba(122,90,240,0.34); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(122,90,240,0.42); }
.btn.ghost { color: var(--ink); border: 1px solid var(--line); background: var(--card); }
.btn.ghost:hover { border-color: #d9d3f0; }
.btn.soon { color: var(--ink-soft); border: 1px dashed var(--line); background: transparent; cursor: default; font-weight: 500; }

/* ---- the living orb (ported from the app) ---- */
.orb-stage { position: relative; width: min(340px, 74vw); height: min(340px, 74vw); margin: 8px auto 40px; }
.orb { position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #ffffff 0%, #f3f1fb 52%, #e9e6f7 72%, #e4e0f2 100%);
  box-shadow: 0 30px 70px rgba(90,80,180,0.28), 0 4px 14px rgba(90,80,160,0.12),
    inset 0 3px 12px rgba(255,255,255,0.95), inset 0 -14px 30px rgba(120,110,190,0.14);
  animation: breathe 7s ease-in-out infinite, morph 15s ease-in-out infinite; }
.orb .blob { position: absolute; border-radius: 50%; filter: blur(20px); }
.orb .b1 { width: 88%; height: 56%; left: -12%; top: 30%; background: radial-gradient(closest-side, #3f6bff, rgba(63,107,255,0) 82%); animation: drift1 8s ease-in-out infinite; }
.orb .b2 { width: 72%; height: 52%; right: -12%; top: 36%; background: radial-gradient(circle, #b23bff, rgba(168,59,255,0) 72%); animation: drift2 10.5s ease-in-out infinite; }
.orb .b3 { width: 56%; height: 40%; left: 20%; top: 46%; background: radial-gradient(circle, #ff54c2, rgba(255,84,194,0) 70%); animation: drift3 12.5s ease-in-out infinite; }
.orb .sheen { position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(60% 40% at 40% 26%, rgba(255,255,255,0.95), rgba(255,255,255,0) 60%); }
.orb-glow { position: absolute; inset: -50%; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(130,110,235,0.20) 0%, rgba(255,150,205,0.10) 34%, rgba(120,110,230,0) 64%); filter: blur(22px);
  animation: glowPulse 7s ease-in-out infinite; }

@keyframes breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@keyframes glowPulse { 0%,100% { opacity: 0.85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes morph {
  0%,100% { border-radius: 50%; }
  25% { border-radius: 60% 40% 54% 46% / 44% 57% 43% 56%; }
  50% { border-radius: 43% 57% 42% 58% / 59% 43% 57% 41%; }
  75% { border-radius: 56% 44% 61% 39% / 45% 52% 48% 55%; }
}
@keyframes drift1 { 0%,100% { transform: translate(1%,3%) rotate(0deg); } 25% { transform: translate(14%,-30%) rotate(10deg); } 50% { transform: translate(-5%,-12%) rotate(-6deg); } 75% { transform: translate(-12%,16%) rotate(-11deg); } }
@keyframes drift2 { 0%,100% { transform: translate(-1%,2%) rotate(0deg); } 25% { transform: translate(-14%,17%) rotate(-11deg); } 50% { transform: translate(-3%,-24%) rotate(9deg); } 75% { transform: translate(13%,-8%) rotate(10deg); } }
@keyframes drift3 { 0%,100% { transform: translate(0%,4%) scale(1); opacity: 0.85; } 25% { transform: translate(11%,-21%) scale(1.09); opacity: 1; } 50% { transform: translate(-10%,3%) scale(0.96); opacity: 0.92; } 75% { transform: translate(6%,19%) scale(1.11); opacity: 1; } }

/* ---- pillars ---- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 8px 0 40px; }
.pillar { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px; box-shadow: 0 2px 10px rgba(90,80,160,0.05); }
.pillar-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 20px; margin-bottom: 16px; background: var(--coral-bg); color: var(--coral-ink); }
.pillar-icon.blue { background: #e3edf9; color: #2f6bb0; }
.pillar-icon.pink { background: #fbe4f1; color: var(--pink); }
.pillar h3 { font-family: var(--serif); font-weight: 600; font-size: 21px; letter-spacing: -0.01em; margin-bottom: 8px; }
.pillar p { font-size: 15px; color: var(--ink-soft); line-height: 1.55; }

/* ---- method strip ---- */
.method { text-align: center; padding: 60px 0; }
.method .eyebrow { color: var(--ink-soft); }
.method h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 5vw, 42px); letter-spacing: -0.02em; max-width: 18ch; margin: 10px auto 0; line-height: 1.1; }
.method p { font-size: 17px; color: var(--ink-soft); max-width: 52ch; margin: 20px auto 0; line-height: 1.6; }

/* ---- footer ---- */
.footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 34px 0 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer .wordmark { font-size: 20px; }
.footer-links { display: flex; gap: 22px; font-size: 14px; color: var(--ink-soft); }
.footer-links a:hover { color: var(--ink); }
.footer-copy { font-size: 13px; color: var(--ink-soft); width: 100%; margin-top: 6px; }

/* ---- legal pages ---- */
.legal { max-width: 720px; margin: 0 auto; padding: 40px 24px 80px; }
.legal a.back { display: inline-block; font-size: 14px; font-weight: 600; color: var(--coral-ink); margin-bottom: 26px; }
.legal h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 6vw, 46px); letter-spacing: -0.02em; line-height: 1.05; }
.legal .updated { font-size: 14px; color: var(--ink-soft); margin: 10px 0 34px; }
.legal h2 { font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; margin: 34px 0 10px; }
.legal p, .legal li { font-size: 16px; color: #2c2a24; line-height: 1.65; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 14px 22px; }
.legal li { margin-bottom: 6px; }
.legal strong { font-weight: 600; }

@media (max-width: 760px) {
  .pillars { grid-template-columns: 1fr; }
  .footer { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .orb, .orb .blob, .orb-glow { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---- waitlist modal ---- */
.btn.block { width: 100%; }
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(23,21,15,0.42); backdrop-filter: blur(4px); animation: fade 0.2s ease-out; }
.modal-card { position: relative; z-index: 1; width: 100%; max-width: 400px; background: var(--card); border-radius: 26px; padding: 32px 28px 30px; text-align: center;
  box-shadow: 0 30px 80px rgba(40,30,90,0.28); animation: pop 0.24s cubic-bezier(0.2,0.8,0.2,1); }
.modal-x { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border: 0; border-radius: 999px; background: #f3f1fb; color: var(--ink-soft); font-size: 19px; line-height: 1; cursor: pointer; }
.wl-orb { position: relative; width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #fff 0%, #f3f1fb 60%, #e6e2f4 100%);
  box-shadow: 0 10px 24px rgba(90,80,180,0.24), inset 0 2px 6px rgba(255,255,255,0.9); animation: breathe 6s ease-in-out infinite; }
.wl-orb .blob { position: absolute; border-radius: 50%; filter: blur(9px); }
.wl-orb .b1 { width: 80%; height: 54%; left: -8%; top: 30%; background: radial-gradient(closest-side, #3f6bff, rgba(63,107,255,0) 82%); animation: drift1 7s ease-in-out infinite; }
.wl-orb .b2 { width: 70%; height: 50%; right: -8%; top: 36%; background: radial-gradient(circle, #b23bff, rgba(168,59,255,0) 74%); animation: drift2 9s ease-in-out infinite; }
.wl-orb .b3 { width: 54%; height: 40%; left: 22%; top: 46%; background: radial-gradient(circle, #ff54c2, rgba(255,84,194,0) 70%); animation: drift3 11s ease-in-out infinite; }
.wl-orb .sheen { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(60% 40% at 40% 26%, rgba(255,255,255,0.9), rgba(255,255,255,0) 60%); }
.modal-card h2 { font-family: var(--serif); font-weight: 600; font-size: 26px; letter-spacing: -0.02em; margin-bottom: 8px; }
.modal-card p { font-size: 15px; color: var(--ink-soft); line-height: 1.5; margin-bottom: 20px; }
#wl-form input { width: 100%; height: 50px; padding: 0 16px; border: 1px solid var(--line); border-radius: 14px; font-size: 16px; font-family: var(--sans); margin-bottom: 10px; outline: none; transition: border 0.15s ease, box-shadow 0.15s ease; }
#wl-form input:focus { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(122,90,240,0.18); }
.wl-err { color: #c9388f; font-size: 13px; margin-top: 8px; }
.wl-done { font-family: var(--serif); font-size: 18px; color: var(--coral-ink); padding: 10px 0 4px; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.97); } to { opacity: 1; transform: none; } }

/* ---- language switcher ---- */
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; gap: 9px; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.lang a { color: var(--ink-soft); transition: color 0.15s ease; }
.lang a:hover { color: var(--coral-ink); }
.lang a.on { color: var(--ink); }
.legal-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 4px; }
.legal-top .back { margin-bottom: 0; }
