/* The landing page. Tokens and fonts come from tokens.css; Grão's motion is at the end. */

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--canvas); padding: 8px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 8px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; text-wrap: balance; }
h1 strong, h2 strong, h3 strong { font-weight: 700; }
p { margin: 0; }
button { font: inherit; color: inherit; }

/* The morning gradient: papaya from the top left, corn across the top, leaf at the bottom right. */
.morning {
  background-color: var(--morning-base);
  background-image:
    radial-gradient(70% 90% at 8% 6%, rgb(245 181 154 / 0.95), transparent 70%),
    radial-gradient(65% 80% at 70% 0%, rgb(240 216 138 / 1), transparent 70%),
    radial-gradient(80% 90% at 96% 100%, rgb(198 229 179 / 1), transparent 70%);
}

/* ——— Hero ——— */
.hero {
  color: var(--on-morning);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  overflow: hidden;
  background-color: var(--morning-base);
  background-image:
    radial-gradient(60% 70% at 4% 4%, rgb(245 181 154 / 0.95), transparent 70%),
    radial-gradient(60% 70% at 62% 0%, rgb(240 216 138 / 1), transparent 70%),
    radial-gradient(70% 80% at 98% 100%, rgb(198 229 179 / 1), transparent 70%);
}
.nav { display: flex; align-items: center; gap: 24px; padding-top: 20px; padding-bottom: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.logo img { border-radius: 9px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--on-morning); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-cta { background: var(--on-morning); color: var(--morning-base); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 18px; border-radius: 999px; }
.hero :focus-visible { outline-color: var(--on-morning); }

.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; padding-top: 32px; }
.hero-copy { padding-bottom: 96px; align-self: center; }
.eyebrow { font-weight: 600; font-size: 15px; color: var(--on-morning2); margin-bottom: 18px; }
.hero h1 { font-size: clamp(46px, 6.6vw, 84px); line-height: 0.98; letter-spacing: -0.04em; }
.hero h1 strong { display: block; }
.lede { font-size: 19px; line-height: 1.5; color: var(--on-morning2); max-width: 25.5em; margin-top: 24px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: var(--on-morning); color: #F4F1EA; border-radius: 16px; padding: 10px 18px 10px 14px; font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.1; }
.store small { display: block; font-family: var(--sans); font-weight: 400; font-size: 12px; color: #BCB7AD; }
.store svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 24px 0 0; font-size: 14px; font-weight: 500; color: var(--on-morning2); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2F9B5E; }

/* The stage: the phone rising from the bottom edge, and Grão beside it. */
.hero-stage { position: relative; height: 620px; }
.phone {
  /* The phone always shows the app's dark theme. */
  --surface: #1A1A18; --well: #242422; --track: #2C2C29; --ink: #F4F1EA; --ink2: #BCB7AD; --ink3: #928D84;
  --accent: #B8E4A6; --on-accent: #12140F; --slot: #4A4843; --protein: #AFC2F4; --carbs: #F1D27E; --fat: #E7B6DE;
  position: absolute; right: 2%; bottom: -60px; width: 318px; height: 650px;
  background: #050505; border-radius: 52px; padding: 11px;
  box-shadow: 0 40px 80px -20px rgb(22 21 18 / 0.45), inset 0 0 0 1.5px #2b2a27;
  color: var(--ink);
}
.screen { height: 100%; border-radius: 42px; background: #0F0F0E; padding: 46px 14px 0; overflow: hidden; display: flex; flex-direction: column; gap: 10px; position: relative; }
.screen::before { content: ""; position: absolute; top: 12px; left: 50%; translate: -50% 0; width: 92px; height: 26px; border-radius: 20px; background: #050505; }
.s-top { display: flex; align-items: center; gap: 6px; }
.s-title { font-family: var(--display); font-size: 21px; letter-spacing: -0.02em; margin-right: auto; }
.s-title b { font-weight: 700; }
.s-pill { width: 30px; height: 30px; border-radius: 50%; background: var(--surface); }
.s-week { display: flex; justify-content: space-between; }
.s-week .d { width: 30px; height: 30px; border-radius: 50%; border: 1.5px dashed var(--slot); display: grid; place-items: center; }
.s-week .d i { font-style: normal; font-size: 10px; font-weight: 600; color: var(--ink3); }
.s-week .on { background: var(--accent); border: 0; }
.s-week .on i { color: var(--on-accent); }
.s-week .today { box-shadow: 0 0 0 2px #0F0F0E, 0 0 0 4px var(--ink); }
.s-cal { background: var(--surface); border-radius: 20px; padding: 14px; display: flex; gap: 8px; align-items: center; }
.s-cal-text { flex: 1; min-width: 0; }
.s-big { font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1; letter-spacing: -0.03em; }
.s-label { font-size: 12px; color: var(--ink2); margin-top: 4px; }
.s-cap { font-size: 10.5px; color: var(--ink3); margin-top: 2px; }
.s-bubble { position: relative; margin-top: 10px; background: var(--well); border-radius: 12px; padding: 7px 9px; font-size: 11px; line-height: 1.3; color: var(--ink); }
.s-bubble::after { content: ""; position: absolute; right: -6px; top: 50%; translate: 0 -50%; border: 6px solid transparent; border-left-color: var(--well); border-right: 0; }
.s-ring { position: relative; width: 112px; height: 112px; flex: none; display: grid; place-items: center; }
.s-ring > svg, .m > svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.track { fill: none; stroke: var(--track); }
.arc { fill: none; stroke: var(--accent); stroke-linecap: round; }
.s-ring .track, .s-ring .arc { stroke-width: 11; }
.s-ring .arc { stroke-dasharray: var(--dash) 405.3; }
.s-disc { position: absolute; width: 84px; height: 84px; border-radius: 50%; background: var(--well); }
.s-ring .grao { --size: 74px; position: relative; margin-top: -6px; }
.s-macros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.m { background: var(--surface); border-radius: 16px; padding: 10px 8px; display: flex; flex-direction: column; gap: 2px; }
.m > svg { position: relative; inset: auto; width: 40px; height: 40px; margin-bottom: 6px; }
.m .track, .m .arc { stroke-width: 6; }
.m .arc { stroke-dasharray: var(--dash) 163.4; }
.m .p { stroke: var(--protein); } .m .c { stroke: var(--carbs); } .m .g { stroke: var(--fat); }
.m b { font-family: var(--display); font-size: 15px; }
.m span { font-size: 9.5px; color: var(--ink2); line-height: 1.2; }
.s-section { font-family: var(--display); font-size: 16px; margin-top: 4px; }
.s-meal { display: flex; gap: 10px; align-items: center; background: var(--surface); border-radius: 16px; padding: 8px; }
.s-meal > div { min-width: 0; }
.s-meal p { font-size: 12.5px; line-height: 1.35; }
.s-meal b { font-weight: 600; }
.s-meal em { font-style: normal; font-size: 10px; background: var(--well); color: var(--ink2); padding: 1px 6px; border-radius: 99px; margin-left: 2px; }
.s-meal .foods { color: var(--ink2); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-meal .kc { font-size: 11px; font-weight: 600; }
.s-meal .kc span { font-weight: 500; margin-left: 4px; }
.s-meal .kc .p { color: var(--protein); } .s-meal .kc .c { color: var(--carbs); } .s-meal .kc .g { color: var(--fat); }
.tile { width: 46px; height: 46px; flex: none; border-radius: 13px; display: grid; place-items: center; }
.tile svg { width: 20px; height: 20px; fill: none; stroke: #161512; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile.breakfast { background: var(--meal-breakfast); }
.tile.lunch { background: var(--meal-lunch); }
.s-add { display: flex; gap: 6px; }
.s-add span { font-size: 11px; font-weight: 600; color: var(--ink2); border: 1.5px dashed var(--slot); border-radius: 99px; padding: 5px 10px; }

.host { position: absolute; left: -9%; bottom: 36px; display: flex; flex-direction: column; align-items: center; z-index: 2; }
.host .grao { --size: 200px; }
.bubble {
  position: relative; max-width: 240px; background: #FFFDF8; color: var(--on-morning);
  font-family: var(--display); font-size: 19px; line-height: 1.25; padding: 14px 18px; border-radius: 22px;
  box-shadow: 0 12px 30px -12px rgb(22 21 18 / 0.35); margin-bottom: 6px; text-wrap: pretty;
}
.bubble::after { content: ""; position: absolute; left: 50%; bottom: -9px; translate: -50% 0; border: 10px solid transparent; border-top-color: #FFFDF8; border-bottom: 0; }
.bubble.is-new { animation: bubble-in 0.35s var(--ease); }
@keyframes bubble-in { from { opacity: 0; transform: translateY(6px) scale(0.94); } }
.poke { background: none; border: 0; padding: 0; cursor: pointer; border-radius: 50%; -webkit-tap-highlight-color: transparent; }
.poke .grao { transition: scale 0.25s var(--ease); }
.poke:hover .grao { scale: 1.04; }
.poke-hint { font-size: 13px; font-weight: 500; color: var(--on-morning2); margin-top: -4px; }
.poke-hint::before { content: "↑ "; }

/* ——— Sections ——— */
.section { padding-top: 120px; }
.kicker { font-weight: 600; font-size: 14px; color: var(--accent); margin-bottom: 14px; }
.section h2 { font-size: clamp(36px, 4.8vw, 58px); line-height: 1.02; letter-spacing: -0.035em; max-width: 14em; }
.body { font-size: 18px; color: var(--ink2); max-width: 34em; margin-top: 20px; }

.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--surface); border: 1px solid var(--card-edge); border-radius: var(--r-lg); padding: 14px 14px 26px; }
.step h3 { font-size: 26px; letter-spacing: -0.02em; margin: 6px 12px 6px; display: inline-block; }
.step p { color: var(--ink2); margin: 0 12px; font-size: 16px; }
.num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 15px; margin: 20px 0 0 12px; vertical-align: 4px; }
.step .num + h3 { margin-left: 8px; }
.vignette { position: relative; height: 240px; border-radius: var(--r-md); background: var(--well); overflow: hidden; }
.v-caption { position: absolute; left: 14px; bottom: 14px; background: var(--surface); border-radius: 12px; padding: 7px 11px; font-size: 13px; color: var(--ink2); }
.v-caption.saved { left: 50%; translate: -50% 0; bottom: auto; top: 26px; font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--ink); }
.plate { position: absolute; left: 50%; top: 18px; translate: -62% 0; width: 158px; height: 158px; border-radius: 50%; background: #F4EFE4; box-shadow: inset 0 0 0 12px #E6DFD0, 0 14px 24px -10px rgb(0 0 0 / 0.35); }
.food { position: absolute; display: block; }
.food.rice { left: 30px; top: 28px; width: 56px; height: 50px; border-radius: 46% 54% 44% 56% / 52% 46% 54% 48%; background: radial-gradient(circle at 30% 30%, #fff, #EFE6D2); box-shadow: inset 0 -3px 0 #E2D7BF; }
.food.beans { left: 80px; top: 30px; width: 50px; height: 46px; border-radius: 50% 46% 52% 48%; background: radial-gradient(circle at 35% 30%, #8A5636, #5A321D); }
.food.chicken { left: 46px; top: 80px; width: 64px; height: 40px; border-radius: 40% 60% 46% 54% / 56% 50% 50% 44%; background: linear-gradient(160deg, #E8B678, #C98A45); }
.food.salad { left: 30px; top: 74px; width: 26px; height: 30px; border-radius: 60% 40% 50% 50%; background: radial-gradient(circle at 40% 40%, #9AD27F, #4E9A3C); }
.v-photo .grao { --size: 84px; position: absolute; right: 6px; top: 40px; }
.v-photo .v-caption { right: 14px; text-align: center; }
.v-review { padding: 18px 16px; display: flex; flex-direction: column; gap: 8px; }
.r-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--surface); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.r-row b { font-weight: 600; font-size: 13px; color: var(--ink2); }
.r-row em { font-style: normal; color: var(--ink3); }
.r-row.ask { box-shadow: inset 0 0 0 1.5px var(--accent); }
.chips { display: flex; gap: 4px; }
.chips i { font-style: normal; font-size: 12px; padding: 3px 8px; border-radius: 99px; background: var(--well); color: var(--ink2); }
.chips i.on { background: var(--accent); color: var(--on-accent); }
.v-review .grao { --size: 76px; position: absolute; right: 8px; bottom: -10px; }
.v-saved { display: grid; place-items: center; }
.s-meal.mini { position: absolute; top: 72px; left: 50%; translate: -50% 0; width: 220px; }
.s-meal.mini p { white-space: nowrap; }
.v-saved .grao { --size: 84px; position: absolute; bottom: 4px; left: 50%; translate: -50% 0; }

.band { margin-top: 120px; padding: 110px 0; background: var(--surface); }
.band + .section { padding-top: 110px; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0 0; }
.stats div { border-top: 1px solid var(--hairline); padding-top: 14px; }
.stats dt { font-family: var(--display); font-weight: 700; font-size: 40px; letter-spacing: -0.03em; color: var(--accent); line-height: 1; }
.stats dd { margin: 8px 0 0; color: var(--ink2); font-size: 15px; line-height: 1.4; }
.flow { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; position: relative; }
.flow::before { content: ""; position: absolute; left: 33px; top: 30px; bottom: 30px; border-left: 2px dashed var(--slot); }
.flow li { position: relative; display: flex; gap: 16px; align-items: center; background: var(--canvas); border: 1px solid var(--card-edge); border-radius: var(--r-lg); padding: 14px 18px 14px 12px; }
.f-icon { width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--accent-wash); display: grid; place-items: center; }
.f-icon svg, .features svg, .c-art.icon svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.f-k { font-size: 13px; color: var(--ink3); font-weight: 500; }
.f-v { font-size: 17px; }
.f-v b { color: var(--accent); }
.f-src { font-size: 12px; color: var(--ink3); margin-top: 2px; }

.grao-head { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; align-items: end; }
.grao-head .kicker { grid-column: 1 / -1; }
.grao-head .body { margin-top: 0; }
.moods { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.moods li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.moods button { width: 100%; aspect-ratio: 1; display: grid; place-items: center; border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--card-edge); border-radius: 50%; cursor: pointer; margin-bottom: 10px; transition: background 0.2s; }
.moods button:hover { background: var(--well); }
.moods .grao { --size: 72%; }
.moods b { font-family: var(--display); font-weight: 700; font-size: 17px; }
.moods span { font-size: 13.5px; color: var(--ink2); line-height: 1.35; text-wrap: balance; }

.wardrobe { margin-top: 56px; background: var(--surface); border: 1px solid var(--card-edge); border-radius: var(--r-xl); padding: 36px; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 36px; align-items: center; }
.wardrobe h3 { font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; }
.wardrobe p { color: var(--ink2); margin-top: 12px; }
.outfits { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.outfits li { background: var(--well); border-radius: var(--r-lg); padding: 18px 8px 14px; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.outfits .grao { --size: 80px; margin-bottom: 8px; }
.outfits b { font-weight: 600; font-size: 14px; }
.outfits span { font-size: 12px; font-weight: 600; color: var(--on-accent); background: var(--accent); border-radius: 99px; padding: 1px 9px; margin-top: 4px; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.card { background: var(--surface); border: 1px solid var(--card-edge); border-radius: var(--r-lg); padding: 22px; }
.card h3 { font-size: 21px; letter-spacing: -0.01em; margin-top: 18px; }
.card p { color: var(--ink2); font-size: 15.5px; margin-top: 8px; }
.c-art { width: 72px; height: 72px; border-radius: 22px; background: var(--well); display: grid; place-items: center; position: relative; }
.c-art .grao { --size: 60px; }
.c-art.icon svg { width: 28px; height: 28px; }
.c-art.over svg { position: absolute; inset: 8px; width: 56px; height: 56px; rotate: -90deg; }
.c-art.over .track, .c-art.over .arc { stroke-width: 6; }
.c-art.over span { font-size: 11px; font-weight: 600; color: var(--ink2); }

.features { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 32px; }
.features li { display: grid; grid-template-columns: 48px 1fr; gap: 2px 16px; }
.features svg { grid-row: span 2; width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--accent-wash); }
.features b { font-family: var(--display); font-weight: 700; font-size: 18px; }
.features span { color: var(--ink2); font-size: 15.5px; }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.plan { background: var(--surface); border: 1px solid var(--card-edge); border-radius: var(--r-xl); padding: 32px; }
.plan h3 { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; }
.plan h3 .grao { --size: 46px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 12px; }
.plan li { display: flex; gap: 12px; color: var(--ink2); }
.plan li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--accent-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%232F9B5E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.plan.premium { background: var(--accent-wash); border-color: var(--accent); }
.plan-note { margin-top: 24px; font-size: 14px; color: var(--ink3); border-top: 1px solid var(--hairline); padding-top: 16px; }

.faq { margin-top: 40px; border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-family: var(--display); font-size: 21px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M15 9v12M9 15h12' stroke='%23928D84' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 30px no-repeat; transition: rotate 0.25s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { color: var(--ink2); padding: 0 48px 24px 0; }

.closing { margin-top: 120px; color: var(--on-morning); border-radius: var(--r-xl) var(--r-xl) 0 0; background-color: var(--morning-base);
  background-image:
    radial-gradient(60% 80% at 10% 100%, rgb(245 181 154 / 0.9), transparent 70%),
    radial-gradient(50% 70% at 50% 0%, rgb(240 216 138 / 1), transparent 70%),
    radial-gradient(60% 80% at 94% 90%, rgb(198 229 179 / 1), transparent 70%);
}
.closing-inner { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 88px; padding-bottom: 96px; }
.closing .grao { --size: 160px; }
.closing h2 { font-size: clamp(38px, 5.4vw, 66px); line-height: 1; letter-spacing: -0.035em; margin-top: 18px; }
.closing p { margin-top: 16px; font-size: 19px; color: var(--on-morning2); }
.closing :focus-visible { outline-color: var(--on-morning); }
.closing.lost { margin: 0; min-height: 100vh; min-height: 100dvh; border-radius: 0; display: grid; align-items: center; }
.lost h1 { font-size: clamp(38px, 5.4vw, 66px); line-height: 1; letter-spacing: -0.035em; margin-top: 18px; text-wrap: balance; }
.lost .nav-cta { margin: 28px 0 0; padding: 14px 24px; }

.footer { background: var(--canvas); padding: 56px 0 64px; font-size: 14px; color: var(--ink3); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.2fr 0.8fr; gap: 40px; }
.footer .logo { color: var(--ink); font-size: 18px; margin-bottom: 14px; }
.footer p { line-height: 1.55; }
.f-title { color: var(--ink); font-weight: 600; margin-bottom: 8px; }
.footer nav a { display: block; margin-bottom: 6px; }

/* Rising in as they arrive. Without the script everything simply shows. */
.js .rise { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .rise.is-in { opacity: 1; transform: none; }
.steps .rise:nth-child(2), .cards .rise:nth-child(2) { transition-delay: 0.1s; }
.steps .rise:nth-child(3), .cards .rise:nth-child(3) { transition-delay: 0.2s; }
.cards .rise:nth-child(4) { transition-delay: 0.3s; }
.plans .rise:nth-child(2) { transition-delay: 0.1s; }

/* ——— Smaller screens ——— */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; padding-top: 16px; }
  .hero-copy { padding-bottom: 32px; }
  .hero-stage { height: 560px; max-width: 520px; width: 100%; margin: 0 auto; }
  .phone { right: 4%; bottom: -120px; }
  .host { left: 0; bottom: 20px; }
  .host .grao { --size: 160px; }
  .bubble { font-size: 17px; max-width: 200px; }
  .steps, .cards { grid-template-columns: 1fr 1fr; }
  .split, .grao-head, .wardrobe { grid-template-columns: 1fr; gap: 32px; }
  .grao-head .body { margin-top: 20px; }
  .moods { grid-template-columns: repeat(4, 1fr); row-gap: 28px; }
  .features { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav { padding-top: 14px; padding-bottom: 14px; }
  .hero h1 { font-size: clamp(40px, 12vw, 54px); }
  .lede { font-size: 17px; margin-top: 18px; }
  .stores { margin-top: 24px; }
  .store { font-size: 16px; padding: 9px 14px 9px 12px; }
  /* On a phone Grão sits on top of the phone, talking to the right. */
  .hero-stage { height: 560px; }
  .phone { left: 50%; right: auto; top: 112px; bottom: auto; translate: -50% 0; width: 300px; height: 620px; }
  .host { left: 0; right: 0; top: 0; bottom: auto; flex-direction: row; align-items: flex-end; gap: 4px; }
  .host .poke { order: 0; flex: none; }
  .host .bubble { order: 1; margin: 0 0 58px; }
  .host .grao { --size: 128px; }
  .poke-hint { display: none; }
  .bubble { font-size: 16px; max-width: 210px; padding: 11px 14px; border-radius: 18px; }
  .bubble::after { left: -8px; bottom: 16px; translate: 0; border: 9px solid transparent; border-right-color: #FFFDF8; border-left: 0; }
  .section { padding-top: 88px; }
  .band { margin-top: 88px; padding: 80px 0; }
  .band + .section { padding-top: 88px; }
  .body { font-size: 17px; }
  .steps, .cards, .features, .plans, .stats { grid-template-columns: 1fr; }
  .stats { gap: 0; }
  .stats div { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; }
  .stats dd { margin: 0; }
  .moods { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .moods button { width: 76%; }
  .wardrobe { padding: 22px; border-radius: var(--r-lg); }
  .outfits { grid-template-columns: 1fr 1fr; }
  .plan { padding: 24px; border-radius: var(--r-lg); }
  .faq summary { font-size: 19px; }
  .faq details p { padding-right: 0; }
  .closing { margin-top: 88px; }
  .closing .grao { --size: 128px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ——— Grão ——— */
.grao { --size: 72px; display: inline-block; width: var(--size); height: var(--size); line-height: 0; vertical-align: middle; }
.grao svg { width: 100%; height: 100%; overflow: visible; animation: g-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.js .rise:not(.is-in) .grao svg { animation: none; opacity: 0; }
.grao g, .grao ellipse, .grao path, .grao circle { transform-box: view-box; }
@keyframes g-pop { from { opacity: 0; transform: scale(0.55); } 60% { opacity: 1; } }

.grao { --breath: 1.6s; --sprout-rest: 0deg; --sprout-sway: 4deg; --lean: 0deg; --lean-sway: 0deg; }
.grao.is-happy { --breath: 1.4s; --sprout-sway: 10deg; }
.grao.is-thinking { --breath: 1s; --sprout-rest: -4deg; --sprout-sway: 3deg; --lean: 2deg; --lean-sway: 3deg; }
.grao.is-curious { --breath: 1.5s; --sprout-rest: -6deg; --sprout-sway: 5deg; --lean: -7deg; --lean-sway: 2deg; }
.grao.is-proud { --breath: 1.8s; --sprout-sway: 6deg; }
.grao.is-sleepy { --breath: 2.4s; --sprout-rest: 16deg; --sprout-sway: 2deg; --lean: 3deg; --lean-sway: 1deg; }
.grao.is-concern { --breath: 1.7s; --sprout-rest: 9deg; --sprout-sway: 2deg; --lean-sway: 2.5deg; }

.g-breath { transform-origin: 60px 107px; animation: g-breath var(--breath) ease-in-out infinite alternate; }
@keyframes g-breath { to { transform: scale(0.985, 1.03); } }
.g-lean { transform-origin: 60px 107px; animation: g-lean calc(var(--breath) * 1.3) ease-in-out infinite alternate; }
@keyframes g-lean { from { transform: rotate(calc(var(--lean) - var(--lean-sway))); } to { transform: rotate(calc(var(--lean) + var(--lean-sway))); } }
.g-sprout { transform-origin: 63px 27px; animation: g-sway calc(var(--breath) * 1.3) ease-in-out infinite alternate; }
@keyframes g-sway { from { transform: rotate(calc(var(--sprout-rest) - var(--sprout-sway))); } to { transform: rotate(calc(var(--sprout-rest) + var(--sprout-sway))); } }
.is-happy .g-bounce { animation: g-bounce 1.22s infinite; }
@keyframes g-bounce { 0%, 42%, 100% { transform: none; animation-timing-function: ease-out; } 21% { transform: translateY(-8.4px); animation-timing-function: ease-in; } }
.is-proud .g-bounce { animation: g-rise var(--breath) ease-in-out infinite alternate; }
@keyframes g-rise { to { transform: translateY(-3px); } }
.g-blink { transform-origin: 60px 63px; }
.g-blink.is-blinking { animation: g-blink 0.18s ease-in-out; }
@keyframes g-blink { 40% { transform: scaleY(0.1); } }
.g-glance { transition: transform 0.2s ease-in-out; }
.g-glance.is-glancing { transform: translateX(var(--glance)); }
.g-hop { transform-origin: 60px 107px; }
.g-hop.is-hopping { animation: g-hop 0.78s; }
@keyframes g-hop {
  12% { transform: scale(1.1, 0.9); }
  30% { transform: translateY(-14px) scale(0.92, 1.08); animation-timing-function: ease-out; }
  46% { transform: translateY(-22px) scale(1, 1); animation-timing-function: ease-in; }
  72% { transform: translateY(0) scale(1, 1); }
  82% { transform: scale(1.07, 0.93); }
  92% { transform: scale(0.98, 1.02); }
}
.g-shadow { transform-origin: 60px 110px; }
.grao:has(.is-hopping) .g-shadow { animation: g-shadow 0.78s; }
@keyframes g-shadow { 30%, 60% { transform: scaleX(0.65); opacity: 0.14; } }
.g-z { opacity: 0; transform-origin: 94px 26px; animation: g-z 3s linear infinite; animation-delay: calc(var(--i) * -1s); }
@keyframes g-z { 0% { opacity: 0; transform: scale(0.7); } 15% { opacity: 1; } 75% { opacity: 0.8; } 100% { opacity: 0; transform: translate(10px, -26px) scale(1.2); } }
.g-dot { opacity: 0.15; animation: g-dot 1.8s infinite; animation-delay: calc(var(--i) * 0.36s); }
@keyframes g-dot { 0%, 85%, 100% { opacity: 0.15; } 15%, 60% { opacity: 1; } }
.g-spark { transform-box: fill-box; transform-origin: center; opacity: 0; animation: g-spark 1.8s infinite; animation-delay: calc(var(--i) * -0.9s); }
@keyframes g-spark { 0%, 50%, 100% { opacity: 0; transform: scale(0.4) rotate(0deg); } 25% { opacity: 1; transform: scale(1.2) rotate(22deg); } }

@media (prefers-reduced-motion: reduce) {
  .grao *, .grao svg { animation: none !important; transition: none !important; }
  .g-z, .g-dot, .g-spark { display: none; }
  .js .rise, .js .rise:not(.is-in) .grao svg { opacity: 1; transform: none; transition: none; }
  .bubble.is-new { animation: none; }
}
