/* hushfund — shared styles for the landing page and the coded app screens */

:root {
  --cream: #F6F1E7;
  --paper: #FBF8F2;
  --stone: #E6DFD0;
  --ink: #1E2420;
  --ink-2: #4A524C;
  --ink-3: #7A817B;
  --sage: #9DB89A;
  --sage-deep: #55714F;
  --sage-mist: #DCE6D7;
  --sage-fog: #EBF0E5;

  --f-sans: "Host Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Newsreader", "Iowan Old Style", Georgia, serif;

  --mark-water: var(--sage);
  --gutter: 40px;
  --shadow-soft: 0 1px 2px rgba(30, 36, 32, .04), 0 12px 32px -12px rgba(30, 36, 32, .14);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }

:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; border-radius: 8px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
h1, h2, h3 { text-wrap: balance; }

/* ---------- brand ---------- */

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-mark { width: 34px; height: 28px; color: var(--ink); }
.brand-word { font-weight: 600; font-size: 22px; letter-spacing: -.035em; line-height: 1; }

.app-icon {
  display: grid; place-items: center;
  width: 40px; height: 40px; flex: none;
  border-radius: 23%;
  background: var(--ink);
  color: var(--cream);
}
.app-icon svg { width: 66%; height: auto; }

/* ---------- pebbles: the envelope meter used across site and app ---------- */

.pebble {
  position: relative;
  display: block;
  overflow: hidden;
  background: #E2E9DC;
  box-shadow: inset 0 -5px 10px rgba(30, 36, 32, .05), inset 0 3px 6px rgba(255, 255, 255, .7);
  border-radius: 58% 42% 50% 50% / 55% 52% 48% 45%;
}
.pebble > i {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: var(--lvl, 50%);
  background: var(--sage);
}
.pebble > i::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: rgba(255, 255, 255, .55);
}
.pb-b { border-radius: 46% 54% 44% 56% / 60% 48% 52% 40%; }
.pb-c { border-radius: 52% 48% 57% 43% / 47% 58% 42% 53%; }
.pb-d { border-radius: 44% 56% 52% 48% / 52% 44% 56% 48%; }

/* ---------- store buttons (generic, no platform logos) ---------- */

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 20px 11px 16px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--cream);
  transition: transform .2s ease, background-color .2s ease;
}
.store:hover { background: #2B332E; transform: translateY(-1px); }
.store svg { width: 22px; height: 30px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.1; font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.store small { font-size: 11.5px; font-weight: 400; letter-spacing: .01em; opacity: .72; margin-bottom: 2px; }

/* ---------- nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246, 241, 231, .86);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid rgba(230, 223, 208, .7);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-links { display: flex; gap: 36px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 20px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  background: var(--ink); color: var(--cream);
  transition: background-color .2s ease;
}
.btn:hover { background: #2B332E; }

/* ---------- hero ---------- */

.hero { padding: 72px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 32px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; color: var(--sage-deep);
  padding: 7px 14px 7px 12px;
  background: var(--sage-fog);
  border: 1px solid var(--sage-mist);
  border-radius: 999px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }

.hero h1 {
  margin-top: 28px;
  font-size: clamp(46px, 5.7vw, 84px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -.045em;
  max-width: 11.5em;
}
.hero h1 em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
  letter-spacing: -.02em;
  color: var(--sage-deep);
}
.lede { margin-top: 26px; max-width: 30em; font-size: 19px; line-height: 1.55; color: var(--ink-2); }
.hero .stores { margin-top: 36px; }
.fineprint { margin-top: 16px; font-size: 14px; color: var(--ink-3); }

.hero-stage { position: relative; height: 700px; display: grid; place-items: center; }
.stone-hero {
  position: absolute;
  width: 540px; height: 560px;
  top: 50%; left: 50%;
  transform: translate(-50%, -48%);
  background: var(--sage-mist);
  box-shadow: none;
}
.stone-hero > i { height: 42%; animation: rise 2.6s cubic-bezier(.2, .7, .2, 1) both, swell 7s ease-in-out 2.6s infinite; }
@keyframes rise { from { height: 10%; } to { height: 42%; } }
@keyframes swell { 0%, 100% { height: 42%; } 50% { height: 44.5%; } }

.hero-phone { position: relative; z-index: 2; }
.hero-notif { position: absolute; z-index: 3; left: -18px; bottom: 112px; width: 318px; }

/* ---------- phone frame (screens are authored at 393 x 852) ---------- */

.phone { --s: .74; position: relative; width: calc(417px * var(--s)); height: calc(876px * var(--s)); flex: none; }
.phone-body {
  position: absolute; top: 0; left: 0;
  width: 417px; height: 876px;
  padding: 12px;
  border-radius: 66px;
  background: #1A1F1C;
  box-shadow:
    inset 0 0 0 2px #3A433D,
    inset 0 0 0 5px #141815,
    0 60px 120px -40px rgba(30, 36, 32, .45),
    0 30px 60px -30px rgba(30, 36, 32, .30);
  transform: scale(var(--s));
  transform-origin: 0 0;
}
.phone-body::after {
  content: ""; position: absolute; z-index: 5;
  top: 23px; left: 50%; transform: translateX(-50%);
  width: 122px; height: 35px; border-radius: 20px; background: #0B0E0C;
}
.phone-screen { width: 393px; height: 852px; border-radius: 54px; overflow: hidden; position: relative; }

/* ---------- notification card ---------- */

.notif {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px 15px 14px;
  border-radius: 22px;
  background: rgba(251, 248, 242, .88);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 1px 2px rgba(30, 36, 32, .05), 0 24px 48px -20px rgba(30, 36, 32, .28);
  font-size: 14.5px; line-height: 1.38;
}
.notif .app-icon { width: 38px; height: 38px; }
.notif-body { flex: 1; min-width: 0; }
.notif-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); margin-bottom: 2px; }
.notif-meta b { font-weight: 600; color: var(--ink-2); letter-spacing: -.01em; }
.notif-title { font-weight: 600; letter-spacing: -.01em; }
.notif-text { color: var(--ink-2); }

/* ---------- section heads ---------- */

.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(34px, 3.9vw, 54px); line-height: 1.05; font-weight: 400; letter-spacing: -.04em; }
.sec-head p { font-size: 18px; color: var(--ink-2); max-width: 26em; justify-self: end; }

/* ---------- features ---------- */

.features { padding: 40px 0 120px; }
.feat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.feat {
  position: relative;
  display: flex; flex-direction: column; gap: 32px;
  padding: 40px;
  border-radius: 34px;
  background: var(--paper);
  border: 1px solid var(--stone);
  overflow: hidden;
}
.feat-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.feat-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--sage-deep); }
.feat-kicker::before { content: ""; width: 10px; height: 9px; background: var(--sage); border-radius: 58% 42% 50% 50% / 55% 52% 48% 45%; }
.feat h3 { margin-top: 14px; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; font-weight: 500; letter-spacing: -.035em; }
.feat-copy p:last-child { margin-top: 14px; color: var(--ink-2); max-width: 30em; }

.river {
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
  align-items: end;
  padding: 36px 28px 30px;
  border-radius: 26px;
  background: var(--cream);
}
.river-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.river-item .pebble { width: 100%; max-width: 132px; aspect-ratio: 1.14; }
.river-item:nth-child(2) { transform: translateY(-18px); }
.river-item:nth-child(4) { transform: translateY(-10px); }
.river-name { margin-top: 14px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.river-amt { font-size: 20px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.river-of { font-size: 13px; color: var(--ink-3); }

.feat-panel {
  flex: 1;
  justify-content: center;
  border-radius: 26px;
  background: var(--sage-fog);
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.feat-panel .notif { background: rgba(251, 248, 242, .95); }
.feat-panel .notif + .notif { margin-left: 28px; opacity: .92; }

.week {
  border-radius: 20px;
  background: var(--paper);
  border: 1px solid var(--stone);
  padding: 20px 20px 18px;
  box-shadow: var(--shadow-soft);
}
.week-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.week-label { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.week-sum { font-size: 30px; font-weight: 500; letter-spacing: -.035em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.week-sum small { font-size: 15px; color: var(--ink-3); letter-spacing: -.01em; font-weight: 400; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 999px;
  font-size: 13px; font-weight: 600; white-space: nowrap;
  background: var(--sage-mist); color: var(--sage-deep);
}
.bars { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; align-items: end; height: 112px; margin-top: 18px; }
.bars > span { display: block; border-radius: 8px 8px 4px 4px; background: var(--sage); height: var(--h); }
.bars > span.hi { background: var(--sage-deep); }
.bars-plan { position: absolute; left: 0; right: 0; bottom: var(--p); border-top: 1.5px dashed rgba(30, 36, 32, .28); }
.bars-plan b { position: absolute; right: 0; top: -20px; font-size: 11px; font-weight: 500; color: var(--ink-3); background: var(--paper); padding-left: 6px; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-top: 8px; font-size: 12px; color: var(--ink-3); text-align: center; font-weight: 500; }
.week-cta {
  margin-top: 16px; display: flex; justify-content: center; align-items: center;
  height: 46px; border-radius: 14px; background: var(--ink); color: var(--cream);
  font-size: 15px; font-weight: 600; letter-spacing: -.01em;
}

/* ---------- screens strip ---------- */

.screens { padding: 112px 0 120px; background: var(--sage-fog); border-top: 1px solid var(--sage-mist); border-bottom: 1px solid var(--sage-mist); }
.screens-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.shot { display: flex; flex-direction: column; align-items: center; }
.shot .phone { --s: .7; }
.shot:nth-child(2) { transform: translateY(36px); }
.shot figcaption { margin-top: 32px; text-align: center; max-width: 18em; color: var(--ink-2); font-size: 16px; }
.shot figcaption b { display: block; color: var(--ink); font-size: 18px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 2px; }

/* ---------- stories ---------- */

.stories { padding: 128px 0 112px; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.quote {
  display: flex; flex-direction: column; justify-content: space-between; gap: 36px;
  padding: 34px 32px 30px;
  border-radius: 30px;
  background: var(--paper);
  border: 1px solid var(--stone);
}
.quote blockquote { font-family: var(--f-serif); font-style: italic; font-size: 25px; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
.who { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-3); }
.who b { display: block; font-size: 16px; color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
.initial {
  width: 42px; height: 42px; flex: none; display: grid; place-items: center;
  border-radius: 50%; background: var(--sage-mist); color: var(--sage-deep);
  font-weight: 600; font-size: 17px;
}

/* ---------- closing call to action ---------- */

.cta { padding: 0 0 112px; }
.cta-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center;
  padding: 72px 72px;
  border-radius: 40px;
  background: var(--sage);
}
.cta-card h2 { font-size: clamp(40px, 5vw, 72px); line-height: 1; font-weight: 400; letter-spacing: -.045em; }
.cta-card p { margin-top: 18px; font-size: 18px; color: #2A332D; }
.cta-card .stores { margin-top: 32px; }
.cta-art { position: relative; width: 300px; height: 260px; display: grid; place-items: center; }
.cta-art .pebble { position: absolute; inset: 0; background: #C9D7C4; box-shadow: none; }
.cta-art .pebble > i { background: #B3C7AF; }
.cta-art .pebble > i::before { background: rgba(246, 241, 231, .6); }
.cta-art .app-icon { position: relative; width: 128px; height: 128px; box-shadow: 0 30px 60px -24px rgba(30, 36, 32, .5); }

/* ---------- footer ---------- */

.foot { padding: 64px 0 40px; border-top: 1px solid var(--stone); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.foot-grid p { margin-top: 14px; color: var(--ink-2); font-size: 15px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--ink-2); }
.foot-col h4 { font-size: 13px; font-weight: 600; color: var(--ink-3); margin-bottom: 4px; }
.foot-col a:hover { color: var(--ink); }
.foot-base { position: relative; display: flex; justify-content: space-between; margin-top: 56px; padding-top: 24px; font-size: 13px; color: var(--ink-3); }
.foot-base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--stone); }

/* ======================================================================
   App screens — authored at 393 x 852 CSS px (exported at 3x = 1179 x 2556)
   ====================================================================== */

.scr {
  position: relative; overflow: hidden;
  width: 393px; height: 852px;
  display: flex; flex-direction: column;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 15px; line-height: 1.35;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-align: left;
}
.scr p { margin: 0; }
.scr-status {
  flex: none; height: 54px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 30px 0 46px;
  font-size: 17px; font-weight: 600; letter-spacing: -.01em;
}
.scr-status-icons { display: flex; align-items: center; gap: 7px; }
.scr-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 12px; padding: 8px 20px 0; }
.scr-tabs {
  flex: none; height: 86px;
  display: flex; justify-content: space-around; align-items: flex-start;
  padding: 10px 14px 0;
  background: rgba(251, 248, 242, .94);
  border-top: 1px solid var(--stone);
}
.scr-tab { width: 74px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 500; color: var(--ink-3); }
.scr-tab svg { width: 26px; height: 26px; }
.scr-tab.on { color: var(--ink); font-weight: 600; }
.scr-homebar { position: absolute; left: 50%; bottom: 8px; width: 136px; height: 5px; border-radius: 3px; background: var(--ink); transform: translateX(-50%); }

.s-title { font-size: 30px; font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.s-label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.s-muted { font-size: 12.5px; color: var(--ink-3); }
.s-row { display: flex; justify-content: space-between; align-items: baseline; }
.s-row h4 { font-size: 16px; font-weight: 600; letter-spacing: -.015em; }
.s-row a { font-size: 13px; font-weight: 600; color: var(--sage-deep); }
.s-card { background: var(--paper); border: 1px solid var(--stone); border-radius: 24px; }
.s-track { height: 8px; border-radius: 4px; background: var(--sage-fog); overflow: hidden; }
.s-track > i { display: block; height: 100%; width: var(--w); border-radius: 4px; background: var(--sage); }

/* home */
.h-head { display: flex; justify-content: space-between; align-items: center; }
.h-hello { font-size: 25px; font-weight: 600; letter-spacing: -.03em; margin-top: 2px; }
.h-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-mist); color: var(--sage-deep); font-weight: 600; font-size: 17px; }
.h-safe { padding: 20px 20px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-radius: 28px; }
.h-big { font-size: 52px; font-weight: 500; letter-spacing: -.045em; line-height: 1; margin: 8px 0 6px; }
.h-big small { font-size: 28px; color: var(--ink-3); letter-spacing: -.02em; font-weight: 500; }
.h-safe .pebble { width: 86px; height: 76px; flex: none; }
.h-month { padding: 0 2px; display: flex; flex-direction: column; gap: 8px; }
.h-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.env { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 22px; }
.env .pebble { width: 46px; height: 40px; flex: none; }
.env-name { font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.env-amt { font-size: 19px; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.env-of { font-size: 11.5px; color: var(--ink-3); }
.h-nudge { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 20px; background: var(--sage-mist); font-size: 14px; line-height: 1.38; color: #2E3830; }
.h-nudge .app-icon { width: 34px; height: 34px; }
.tx { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; }
.tx + .tx { border-top: 1px solid var(--stone); }
.tx-ico { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--stone); color: var(--ink-2); }
.tx-ico svg { width: 20px; height: 20px; }
.tx-name { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.tx-amt { font-size: 15px; font-weight: 600; }

/* budgets */
.b-head { display: flex; justify-content: space-between; align-items: center; }
.b-pill { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--stone); font-size: 14px; font-weight: 600; }
.b-sum { display: flex; flex-direction: column; gap: 9px; }
.b-sum-big { font-size: 34px; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.b-sum-big small { font-size: 15px; color: var(--ink-3); font-weight: 400; letter-spacing: -.01em; }
.b-list { padding: 4px 16px; border-radius: 24px; }
.b-row { display: grid; grid-template-columns: 42px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; }
.b-row + .b-row { border-top: 1px solid var(--stone); }
.b-row .pebble { width: 42px; height: 36px; }
.b-name { font-size: 15.5px; font-weight: 600; letter-spacing: -.015em; }
.b-right { text-align: right; }
.b-amt { font-size: 16px; font-weight: 600; letter-spacing: -.015em; }
.b-paid { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--sage-mist); color: var(--sage-deep); font-size: 12px; font-weight: 600; }
.b-save { padding: 16px 18px; border-radius: 24px; background: var(--ink); color: var(--cream); display: flex; flex-direction: column; gap: 10px; }
.b-save .s-muted { color: rgba(246, 241, 231, .62); }
.b-save .s-track { background: rgba(246, 241, 231, .14); }

/* check-in */
.c-top { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.c-x { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--stone); }
.c-steps { display: flex; gap: 6px; }
.c-steps i { width: 26px; height: 5px; border-radius: 3px; background: var(--sage); }
.c-steps i.off { background: var(--stone); }
.c-time { font-size: 13px; font-weight: 600; color: var(--ink-3); width: 36px; text-align: right; }
.c-hl { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 38px; line-height: 1.05; letter-spacing: -.02em; margin-top: 4px; }
.c-week { padding: 18px 18px 14px; border-radius: 24px; }
.c-week .bars { height: 96px; gap: 9px; margin-top: 14px; }
.c-week .bars-plan b { background: var(--paper); }
.c-week .days { gap: 9px; }
.c-q { font-size: 15px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 10px; }
.c-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.c-chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; background: var(--paper); border: 1px solid var(--stone); color: var(--ink-2); }
.c-chip.on { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.c-moods { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; text-align: center; }
.c-mood { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 500; color: var(--ink-3); }
.c-mood .pebble { width: 44px; height: 38px; }
.c-mood.on { color: var(--ink); font-weight: 600; }
.c-mood.on .pebble { outline: 2px solid var(--ink); outline-offset: 3px; }
.c-actions { margin-top: auto; padding-bottom: 40px; display: flex; flex-direction: column; gap: 6px; }
.c-note { display: block; text-align: center; padding: 12px 14px; margin-bottom: 8px; border-radius: 16px; background: var(--sage-fog); font-size: 13.5px; color: var(--ink-2); }
.c-note b { color: var(--ink); font-weight: 600; }
.c-btn { height: 54px; border-radius: 18px; display: grid; place-items: center; background: var(--ink); color: var(--cream); font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.c-ghost { height: 40px; display: grid; place-items: center; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
  .stone-hero { width: 460px; height: 480px; }
  .hero-stage { height: 640px; }
  .hero-phone { --s: .68; }
  .hero-notif { left: -8px; }
  .shot .phone { --s: .58; }
}

@media (max-width: 880px) {
  :root { --gutter: 24px; }
  .nav-links { display: none; }
  .hero { padding: 48px 0 72px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero-stage { height: 620px; }
  .hero-notif { left: 50%; transform: translateX(-50%); bottom: 40px; width: min(330px, 100%); }
  .sec-head { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 36px; }
  .sec-head p { justify-self: start; }
  .feat-grid { grid-template-columns: minmax(0, 1fr); }
  .feat-wide { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .screens { padding: 80px 0 88px; }
  .screens-row { gap: 16px; }
  .shot .phone { --s: .52; }
  .shot:nth-child(2) { transform: translateY(24px); }
  .shot figcaption { font-size: 15px; }
  .quotes { grid-template-columns: minmax(0, 1fr); }
  .stories { padding: 88px 0 80px; }
  .cta-card { grid-template-columns: minmax(0, 1fr); padding: 48px 32px; }
  .cta-art { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .screens-row {
    display: flex; gap: 20px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px;
    scrollbar-width: none;
  }
  .screens-row::-webkit-scrollbar { display: none; }
  .shot { scroll-snap-align: center; flex: none; }
  .shot:nth-child(2) { transform: none; }
  .shot .phone { --s: .62; }
}

@media (max-width: 520px) {
  :root { --gutter: 16px; }
  .nav-inner { height: 64px; }
  .btn { height: 38px; padding: 0 16px; font-size: 14px; }
  .hero h1 { font-size: 44px; }
  .lede { font-size: 17px; }
  .hero-stage { height: 540px; }
  .stone-hero { width: 340px; height: 380px; }
  .hero-phone { --s: .56; }
  .hero-notif { bottom: 18px; }
  .feat { padding: 26px 22px; border-radius: 28px; }
  .river { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; padding: 28px 20px 24px; }
  .river-item:nth-child(2), .river-item:nth-child(4) { transform: none; }
  .river-item .pebble { max-width: 108px; }
  .feat-panel { padding: 18px; }
  .feat-panel .notif + .notif { margin-left: 0; }
  .quote { padding: 28px 24px 24px; }
  .quote blockquote { font-size: 22px; }
  .store { padding: 10px 16px 10px 14px; }
  .foot-base { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stone-hero > i { animation: none; height: 42%; }
  .store, .btn { transition: none; }
}
