/* ─── Design tokens ──────────────────────────────────────────────────────── */
:root {
  --bg:            #F6F1EA;
  --card:          #FDFCFA;
  --ink:           #0F0A04;
  --ink-2:         #4A3520;
  --ink-3:         #6B5744;
  --accent:        #B5753A;
  --accent-dark:   #915928;
  --accent-soft:   rgba(181,117,58,0.13);
  --border:        #E8DDD0;
  --border-strong: rgba(109,84,55,0.22);

  /* feature palette */
  --prayer-bg:     #EDE8F8;
  --prayer-ink:    #6B48B0;
  --care-bg:       #F9EAE6;
  --care-ink:      #A03828;
  --groups-bg:     #E4F1EE;
  --groups-ink:    #2E7060;

  /* avatars */
  --av-amber:  #B5753A;
  --av-purple: #7B5EA7;
  --av-teal:   #3A8C8C;
  --av-terra:  #8C5A3A;

  --shadow-soft: 0 16px 48px rgba(74,53,32,0.13);
  --shadow-card: 0 24px 64px rgba(54,34,16,0.15);
  --radius-xl:   32px;
  --radius-lg:   20px;
  --radius-md:   14px;
  --max-w:       1160px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:            #0A0907;
    --card:          #111009;
    --ink:           #E8DFD3;
    --ink-2:         #C4B5A2;
    --ink-3:         #9A8878;
    --accent:        #B07840;
    --accent-dark:   #C98740;
    --accent-soft:   rgba(176,120,64,0.16);
    --border:        rgba(210,185,150,0.14);
    --border-strong: rgba(210,185,150,0.22);
    --prayer-bg:     rgba(107,72,176,0.20);
    --prayer-ink:    #A88FD8;
    --care-bg:       rgba(160,56,40,0.20);
    --care-ink:      #D4816A;
    --groups-bg:     rgba(46,112,96,0.20);
    --groups-ink:    #5BB5A0;
    --shadow-soft:   0 16px 48px rgba(0,0,0,0.40);
    --shadow-card:   0 24px 64px rgba(0,0,0,0.54);
  }
}

/* ─── Reset & base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p { margin: 0; }

/* ─── Shell ──────────────────────────────────────────────────────────────── */
.shell {
  position: relative;
  overflow-x: hidden;
}

/* ─── Grain overlay ──────────────────────────────────────────────────────── */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255,255,255,0.24), rgba(255,255,255,0.24)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='%23a98562' fill-opacity='.07'%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3Ccircle cx='58' cy='38' r='1'/%3E%3Ccircle cx='92' cy='14' r='1'/%3E%3Ccircle cx='105' cy='72' r='1'/%3E%3Ccircle cx='36' cy='86' r='1'/%3E%3Ccircle cx='72' cy='102' r='1'/%3E%3C/g%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

@media (prefers-color-scheme: dark) {
  .grain { mix-blend-mode: screen; opacity: 0.10; }
}

/* ─── Ambient blobs ──────────────────────────────────────────────────────── */
.amb {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(80px);
}

.amb-a {
  top: -120px;
  right: -160px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(181,117,58,0.18), transparent 68%);
  opacity: 0.7;
}

.amb-b {
  top: 500px;
  left: -200px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(58,140,140,0.12), transparent 70%);
  opacity: 0.6;
}

/* ─── Topbar ─────────────────────────────────────────────────────────────── */
.bar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--max-w));
  margin-inline: auto;
  padding: 18px 0;
  /* needs a semi-transparent bg so backdrop-filter actually blurs content beneath */
  background: rgba(246,241,234,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background 200ms ease;
}

.bar.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(246,241,234,0.94);
}

@media (prefers-color-scheme: dark) {
  .bar {
    background: rgba(10,9,7,0.86);
  }
  .bar.is-scrolled {
    background: rgba(10,9,7,0.95);
  }
}

/* ─── Logo mark ──────────────────────────────────────────────────────────── */
.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.mark-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.mark-word {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ─── Bar CTA ────────────────────────────────────────────────────────────── */
.bar-cta {
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  height: 38px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 160ms ease, transform 160ms ease;
}

.bar-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

/* ─── Eyebrow ────────────────────────────────────────────────────────────── */
.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 84vh;
  width: min(calc(100% - 48px), var(--max-w));
  margin-inline: auto;
  padding: 48px 0 72px;
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: flex;
  flex-direction: column;
}

.hero-copy h1 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-copy h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-lead {
  margin: 20px 0 0;
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 48ch;
}

/* ─── Hero email form ────────────────────────────────────────────────────── */
.hero-form {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-form input,
.join-form input {
  flex: 1 1 200px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(255,255,255,0.72);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  outline-offset: 2px;
  transition: border-color 160ms ease;
}

.hero-form input:focus,
.join-form input:focus {
  border-color: var(--accent);
  outline: none;
}

.hero-form button,
.join-form button {
  min-height: 48px;
  padding: 0 22px;
  border: none;
  border-radius: 12px;
  background: var(--ink);
  color: var(--bg);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 160ms ease, opacity 160ms ease;
}

.hero-form button:hover,
.join-form button:hover {
  transform: translateY(-1px);
}

.hero-form button:disabled,
.join-form button:disabled {
  opacity: 0.6;
  cursor: progress;
}

@media (prefers-color-scheme: dark) {
  .hero-form input,
  .join-form input {
    background: rgba(255,255,255,0.09);
    color: var(--ink);
    border-color: var(--border-strong);
  }
}

/* ─── Form message ───────────────────────────────────────────────────────── */
.form-msg {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
  min-height: 1.5em;
}

.form-msg.success { color: #2E7060; }
.form-msg.error   { color: #934530; }

@media (prefers-color-scheme: dark) {
  .form-msg.success { color: #5BB5A0; }
  .form-msg.error   { color: #D4816A; }
}

/* ─── Hero visual ────────────────────────────────────────────────────────── */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

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

/* ─── Phone frame ────────────────────────────────────────────────────────── */
.phone {
  position: relative;
  width: 300px;
  border-radius: 40px;
  background: linear-gradient(175deg, #1C1510 0%, #0C0A07 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 48px 100px rgba(12,8,4,0.38),
    0 16px 40px rgba(12,8,4,0.22);
  padding: 12px;
  z-index: 2;
  animation: phoneFloat 4s ease-in-out infinite;
}

.phone-screen {
  border-radius: 30px;
  overflow: hidden;
  background: #1A1510;
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* ─── App inner UI ───────────────────────────────────────────────────────── */
.app-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px 4px;
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 600;
  color: rgba(232,223,211,0.7);
  background: #1A1510;
}

.app-name-lbl {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 700;
  color: rgba(232,223,211,0.55);
  letter-spacing: 0.08em;
}

.app-topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px 8px;
  background: #1E1912;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.app-page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 600;
  color: #E8DFD3;
  letter-spacing: 0.01em;
}

.app-feed {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 10px 6px;
  background: #141210;
  flex: 1;
  overflow: hidden;
}

/* ─── Feed cards (inside phone) ──────────────────────────────────────────── */
.feed-card {
  background: #1E1A14;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 8px 10px;
}

.feed-card-fade {
  opacity: 0.52;
}

.feed-card-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
}

.feed-meta {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 1px;
}

.feed-name {
  font-family: 'Inter', sans-serif;
  font-size: 9.5px;
  font-weight: 600;
  color: #D8CFBF;
}

.feed-time {
  font-family: 'Inter', sans-serif;
  font-size: 8.5px;
  color: rgba(154,136,120,0.8);
}

.feed-body {
  font-family: 'Lora', serif;
  font-size: 9px;
  line-height: 1.55;
  color: #C4B5A2;
  margin: 0 0 6px;
}

.feed-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.feed-stat {
  font-family: 'Inter', sans-serif;
  font-size: 8.5px;
  color: rgba(154,136,120,0.7);
}

.feed-act {
  font-family: 'Inter', sans-serif;
  font-size: 8.5px;
  font-weight: 600;
  color: #B07840;
}

/* ─── Avatar circles ─────────────────────────────────────────────────────── */
.av {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 8px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.av.sm {
  width: 20px;
  height: 20px;
  font-size: 7.5px;
}

.av-amber  { background: var(--av-amber); }
.av-purple { background: var(--av-purple); }
.av-teal   { background: var(--av-teal); }
.av-terra  { background: var(--av-terra); }

/* ─── Pill badges ────────────────────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.sm-pill {
  font-size: 7.5px;
  padding: 1.5px 6px;
}

.prayer-pill {
  background: rgba(107,72,176,0.18);
  color: #8B68CC;
}

.care-pill {
  background: rgba(176,56,40,0.16);
  color: #C05040;
}

.groups-pill {
  background: rgba(46,112,96,0.18);
  color: #3A8878;
}

@media (prefers-color-scheme: dark) {
  .prayer-pill { background: rgba(107,72,176,0.24); color: #A88FD8; }
  .care-pill   { background: rgba(176,56,40,0.22);  color: #D4816A; }
  .groups-pill { background: rgba(46,112,96,0.24);  color: #5BB5A0; }
}

/* ─── App bottom nav ─────────────────────────────────────────────────────── */
.app-bottomnav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 0 10px;
  background: #1A1611;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.bnav {
  font-family: 'Inter', sans-serif;
  font-size: 8.5px;
  font-weight: 500;
  color: rgba(154,136,120,0.7);
  padding: 2px 8px;
}

.bnav.active {
  color: #B07840;
  font-weight: 700;
}

/* ─── Float chips ────────────────────────────────────────────────────────── */
.float-chip {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 12px 36px rgba(54,34,16,0.14);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 144px;
  backdrop-filter: blur(12px);
}

.float-chip p {
  font-family: 'Lora', serif;
  font-size: 11px;
  color: var(--ink-2);
  line-height: 1.4;
}

.float-chip-a {
  top: 80px;
  right: -20px;
}

.float-chip-b {
  bottom: 100px;
  left: -28px;
}

@media (prefers-color-scheme: dark) {
  .float-chip {
    background: var(--card);
    border-color: var(--border);
    box-shadow: 0 12px 36px rgba(0,0,0,0.4);
  }

  .clip:hover {
    box-shadow: 0 20px 56px rgba(0,0,0,0.45);
  }
}

/* ─── Clips section ──────────────────────────────────────────────────────── */
.clips-section {
  width: min(calc(100% - 48px), var(--max-w));
  margin-inline: auto;
  padding: 72px 0;
  position: relative;
  z-index: 1;
}

.clips-eyebrow {
  text-align: center;
}

.clips-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
  align-items: start;
}

/* ─── Clip cards ─────────────────────────────────────────────────────────── */
.clip {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.clip:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 56px rgba(74,53,32,0.18);
}

.clip-raised {
  box-shadow: var(--shadow-card);
  transform: translateY(-8px);
}

.clip-raised:hover {
  transform: translateY(-8px);
}

.clip-chrome {
  /* no extra padding — clip-hd and rows have their own */
}

.clip-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.clip-hd-title { }
.clip-hd-count {
  opacity: 0.72;
  font-weight: 500;
}

.prayer-hd {
  background: var(--prayer-bg);
  color: var(--prayer-ink);
}

.care-hd {
  background: var(--care-bg);
  color: var(--care-ink);
}

.groups-hd {
  background: var(--groups-bg);
  color: var(--groups-ink);
}

.clip-caption {
  padding: 12px 14px;
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 12px;
  color: var(--ink-3);
  text-align: center;
  border-top: 1px solid var(--border);
}

/* ─── Clip rows (prayer) ─────────────────────────────────────────────────── */
.clip-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}

.clip-row:last-of-type {
  border-bottom: none;
}

.clip-row-muted {
  opacity: 0.45;
}

.clip-body {
  font-family: 'Lora', serif;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-2);
}

.clip-stat {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 500;
}

/* ─── Followup rows ──────────────────────────────────────────────────────── */
.followup-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
}

.followup-row:last-of-type {
  border-bottom: none;
}

.followup-row-muted {
  opacity: 0.45;
}

.followup-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 2px;
}

.followup-name {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
}

.followup-sub {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--ink-3);
}

.followup-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.care-chip {
  background: var(--care-bg);
  color: var(--care-ink);
}

.amber-chip {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

@media (prefers-color-scheme: dark) {
  .amber-chip { color: var(--accent); }
}

/* ─── Message rows ───────────────────────────────────────────────────────── */
.msg-row {
  display: flex;
  gap: 8px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--border);
}

.msg-row:last-of-type {
  border-bottom: none;
}

.msg-row-muted {
  opacity: 0.45;
}

.msg-bubble {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.msg-from {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
}

.msg-text {
  font-family: 'Lora', serif;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-2);
}

/* ─── Statement section ──────────────────────────────────────────────────── */
.statement-section {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 96px 24px;
  position: relative;
  z-index: 1;
}

.statement {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  position: relative;
  padding-top: 32px;
}

.statement::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
  margin: 0 auto 28px;
}

.stmt-plain {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--ink-3);
  margin-bottom: 6px;
}

.stmt-h {
  margin: 16px 0 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

/* ─── Join / waitlist section ────────────────────────────────────────────── */
.join-section {
  padding: 96px 24px;
  position: relative;
  z-index: 1;
}

.join-card {
  max-width: 480px;
  margin-inline: auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.join-h {
  margin: 0 0 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.join-h em {
  font-style: italic;
  color: var(--accent);
}

.join-sub {
  font-family: 'Lora', serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-3);
  margin-bottom: 24px;
}

.join-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 480px) {
  .join-form {
    flex-direction: row;
  }
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.v2-footer {
  text-align: center;
  padding: 32px 24px 48px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.v2-footer .mark-word {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
  color: var(--ink);
}

.v2-footer p {
  font-family: 'Lora', serif;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.6;
}

.v2-footer .footer-sub {
  margin-top: 4px;
  font-size: 12px;
  opacity: 0.72;
}

/* ─── Scroll reveal ──────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
  transition-delay: var(--d, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Screen reader only ─────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 36px;
  }

  .hero-visual {
    min-height: 520px;
  }

  /* tablet: show 2 columns so cards breathe */
  .clips-trio {
    grid-template-columns: repeat(2, 1fr);
  }

  .clip-raised {
    transform: none;
  }
}

/* below tablet: single column centered */
@media (max-width: 640px) {
  .clips-trio {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  .bar {
    width: calc(100% - 32px);
  }

  .hero {
    width: calc(100% - 32px);
    padding-top: 24px;
  }

  .hero-visual {
    min-height: 440px;
  }

  .clips-section {
    width: calc(100% - 32px);
  }

  /* tuck chips closer so they don't cause horizontal overflow */
  .float-chip-a {
    right: 0;
    top: 56px;
    min-width: 130px;
  }

  .float-chip-b {
    left: 0;
    bottom: 80px;
    min-width: 130px;
  }

  .join-card {
    padding: 28px 20px;
  }

  .hero-form button,
  .join-form button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .phone {
    animation: none;
  }
}
