@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(fonts/BarlowCondensed-SemiBold.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(fonts/BarlowCondensed-Bold.woff2) format("woff2"); }
@font-face { font-family: "Darker Grotesque"; font-weight: 500; font-display: swap; src: url(fonts/DarkerGrotesque-Medium.woff2) format("woff2"); }
@font-face { font-family: "Darker Grotesque"; font-weight: 600; font-display: swap; src: url(fonts/DarkerGrotesque-SemiBold.woff2) format("woff2"); }
@font-face { font-family: "Darker Grotesque"; font-weight: 700; font-display: swap; src: url(fonts/DarkerGrotesque-Bold.woff2) format("woff2"); }

/* Mcava brand palette only (as the Final changes page) */
:root {
  --egg: #FCEBD9; --iron: #191919; --barn: #D9132A; --rooster: #FF4258; --butter: #FFED8F; --hen: #FE9597;
  --leaf: #BBB53C; --yolk: #FF6907; --indigo: #3E3EAB; --sunny: #FFDF33;
  --line: rgba(25, 25, 25, .14); --soft: rgba(25, 25, 25, .66);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--egg); color: var(--iron); font: 500 19px/1.3 "Darker Grotesque", system-ui, sans-serif; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: "Barlow Condensed", sans-serif; font-weight: 700; letter-spacing: .005em; margin: 0; }
h1, h2 { text-transform: uppercase; }
button, textarea { font: inherit; color: inherit; }

/* ---------- top ---------- */
.top { padding: 28px 20px 8px; max-width: 1120px; margin: 0 auto; }
.links { display: flex; justify-content: space-between; gap: 12px; margin: -8px 0 8px; }
.back { display: inline-flex; align-items: center; min-height: 40px; font-weight: 700; color: var(--barn); text-decoration: none; }
.kicker { margin: 0 0 6px; font: 600 15px/1 "Barlow Condensed", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--barn); }
.top h1 { font-size: clamp(34px, 8vw, 60px); line-height: .95; }
.lede { margin: 12px 0 0; font-size: 21px; max-width: 46ch; }
.count { margin: 12px 0 0; font-weight: 700; font-size: 18px; }
.how { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; font-size: 17px; max-width: 60ch; }
.how b { display: inline-block; margin-right: 4px; padding: 1px 9px 3px; border-radius: 999px; border: 2px solid var(--iron); font-size: 15px; line-height: 1.1; }
.how li:first-child b { background: var(--iron); color: var(--egg); }

.first { max-width: 1120px; margin: 18px auto 0; padding: 0 20px; }
.first h2 { font-size: 24px; margin-bottom: 8px; }
.first p { margin: 0; padding: 14px 18px 16px; background: var(--butter); border-radius: 18px; max-width: 72ch; }
.first a { font-weight: 700; color: var(--barn); }

/* ---------- progress and filter: sticks under the top ---------- */
.bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding: 10px 20px; margin-top: 18px; background: var(--egg); border-bottom: 1px solid var(--line); }
.progress { margin: 0; font-weight: 700; font-size: 18px; }
.progress b { font-family: "Barlow Condensed", sans-serif; font-size: 22px; }
.filters { display: flex; gap: 8px; }
.filters button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--iron); background: transparent;
  font-weight: 700; font-size: 17px; line-height: 1; cursor: pointer; }
.filters button.on { background: var(--iron); color: var(--egg); }
@media (min-width: 1160px) { .bar { padding-left: calc(50vw - 540px); padding-right: calc(50vw - 540px); } }

/* ---------- a screen and its places ---------- */
main { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.screen { padding: 26px 0 4px; border-bottom: 1px solid var(--line); }
.screen[hidden], .card[hidden] { display: none; }
.screen__head { display: flex; align-items: center; gap: 12px; }
.num { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--iron); color: var(--egg);
  font: 700 20px/1 "Barlow Condensed", sans-serif; }
.num--more { background: transparent; color: var(--iron); border: 2px solid var(--iron); }
.screen__head h2 { flex: 1; min-width: 0; font-size: 28px; line-height: 1; }
.screen__head .n { flex: none; color: var(--soft); font-size: 16px; font-weight: 600; }

.part { padding: 34px 0 0; }
.part h2 { font-size: 30px; }
.part p { margin: 6px 0 0; color: var(--soft); font-size: 18px; }

/* ---------- a card: one place Ava appears ---------- */
.card { margin: 16px 0 22px; padding: 16px; background: #fff; border-radius: 22px; box-shadow: 0 0 0 1px var(--line); }
.card--first { box-shadow: 0 0 0 3px var(--barn); }
.card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.card h3 { font-size: 24px; line-height: 1.05; }
.tag { flex: none; padding: 5px 11px 6px; border-radius: 999px; font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap; }
.tag--first { background: var(--barn); color: var(--egg); }

.media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; align-items: start; }
.media figure { margin: 0; }
.media figcaption { margin-top: 6px; font-size: 15px; line-height: 1.2; color: var(--soft); }
.media figcaption b { display: block; color: var(--iron); font-size: 16px; }
.phone a { position: relative; display: block; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 10px 24px -14px rgba(25,25,25,.45); }
.phone img { display: block; width: 100%; height: auto; }
.ring { position: absolute; border: 3px solid var(--indigo); border-radius: 14px; box-shadow: 0 0 0 2px var(--egg); pointer-events: none; }
.tile { display: grid; place-items: center; aspect-ratio: 1; padding: 14%; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.tile img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; }
.tile--butter { background: var(--butter); }
.tile--egg { background: var(--egg); }
.tile--white { background: #fff; }
.tile--rooster { background: var(--rooster); }
.tile--iron { background: var(--iron); }

.words { margin-top: 14px; }
.moment { margin: 0; }
.lbl { display: block; font: 700 14px/1.2 "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: .07em; color: var(--barn); margin-bottom: 2px; }
.note-line { margin: 8px 0 0; font-size: 17px; color: var(--soft); }
.clash { margin: 10px 0 0; padding: 8px 12px 10px; border-radius: 12px; background: rgba(255,105,7,.14); font-size: 17px; }
.clash b { display: block; color: var(--barn); font: 700 15px/1.2 "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: .05em; }

.ask { margin-top: 12px; padding: 12px 14px 14px; border-radius: 16px; background: var(--egg); }
.ask h4 { font-size: 19px; line-height: 1.1; text-transform: uppercase; }
.ask dl { margin: 8px 0 0; display: grid; gap: 7px; }
.ask dl div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: baseline; }
.ask dt { font: 700 14px/1.2 "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: .06em; color: var(--barn); }
.ask dd { margin: 0; font-size: 17px; line-height: 1.25; }
.sw { display: inline-block; width: 15px; height: 15px; margin: 0 6px -2px 0; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(25,25,25,.3); padding: 0; aspect-ratio: auto; }
.same { margin: 9px 0 0; font-size: 16px; font-weight: 600; }

/* ---------- the answer ---------- */
.answer { margin-top: 14px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice { min-height: 50px; padding: 6px 10px; border-radius: 14px; border: 2px solid var(--iron); background: #fff; font-weight: 700; font-size: 17px;
  line-height: 1.05; cursor: pointer; transition: transform .15s ease, background-color .15s ease; }
.choice:active { transform: scale(.97); }
.choice[aria-pressed="true"][data-choice="custom"] { background: var(--barn); border-color: var(--barn); color: var(--egg); }
.choice[aria-pressed="true"][data-choice="fine"] { background: var(--iron); color: var(--egg); }
.choice[aria-pressed="true"]::before { content: "✓ "; }
.note-lbl { display: block; margin-top: 10px; font-weight: 700; font-size: 16px; }
.note-lbl span { font-weight: 500; color: var(--soft); }
.note { display: block; width: 100%; margin-top: 4px; padding: 9px 12px; border: 2px solid var(--line); border-radius: 12px; background: #fff;
  font-size: 17px; line-height: 1.25; resize: vertical; min-height: 48px; }
.note:focus { outline: none; border-color: var(--indigo); }
.foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.save-note { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--iron); background: var(--iron); color: var(--egg); font-weight: 700; font-size: 16px; cursor: pointer; }
.save-note[hidden] { display: none; }
.status { margin: 0; font-size: 16px; font-weight: 600; color: var(--soft); }
.status.saved { color: var(--iron); }
.status.saved::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 50%; background: var(--leaf); }
.status.err { color: var(--barn); }
.status button { margin-left: 6px; border: 0; background: none; padding: 0; color: var(--barn); font-weight: 700; text-decoration: underline; cursor: pointer; }
.others { margin-top: 10px; padding: 8px 12px 9px; border-left: 3px solid var(--hen); background: rgba(254,149,151,.16); border-radius: 0 10px 10px 0; font-size: 16px; }
.others p { margin: 0; white-space: pre-line; }
.others p + p { margin-top: 4px; }
.card.is-done { box-shadow: 0 0 0 1px var(--line), inset 6px 0 0 var(--leaf); }
.card--first.is-done { box-shadow: 0 0 0 3px var(--barn); }

/* ---------- the general note ---------- */
.general { margin: 30px 0 0; padding: 18px 16px; background: var(--butter); border-radius: 22px; }
.general h2 { font-size: 28px; }
.general p { margin: 4px 0 0; }
.general .note { border-color: rgba(25,25,25,.2); }

.foot-page { max-width: 1120px; margin: 0 auto; padding: 24px 20px 60px; color: var(--soft); font-size: 16px; }
.offline { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 10; margin: 0; padding: 12px 16px; border-radius: 14px; background: var(--iron); color: var(--egg); font-weight: 600; }
.offline[hidden] { display: none; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; }

/* ---------- wider screens: the pictures beside the words ---------- */
@media (min-width: 760px) {
  .card { display: grid; grid-template-columns: 380px minmax(0, 1fr); column-gap: 24px; padding: 20px; }
  .card__head { grid-column: 1 / -1; }
  .media { margin-top: 14px; }
  .words { margin-top: 14px; }
  .choices { max-width: 460px; }
}
@media (min-width: 1100px) {
  .card { grid-template-columns: 440px minmax(0, 1fr); column-gap: 32px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .choice { transition: none; } }

/* where Ava is on each capture (build.mjs) */
.ring--splash{left:29.85%;top:60.41%;width:40.30%;height:14.19%}
.ring--welcome{left:2.24%;top:32.78%;width:32.09%;height:11.21%}
.ring--login-watching{left:2.24%;top:54.81%;width:32.09%;height:6.75%}
.ring--login-got-it{left:15.42%;top:50.34%;width:18.91%;height:11.21%}
.ring--whatsapp-back-to-sms{left:2.24%;top:54.81%;width:32.09%;height:6.75%}
.ring--search-none{left:6.22%;top:18.76%;width:24.38%;height:8.70%}
.ring--product-checked{left:33.37%;top:40.59%;width:23.13%;height:6.18%}
.ring--product-tip{left:4.23%;top:40.31%;width:20.65%;height:6.75%}
.ring--recipe{left:77.11%;top:47.65%;width:20.65%;height:6.75%}
.ring--cart-empty{left:30.60%;top:15.45%;width:38.81%;height:14.87%}
.ring--cart-cheer{left:80.60%;top:52.86%;width:12.94%;height:7.44%}
.ring--slot-none{left:37.94%;top:67.96%;width:24.13%;height:8.81%}
.ring--pay-confirming{left:70.65%;top:61.78%;width:23.13%;height:6.18%}
.ring--pay-failed{left:38.43%;top:57.67%;width:23.13%;height:9.04%}
.ring--confirmed{left:34.58%;top:9.04%;width:30.85%;height:18.54%}
.ring--packing{left:2.30%;top:13.59%;width:28.63%;height:7.46%}
.ring--way-map{left:48.50%;top:18.96%;width:19.65%;height:7.09%}
.ring--way-arriving{left:2.24%;top:55.15%;width:19.65%;height:7.09%}
.ring--home-ticket{left:49.25%;top:27.80%;width:18.91%;height:5.15%}
.ring--home-pill{left:24.38%;top:85.81%;width:23.13%;height:9.04%}
.ring--home-refresh{left:23.82%;top:6.75%;width:23.38%;height:8.47%}
.ring--home-interests{left:6.47%;top:45.77%;width:24.13%;height:8.81%}
.ring--lock-ordered{left:71.64%;top:71.88%;width:23.13%;height:9.04%}
.ring--lock-packing{left:66.17%;top:72.68%;width:28.61%;height:7.44%}
.ring--lock-packed{left:70.40%;top:72.11%;width:24.38%;height:8.58%}
.ring--lock-on-the-way{left:70.65%;top:72.05%;width:24.13%;height:8.70%}
.ring--lock-delivered{left:70.65%;top:71.99%;width:24.13%;height:8.81%}
.ring--lock-late{left:70.40%;top:72.05%;width:24.38%;height:8.70%}
.ring--lock-missed{left:70.40%;top:72.05%;width:24.38%;height:8.70%}
.ring--delivered{left:29.98%;top:12.24%;width:40.05%;height:14.30%}
.ring--rating-thanks-rider{left:50.21%;top:80.21%;width:25.62%;height:8.24%}
.ring--rating-low{left:15.66%;top:47.03%;width:28.61%;height:7.44%}
.ring--rating-sent{left:28.61%;top:34.55%;width:42.79%;height:13.50%}
.ring--rating-sent-low{left:25.87%;top:31.86%;width:48.26%;height:12.01%}
.ring--orders-empty{left:30.72%;top:37.41%;width:38.56%;height:14.87%}
.ring--something-broke{left:37.81%;top:70.82%;width:24.38%;height:8.70%}
.ring--report-sent{left:25.87%;top:32.21%;width:48.26%;height:12.01%}
.ring--help{left:69.15%;top:13.62%;width:28.61%;height:7.44%}
.ring--club{left:71.39%;top:15.45%;width:22.39%;height:9.50%}
.ring--club-box-routine{left:71.39%;top:20.82%;width:22.39%;height:9.50%}
.ring--club-box-done{left:74.88%;top:16.48%;width:18.91%;height:11.21%}
.ring--category-end{left:56.35%;top:80.09%;width:40.80%;height:14.07%}
.ring--category-empty{left:29.60%;top:35.24%;width:40.80%;height:14.07%}
.ring--not-served{left:6.47%;top:13.16%;width:24.38%;height:8.70%}
.ring--site-closed{left:30.60%;top:24.57%;width:38.81%;height:14.87%}
.ring--badge-fresh{left:38.43%;top:82.84%;width:23.13%;height:11.78%}
