/* Carlitos landing site. Colors match the app (mobile/lib/ui/theme.dart). */

@font-face { font-family: Nunito; font-weight: 400; font-display: swap; src: url(/fonts/nunito-regular.woff2) format("woff2"); }
@font-face { font-family: Nunito; font-weight: 600; font-display: swap; src: url(/fonts/nunito-semibold.woff2) format("woff2"); }
@font-face { font-family: Nunito; font-weight: 700; font-display: swap; src: url(/fonts/nunito-bold.woff2) format("woff2"); }
@font-face { font-family: Nunito; font-weight: 800; font-display: swap; src: url(/fonts/nunito-extrabold.woff2) format("woff2"); }
@font-face { font-family: Nunito; font-weight: 900; font-display: swap; src: url(/fonts/nunito-black.woff2) format("woff2"); }

:root {
  color-scheme: light;
  --page: #EDE5D8;
  --screen: #FBF5EA;
  --sky: #F8E7D0;
  --ground: #EBD3AC;
  --ground-shadow: #D9BE94;
  --cloud: #FFF8EE;
  --ink: #3A2E25;
  --ink-2: #7A6A5C;
  --ink-3: #A99A8A;
  --card: #FFFFFF;
  --line: #F1E8DA;
  --check-border: #DDD2C2;
  --paid: #78AD45;
  --late: #9A6A3E;
  --late-bg: #F3E6D6;
  --leaf-later: #8DBF5A;
  --leaf-soon: #F2C14E;
  --leaf-tomorrow: #EB8A3C;
  --leaf-late: #A7764A;
  --toast: #2B2420;
  --toast-action: #C9E6A6;
  --puff-border: #CDAE84;
  --mission: #E98BAA;
  --mission-bg: #F6E6EC;
  --seg-off: #F1EADF;
  --wrap: 1120px;
}

* { 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; background: var(--screen); color: var(--ink);
  font: 600 17px/1.55 Nunito, system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0; font-weight: 900; letter-spacing: -.02em; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--leaf-tomorrow); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---- Header ---- */
.nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--sky) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 22px; text-decoration: none; letter-spacing: -.01em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-weight: 800; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav .btn { margin-left: 4px; }
@media (max-width: 760px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 16px; padding: 12px 20px; min-height: 48px;
  font: 900 15px Nunito, sans-serif; cursor: pointer; text-decoration: none;
  background: var(--ink); color: #fff; transition: transform .15s ease, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn.small { min-height: 40px; padding: 8px 14px; font-size: 14px; border-radius: 14px; }
.btn.block { width: 100%; }

/* Store buttons: our own art. The official badges may only be used once the app is live. */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-width: 200px;
  padding: 10px 18px 10px 14px; border-radius: 16px; border: 0;
  background: var(--ink); color: #fff; font-family: Nunito, sans-serif; text-align: left;
  cursor: default; opacity: .96; position: relative;
}
.store svg { width: 30px; height: 30px; flex: none; }
.store small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--toast-action); }
.store b { display: block; font-size: 19px; font-weight: 900; line-height: 1.15; }
.stores-note { margin-top: 12px; font-size: 14px; color: var(--ink-2); font-weight: 700; }

/* ---- Hero ---- */
.hero { background: var(--sky); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-top: 40px; padding-bottom: 64px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 800; color: var(--ink-2); }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--paid); }
.hero h1 { font-size: clamp(40px, 6.2vw, 68px); margin: 18px 0 18px; letter-spacing: -.035em; }
.hero h1 .accent { color: var(--leaf-late); }
.hero .lede { font-size: 19px; color: var(--ink-2); max-width: 520px; margin-bottom: 28px; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; padding-bottom: 40px; }
  .hero .copy { text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero .stores { justify-content: center; }
}

/* The playable scene: the app's home screen, outside the phone. */
.scene {
  position: relative; height: 460px; border-radius: 36px; background: var(--sky);
  overflow: hidden; isolation: isolate; box-shadow: 0 0 0 10px var(--cloud), 0 30px 60px -30px rgba(58, 46, 37, .45);
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.scene .sun { position: absolute; right: 44px; top: 40px; width: 64px; height: 64px; border-radius: 50%; background: #FCE3B8; }
.scene .ground { position: absolute; left: -15%; right: -15%; bottom: -80px; height: 170px; background: var(--ground); border-radius: 50%; }
.cloud { position: absolute; background: var(--cloud); border-radius: 999px; }
.scene .cloud.a { left: 30px; top: 70px; width: 110px; height: 34px; }
.scene .cloud.b { right: 110px; top: 128px; width: 76px; height: 26px; }
@media (prefers-reduced-motion: no-preference) {
  .scene .cloud.a { animation: drift 24s ease-in-out infinite; }
  .scene .cloud.b { animation: drift 24s ease-in-out infinite reverse; }
}
@keyframes drift { 50% { translate: 26px 0; } }
.bubble {
  position: absolute; left: 50%; top: 34px; transform: translateX(-50%); z-index: 5;
  background: var(--card); border-radius: 18px; padding: 9px 16px; font-size: 15px; font-weight: 800;
  max-width: calc(100% - 40px); text-align: center; box-shadow: 0 6px 16px -10px rgba(58, 46, 37, .4);
}
.bubble::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; background: var(--card); transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.shadow { position: absolute; left: 50%; bottom: 34px; width: 170px; height: 20px; transform: translateX(-50%); background: var(--ground-shadow); border-radius: 50%; }
.hog { position: absolute; left: 50%; bottom: 40px; height: 270px; aspect-ratio: 237 / 250; transform: translateX(-50%); transform-origin: 50% 100%; z-index: 2; }
.flip { position: relative; width: 100%; height: 100%; transform-origin: 50% 100%; }
.flip > img { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; -webkit-user-drag: none; }
@media (prefers-reduced-motion: no-preference) {
  .flip.idle { animation: idle 3.4s ease-in-out infinite; }
  .hog.squash { animation: squash .42s ease-out; }
  .hog.shakeoff { animation: shakeoff .55s ease-in-out; }
}
@keyframes idle { 0%, 100% { scale: 1 1; rotate: 0deg; } 50% { scale: .99 1.02; rotate: .8deg; } }
@keyframes squash { 0% { scale: 1 1; } 35% { scale: 1.12 .84; } 70% { scale: .96 1.05; } 100% { scale: 1 1; } }
@keyframes shakeoff { 0%, 100% { translate: 0 0; rotate: 0deg; } 25% { translate: 0 -10px; rotate: -4deg; } 50% { translate: 0 0; rotate: 3deg; } 75% { rotate: -2deg; } }
.puff { position: absolute; border-radius: 50%; background: var(--card); border: 2.5px solid var(--puff-border); z-index: 4; pointer-events: none; animation: puff .65s ease-out forwards; }
@keyframes puff { 0% { opacity: 1; scale: .5; translate: 0 0; } 40% { opacity: 1; } 100% { opacity: 0; scale: 1.3; translate: var(--dx) var(--dy); } }

.leaf {
  position: absolute; width: 44px; height: 26px; padding: 0; border: 0; background: none;
  transform-origin: 4px 13px; cursor: grab; touch-action: none; z-index: 3;
}
.leaf:active { cursor: grabbing; }
.leaf svg { width: 100%; height: 100%; display: block; pointer-events: none; filter: drop-shadow(0 1px 1px rgba(70, 45, 20, .25)); }
.leaf.pop { animation: pop .4s ease-out backwards; }
@keyframes pop { from { opacity: 0; scale: .2; } to { opacity: 1; scale: 1; } }
.leaf.blown { transition: translate .55s cubic-bezier(.2, .7, .4, 1), rotate .55s, opacity .55s; opacity: 0; pointer-events: none; }
.leaf:focus-visible { outline-offset: 0; }

.scene-hint {
  position: absolute; left: 16px; bottom: 16px; z-index: 5; display: flex; align-items: center; gap: 6px;
  background: var(--card); border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 800; color: var(--ink-2);
}
.scene-hint svg { width: 16px; height: 16px; }
.scene-hint[hidden] { display: none; }
.scene-reset { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 5; }
.scene-reset[hidden] { display: none; }

.toast {
  position: absolute; left: 50%; bottom: 66px; z-index: 6; transform: translate(-50%, 10px);
  background: var(--toast); color: #fff; border-radius: 18px; padding: 6px 14px 6px 6px;
  display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 14px; white-space: nowrap;
  opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast img { width: 38px; height: 38px; object-fit: contain; }
.toast button { background: none; border: 0; color: var(--toast-action); font: inherit; cursor: pointer; padding: 4px 2px; }
@media (max-width: 520px) { .scene { height: 420px; border-radius: 28px; } .hog { height: 240px; } }

/* ---- Sections ---- */
section { padding: 88px 0; }
.eyebrow { font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--leaf-late); margin-bottom: 10px; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 46px); }
.section-head p { margin-top: 14px; font-size: 18px; color: var(--ink-2); }
@media (max-width: 640px) { section { padding: 64px 0; } }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--card); border-radius: 28px; padding: 26px 24px 28px; position: relative; }
.step .art { height: 150px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 18px; background: var(--sky); border-radius: 20px; padding-top: 12px; overflow: hidden; }
.step .art img { height: 132px; width: auto; }
/* Still leaves on the step-2 pose, at the spots hero.js computes for it. */
.leafy { position: relative; display: block; height: 132px; }
.leafy .sl { position: absolute; width: 18%; transform-origin: 9% 50%; translate: -9% -50%; }
.sl1 { left: 49.4%; top: 22.8%; transform: rotate(-93deg); }
.sl2 { left: 41.8%; top: 10.8%; transform: rotate(-103deg); }
.sl3 { left: 64.5%; top: 15.6%; transform: rotate(-67deg); }
.sl4 { left: 34.2%; top: 27.6%; transform: rotate(-129deg); }
.sl5 { left: 82.3%; top: 32.4%; transform: rotate(-26deg); }
.step .n { position: absolute; top: 18px; left: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 900; font-size: 14px; display: grid; place-items: center; }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

.legend { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; font-size: 15px; font-weight: 800; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend svg { width: 30px; height: 18px; }

/* Mood ladder */
.ladder { background: var(--sky); }
.ladder-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; align-items: end; }
.rung { text-align: center; }
.rung img { height: 120px; width: auto; margin: 0 auto 10px; }
.rung b { display: block; font-size: 15px; }
.rung span { display: block; font-size: 13px; color: var(--ink-2); font-weight: 700; }
@media (max-width: 860px) { .ladder-row { grid-template-columns: repeat(3, 1fr); row-gap: 28px; } .rung img { height: 100px; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature { background: var(--card); border-radius: 28px; padding: 24px; display: flex; gap: 20px; align-items: center; }
.feature img { width: 104px; height: 104px; object-fit: contain; flex: none; }
.feature h3 { font-size: 20px; margin-bottom: 6px; }
.feature p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .feature { flex-direction: column; text-align: center; } }

/* Privacy band */
.privacy-band { background: var(--ink); color: #fff; border-radius: 40px; margin: 0 24px; padding: 64px 0; }
.privacy-band .wrap { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; }
.privacy-band img { width: 220px; }
.privacy-band h2 { font-size: clamp(28px, 4vw, 42px); }
.privacy-band p { color: #E8DDCF; margin-top: 12px; font-size: 18px; max-width: 620px; }
.privacy-band ul { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.privacy-band li { background: rgba(255, 255, 255, .1); border-radius: 999px; padding: 7px 14px; font-weight: 800; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.privacy-band li svg { width: 16px; height: 16px; color: var(--toast-action); }
@media (max-width: 760px) {
  .privacy-band { margin: 0 12px; border-radius: 32px; }
  .privacy-band .wrap { grid-template-columns: 1fr; text-align: center; }
  .privacy-band img { width: 160px; margin: 0 auto; }
  .privacy-band p { margin-left: auto; margin-right: auto; }
  .privacy-band ul { justify-content: center; }
}

/* Pricing: Carlitos Plus, as in the app's paywall */
.plus { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; max-width: 980px; margin: 0 auto; align-items: stretch; }
.perks { background: var(--card); border-radius: 28px; padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 18px; }
.perks img { width: 112px; height: auto; margin: 0 auto; }
.perks ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.perks li { display: flex; gap: 14px; align-items: center; }
.perk-icon { width: 42px; height: 42px; flex: none; border-radius: 14px; background: var(--sky); display: grid; place-items: center; color: var(--ink); }
.perk-icon svg { width: 22px; height: 22px; }
.perks b { display: block; font-size: 16px; font-weight: 900; }
.perks b em { font-style: normal; font-size: 11px; font-weight: 900; color: var(--late); background: var(--late-bg); border-radius: 999px; padding: 2px 8px; margin-left: 4px; vertical-align: 2px; }
.perks li span:not(.perk-icon) { display: block; font-size: 14px; color: var(--ink-2); }
.plans { display: grid; gap: 16px; }
.plan { background: var(--card); border-radius: 28px; padding: 24px; display: flex; flex-direction: column; position: relative; }
.plan .tag { position: absolute; top: 22px; right: 22px; background: var(--paid); color: #fff; font-size: 12px; font-weight: 900; padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 20px; }
.price { margin: 8px 0 2px; display: flex; align-items: baseline; gap: 6px; }
.price b { font-size: 38px; font-weight: 900; letter-spacing: -.03em; }
.price span { color: var(--ink-2); font-weight: 800; font-size: 15px; }
.price-note { font-size: 14px; color: var(--ink-2); font-weight: 700; margin-bottom: 16px; }
.plan .btn { margin-top: auto; }
.fine { text-align: center; margin-top: 26px; font-size: 14px; color: var(--ink-2); font-weight: 700; max-width: 720px; margin-left: auto; margin-right: auto; }
@media (max-width: 860px) { .plus { grid-template-columns: 1fr; max-width: 520px; } }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--card); border-radius: 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 900; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; translate: 0 -50%; font-size: 24px; color: var(--ink-3); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 22px 20px; color: var(--ink-2); font-size: 16px; }

/* Download band */
.download { background: var(--sky); text-align: center; position: relative; overflow: hidden; padding-bottom: 0; }
.download h2, .download .lost { font-size: clamp(32px, 5vw, 52px); }
main.download { padding-top: 88px; min-height: calc(100vh - 68px); display: flex; flex-direction: column; justify-content: space-between; }
.download p { color: var(--ink-2); font-size: 18px; margin: 14px auto 28px; max-width: 520px; }
.download .stores { justify-content: center; }
.download .meadow { position: relative; height: 220px; margin-top: 30px; }
.download .meadow .ground { position: absolute; left: -10%; right: -10%; bottom: -120px; height: 220px; background: var(--ground); border-radius: 50%; }
.download .meadow img { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); height: 170px; }

/* Footer */
footer { background: var(--ground); padding: 36px 0 44px; font-size: 14px; color: var(--ink-2); font-weight: 700; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { text-decoration: none; font-weight: 800; color: var(--ink); }
footer a:hover { text-decoration: underline; }
footer .legal { flex-basis: 100%; font-size: 12px; color: var(--ink-2); font-weight: 600; }

/* ---- Checkout (mock) ---- */
dialog.sheet {
  border: 0; width: min(460px, calc(100% - 32px)); max-width: none; max-height: calc(100% - 32px); overflow: auto;
  background: var(--screen); color: var(--ink); border-radius: 28px; padding: 22px 22px 24px;
}
dialog.sheet::backdrop { background: rgba(43, 36, 32, .45); }
body:has(dialog[open]) { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) { dialog.sheet[open] { animation: rise .3s cubic-bezier(.2, .9, .3, 1); } }
@keyframes rise { from { opacity: 0; translate: 0 18px; } }
@keyframes slide-up { from { translate: 0 100%; } }
@media (max-width: 560px) {
  dialog.sheet { margin: auto 0 0; width: 100%; max-height: 92%; border-radius: 28px 28px 0 0; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  dialog.sheet[open] { animation-name: slide-up; }
}
.preview-ribbon { display: flex; align-items: center; gap: 8px; background: var(--late-bg); color: var(--late); border-radius: 14px; padding: 9px 12px; font-size: 13px; font-weight: 800; margin-bottom: 18px; }
.preview-ribbon svg { width: 18px; height: 18px; flex: none; }
.sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.sheet h2 { font-size: 26px; }
.sheet .sub { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.icon-btn { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 0; background: var(--card); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.icon-btn svg { width: 20px; height: 20px; }
.field-label { display: block; font-size: 13px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin: 22px 0 10px; }
.options { display: grid; gap: 8px; }
.option { display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: 16px; padding: 13px 16px; cursor: pointer; }
.option input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; flex: none; }
.option:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); }
.option:has(input:focus-visible) { outline: 3px solid var(--leaf-tomorrow); outline-offset: 2px; }
.option-text { flex: 1; min-width: 0; }
.option-text b { display: block; font-weight: 900; font-size: 15px; }
.option-text small { display: block; font-size: 12px; color: var(--ink-2); font-weight: 700; }
.option-price { font-weight: 900; font-size: 17px; white-space: nowrap; }
.option-price small { font-size: 12px; color: var(--ink-2); margin-left: 2px; }
.option .logo { width: 34px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--seg-off); color: var(--ink); flex: none; }
.promo { text-align: center; margin-top: 14px; }
.link-btn { border: 0; background: none; font: 800 14px Nunito, sans-serif; color: var(--ink-2); text-decoration: underline; cursor: pointer; padding: 8px; }
.promo form { display: flex; gap: 8px; }
.promo form[hidden] { display: none; }
.promo input { flex: 1; min-width: 0; border: 0; border-radius: 14px; padding: 10px 14px; font: 800 15px Nunito, sans-serif; color: var(--ink); background: var(--card); box-shadow: inset 0 0 0 2px var(--line); text-transform: uppercase; }
.promo input::placeholder { text-transform: none; color: var(--ink-3); }
.promo-note { font-size: 13px; color: var(--paid); font-weight: 800; margin-top: 8px; min-height: 0; }
.promo-note:empty { display: none; }
.summary { margin-top: 20px; border-top: 1px solid var(--line); }
.summary div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 800; }
.summary div span:first-child { color: var(--ink-2); white-space: nowrap; }
.summary div span:last-child { text-align: right; }
.sheet .btn.block { margin-top: 20px; }
.sheet .terms { font-size: 12px; color: var(--ink-3); font-weight: 700; margin-top: 12px; text-align: center; }
.sheet .done { text-align: center; padding: 6px 0 2px; }
.sheet .done img { height: 150px; margin: 4px auto 10px; }
.sheet .done p { color: var(--ink-2); margin: 8px auto 0; max-width: 340px; }

/* ---- Legal / support pages ---- */
.doc { padding: 56px 0 80px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 8px; }
.doc .updated { color: var(--ink-3); font-size: 14px; font-weight: 800; margin-bottom: 32px; }
.doc h2 { font-size: 23px; margin: 36px 0 10px; }
.doc p, .doc li { color: #4E4036; font-size: 17px; font-weight: 600; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; margin: 10px 0; }
.doc li + li { margin-top: 6px; }
.doc .callout { background: var(--card); border-radius: 22px; padding: 20px 22px; display: flex; gap: 16px; align-items: center; margin: 24px 0; }
.doc .callout img { width: 84px; flex: none; }
.doc .callout p { margin: 0; }
.doc a { font-weight: 800; }
.doc-hero { background: var(--sky); }
.doc-hero .wrap { max-width: 760px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-top: 40px; }
.doc-hero img { height: 150px; width: auto; }
.doc-hero h1 { font-size: clamp(34px, 5vw, 48px); padding-bottom: 28px; }
@media (max-width: 520px) { .doc-hero img { height: 110px; } }
