/* ============================================================
   The Ultimate Chemistry Guide — landing page
   Kinetic Study visual language, STEM with Kristen brand.
   Self-contained (own tokens + fonts) so it can be hosted
   on any domain independent of the Kinetic project.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400;1,6..72,500;1,6..72,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Caveat:wght@500;600;700&display=swap');

:root {
  --bg: #FAF6EE;
  --bg-warm: #F4EAD7;
  --card: #FFFFFF;
  --ink: #1A1A1A;

  --peach: #F4A88F;  --peach-deep: #ED8B6E;  --peach-soft: #FBDED1;
  --blue: #65CCEC;   --blue-deep: #3FB6DA;   --blue-soft: #D6EEF8;
  --yellow: #FBD45A; --yellow-soft: #FDE9A6;
  --lavender: #B8A4E6; --lavender-soft: #ECE3FA;
  --sage: #B6CFA1;   --sage-soft: #DDE7CE;   --sage-deep: #6B8557;

  --ink-80: rgba(26,26,26,0.80);
  --ink-65: rgba(26,26,26,0.65);
  --ink-50: rgba(26,26,26,0.50);
  --ink-30: rgba(26,26,26,0.30);
  --ink-12: rgba(26,26,26,0.12);
  --ink-06: rgba(26,26,26,0.06);

  --r-card: 18px; --r-panel: 24px; --r-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(26,26,26,0.05);
  --shadow-md: 0 6px 20px rgba(26,26,26,0.08);
  --shadow-card: 0 14px 40px rgba(60,40,20,0.10);
  --shadow-phone: 0 30px 70px rgba(60,40,20,0.18);

  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --hand: 'Caveat', cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* subtle corner washes */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(560px 460px at 100% 0%, rgba(101,204,236,0.10), transparent 70%),
    radial-gradient(560px 460px at 0% 100%, rgba(244,168,143,0.10), transparent 70%);
}
.page { position: relative; z-index: 1; }

/* ---- signature squiggle ---- */
.squiggle-under { position: relative; display: inline-block; white-space: nowrap; }
.squiggle-under .ital { font-family: var(--serif); font-style: italic; font-weight: 500; }
.squiggle-under .squiggle { position: absolute; left: 0; right: 0; bottom: -0.28em; width: 100%; height: 0.34em; overflow: visible; }
.squiggle-under .squiggle path { fill: none; stroke: var(--blue); stroke-width: 7; stroke-linecap: round; }
.squiggle-under.yellow .squiggle path { stroke: var(--yellow); stroke-width: 11; }
.squiggle-under.peach .squiggle path { stroke: var(--peach); }

/* ---- buttons ---- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 700; font-size: 15px;
  padding: 13px 24px; border-radius: var(--r-pill);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, color 120ms ease, box-shadow 120ms ease;
}
.pill.lg { font-size: 16px; padding: 16px 30px; }
.pill.peach { background: var(--peach); color: var(--ink); }
.pill.peach:hover { background: var(--peach-deep); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.pill.ink { background: var(--ink); color: #fff; }
.pill.ink:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.pill.ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.pill.ghost:hover { background: var(--ink); color: #fff; }
.pill.ghost-light { background: transparent; border-color: rgba(255,255,255,0.5); color: #fff; }
.pill.ghost-light:hover { background: #fff; color: var(--ink); }

.eyebrow { font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--peach-deep); }

/* =========================== NAV =========================== */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(250,246,238,0.86); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ink-06); }
.nav .inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.wordmark { display: inline-flex; align-items: baseline; gap: 2px; font-family: var(--serif); font-weight: 600; font-size: 21px; letter-spacing: -0.01em; color: var(--ink); }
.wordmark .stem { font-weight: 600; }
.wordmark .with { font-style: italic; font-weight: 500; font-size: 16px; color: var(--ink-65); margin: 0 4px; }
.wordmark .kristen { font-weight: 600; }
.nav .links { display: flex; align-items: center; gap: 26px; }
.nav .links a.navlink { font-family: var(--sans); font-weight: 600; font-size: 14.5px; color: var(--ink-65); }
.nav .links a.navlink:hover { color: var(--ink); }
@media (max-width: 720px) { .nav .links a.navlink { display: none; } }

/* =========================== HERO =========================== */
.hero { position: relative; padding: 64px 0 72px; }
.hero .grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero .eyebrow { margin-bottom: 18px; display: inline-block; }
.hero h1 {
  font-family: var(--sans); font-weight: 800; letter-spacing: -0.02em;
  font-size: 56px; line-height: 1.05; margin: 0; color: var(--ink);
}
.hero h1 .ital { font-family: var(--serif); font-style: italic; font-weight: 500; }
.hero .sub { font-family: var(--sans); font-size: 18px; line-height: 1.55; color: var(--ink-65); margin: 22px 0 12px; max-width: 520px; }
.hero .sub b { color: var(--ink); font-weight: 700; }

/* free / price flag */
.price-flag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.price-flag .free { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 24px; letter-spacing: 0.02em; color: var(--blue-deep); }
.price-flag .was { font-family: var(--sans); font-weight: 700; font-size: 15px; color: #C0563E; text-decoration: line-through; }

/* email form */
.signup-form { display: flex; gap: 10px; flex-wrap: wrap; max-width: 520px; margin-top: 20px; }
.signup-form .name-row { display: flex; gap: 10px; flex: 1 1 100%; width: 100%; }
.signup-form .name-row input { flex: 1; min-width: 0; }
.signup-form input[type=email],
.signup-form input[type=text] {
  flex: 1; min-width: 220px; font-family: var(--sans); font-size: 15px; font-weight: 500;
  padding: 15px 18px; border-radius: var(--r-pill); border: 1.5px solid var(--ink-12);
  background: var(--card); color: var(--ink); outline: none; transition: border-color 120ms ease;
}
.signup-form input[type=email]:focus,
.signup-form input[type=text]:focus { border-color: var(--peach); }
.signup-form input[type=email]::placeholder,
.signup-form input[type=text]::placeholder { color: var(--ink-50); }
/* hero: 2×2 grid so all fields are exactly equal width */
.hero .signup-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 460px; }
.hero .signup-form .name-row { display: contents; }
.hero .signup-form .name-row input,
.hero .signup-form input[type=email] { font-size: 14px; padding: 12px 16px; min-width: 0; width: 100%; }
.hero .signup-form input[type=email] { align-self: center; }
.hero .signup-form > .pill { width: 100%; }
.signup-note { font-family: var(--sans); font-size: 13px; color: var(--ink-50); margin-top: 12px; }
.signup-note .dot { color: var(--sage-deep); font-weight: 800; }
.form-msg { font-family: var(--sans); font-size: 14px; font-weight: 600; margin-top: 12px; min-height: 1px; }
.form-msg.err { color: #C0563E; }
.signup-success {
  display: none; max-width: 520px; margin-top: 20px;
  background: var(--sage-soft); border: 1px solid var(--sage); border-radius: var(--r-card);
  padding: 20px 22px;
}
.signup-success.show { display: block; }
.signup-success .h { font-family: var(--serif); font-weight: 600; font-size: 20px; }
.signup-success .p { font-family: var(--sans); font-size: 14px; color: var(--ink-65); margin-top: 6px; line-height: 1.5; }
.is-done .signup-form { display: none; }

/* hero art */
.hero-art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 480px; }
.hero-art .sun { position: absolute; width: 460px; height: 460px; border-radius: 999px; background: var(--blue); left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 0; }
.hero-art .ipad { position: relative; z-index: 2; width: 400px; max-width: 86%; filter: drop-shadow(0 30px 50px rgba(60,40,20,0.22)); transform: rotate(-2deg); }
.hero-art .tape { position: absolute; z-index: 3; font-family: var(--hand); color: var(--peach-deep); font-size: 26px; transform: rotate(-7deg); }
.hero-art .tape.t1 { top: 6%; right: 2%; }

/* =========================== SOCIAL PROOF BAR =========================== */
.social { background: var(--ink); color: var(--bg); padding: 26px 0; }
.social .inner { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; text-align: center; }
.social .stat { display: flex; flex-direction: column; gap: 4px; }
.social .stat .n { font-family: var(--serif); font-weight: 600; font-size: 32px; line-height: 1; color: var(--yellow); }
.social .stat .l { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(250,246,238,0.7); }
.social .sep { width: 1px; height: 38px; background: rgba(255,255,255,0.16); }
.social .stars { color: var(--yellow); font-size: 18px; letter-spacing: 2px; }
@media (max-width: 600px) { .social .sep { display: none; } }
.social .schools { margin-top: 26px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.social .schools-label { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(250,246,238,0.55); }
.social .logos { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.social .logos img { height: 64px; width: auto; opacity: 0.82; transition: opacity 140ms ease; }
.social .logos img:hover { opacity: 1; }
@media (max-width: 700px) { .social .logos { gap: 28px; } .social .logos img { height: 48px; } }

/* =========================== FEATURES =========================== */
.features { padding: 96px 0 40px; }
.sec-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sec-head .eyebrow { color: var(--ink-50); }
.sec-head h2 { font-family: var(--sans); font-weight: 800; font-size: 44px; line-height: 1.05; letter-spacing: -0.02em; margin: 14px 0 0; }
.sec-head h2 .ital { font-family: var(--serif); font-style: italic; font-weight: 500; }
.sec-head p { font-family: var(--sans); font-size: 17px; color: var(--ink-65); line-height: 1.55; margin: 16px auto 0; max-width: 600px; }

.feature-rows { display: flex; flex-direction: column; gap: 28px; }
.frow {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
  background: var(--bg-warm); border: 1px solid var(--ink-06); border-radius: var(--r-panel);
  padding: 44px 48px;
}
.frow:nth-child(even) { grid-template-columns: 1fr 1fr; }
.frow:nth-child(even) .fimg { order: 2; }
.frow:nth-child(even) .fbody { order: 1; }
.frow.tint-peach { background: color-mix(in srgb, var(--peach-soft) 60%, #fff); border-color: color-mix(in srgb, var(--peach) 35%, transparent); }
.frow.tint-blue { background: color-mix(in srgb, var(--blue-soft) 60%, #fff); border-color: color-mix(in srgb, var(--blue) 32%, transparent); }
.frow.tint-sage { background: color-mix(in srgb, var(--sage-soft) 66%, #fff); border-color: color-mix(in srgb, var(--sage) 42%, transparent); }
.frow .fbody .kicker { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-65); }
.frow .fbody h3 { font-family: var(--sans); font-weight: 800; font-size: 32px; line-height: 1.08; letter-spacing: -0.018em; margin: 12px 0 0; }
.frow .fbody h3 .ital { font-family: var(--serif); font-style: italic; font-weight: 500; }
.frow .fbody p { font-family: var(--sans); font-size: 16px; line-height: 1.55; color: var(--ink-65); margin: 14px 0 0; max-width: 460px; }
.frow .fimg { display: flex; align-items: center; justify-content: center; }
.frow .fimg img { width: 100%; max-width: 420px; background: none; box-shadow: none; filter: drop-shadow(0 14px 30px rgba(60,40,20,0.14)); }
.frow.tint-equation .fimg img { filter: drop-shadow(0 10px 22px rgba(60,40,20,0.12)); }

/* =========================== TOPICS =========================== */
.topics { padding: 72px 0; }
.topics .panel { background: var(--ink); color: var(--bg); border-radius: var(--r-panel); padding: 56px 56px 60px; }
.topics .thead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.topics .thead .eyebrow { color: var(--peach); }
.topics .thead h2 { font-family: var(--sans); font-weight: 800; font-size: 38px; line-height: 1.05; letter-spacing: -0.02em; margin: 12px 0 0; color: #fff; }
.topics .thead h2 .ital { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--yellow); }
.topics .thead .count { font-family: var(--serif); font-style: italic; font-size: 17px; color: rgba(250,246,238,0.7); }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 28px; }
.topic-grid .ti { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 14.5px; font-weight: 500; color: rgba(250,246,238,0.92); padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.topic-grid .ti .ck { flex-shrink: 0; width: 18px; height: 18px; border-radius: 999px; background: var(--sage-deep); color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 800; }
@media (max-width: 820px) { .topic-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .topic-grid { grid-template-columns: 1fr; } }

/* =========================== TESTIMONIALS =========================== */
.testi { padding: 80px 0; }
.testi .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; margin-top: 44px; }
.review-card { background: var(--card); border: 1px solid var(--ink-06); border-radius: var(--r-card); box-shadow: var(--shadow-sm); padding: 22px 24px; }
.review-card .stars { color: var(--yellow); font-size: 15px; letter-spacing: 2px; }
.review-card .q { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 17px; line-height: 1.4; margin: 12px 0 14px; }
.review-card .by { display: flex; align-items: center; gap: 10px; }
.review-card .by .av { width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 15px; color: #fff; flex-shrink: 0; }
.review-card .by .nm { font-family: var(--sans); font-weight: 700; font-size: 13.5px; }
.review-card .by .src { font-family: var(--sans); font-size: 11.5px; color: var(--ink-50); margin-top: 1px; }
.review-img { border-radius: var(--r-card); box-shadow: var(--shadow-sm); border: 1px solid var(--ink-06); overflow: hidden; background: #fff; }
.review-img img { width: 100%; }
@media (max-width: 820px) { .testi .grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; } }
.testi .reviews-grid { grid-template-columns: repeat(4, 1fr); max-width: 980px; margin: 44px auto 0; align-items: start; }
@media (max-width: 900px) { .testi .reviews-grid { grid-template-columns: repeat(2, 1fr); max-width: 560px; } }
@media (max-width: 480px) { .testi .reviews-grid { grid-template-columns: 1fr; max-width: 340px; } }

/* =========================== ABOUT KRISTEN =========================== */
.about { padding: 40px 0 60px; }
.about-card { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; background: var(--bg-warm); border: 1px solid var(--ink-06); border-radius: var(--r-panel); padding: 48px 52px; }
.about-photo { position: relative; display: flex; align-items: center; justify-content: center; }
.about-photo .ph-sun { position: absolute; width: 280px; height: 280px; border-radius: 999px; background: var(--blue); z-index: 0; }
.about-photo img { position: relative; z-index: 1; width: 230px; height: 230px; border-radius: 999px; object-fit: cover; object-position: 50% 30%; border: 6px solid var(--card); box-shadow: var(--shadow-card); }
.about-body .eyebrow { color: var(--ink-50); }
.about-body h2 { font-family: var(--sans); font-weight: 800; font-size: 36px; letter-spacing: -0.02em; margin: 12px 0 18px; }
.about-body h2 .ital { font-family: var(--serif); font-style: italic; font-weight: 500; }
.about-body p { font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink-65); margin: 0 0 14px; }
.about-body p b { color: var(--ink); font-weight: 700; }
.about-body p em { font-style: italic; }
.about-sign { font-family: var(--hand); font-size: 30px; color: var(--peach-deep); margin-top: 6px; }
@media (max-width: 900px) {
  .about-card { grid-template-columns: 1fr; gap: 28px; padding: 36px 28px; text-align: center; }
  .about-photo .ph-sun { width: 220px; height: 220px; }
  .about-photo img { width: 180px; height: 180px; }
  .about-body h2 { font-size: 30px; }
  .about-sign { font-size: 26px; }
}

/* =========================== GET (CTA + form) =========================== */
.get { padding: 20px 0 96px; }
.get .band {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--bg); border-radius: var(--r-panel);
  padding: 64px 56px; text-align: center;
}
.get .band .sun { position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 999px; background: rgba(251,212,90,0.16); }
.get .band .eyebrow { color: var(--peach); }
.get .band h2 { font-family: var(--sans); font-weight: 800; font-size: 46px; line-height: 1.04; letter-spacing: -0.02em; margin: 14px 0 0; color: #fff; position: relative; }
.get .band h2 .ital { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--yellow); }
.get .band p { font-family: var(--sans); font-size: 17px; color: rgba(250,246,238,0.8); line-height: 1.55; margin: 16px auto 0; max-width: 520px; }
.get .band .signup-form { margin: 26px auto 0; justify-content: center; }
.get .band .signup-form input[type=email],
.get .band .signup-form input[type=text] { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.08); color: #fff; }
.get .band .signup-form input[type=email]::placeholder,
.get .band .signup-form input[type=text]::placeholder { color: rgba(250,246,238,0.6); }
.get .band .signup-note { color: rgba(250,246,238,0.6); }
.get .band .get-cta { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.get .band .get-cta .signup-note { margin-top: 0; }
.get .band .signup-success { margin: 26px auto 0; background: rgba(182,207,161,0.18); border-color: rgba(182,207,161,0.4); }
.get .band .signup-success .h { color: #fff; }
.get .band .signup-success .p { color: rgba(250,246,238,0.8); }

/* =========================== FAQ =========================== */
.faq { padding: 20px 0 96px; }
.faq h2 { font-family: var(--sans); font-weight: 800; font-size: 38px; letter-spacing: -0.02em; text-align: center; margin: 0 0 40px; }
.faq h2 .ital { font-family: var(--serif); font-style: italic; font-weight: 500; }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--ink-06); border-radius: var(--r-card); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--sans); font-weight: 700; font-size: 17px; color: var(--ink); }
.faq-q .ic { flex-shrink: 0; width: 26px; height: 26px; border-radius: 999px; background: var(--bg-warm); display: grid; place-items: center; font-size: 16px; transition: transform 160ms ease; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); background: var(--peach); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 220ms ease; }
.faq-a .inner { padding: 0 24px 20px; font-family: var(--sans); font-size: 15px; line-height: 1.6; color: var(--ink-65); }
.faq-item.open .faq-a { max-height: 320px; }

/* =========================== FOOTER =========================== */
footer { background: var(--bg-warm); border-top: 1px solid var(--ink-06); padding: 44px 0; }
footer .inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer .fnote { font-family: var(--sans); font-size: 13px; color: var(--ink-50); }
footer .flinks { display: flex; gap: 20px; }
footer .flinks a { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--ink-65); }

/* =========================== CONFIRM / DOWNLOAD MODAL =========================== */
.confirm-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(26,26,26,0.55); backdrop-filter: blur(3px); }
.confirm-modal[hidden] { display: none; }
.confirm-modal .cm-card { position: relative; width: 100%; max-width: 460px; background: var(--card); border-radius: var(--r-panel); box-shadow: var(--shadow-phone); padding: 40px 36px 34px; text-align: center; }
.confirm-modal .cm-close { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 26px; line-height: 1; color: var(--ink-50); cursor: pointer; }
.confirm-modal .cm-close:hover { color: var(--ink); }
.confirm-modal .cm-emoji { font-size: 40px; }
.confirm-modal h3 { font-family: var(--sans); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; margin: 10px 0 0; }
.confirm-modal h3 .ital { font-family: var(--serif); font-style: italic; font-weight: 500; }
.confirm-modal p { font-family: var(--sans); font-size: 15px; line-height: 1.5; color: var(--ink-65); margin: 12px 0 20px; }
.confirm-modal input[type=email] { width: 100%; font-family: var(--sans); font-size: 15px; font-weight: 500; padding: 14px 16px; border-radius: var(--r-pill); border: 1.5px solid var(--ink-12); background: var(--card); color: var(--ink); outline: none; text-align: center; margin-bottom: 12px; }
.confirm-modal input[type=email]:focus { border-color: var(--peach); }
.confirm-modal .pill { width: 100%; justify-content: center; }
.confirm-modal .cm-note { font-family: var(--sans); font-size: 13px; color: var(--ink-65); margin-top: 14px; min-height: 1px; }
.confirm-modal .cm-note.err { color: #C0563E; }

/* =========================== SIGNUP MODAL (popup) =========================== */
.signup-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(26,26,26,0.55); backdrop-filter: blur(3px); animation: sm-fade 160ms ease; }
.signup-modal[hidden] { display: none; }
@keyframes sm-fade { from { opacity: 0; } to { opacity: 1; } }
.signup-modal .sm-card { position: relative; width: 100%; max-width: 440px; background: var(--card); border-radius: var(--r-panel); box-shadow: var(--shadow-phone); padding: 38px 34px 32px; }
.signup-modal .sm-close { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 26px; line-height: 1; color: var(--ink-50); cursor: pointer; }
.signup-modal .sm-close:hover { color: var(--ink); }
.signup-modal .price-flag { margin-bottom: 10px; }
.signup-modal h3 { font-family: var(--sans); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; margin: 0; }
.signup-modal h3 .ital { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--peach-deep); }
.signup-modal p { font-family: var(--sans); font-size: 15px; line-height: 1.5; color: var(--ink-65); margin: 10px 0 0; }
.signup-modal .signup-form { flex-direction: column; max-width: none; gap: 12px; }
.signup-modal .signup-form .name-row { flex: 1 1 auto; }
.signup-modal .signup-form input[type=email],
.signup-modal .signup-form input[type=text] { min-width: 0; width: 100%; }
.signup-modal .signup-form .pill { width: 100%; justify-content: center; }
.signup-modal .form-msg { font-family: var(--sans); font-size: 13px; color: var(--ink-65); margin-top: 10px; }
.signup-modal .form-msg.err { color: #C0563E; }
.signup-modal .fd-embed { margin-top: 6px; }
.signup-modal .fd-embed [class$="__form"] { padding-top: 12px !important; }
.signup-modal .fd-embed [class*="subtitle"],
.signup-modal .fd-embed [class*="description"] { display: none !important; }
.signup-modal .fd-embed .fd-form-content,
.signup-modal .fd-embed [class*="ff-"] { font-family: var(--sans) !important; }

/* =========================== RESPONSIVE =========================== */
@media (max-width: 900px) {
  .hero .grid { grid-template-columns: 1fr; gap: 24px; }
  .hero h1 { font-size: 42px; }
  .hero-art { min-height: 360px; order: -1; }
  .hero-art .sun { width: 340px; height: 340px; }
  .hero-art .ipad { width: 280px; }
  .frow { grid-template-columns: 1fr; gap: 24px; padding: 32px 28px; }
  .frow .fimg, .frow:nth-child(even) .fimg { order: 0; }
  .frow .fbody h3 { font-size: 26px; }
  .sec-head h2, .get .band h2 { font-size: 32px; }
  .topics .panel { padding: 36px 28px; }
  .get .band { padding: 44px 28px; }
}

@media (max-width: 480px) {
  .signup-modal { padding: 16px; align-items: flex-start; padding-top: 8vh; }
  .signup-modal .sm-card { padding: 32px 24px 28px; }
  .signup-modal h3 { font-size: 24px; }
  .signup-form .name-row { flex-wrap: wrap; }
  .signup-form .name-row input { flex: 1 1 100%; }
}
