/*
Theme Name: HomesteadSync
Theme URI: https://homesteadsync.com
Author: Dragan Holdings
Author URI: https://draganholdings.com
Description: Custom landing-page theme for the HomesteadSync app. Earthy, cinematic, waitlist-driven. Palette and fonts matched 1:1 to the HomesteadSync mobile app (Forest + Rust + Parchment, Fraunces + Nunito). Hand-coded SVG art, vanilla canvas motion, WordPress-admin-managed pricing, affiliate links, and waitlist.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: homesteadsync
*/

/* =========================================================================
   DESIGN TOKENS - matched to the HomesteadSync app theme.ts
   Forest #3B5E3A | Rust #A0402B | Parchment #F0E6CC | Honey #C0922E | Charcoal #2C2C2C
   ========================================================================= */
:root {
  /* surfaces */
  --bg: #F0E6CC;            /* warm parchment - app background anchor */
  --bg-2: #FBF5E3;          /* raised card surface */
  --bg-3: #E7DABA;          /* selected / deeper parchment */
  --bg-ink: #1A1813;        /* warmed near-black for dark sections */
  --bg-ink-2: #24221A;
  --border: #DDCFA8;
  --border-soft: #E7DCBE;

  /* text - warm charcoal, never pure black */
  --text: #2C2C2C;
  --text-2: #5C574B;
  --text-muted: #8A8270;
  --on-ink: #F1EAD7;
  --on-ink-2: #B6AE97;

  /* brand */
  --forest: #3B5E3A;
  --forest-deep: #2E4A2D;
  --forest-soft: #E2EAD9;
  --rust: #A0402B;
  --rust-soft: #F2DDD3;
  --honey: #C0922E;
  --honey-soft: #F1E6C5;
  --honey-bright: #D6B259;

  /* derived */
  --on-forest: #F7FAF3;
  --on-rust: #FFF8F4;
  --success: #4E7A4E;

  /* type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* shadow - warm charcoal, soft */
  --sh-sm: 0 2px 10px rgba(44, 44, 44, 0.06);
  --sh-card: 0 10px 30px rgba(44, 44, 44, 0.08);
  --sh-raised: 0 22px 50px rgba(44, 44, 44, 0.14);
  --sh-float: 0 30px 70px rgba(46, 74, 45, 0.22);

  /* layout */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================================
   RESET / BASE
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
p { margin: 0 0 1.1em; color: var(--text-2); }
a { color: var(--forest); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--rust); }
img, svg { max-width: 100%; display: block; }
strong { font-weight: 800; color: var(--text); }

/* =========================================================================
   LAYOUT HELPERS
   ========================================================================= */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { position: relative; padding: clamp(70px, 11vw, 130px) 0; }
.section--tight { padding: clamp(48px, 7vw, 80px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 800;
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--rust);
  padding: 7px 14px; border-radius: var(--r-pill);
  background: var(--rust-soft);
}
.eyebrow svg { width: 15px; height: 15px; }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--text-2); max-width: 46ch; }
.center { text-align: center; }
.center .lead, .center .eyebrow-row { margin-left: auto; margin-right: auto; }
.center .lead { max-width: 54ch; }
.section-head { max-width: 640px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-head.center { text-align: center; }

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 800; font-size: 1.02rem;
  padding: 16px 30px; border-radius: var(--r-pill);
  border: 2px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, color 0.2s;
  text-align: center; line-height: 1;
}
.btn svg { width: 20px; height: 20px; }
.btn--primary { background: var(--forest); color: var(--on-forest); box-shadow: 0 12px 26px rgba(59, 94, 58, 0.32); }
.btn--primary:hover { background: var(--forest-deep); color: var(--on-forest); transform: translateY(-3px); box-shadow: 0 18px 38px rgba(59, 94, 58, 0.4); }
.btn--accent { background: var(--rust); color: var(--on-rust); box-shadow: 0 12px 26px rgba(160, 64, 43, 0.3); }
.btn--accent:hover { background: #8F3320; color: var(--on-rust); transform: translateY(-3px); box-shadow: 0 18px 38px rgba(160, 64, 43, 0.4); }
.btn--ghost { background: transparent; color: var(--forest); border-color: var(--border); }
.btn--ghost:hover { background: var(--bg-2); color: var(--forest); border-color: var(--forest); transform: translateY(-3px); }
.btn--block { width: 100%; }
.btn--lg { padding: 19px 38px; font-size: 1.1rem; }

/* =========================================================================
   HEADER / NAV
   ========================================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), padding 0.3s var(--ease);
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(240, 230, 204, 0.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--border), var(--sh-sm);
  padding: 11px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand svg { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 700; color: var(--text); font-size: 0.98rem; }
.nav-links a:hover { color: var(--forest); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--text); border-radius: 2px; transition: 0.25s var(--ease); }
.nav-toggle span + span { margin-top: 5px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav--open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
    position: absolute; top: 100%; left: var(--gutter); right: var(--gutter);
    background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-md);
    padding: 22px; box-shadow: var(--sh-card); margin-top: 10px;
  }
  .nav-cta .btn--ghost { display: none; }
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative; padding: clamp(140px, 20vh, 200px) 0 clamp(70px, 10vw, 120px);
  overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__glow {
  position: absolute; z-index: 0; border-radius: 50%; filter: blur(70px); opacity: 0.5; pointer-events: none;
}
.hero__glow--1 { width: 540px; height: 540px; background: radial-gradient(circle, rgba(130,168,116,0.5), transparent 70%); top: -120px; right: -120px; }
.hero__glow--2 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(192,146,46,0.34), transparent 70%); bottom: -160px; left: -140px; }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero__copy { max-width: 580px; }
.hero h1 { margin-bottom: 0.35em; }
.hero h1 .accent { color: var(--forest); position: relative; }
.hero h1 .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.16em;
  background: var(--honey); border-radius: 4px; opacity: 0.55; z-index: -1;
  transform: scaleX(0); transform-origin: left; animation: underline 1s var(--ease) 0.6s forwards;
}
@keyframes underline { to { transform: scaleX(1); } }
.hero__lead { font-size: clamp(1.12rem, 1.7vw, 1.32rem); color: var(--text-2); margin-bottom: 1.6em; max-width: 38ch; }

/* waitlist form */
.waitlist {
  display: flex; gap: 10px; max-width: 460px;
  background: var(--bg-2); padding: 8px; border-radius: var(--r-pill);
  border: 1px solid var(--border); box-shadow: var(--sh-card);
}
.waitlist input[type="email"] {
  flex: 1; border: 0; background: transparent; font-family: var(--font-body);
  font-size: 1rem; color: var(--text); padding: 0 18px; min-width: 0;
}
.waitlist input::placeholder { color: var(--text-muted); }
.waitlist input:focus { outline: none; }
.waitlist .btn { white-space: nowrap; padding: 14px 26px; }
.waitlist--inline { margin-top: 6px; }
.waitlist-note { margin-top: 14px; font-size: 0.9rem; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.waitlist-note svg { width: 16px; height: 16px; color: var(--forest); flex: none; }
.form-msg { margin-top: 12px; font-weight: 700; font-size: 0.95rem; min-height: 1.2em; }
.form-msg--ok { color: var(--success); }
.form-msg--err { color: var(--rust); }

.hero__proof { display: flex; align-items: center; gap: 18px; margin-top: 30px; flex-wrap: wrap; }
.avatars { display: flex; }
.avatars span {
  width: 38px; height: 38px; border-radius: 50%; border: 2.5px solid var(--bg);
  margin-left: -12px; background-size: cover; display: grid; place-items: center;
  font-weight: 800; font-size: 0.85rem; color: var(--on-forest);
}
.avatars span:first-child { margin-left: 0; }
.hero__proof small { color: var(--text-2); font-size: 0.92rem; line-height: 1.4; }
.hero__proof strong { color: var(--text); }

/* hero phone showcase */
.hero__art { position: relative; display: flex; justify-content: center; align-items: center; }

/* =========================================================================
   PHONE MOCKUP
   ========================================================================= */
.phone {
  position: relative; width: 300px; max-width: 78vw; aspect-ratio: 300 / 620;
  background: #15140F; border-radius: 44px; padding: 13px;
  box-shadow: var(--sh-float), inset 0 0 0 2px rgba(255,255,255,0.06);
}
.phone::before {
  content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 116px; height: 28px; background: #15140F; border-radius: var(--r-pill); z-index: 5;
}
.phone__screen {
  width: 100%; height: 100%; border-radius: 32px; overflow: hidden;
  background: var(--bg); position: relative;
}
.phone__screen svg { width: 100%; height: 100%; }
.phone--float { animation: phoneFloat 6s ease-in-out infinite; }
@keyframes phoneFloat { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-16px) rotate(1deg); } }

/* floating chips around hero phone */
.chip-float {
  position: absolute; z-index: 3; background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-pill); padding: 10px 16px; box-shadow: var(--sh-raised);
  display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 0.9rem; color: var(--text);
}
.chip-float svg { width: 20px; height: 20px; }
.chip-float--1 { top: 14%; left: -8%; animation: chipA 5s ease-in-out infinite; }
.chip-float--2 { bottom: 20%; right: -10%; animation: chipB 5.6s ease-in-out infinite; }
.chip-float--3 { bottom: 6%; left: 2%; animation: chipA 6.2s ease-in-out infinite 0.5s; }
@keyframes chipA { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-12px);} }
@keyframes chipB { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(14px);} }

/* =========================================================================
   LOGO / TRUST STRIP
   ========================================================================= */
.trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(251,245,227,0.5); }
.trust__row { display: flex; align-items: center; justify-content: center; gap: clamp(28px, 6vw, 70px); flex-wrap: wrap; }
.trust__item { display: flex; align-items: center; gap: 11px; color: var(--text-2); font-weight: 700; font-size: 0.96rem; }
.trust__item svg { width: 26px; height: 26px; color: var(--forest); }

/* =========================================================================
   FEATURES
   ========================================================================= */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 32px 28px; box-shadow: var(--sh-sm); position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.feature:hover { transform: translateY(-7px); box-shadow: var(--sh-card); border-color: var(--forest-soft); }
.feature__icon {
  width: 58px; height: 58px; border-radius: var(--r-md); display: grid; place-items: center;
  margin-bottom: 20px; background: var(--forest-soft);
}
.feature__icon svg { width: 30px; height: 30px; color: var(--forest); }
.feature:nth-child(3n+2) .feature__icon { background: var(--rust-soft); }
.feature:nth-child(3n+2) .feature__icon svg { color: var(--rust); }
.feature:nth-child(3n) .feature__icon { background: var(--honey-soft); }
.feature:nth-child(3n) .feature__icon svg { color: var(--honey); }
.feature h3 { margin-bottom: 0.4em; }
.feature p { margin: 0; font-size: 0.98rem; }

/* =========================================================================
   SHOWCASE (alternating phone + copy)
   ========================================================================= */
.showcase__row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.showcase__row + .showcase__row { margin-top: clamp(70px, 10vw, 130px); }
.showcase__row:nth-child(even) .showcase__art { order: 2; }
.showcase__art { display: flex; justify-content: center; position: relative; }
.showcase__art .phone { width: 270px; }
.showcase__art::before {
  content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, var(--forest-soft), transparent 68%); z-index: -1; opacity: 0.9;
}
.showcase__copy { max-width: 480px; }
.showcase__copy h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.showcase__list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.showcase__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 1.02rem; }
.showcase__list svg { width: 22px; height: 22px; color: var(--forest); flex: none; margin-top: 2px; }

/* =========================================================================
   STATS BAND (dark, on ink)
   ========================================================================= */
.band-ink { background: var(--bg-ink); color: var(--on-ink); position: relative; overflow: hidden; }
.band-ink h2, .band-ink h3 { color: var(--on-ink); }
.band-ink p { color: var(--on-ink-2); }
.band-ink .eyebrow { background: rgba(214,178,89,0.16); color: var(--honey-bright); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--honey-bright); line-height: 1; }
.stat__label { color: var(--on-ink-2); font-size: 0.96rem; margin-top: 8px; }
.band-ink__seam { position: absolute; inset: 0; opacity: 0.5; pointer-events: none; }

/* =========================================================================
   PRICING
   ========================================================================= */
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 880px; margin: 0 auto; }
.plan {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 38px 34px; position: relative; box-shadow: var(--sh-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--sh-card); }
.plan--featured { background: var(--forest); border-color: var(--forest); box-shadow: var(--sh-raised); }
.plan--featured h3, .plan--featured .plan__price, .plan--featured .plan__price .per { color: var(--on-forest); }
.plan--featured p, .plan--featured .plan__feat li { color: rgba(247,250,243,0.9); }
.plan--featured .plan__feat svg { color: var(--honey-bright); }
.plan__badge {
  position: absolute; top: 22px; right: 24px; background: var(--honey); color: #2C2C2C;
  font-weight: 800; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 13px; border-radius: var(--r-pill);
}
.plan__name { font-weight: 800; font-size: 1.1rem; color: var(--rust); letter-spacing: 0.02em; }
.plan--featured .plan__name { color: var(--honey-bright); }
.plan__price { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 5vw, 3.4rem); color: var(--text); margin: 8px 0 4px; line-height: 1; }
.plan__price .per { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--text-muted); }
.plan__desc { font-size: 0.98rem; min-height: 2.6em; }
.plan__feat { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 13px; }
.plan__feat li { display: flex; gap: 11px; align-items: flex-start; color: var(--text-2); font-size: 0.98rem; }
.plan__feat svg { width: 21px; height: 21px; color: var(--forest); flex: none; margin-top: 1px; }
.pricing-foot { text-align: center; margin-top: 30px; color: var(--text-muted); font-size: 0.95rem; }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq__item { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 22px 26px; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__q svg { width: 22px; height: 22px; color: var(--forest); flex: none; transition: transform 0.3s var(--ease); }
.faq__item.open .faq__q svg { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq__a-inner { padding: 0 26px 24px; color: var(--text-2); }
.faq__item.open .faq__a { max-height: 320px; }

/* =========================================================================
   FINAL CTA
   ========================================================================= */
.cta-final { position: relative; overflow: hidden; }
.cta-card {
  background: linear-gradient(135deg, var(--forest), var(--forest-deep));
  border-radius: var(--r-xl); padding: clamp(48px, 8vw, 86px) var(--gutter); text-align: center;
  position: relative; overflow: hidden; box-shadow: var(--sh-raised);
}
.cta-card h2, .cta-card p { color: var(--on-forest); }
.cta-card p { color: rgba(247,250,243,0.88); }
.cta-card .waitlist { margin: 28px auto 0; background: rgba(255,255,255,0.95); border-color: transparent; }
.cta-card__leaf { position: absolute; opacity: 0.14; pointer-events: none; }
.cta-card__leaf--1 { top: -40px; left: -30px; width: 220px; color: #fff; }
.cta-card__leaf--2 { bottom: -60px; right: -40px; width: 280px; color: #fff; transform: rotate(160deg); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { background: var(--bg-ink); color: var(--on-ink-2); padding: clamp(56px, 8vw, 84px) 0 32px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer__brand svg { height: 36px; width: auto; margin-bottom: 16px; }
.footer__brand p { color: var(--on-ink-2); max-width: 30ch; font-size: 0.96rem; }
.footer__col h4 { color: var(--on-ink); font-family: var(--font-body); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.footer__col a { display: block; color: var(--on-ink-2); margin-bottom: 11px; font-size: 0.96rem; }
.footer__col a:hover { color: var(--honey-bright); }
.footer__bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  color: var(--on-ink-2); font-size: 0.9rem;
}
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.06); color: var(--on-ink); transition: 0.25s var(--ease); }
.footer__social a:hover { background: var(--honey); color: #2C2C2C; transform: translateY(-3px); }
.footer__social svg { width: 18px; height: 18px; }

/* =========================================================================
   SCROLL REVEAL
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .phone--float, .chip-float, .hero h1 .accent::after { animation: none !important; }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1000px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 820px) {
  body { font-size: 17px; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { max-width: 600px; margin: 0 auto; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .waitlist { margin-left: auto; margin-right: auto; }
  .hero__proof { justify-content: center; }
  .hero__art { margin-top: 50px; }
  .chip-float--1 { left: 2%; } .chip-float--2 { right: 2%; }
  .showcase__row, .showcase__row:nth-child(even) .showcase__art { grid-template-columns: 1fr; }
  .showcase__row:nth-child(even) .showcase__art { order: 0; }
  .showcase__copy { max-width: 600px; margin: 0 auto; text-align: center; }
  .showcase__list { text-align: left; max-width: 420px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 620px) {
  .feature-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .waitlist { flex-direction: column; background: transparent; border: 0; box-shadow: none; padding: 0; gap: 12px; }
  .waitlist input[type="email"] { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 15px 20px; }
  .waitlist .btn { width: 100%; }
  .footer__bottom { flex-direction: column; text-align: center; }
}
