:root {
  color-scheme: dark;
  --ink: #f8fbf2;
  --muted: #b9c7c1;
  --deep: #0b1c22;
  --deep-2: #10282f;
  --panel: #142f37;
  --panel-2: #193943;
  --line: rgba(241, 248, 239, .14);
  --green: #58cc02;
  --green-dark: #3da400;
  --gold: #ffc94a;
  --coral: #ff8b73;
  --sky: #7dd3fc;
  --cream: #fff7e6;
  --paper: #f7f8f3;
  --paper-ink: #15252b;
  --paper-muted: #52636a;
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
  font-family: Nunito, "Avenir Next", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--deep);
  color: var(--ink);
}
a { color: inherit; text-decoration: none; }
p { color: var(--muted); line-height: 1.65; }
img { max-width: 100%; }
h1, h2, h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.03;
}
h1, h2 {
  font-family: Fraunces, Georgia, "Times New Roman", ui-serif, serif;
}
h1 {
  max-width: 830px;
  font-size: clamp(46px, 8.5vw, 104px);
}
h2 { font-size: clamp(34px, 5vw, 68px); }
h3 { font-size: 23px; }

.marketing-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(11, 28, 34, .96), rgba(11, 28, 34, 1) 36%, rgba(247, 248, 243, 1) 36%, rgba(247, 248, 243, 1));
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  padding: 12px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  background: rgba(8, 22, 28, .82);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 950;
  letter-spacing: 0;
}
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: #16323b;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .18), 0 10px 24px rgba(88, 204, 2, .13);
}
.brand-mark::before,
.brand-mark::after,
.brand-mark i::before,
.brand-mark i::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 18px;
  border-radius: 13px 13px 4px 13px;
  background: var(--green);
  transform-origin: 50% 100%;
}
.brand-mark::before { transform: translateY(-5px) rotate(-45deg); }
.brand-mark::after { transform: translateY(-5px) rotate(45deg); background: var(--gold); }
.brand-mark i::before { transform: translateY(4px) rotate(-135deg); background: var(--coral); }
.brand-mark i::after { transform: translateY(4px) rotate(135deg); background: var(--sky); }
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #d7e3dd;
  font-size: 14px;
  font-weight: 900;
}
.nav a:not(.button):hover { color: white; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #1b3b45;
  color: var(--ink);
  font-weight: 950;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .18);
}
.button.primary {
  border-color: #6fe029;
  background: var(--green);
  color: #10200c;
  box-shadow: inset 0 -5px 0 var(--green-dark), 0 16px 30px rgba(88, 204, 2, .24);
}
.button.soft {
  background: var(--paper);
  border-color: rgba(21, 37, 43, .12);
  color: var(--paper-ink);
  box-shadow: inset 0 -4px 0 rgba(21, 37, 43, .09);
}
.button.glow {
  border-color: #ffe182;
  background: var(--gold);
  color: #2a2106;
  box-shadow: inset 0 -5px 0 #d99c18, 0 16px 34px rgba(255, 201, 74, .24);
}
.button.ghost {
  background: transparent;
  border-color: rgba(255,255,255,.28);
  color: white;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.center-actions { justify-content: center; }

.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  display: grid;
  align-items: center;
  padding: clamp(62px, 8vw, 106px) clamp(18px, 5vw, 74px) 116px;
  overflow: hidden;
}
.product-hero {
  background:
    linear-gradient(90deg, rgba(6, 18, 23, .96) 0%, rgba(8, 22, 28, .88) 45%, rgba(8, 22, 28, .34) 100%),
    url("./assets/garden-writing-hero-alpha19.png") center right / cover no-repeat;
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}
.hero-copy p {
  max-width: 650px;
  margin: 24px 0 30px;
  font-size: clamp(18px, 2vw, 23px);
  color: #d6e5df;
}
.hero-dock {
  position: absolute;
  left: clamp(18px, 5vw, 74px);
  right: clamp(18px, 5vw, 74px);
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  z-index: 2;
}
.habit-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  background: rgba(15, 39, 46, .78);
  backdrop-filter: blur(12px);
}
.habit-pill strong {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--gold);
  color: #221903;
  font-weight: 1000;
}
.habit-pill span {
  color: #edf6ef;
  font-weight: 900;
}

.section {
  padding: clamp(64px, 8vw, 112px) clamp(18px, 5vw, 74px);
  background: var(--paper);
  color: var(--paper-ink);
}
.section p { color: var(--paper-muted); }
.section-head {
  max-width: 830px;
  margin-bottom: 34px;
}
.section-head.centered {
  margin-inline: auto;
  text-align: center;
}
.eyebrow {
  margin: 0 0 12px;
  color: #206c05;
  font-size: 13px;
  font-weight: 1000;
  text-transform: uppercase;
}
.practice-loop {
  background: #f7f8f3;
}
.loop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.loop-card,
.card,
.format-card,
.plan-card,
.value-row article,
.path-stack article {
  border: 1px solid rgba(21, 37, 43, .12);
  border-radius: 18px;
  background: white;
  color: var(--paper-ink);
  box-shadow: 0 16px 36px rgba(21, 37, 43, .08);
}
.loop-card {
  min-height: 210px;
  padding: 22px;
}
.loop-card span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: #e8f6df;
  color: #247206;
  font-weight: 1000;
  box-shadow: inset 0 -4px 0 rgba(88, 204, 2, .16);
}
.loop-card.is-active {
  border-color: rgba(88, 204, 2, .52);
  box-shadow: 0 22px 44px rgba(88, 204, 2, .16);
}
.loop-card h3,
.card h3,
.format-card h3 { margin-bottom: 10px; }
.loop-card p,
.card p,
.format-card p { margin-bottom: 0; }

.app-stage {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  background:
    linear-gradient(180deg, #0f252d, #122f37);
  color: white;
}
.app-stage p { color: #cce1d9; }
.app-stage .eyebrow { color: var(--gold); }
.duo-phone {
  width: min(100%, 390px);
  min-height: 640px;
  padding: 28px 22px;
  border-radius: 34px;
  background: #111f25;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: var(--shadow);
}
.phone-progress {
  height: 14px;
  margin-bottom: 28px;
  border-radius: 999px;
  background: #3a515a;
  overflow: hidden;
}
.phone-progress span {
  display: block;
  width: 35%;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}
.duo-phone h3 {
  margin-bottom: 74px;
  color: #f8fbf2;
  font-size: 27px;
}
.match-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.match-preview button {
  min-height: 74px;
  padding: 10px;
  border: 3px solid #344b54;
  border-radius: 15px;
  background: #12272f;
  color: #f8fbf2;
  font: inherit;
  font-size: 17px;
  font-weight: 850;
  box-shadow: inset 0 -4px 0 rgba(255, 255, 255, .05);
}
.checklist {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: inherit;
}
.checklist li::before {
  content: "";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 -3px 0 var(--green-dark);
}
.warm-list { margin: 24px 0; }

.calm-library {
  background: #eef3ed;
}
.library-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.library-rail article {
  overflow: hidden;
  min-height: 330px;
  border: 1px solid rgba(21, 37, 43, .12);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(21, 37, 43, .1);
}
.library-rail img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}
.library-rail span,
.tag {
  display: inline-flex;
  width: fit-content;
  margin: 18px 18px 10px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #e8f6df;
  color: #206c05;
  font-size: 13px;
  font-weight: 1000;
}
.library-rail strong {
  display: block;
  padding: 0 18px 20px;
  font-size: 22px;
  line-height: 1.14;
}

.path-band {
  background:
    linear-gradient(180deg, #f7f8f3, #e6f1e7);
}
.garden-path-preview {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 960px;
  min-height: 230px;
  margin: 22px auto 0;
  padding: 26px;
  border: 1px solid rgba(21, 37, 43, .12);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .88), rgba(235, 246, 230, .92)),
    url("./assets/bloomscroll-garden-concept-alpha19.png") center / cover no-repeat;
  box-shadow: 0 22px 48px rgba(21, 37, 43, .12);
}
.garden-path-preview::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 50%;
  height: 10px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, rgba(55, 88, 48, .72) 0 22px, transparent 22px 36px);
  transform: rotate(-4deg);
}
.path-node {
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: center;
  display: grid;
  place-items: center;
  width: 128px;
  min-height: 88px;
  padding: 14px;
  border-radius: 26px;
  border: 3px solid white;
  background: #ffffff;
  color: #143118;
  font-weight: 1000;
  text-align: center;
  box-shadow: inset 0 -5px 0 rgba(21, 37, 43, .12), 0 14px 30px rgba(21, 37, 43, .14);
}
.path-node.current {
  background: var(--green);
  border-color: #e7ffd9;
}
.path-node.locked {
  background: #d8e1d9;
  color: #52635a;
}
.path-node.premium {
  background: var(--gold);
}
.premium-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  background: #10282f;
  color: white;
}
.premium-strip p { color: #d2e2dc; }
.premium-strip .eyebrow { color: var(--gold); }

.faq details {
  max-width: 900px;
  margin-inline: auto;
  border-top: 1px solid rgba(21, 37, 43, .13);
  padding: 18px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 1000;
  color: var(--paper-ink);
}
.footer {
  padding: 38px clamp(18px, 5vw, 74px);
  background: #07161b;
  color: white;
}
.footer p {
  margin: 8px 0 0;
  color: #c4d6cf;
}

.page-hero {
  padding: clamp(76px, 10vw, 136px) clamp(18px, 5vw, 74px);
  background:
    linear-gradient(90deg, rgba(6, 18, 23, .95) 0%, rgba(8, 22, 28, .86) 48%, rgba(8, 22, 28, .24) 100%),
    url("./assets/bloomscroll-hero.jpg") center right / cover no-repeat;
}
.page-hero p {
  max-width: 760px;
  font-size: 21px;
  color: #d6e5df;
}
.page-hero .eyebrow { color: var(--gold); }
.lesson-hero {
  background:
    linear-gradient(90deg, rgba(6, 18, 23, .95) 0%, rgba(8, 22, 28, .86) 50%, rgba(8, 22, 28, .22) 100%),
    url("./assets/reel-teacher-garden-alpha24.png") center right / cover no-repeat;
}
.pricing-hero {
  background:
    linear-gradient(90deg, rgba(6, 18, 23, .95) 0%, rgba(8, 22, 28, .88) 52%, rgba(8, 22, 28, .2) 100%),
    url("./assets/writer-growth.jpg") center right / cover no-repeat;
}
.path-stack {
  display: grid;
  gap: 14px;
}
.path-stack article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 4px 16px;
  align-items: center;
  padding: 18px;
}
.path-stack span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--green);
  color: #10200c;
  font-weight: 1000;
  box-shadow: inset 0 -4px 0 var(--green-dark);
}
.path-stack small {
  color: var(--paper-muted);
  font-size: 15px;
  font-weight: 800;
}
.format-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.format-card {
  padding: 22px;
}

.question-type-card,
.bonus-type-card {
  display: grid;
  align-content: start;
  gap: 8px;
}

.bonus-head {
  margin-top: clamp(42px, 6vw, 78px);
}

.bonus-grid .format-card {
  border-color: rgba(255, 201, 74, .42);
  background: linear-gradient(180deg, #fffef8, #fff9e8);
}

.demo-preview {
  display: grid;
  gap: 8px;
  min-height: 64px;
  margin: 2px 0 6px;
  padding: 12px;
  border: 1px solid rgba(21, 37, 43, .13);
  border-radius: 14px;
  background: #10282f;
  color: #edf7f0;
  font-size: 13px;
  font-weight: 900;
}

.demo-preview b,
.demo-preview mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 9px;
  border-radius: 10px;
  background: #1a3b45;
  color: #f5fff7;
  text-align: center;
}

.demo-preview .is-correct,
.demo-preview mark {
  background: var(--green);
  color: #10200c;
}

.pair-preview,
.option-preview,
.chip-preview {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chip-preview {
  display: flex;
  flex-wrap: wrap;
}

.sentence-preview,
.textarea-preview {
  align-content: center;
  color: #dbe9e3;
}

.column-preview {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.textarea-preview {
  min-height: 82px;
  align-items: start;
  border-style: dashed;
}

.meter-preview {
  min-height: 22px;
  padding: 0;
  overflow: hidden;
  border-radius: 999px;
  background: #344b54;
}

.meter-preview i {
  display: block;
  width: 60%;
  height: 100%;
  background: var(--green);
}

.format-card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: #206c05;
  font-size: 13px;
  font-weight: 1000;
  text-transform: uppercase;
}
.format-card p {
  margin: 8px 0 0;
  color: var(--paper-muted);
}

.source-map-section {
  margin-top: clamp(48px, 7vw, 92px);
  padding-top: clamp(26px, 4vw, 44px);
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.research-card {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 14px 34px rgba(3, 18, 17, .12);
}

.research-card span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #e6ffd7;
  color: #1d6104;
  font-size: 11px;
  font-weight: 1000;
  text-transform: uppercase;
}

.research-card h3 {
  margin: 0;
  color: var(--paper-ink);
  font-size: clamp(17px, 1.4vw, 21px);
}

.research-card p {
  margin: 8px 0 0;
  color: var(--paper-muted);
  font-size: 14px;
  line-height: 1.45;
}

.research-card strong {
  color: var(--paper-ink);
}
.grid {
  display: grid;
  gap: 18px;
}
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  padding: 26px;
}
.card .tag {
  margin: 0 0 18px;
}
.pricing-grid-section {
  background: #eef3ed;
}
.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 18px;
  max-width: 1120px;
  margin-inline: auto;
}
.plan-card {
  padding: clamp(24px, 4vw, 40px);
}
.plan-card .tag {
  margin: 0 0 20px;
}
.plan-card h2 {
  font-size: clamp(34px, 4.5vw, 54px);
}
.featured-plan {
  border-color: rgba(88, 204, 2, .5);
  box-shadow: 0 24px 60px rgba(88, 204, 2, .13);
}
.value-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.value-row article {
  padding: 22px;
}
.value-row strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

@media (max-width: 1020px) {
  .loop-grid,
  .library-rail,
  .grid.three,
  .value-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-stage,
  .premium-strip,
  .pricing-grid { grid-template-columns: 1fr; }
  .duo-phone { justify-self: center; }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
    padding-inline: 14px;
  }
  .nav a:not(.button) { display: none; }
  .nav-cta { min-height: 42px; padding-inline: 14px; }
  .brand-mark { width: 36px; height: 36px; }
  .hero {
    min-height: 760px;
    padding-top: 48px;
    padding-bottom: 230px;
  }
  .product-hero {
    background:
      linear-gradient(180deg, rgba(6, 18, 23, .97) 0%, rgba(8, 22, 28, .9) 58%, rgba(8, 22, 28, .38) 100%),
      url("./assets/garden-writing-hero-alpha19.png") 64% center / cover no-repeat;
  }
  h1 { font-size: clamp(43px, 13vw, 62px); }
  h2 { font-size: clamp(32px, 10vw, 48px); }
  .hero-dock {
    grid-template-columns: 1fr;
    max-width: none;
  }
  .loop-grid,
  .library-rail,
  .grid.three,
  .grid.two,
  .format-grid,
  .research-grid,
  .value-row { grid-template-columns: 1fr; }
  .duo-phone {
    min-height: 570px;
    border-radius: 28px;
  }
  .duo-phone h3 { margin-bottom: 44px; }
  .match-preview { gap: 12px; }
  .match-preview button {
    min-height: 62px;
    font-size: 15px;
  }
  .garden-path-preview {
    grid-template-columns: 1fr;
    min-height: 520px;
  }
  .garden-path-preview::before {
    left: 50%;
    right: auto;
    top: 8%;
    bottom: 8%;
    width: 10px;
    height: auto;
    transform: none;
    background: repeating-linear-gradient(180deg, rgba(55, 88, 48, .72) 0 22px, transparent 22px 36px);
  }
  .path-node { width: min(100%, 240px); }
  .page-hero {
    padding-top: 68px;
    background:
      linear-gradient(180deg, rgba(6, 18, 23, .98), rgba(8, 22, 28, .9)),
      url("./assets/bloomscroll-hero.jpg") center / cover no-repeat;
  }
}

@media (max-width: 460px) {
  .button { width: 100%; }
  .nav .button { width: auto; }
  .habit-pill { min-height: 62px; }
  .section { padding-inline: 16px; }
  .page-hero { padding-inline: 16px; }
}
