/* ============================================================
   GIG-UP — marketing site (light mode)
   Design tokens pulled directly from the app (lib/theme.dart).
   Flat, no gradients/blur/glow — same discipline the mental
   games use (see CalmWorldBackdrop). Type carries the hierarchy,
   not badges or boxes.
   ============================================================ */

:root {
  --bg: #F8F6F0;
  --bg-panel: #FFFFFF;
  --navy: #0D1B2A;
  --cream: #F8F6F0;
  --text: #1A1A1A;
  --text-soft: #4A473F;

  --coral: #D4776B;
  --coral-dark: #B9655B;
  --coral-light: #E8B4B4;
  --gold: #FFD957;
  --gold-deep: #FFAB40;
  --amber-text: #9C6A12;
  --blue: #5CB7E9;
  --blue-dark: #1C6FA6;
  --muted: #8A8680;
  --hair: rgba(26,26,26,0.11);

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --max: 1120px;
  --edge: clamp(20px, 5vw, 64px);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--edge);
  padding-right: var(--edge);
}

.kicker {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--text);
}

h1 { font-size: clamp(42px, 8vw, 96px); line-height: 1.0; }
h2 { font-size: clamp(32px, 5vw, 56px); }
h3 { font-size: clamp(19px, 2.2vw, 23px); font-weight: 600; }

p { color: var(--text-soft); }

.accent { color: var(--coral-dark); }

.lede {
  font-size: clamp(18px, 2.1vw, 22px);
  color: #2E2C26;
  font-weight: 400;
  max-width: 44ch;
  line-height: 1.5;
}

.section { padding: clamp(96px, 13vw, 190px) 0; }

.section-head { max-width: 620px; margin-bottom: clamp(48px, 7vw, 88px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-top: 0; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { opacity: 0.82; }

.btn-coral { background: var(--coral-dark); color: #fff; }
.btn-coral:hover { opacity: 0.88; }

/* Secondary actions read as text, not a second button — one solid
   pill per view is enough chrome. */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(26,26,26,0.32);
  transition: border-color 0.15s ease, gap 0.15s ease;
}
.link-arrow:hover { border-color: var(--text); gap: 10px; }
.link-arrow .arrow { transition: transform 0.15s ease; }
.link-arrow:hover .arrow { transform: translateX(2px); }

.cta-row { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }

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

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248,246,240,0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}

.wordmark .mark { color: var(--coral-dark); font-size: 14px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  color: #6B685F;
}

.nav-links a:hover { color: var(--text); }

.nav .btn { padding: 10px 20px; font-size: 13px; }

@media (max-width: 720px) { .nav-links-desktop { display: none; } }

@media (max-width: 460px) {
  .wordmark { font-size: 16px; gap: 6px; }
  .nav .btn { padding: 9px 16px; font-size: 12px; }
  .container { padding-left: 16px; padding-right: 16px; }
}

/* ---------- hero — centered statement, big image below ---------- */

.hero { padding-top: clamp(56px, 9vw, 108px); padding-bottom: 0; }

.hero-copy { max-width: 780px; margin: 0 auto; text-align: center; }
.hero-copy .lede { margin-left: auto; margin-right: auto; }

.hero h1 { margin-bottom: 26px; }
.hero .lede { margin-bottom: 40px; }
.hero .cta-row { justify-content: center; }

.hero-visual {
  display: flex;
  justify-content: center;
  margin-top: clamp(56px, 8vw, 96px);
  padding: 0 var(--edge);
}

.hero-phone { width: min(360px, 80vw); }

/* ---------- phone frame — flat, frameless, no tilt ---------- */

.phone {
  width: min(280px, 62vw);
  aspect-ratio: 390 / 844;
  border-radius: 28px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid rgba(26,26,26,0.08);
}

.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.phone.small { width: min(220px, 48vw); }

/* ---------- three-minute reset ---------- */

.reset-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 40px);
}

@media (max-width: 780px) {
  .reset-steps { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
}

.reset-card { display: flex; flex-direction: column; }

.reset-card .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 14px;
}
.reset-card.mental .num { color: var(--coral-dark); }
.reset-card.physical .num { color: var(--blue-dark); }
.reset-card.food .num { color: var(--amber-text); }

.reset-card h3 { margin-bottom: 6px; }
.reset-card p { font-size: 15px; margin-bottom: 20px; }

.reset-card .phone {
  width: 100%;
  aspect-ratio: 390/620;
  border-radius: 16px;
  margin: 0 auto;
}

.reset-outro {
  text-align: center;
  margin-top: clamp(48px, 6vw, 72px);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--text);
}

/* ---------- meets you in the moment ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
  padding-top: clamp(8px, 2vw, 16px);
  border-top: 1px solid var(--hair);
}

@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }

.flow-block .kicker { margin-bottom: 14px; }
.flow-block .flow {
  font-family: var(--serif);
  font-size: clamp(20px, 2.6vw, 27px);
  line-height: 1.3;
}
.flow-block.old .flow { color: var(--muted); }
.flow-block.old .flow { text-decoration: line-through; text-decoration-color: rgba(138,134,128,0.6); text-decoration-thickness: 1px; }
.flow-block.new .flow { color: var(--text); }
.flow-block p.detail { font-size: 15px; margin-top: 14px; max-width: 34ch; }

.pill-list { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 28px; }
.pill-list .pill {
  font-size: 14px;
  color: var(--text);
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(26,26,26,0.25);
}

/* ---------- three dimensions ---------- */

.dims {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hair);
  border-left: 1px solid var(--hair);
}

@media (max-width: 780px) { .dims { grid-template-columns: 1fr; } }

.dim-card {
  padding: clamp(32px, 4vw, 44px) clamp(24px, 3vw, 32px);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-right: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}

.dim-card .num { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--muted); margin-bottom: auto; }
.dim-card h3 { margin-bottom: 6px; }
.dim-card p { font-size: 14px; }

.dim-card.mental h3 { color: var(--coral-dark); }
.dim-card.physical h3 { color: var(--blue-dark); }
.dim-card.food h3 { color: var(--amber-text); }

.dims-note {
  text-align: center;
  max-width: 520px;
  margin: clamp(32px, 4vw, 48px) auto 0;
  font-size: 15px;
  color: var(--muted);
}

/* ---------- games grid ---------- */

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3vw, 40px);
}

@media (max-width: 940px) { .games-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .games-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; } }

.game-card { display: flex; flex-direction: column; }

.game-card .shot {
  aspect-ratio: 390/540;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(26,26,26,0.08);
}
.game-card .shot img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform 0.4s ease;
}
.game-card:hover .shot img { transform: scale(1.04); }

.game-card .cat { font-size: 12px; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 5px; }
.game-card h3 { font-size: 19px; margin-bottom: 6px; }
.game-card p { font-size: 14.5px; }

/* ---------- vision — one big sparse statement, no card ---------- */

.vision { background: var(--bg-panel); padding: clamp(120px, 16vw, 240px) 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.vision .section-head { max-width: 920px; margin-bottom: clamp(28px, 4vw, 40px); }
.vision h2 { font-size: clamp(34px, 5.6vw, 60px); }
.vision .lede { max-width: 58ch; font-size: clamp(18px, 2vw, 21px); color: #6B685F; }

/* ---------- social ---------- */

.social {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 860px) { .social { grid-template-columns: 1fr; } }
.social .phone-wrap { display: flex; justify-content: center; }

/* ---------- founder ---------- */

.founder {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--hair);
}
@media (max-width: 700px) { .founder { grid-template-columns: 1fr; } }

.founder-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  background: var(--bg-panel);
  border: 1px solid var(--hair);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--muted);
  padding: 16px;
}

.founder blockquote {
  font-family: var(--serif);
  font-size: clamp(22px, 2.8vw, 30px);
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 18px;
}
.founder .name { font-weight: 600; color: var(--text); }
.founder .role { color: var(--muted); font-size: 14px; }

/* ---------- practitioner teaser ---------- */

.practitioner-teaser {
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  padding-top: clamp(36px, 5vw, 56px);
  padding-bottom: clamp(36px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}
.practitioner-teaser .copy { max-width: 520px; }
.practitioner-teaser .kicker { color: var(--blue-dark); }

/* ---------- final cta ---------- */

.final-cta { text-align: center; }
.final-cta h2 { margin-bottom: 14px; }
.final-cta .lede { margin: 0 auto 36px; }
.final-cta .cta-row { justify-content: center; }

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

footer { border-top: 1px solid var(--hair); padding: 40px 0; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}
.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { color: var(--text); }

/* ---------- disclaimer strip ---------- */

.disclaimer { font-size: 12.5px; color: var(--muted); max-width: 640px; margin-top: 16px; }

/* ---------- practitioner page specifics ---------- */

.page-hero { padding-top: clamp(64px, 9vw, 108px); padding-bottom: clamp(44px, 6vw, 68px); text-align: center; }
.page-hero .kicker { color: var(--blue-dark); }
.page-hero .lede { margin: 20px auto 0; max-width: 50ch; }
.page-hero h1 { font-size: clamp(34px, 5.6vw, 56px); }

.check-list { display: grid; gap: 18px; margin-top: 24px; }
.check-list li { display: flex; gap: 14px; font-size: 15.5px; color: #2E2C26; }
.check-list .dot {
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--blue-dark);
  margin-top: 9px;
}

.pilot-box {
  border-top: 1px solid var(--hair);
  padding-top: clamp(40px, 5vw, 56px);
  text-align: center;
}

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in { opacity: 1; transform: none; }
