/* Loopiva — site styles
   Warm, soft, cozy aesthetic mirroring the iOS app. */

:root {
  --cream: #F7F3ED;
  --cream-deep: #F0E8DC;
  --surface: #FFFFFF;
  --surface-2: #FBF7F1;
  --ink: #1F1A15;
  --ink-soft: #5E574E;
  --muted: #908778;
  --line: rgba(31, 26, 21, 0.08);
  --accent: #C77A5C;
  --accent-deep: #A8543A;
  --accent-soft: #F3E1D4;
  --pink: #EFA9BA;
  --pink-soft: #FBE7EC;
  --leaf: #8FA66B;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 18px 50px -28px rgba(120, 70, 45, 0.45);
  --shadow-card: 0 12px 36px -22px rgba(120, 70, 45, 0.35);
  --max: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "SF Pro Display",
    "Segoe UI", system-ui, "Nunito", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1100px 600px at 12% -8%, var(--pink-soft) 0%, transparent 55%),
    radial-gradient(900px 520px at 96% 4%, var(--accent-soft) 0%, transparent 50%),
    var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent-deep); text-decoration: none; }
a:hover { color: var(--accent); }

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

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  background: rgba(247, 243, 237, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 6px 16px -8px rgba(120, 70, 45, 0.6);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 15px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(168, 84, 58, 0.8);
}

.btn-primary:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 20px 38px -16px rgba(168, 84, 58, 0.85);
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover { transform: translateY(-2px); color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 64px 0 32px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--accent-deep);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-card);
}

.hero h1 {
  font-size: clamp(38px, 6vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 20px 0 14px;
  font-weight: 800;
}

.hero h1 .accent {
  background: linear-gradient(120deg, var(--accent) 0%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 0 28px;
}

.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.store-badge img { height: 56px; width: auto; border-radius: 12px; }

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 34px;
}

.hero-stats .stat .num {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero-stats .stat .lab {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

/* hero art */
.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 40px;
  background:
    radial-gradient(120% 120% at 30% 20%, #fff 0%, var(--surface-2) 60%, var(--cream-deep) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 75% 80%, var(--pink-soft) 0%, transparent 60%),
    radial-gradient(50% 50% at 20% 30%, var(--accent-soft) 0%, transparent 55%);
}

.hero-card img.mascot {
  position: relative;
  width: 78%;
  filter: drop-shadow(0 18px 30px rgba(168, 84, 58, 0.25));
  animation: float 6s ease-in-out infinite;
}

.float-chip {
  position: absolute;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 8px;
}

.float-chip .dot { width: 9px; height: 9px; border-radius: 50%; }
.float-chip.one { top: 11%; left: 0; animation: float 5s ease-in-out infinite; }
.float-chip.two { bottom: 22%; right: 0; animation: float 5.6s ease-in-out 0.6s infinite; }
.float-chip.three { bottom: 5%; left: 14%; animation: float 6.4s ease-in-out 0.3s infinite; }

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

/* ---------- Sections ---------- */
section { padding: 56px 0; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.025em;
  margin: 0 0 12px;
  font-weight: 800;
}

.section-head p { color: var(--ink-soft); font-size: 17px; margin: 0; }

/* feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
  background: var(--accent-soft);
}

.feature-card h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -0.01em; }
.feature-card p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* AI/search-readable content blocks */
.seo-section {
  padding-top: 20px;
}

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

.answer-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
}

.answer-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.answer-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
}

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

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.faq-list p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
}

/* steps / course band */
.band {
  background: linear-gradient(135deg, #fff 0%, var(--surface-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-card);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 8px;
}

.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
}

.step .n {
  width: 40px; height: 40px; border-radius: 50%;
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}

.step h4 { margin: 0 0 6px; font-size: 16px; }
.step p { margin: 0; font-size: 14px; color: var(--ink-soft); }

/* perfect-for chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  box-shadow: var(--shadow-card);
}

/* premium band */
.premium {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  border-radius: var(--radius-xl);
  padding: 48px;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.premium h2 { font-size: clamp(26px, 4vw, 38px); margin: 0 0 12px; letter-spacing: -0.02em; }
.premium p { color: rgba(255,255,255,0.92); font-size: 17px; max-width: 560px; margin: 0 auto 26px; }
.premium .btn-primary { background: #fff; color: var(--accent-deep); }
.premium .btn-primary:hover { color: var(--accent-deep); }

.premium-list {
  display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: center;
  margin: 0 auto 26px; max-width: 640px; padding: 0; list-style: none;
}
.premium-list li { font-weight: 600; display: flex; align-items: center; gap: 8px; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding: 52px 0 32px;
}

.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { color: var(--ink-soft); font-size: 14px; max-width: 320px; }

.footer-col h5 {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 14px;
}
.footer-col a { display: block; color: var(--ink-soft); font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--accent-deep); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}
.footer-bottom .made a { color: var(--accent-deep); font-weight: 700; }

/* ---------- Legal pages ---------- */
.legal-hero {
  padding: 48px 0 8px;
  text-align: center;
}
.legal-hero h1 {
  font-size: clamp(30px, 5vw, 44px);
  letter-spacing: -0.025em;
  margin: 10px 0 8px;
}
.legal-hero .updated { color: var(--muted); font-size: 14px; font-weight: 600; }

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 16px 24px 64px;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px clamp(22px, 4vw, 48px);
  box-shadow: var(--shadow-card);
}

.legal-card h2 {
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 34px 0 10px;
  scroll-margin-top: 90px;
}
.legal-card h2:first-child { margin-top: 0; }
.legal-card h3 { font-size: 17px; margin: 22px 0 8px; }
.legal-card p, .legal-card li { color: var(--ink-soft); font-size: 15.5px; }
.legal-card ul { padding-left: 20px; }
.legal-card li { margin-bottom: 8px; }
.legal-card a { font-weight: 600; }
.legal-card strong { color: var(--ink); }

.legal-toc {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 28px;
}
.legal-toc h4 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.legal-toc a { font-weight: 600; font-size: 14.5px; display: inline-block; margin: 4px 14px 4px 0; }

.callout {
  background: var(--accent-soft);
  border: 1px solid rgba(168, 84, 58, 0.18);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 18px 0;
  color: var(--ink);
  font-size: 15px;
}

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { order: -1; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .answer-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .nav-links { display: none; }
  .features { grid-template-columns: 1fr; }
  .answer-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .band, .premium { padding: 30px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 42px 0; }
}

/* ---------- 2026 visual refresh ---------- */
:root {
  --cream: #FFF7EC;
  --cream-deep: #F6DEC8;
  --surface: #FFFCF6;
  --surface-2: #FFF2E4;
  --ink: #352116;
  --ink-soft: #6B594D;
  --muted: #9A7D68;
  --line: rgba(75, 43, 27, 0.11);
  --accent: #D66F4B;
  --accent-deep: #8F3E26;
  --accent-soft: #F8D9C4;
  --pink: #EF8FA8;
  --pink-soft: #FFE3EA;
  --leaf: #7F9B65;
  --shadow-soft: 0 34px 90px -44px rgba(105, 54, 35, 0.62);
  --shadow-card: 0 18px 50px -34px rgba(105, 54, 35, 0.42);
  --shadow-pop: 0 28px 76px -36px rgba(119, 55, 35, 0.5);
}

body {
  background:
    radial-gradient(900px 540px at 8% 8%, rgba(255, 227, 234, 0.95), transparent 62%),
    radial-gradient(840px 520px at 92% 2%, rgba(255, 213, 170, 0.86), transparent 60%),
    radial-gradient(760px 560px at 70% 78%, rgba(255, 242, 220, 0.9), transparent 62%),
    linear-gradient(180deg, #FFF9F0 0%, #FFF4E9 48%, #FFF9F2 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    radial-gradient(circle at 12% 28%, rgba(214, 111, 75, 0.13) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 18%, rgba(239, 143, 168, 0.2) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 68%, rgba(127, 155, 101, 0.13) 0 2px, transparent 3px);
  background-size: 180px 180px, 220px 220px, 260px 260px;
}

.site-header {
  background: rgba(255, 250, 242, 0.74);
  box-shadow: 0 1px 0 rgba(255,255,255,.75) inset, 0 18px 50px -44px rgba(84, 39, 24, .8);
}

.nav {
  height: 76px;
}

.brand {
  font-size: 21px;
  gap: 11px;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #fff;
  padding: 2px;
  box-shadow: 0 12px 26px -14px rgba(100, 48, 30, 0.72);
}

.nav-links {
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(75, 43, 27, 0.08);
  border-radius: 999px;
  padding: 9px 18px;
  gap: 22px;
}

.btn {
  min-height: 46px;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, #F18A62 0%, #C95436 48%, #89391F 100%);
  box-shadow: 0 18px 38px -18px rgba(139, 57, 31, 0.9);
}

.btn-ghost {
  background: rgba(255,255,255,.62);
  box-shadow: 0 10px 30px -24px rgba(80, 38, 23, .7);
}

.hero {
  padding: 88px 0 48px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(1px);
}

.hero::before {
  width: 460px;
  height: 460px;
  right: -160px;
  top: 30px;
  background: radial-gradient(circle, rgba(239, 143, 168, 0.28), transparent 66%);
}

.hero::after {
  width: 540px;
  height: 220px;
  left: -180px;
  bottom: 12px;
  background: radial-gradient(ellipse, rgba(214, 111, 75, 0.16), transparent 70%);
}

.hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 62px;
}

.pill {
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 42px -30px rgba(110, 52, 33, 0.7);
}

.hero h1 {
  max-width: 660px;
  font-size: clamp(44px, 7.2vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero h1 .accent {
  background: linear-gradient(115deg, #B84E32 0%, #E97955 44%, #E985A1 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero p.lede {
  font-size: 20px;
  line-height: 1.68;
}

.hero-stats {
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid var(--line);
  border-radius: 24px;
  width: fit-content;
  padding: 16px 22px;
  box-shadow: var(--shadow-card);
}

.hero-stats .stat .num {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-art {
  min-height: 620px;
  align-items: center;
  isolation: isolate;
}

.orb {
  position: absolute;
  border-radius: 999px;
  z-index: -1;
}

.orb-a {
  width: 430px;
  height: 430px;
  background: radial-gradient(circle at 35% 25%, #fff 0%, #FFE7CB 40%, rgba(239, 143, 168, .7) 100%);
  box-shadow: inset 0 0 80px rgba(255,255,255,.66);
}

.orb-b {
  right: 4%;
  bottom: 5%;
  width: 190px;
  height: 190px;
  background: radial-gradient(circle, rgba(127, 155, 101, .28), transparent 68%);
}

.phone-shell {
  position: relative;
  width: min(342px, 82vw);
  padding: 13px;
  border-radius: 48px;
  background: linear-gradient(145deg, #24160F, #6F3927);
  box-shadow:
    0 42px 90px -38px rgba(75, 30, 17, .9),
    0 0 0 10px rgba(255,255,255,.18);
  transform: rotate(2deg);
  animation: phoneFloat 7s ease-in-out infinite;
}

.phone-shell::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,.28);
  pointer-events: none;
}

.phone-top {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 50%;
  width: 104px;
  height: 29px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #110D0B;
}

.app-screen {
  min-height: 610px;
  overflow: hidden;
  border-radius: 37px;
  background:
    radial-gradient(260px 150px at 58% 8%, rgba(239,143,168,.18), transparent 70%),
    linear-gradient(180deg, #FFFDF8 0%, #FFF2E7 100%);
  padding: 28px 20px 20px;
}

.screen-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 5px 24px;
  font-size: 13px;
  font-weight: 800;
  color: #2E1B13;
}

.mini-crown {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #A54F35;
  background: #fff;
  box-shadow: 0 10px 22px -16px rgba(86, 40, 24, .8);
}

.hello-card,
.progress-card,
.lesson-card {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(75, 43, 27, .08);
  border-radius: 28px;
  box-shadow: 0 18px 38px -30px rgba(84, 39, 24, .7);
}

.hello-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
}

.hello-card img {
  border-radius: 24px;
  box-shadow: 0 12px 24px -18px rgba(84, 39, 24, .8);
}

.screen-kicker {
  margin: 0 0 3px;
  color: var(--accent);
  font-weight: 900;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hello-card h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.hello-card p:last-child {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-weight: 650;
  font-size: 13px;
}

.progress-card {
  padding: 16px;
  margin-top: 14px;
}

.progress-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-weight: 800;
  font-size: 13px;
}

.progress-track {
  height: 10px;
  border-radius: 999px;
  background: #F0D8C6;
  overflow: hidden;
}

.progress-track span {
  display: block;
  width: 57%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #E97955, #8FA66B);
}

.lesson-card {
  margin-top: 14px;
  padding: 13px;
}

.lesson-photo {
  position: relative;
  min-height: 188px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 26% 45%, transparent 0 28px, #DBA15B 29px 33px, transparent 34px),
    radial-gradient(circle at 70% 55%, transparent 0 42px, #DBA15B 43px 47px, transparent 48px),
    linear-gradient(135deg, #F8E7D5, #FFF9EF);
  border: 1px dashed rgba(166, 90, 52, .28);
}

.lesson-photo::before,
.lesson-photo::after {
  content: "";
  position: absolute;
  height: 8px;
  border-radius: 999px;
  background: #D99142;
  transform: rotate(-18deg);
}

.lesson-photo::before {
  width: 112px;
  left: 37px;
  top: 88px;
}

.lesson-photo::after {
  width: 132px;
  right: 30px;
  top: 110px;
}

.stitch-label {
  position: absolute;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  color: #A54F35;
  font-size: 10px;
  font-weight: 900;
}

.stitch-label.left { left: 30px; top: 52px; }
.stitch-label.right { right: 24px; bottom: 40px; }

.lesson-copy {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 4px 2px;
  font-size: 14px;
}

.lesson-copy span {
  color: var(--muted);
  font-weight: 700;
}

.bottom-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
}

.bottom-tabs span {
  width: 48px;
  height: 7px;
  border-radius: 999px;
  background: rgba(75,43,27,.14);
}

.bottom-tabs span:first-child {
  background: var(--accent);
}

@keyframes phoneFloat {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50% { transform: rotate(-1deg) translateY(-14px); }
}

.float-chip {
  border-radius: 18px;
  box-shadow: var(--shadow-pop);
}

.float-chip.one { left: 4%; top: 15%; }
.float-chip.two { right: 1%; bottom: 29%; }
.float-chip.three { left: 4%; bottom: 13%; }

section {
  position: relative;
}

.feature-card,
.answer-card,
.step,
.legal-card,
.legal-toc,
.faq-list details {
  background: rgba(255, 252, 246, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.feature-card,
.answer-card,
.step {
  min-height: 100%;
}

.feature-icon {
  background: linear-gradient(135deg, #FFE7D5, #FFDCE5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

.band {
  background:
    radial-gradient(560px 260px at 20% 20%, rgba(255, 227, 234, 0.7), transparent 65%),
    linear-gradient(135deg, rgba(255,255,255,.84), rgba(255,243,229,.82));
}

.premium {
  background:
    radial-gradient(420px 220px at 18% 0%, rgba(255,255,255,.22), transparent 65%),
    linear-gradient(135deg, #B84E32 0%, #8B3A24 58%, #522617 100%);
}

.premium::before {
  content: "";
  position: absolute;
  inset: auto -70px -130px auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(255, 227, 234, 0.14);
}

/* ---------- Event page ---------- */
.event-hero {
  padding: 76px 0 40px;
  overflow: hidden;
}

.event-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 54px;
}

.event-copy h1 {
  font-size: clamp(42px, 7vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 18px 0 8px;
  font-weight: 900;
}

.event-long-name {
  margin: 0 0 18px;
  color: var(--accent-deep);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 850;
  letter-spacing: -0.02em;
}

.event-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 28px;
  max-width: 620px;
}

.event-keywords span {
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--accent-deep);
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
}

.event-art-card {
  position: relative;
  min-height: 520px;
  border-radius: 42px;
  background:
    radial-gradient(420px 320px at 26% 18%, rgba(251, 231, 236, .96), transparent 70%),
    radial-gradient(360px 260px at 78% 84%, rgba(243, 225, 212, .95), transparent 68%),
    rgba(255, 252, 246, .74);
  border: 1px solid rgba(255,255,255,.74);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.event-art {
  position: absolute;
  inset: 36px;
}

.event-yarn {
  position: absolute;
  width: 138px;
  height: 138px;
  top: 18px;
  left: 26px;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at 52% 52%, transparent 0 8px, rgba(126, 58, 38, .16) 9px 12px),
    linear-gradient(135deg, #D98968, #B85E3F);
  box-shadow: 0 22px 34px -20px rgba(120, 70, 45, .6);
}

.event-thread {
  position: absolute;
  width: 300px;
  height: 210px;
  left: 46px;
  top: 96px;
  border: 9px solid rgba(199, 122, 92, .5);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(18deg);
}

.event-hook {
  position: absolute;
  width: 250px;
  height: 18px;
  top: 188px;
  left: 124px;
  border-radius: 999px;
  background: linear-gradient(90deg, #B47A34, #F0C66B 22%, #7B4B20 100%);
  transform: rotate(-36deg);
  box-shadow: 0 14px 24px -18px rgba(65, 38, 22, .8);
}

.event-hook::after {
  content: "";
  position: absolute;
  width: 36px;
  height: 28px;
  right: -15px;
  top: -8px;
  border: 7px solid #8B551F;
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 22px 0 0;
  transform: rotate(10deg);
}

.event-square {
  position: absolute;
  width: 232px;
  height: 232px;
  left: 96px;
  top: 214px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 50%, #F9DFB6 0 16%, transparent 17%),
    conic-gradient(from 45deg, #C77A5C 0 25%, #8FA66B 0 50%, #F3D8C3 0 75%, #C77A5C 0);
  border: 18px solid #FFF1DD;
  box-shadow: 0 24px 42px -24px rgba(120, 70, 45, .65);
  transform: rotate(4deg);
}

.event-square span {
  position: absolute;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.62);
}

.event-square span:nth-child(1) { left: 28px; top: 30px; }
.event-square span:nth-child(2) { right: 28px; top: 30px; }
.event-square span:nth-child(3) { left: 28px; bottom: 30px; }
.event-square span:nth-child(4) { right: 28px; bottom: 30px; }

.event-stack {
  position: absolute;
  right: 24px;
  border-radius: 24px;
  box-shadow: 0 18px 34px -24px rgba(120, 70, 45, .7);
}

.stack-a {
  width: 178px;
  height: 78px;
  top: 84px;
  background:
    repeating-linear-gradient(90deg, rgba(122, 72, 44, .12) 0 7px, transparent 8px 15px),
    #F7CFD8;
  transform: rotate(6deg);
}

.stack-b {
  width: 190px;
  height: 86px;
  bottom: 24px;
  background:
    repeating-linear-gradient(90deg, rgba(65, 87, 48, .12) 0 7px, transparent 8px 16px),
    #DCE7C6;
  transform: rotate(-4deg);
}

.event-needle {
  position: absolute;
  width: 142px;
  height: 4px;
  right: 50px;
  bottom: 154px;
  border-radius: 999px;
  background: linear-gradient(90deg, #A69A88, #F7F1E8, #8B8278);
  transform: rotate(-28deg);
}

.event-metadata .legal-card {
  max-width: 820px;
}

@media (max-width: 900px) {
  .hero {
    padding-top: 52px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: 0;
    min-height: 500px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero p.lede,
  .hero h1 {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta,
  .hero-stats {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .event-grid {
    grid-template-columns: 1fr;
  }

  .event-copy {
    text-align: center;
  }

  .event-copy .lede,
  .event-keywords {
    margin-left: auto;
    margin-right: auto;
  }

  .event-hero .hero-cta {
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .container {
    padding: 0 18px;
  }

  .nav {
    height: 68px;
  }

  .brand {
    font-size: 19px;
  }

  .site-header .btn {
    padding: 10px 14px;
    font-size: 13px;
  }

  .hero h1 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .hero p.lede {
    font-size: 17px;
  }

  .hero-stats {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    padding: 14px;
  }

  .hero-stats .stat .num {
    font-size: 21px;
  }

  .phone-shell {
    width: min(292px, 84vw);
  }

  .app-screen {
    min-height: 520px;
  }

  .hero-art {
    min-height: 470px;
  }

  .float-chip {
    font-size: 12px;
    padding: 9px 11px;
  }

  .event-hero {
    padding-top: 48px;
  }

  .event-art-card {
    min-height: 460px;
    border-radius: 30px;
  }

  .event-art {
    inset: 24px;
    transform: scale(.88);
    transform-origin: center;
  }
}
