/* Ridaa — ridaa.app. Makossa identity (same tokens as apps/mobile/lib/theme/tokens.dart). */

@font-face { font-family: "Bricolage"; src: url("../fonts/BricolageGrotesque-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("../fonts/BricolageGrotesque-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --forest: #0E5A3D; --night: #062E1F; --terra: #DF6236; --gold: #F2B230;
  --cream: #FFF7E8; --sand: #FAF3E7; --sand2: #F3E8D7; --surface: #FFFCF6;
  --ink: #1D1511; --ink2: #7B6A5D; --line: #EADFCC; --plate: #F7D548;
  --radius: 28px;
  --wrap: 1160px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --display: "Bricolage", "DM Sans", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--cream); padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }

/* ------------------------------------------------------------ type */
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.025em; line-height: 1.02; margin: 0; }
.display { font-size: clamp(44px, 7.4vw, 96px); }
.h2 { font-size: clamp(34px, 5vw, 64px); }
.h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.015em; line-height: 1.1; }
.eyebrow { font: 700 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--terra); margin: 0 0 18px; }
.lead { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; color: var(--ink2); max-width: 640px; margin: 22px 0 0; }
.accent { color: var(--gold); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ------------------------------------------------------------ nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s var(--ease), box-shadow .35s var(--ease), color .35s; color: var(--cream); }
.nav.solid { background: rgba(250, 243, 231, .82); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); color: var(--ink); box-shadow: 0 1px 0 rgba(29, 21, 17, .08); }
.nav.light { color: var(--ink); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 22px/1 var(--display); letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; opacity: .82; transition: opacity .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; }
.lang { display: inline-flex; border: 1.5px solid currentColor; border-radius: 999px; padding: 2px; font: 700 12px/1 var(--body); opacity: .9; }
.lang button { all: unset; cursor: pointer; padding: 6px 9px; border-radius: 999px; }
.lang button[aria-pressed="true"] { background: currentColor; }
.lang button[aria-pressed="true"] span { color: var(--forest); }
.nav.solid .lang button[aria-pressed="true"] span, .nav.light .lang button[aria-pressed="true"] span { color: var(--cream); }
.btn-nav { text-decoration: none; background: var(--gold); color: var(--ink); font: 700 14px/1 var(--body); padding: 11px 16px; border-radius: 999px; transition: transform .2s var(--ease), box-shadow .2s; }
.btn-nav:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(242, 178, 48, .45); }
.menu-btn { all: unset; display: none; cursor: pointer; margin-left: auto; width: 40px; height: 40px; border-radius: 12px; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: currentColor; margin: auto; position: relative; transition: transform .3s var(--ease); border-radius: 2px; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.nav.open .menu-btn span { background: transparent; }
.nav.open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.nav.open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------------------------------------ buttons */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.store { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; background: var(--ink); color: var(--cream); border-radius: 16px; padding: 11px 20px 11px 16px; min-width: 196px; transition: transform .25s var(--ease), box-shadow .25s; position: relative; }
.store:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, .28); }
.store svg { width: 28px; height: 28px; flex: none; }
.store small { display: block; font-size: 11.5px; opacity: .75; line-height: 1.2; }
.store b { display: block; font: 700 18px/1.15 var(--display); letter-spacing: -0.01em; }
.store.light { background: var(--cream); color: var(--ink); }
.soon { position: absolute; top: -9px; right: -8px; background: var(--terra); color: #fff; font: 700 10.5px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; }
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 700 16px/1 var(--body); padding: 15px 22px; border-radius: 999px; background: var(--forest); color: var(--cream); border: 0; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(14, 90, 61, .3); }
.link-arrow { color: var(--forest); font-weight: 700; text-decoration: none; }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }

/* ------------------------------------------------------------ patterns */
.ndop { position: absolute; inset: 0; pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='20'%3E%3Cpath d='M0 20 L10 5.2 L20 20 L30 5.2 L40 20' fill='none' stroke='%23F2B230' stroke-width='1.4'/%3E%3C/svg%3E"); }
.zigzag { height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='12'%3E%3Cpath d='M0 8 L4 3 L8 8 L12 3 L16 8' fill='none' stroke='%23F2B230' stroke-width='1.6'/%3E%3C/svg%3E") repeat-x center, var(--terra); }

/* ------------------------------------------------------------ hero */
.hero { position: relative; background: radial-gradient(1200px 700px at 78% 30%, #13714c 0%, transparent 60%), linear-gradient(160deg, var(--forest), var(--night)); color: var(--cream); overflow: hidden; padding: 128px 0 0; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; min-height: min(760px, 88vh); }
.hero .lead { color: rgba(255, 247, 232, .76); }
.hero-phones { position: relative; height: 640px; align-self: end; }
.hero-phones .hp { position: absolute; }
/* Position with translate/rotate: the reveal animation uses transform. */
.hero-phones .p1 { width: 300px; left: 50%; bottom: -60px; translate: -38% 0; rotate: -3deg; z-index: 2; }
.hero-phones .p2 { width: 250px; left: 50%; bottom: 20px; translate: -104% 0; rotate: -10deg; }
.hero-note { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 28px; font-size: 14px; color: rgba(255, 247, 232, .7); }
.hero-note span::before { content: "✓ "; color: var(--gold); font-weight: 700; }

/* Phone frame around real screenshots. */
.phone { border-radius: 46px; padding: 10px; background: linear-gradient(145deg, #2b2320, #0b0807); box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .55), 0 0 0 1.5px rgba(255, 255, 255, .06) inset; }
.phone img { border-radius: 37px; width: 100%; height: auto; aspect-ratio: 1170 / 2532; object-fit: cover; background: var(--sand2); }
.phone.android img { aspect-ratio: 1080 / 2400; }
.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ------------------------------------------------------------ sections */
section { position: relative; }
.pad { padding: clamp(80px, 11vw, 150px) 0; }
.dark { background: var(--night); color: var(--cream); }
.dark .lead { color: rgba(255, 247, 232, .72); }
.surface { background: var(--surface); }

/* Steps with a sticky phone (Apple-style scrollytelling). */
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 70px; }
.steps-phone { position: sticky; top: 110px; height: fit-content; display: flex; justify-content: center; }
.steps-phone .phone { width: 320px; }
.steps-phone .phone { position: relative; }
.steps-phone img { transition: opacity .6s var(--ease); }
.steps-phone img + img { position: absolute; inset: 10px; width: calc(100% - 20px); }
.steps-phone img:not(.on) { opacity: 0; }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .5s var(--ease); }
.step.on { opacity: 1; }
.step .num { font: 800 15px/1 var(--display); color: var(--terra); letter-spacing: .08em; margin-bottom: 14px; }
.step p { color: var(--ink2); font-size: 19px; max-width: 460px; margin: 16px 0 0; }
.step .mobile-shot { display: none; }

/* Bento features. */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 60px; }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(70, 40, 16, .28); }
.card p { color: var(--ink2); margin: 10px 0 0; font-size: 16px; }
.c2 { grid-column: span 2; } .c3 { grid-column: span 3; } .c4 { grid-column: span 4; }
.card.forest { background: linear-gradient(160deg, var(--forest), var(--night)); color: var(--cream); border: 0; }
.card.forest p { color: rgba(255, 247, 232, .72); }
.card.gold { background: var(--gold); border: 0; }
.card.gold p { color: rgba(29, 21, 17, .72); }
.card .ico { width: 54px; height: 54px; margin-bottom: 22px; }

/* Price stepper replica (interactive). */
.stepper { display: flex; align-items: center; justify-content: space-between; background: var(--sand2); border: 1px solid var(--line); border-radius: 22px; padding: 10px; margin-top: 26px; max-width: 360px; }
.stepper button { all: unset; cursor: pointer; width: 52px; height: 52px; border-radius: 16px; background: var(--surface); box-shadow: 0 4px 12px rgba(70, 40, 16, .08); display: grid; place-items: center; font: 700 26px/1 var(--body); color: var(--forest); transition: transform .15s; }
.stepper button:active { transform: scale(.94); }
.stepper output { font: 800 34px/1 var(--display); letter-spacing: -0.02em; }
.stepper output small { font: 800 13px var(--body); margin-left: 4px; }
.gauge { max-width: 360px; margin-top: 16px; }
.gauge .bar { position: relative; height: 6px; border-radius: 4px; background: linear-gradient(90deg, #C8412B, var(--gold) 45%, var(--forest) 80%); }
.gauge .dot { position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 3px solid var(--ink); translate: -50% -50%; transition: left .5s cubic-bezier(.2, .9, .25, 1.15); }
.gauge .labels { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink2); margin-top: 6px; }

/* Vehicle switch replica. */
.switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--sand2); border: 1px solid var(--line); border-radius: 20px; padding: 4px; margin-top: 26px; max-width: 360px; }
.switch div { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; border-radius: 16px; font-weight: 700; color: var(--ink2); }
.switch div.on { background: var(--surface); color: var(--ink); box-shadow: 0 4px 12px rgba(70, 40, 16, .1); }
.switch svg { width: 30px; height: 30px; }

/* Start code + plate replica. */
.code { display: flex; gap: 10px; margin-top: 24px; }
.code span { width: 58px; height: 70px; border-radius: 16px; background: var(--cream); color: var(--forest); display: grid; place-items: center; font: 800 36px/1 var(--display); }
.plate { display: inline-block; background: var(--plate); color: var(--ink); border: 2px solid var(--ink); border-radius: 7px; padding: 6px 12px; font: 800 17px/1 var(--body); letter-spacing: .08em; white-space: nowrap; }
.plate.big { font-size: 24px; padding: 10px 16px; border-width: 2.5px; }

/* Drivers. */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; font-size: 17.5px; }
.ticks li::before { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; margin-top: 1px; background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23FFF7E8' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.phones-duo { display: flex; justify-content: center; align-items: flex-end; }
.phones-duo .phone { width: 270px; }
.phones-duo .phone + .phone { width: 230px; margin-left: -60px; margin-bottom: 40px; rotate: 6deg; }

/* Cities marquee. */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); margin-top: 50px; }
.marquee .track { display: flex; gap: 12px; width: max-content; animation: slide 48s linear infinite; }
.marquee span { flex: none; padding: 12px 20px; border-radius: 999px; background: rgba(255, 247, 232, .08); border: 1px solid rgba(255, 247, 232, .14); font-weight: 500; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Download band. */
.download { background: var(--terra); color: #fff; text-align: center; overflow: hidden; }
.download .stores { justify-content: center; }
.download .lead { color: rgba(255, 255, 255, .85); }
.download .logo-big { width: 104px; height: 104px; margin: 0 auto 28px; filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .25)); }

/* Footer. */
footer { background: var(--night); color: rgba(255, 247, 232, .72); font-size: 14.5px; }
footer .wrap { padding: 60px 0 34px; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
footer h4 { color: var(--cream); font: 700 14px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 16px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--cream); }
.legal-line { border-top: 1px solid rgba(255, 247, 232, .12); margin-top: 44px; padding-top: 22px; font-size: 13px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* Inner pages (legal, contact). */
.page-hero { background: linear-gradient(160deg, var(--forest), var(--night)); color: var(--cream); padding: 140px 0 70px; position: relative; overflow: hidden; }
.page-hero .lead { color: rgba(255, 247, 232, .75); }
.doc { max-width: 760px; margin-inline: auto; padding: 70px 0 110px; }
.doc .version { color: var(--ink2); font-size: 14px; margin: 0 0 34px; }
.doc h2 { font: 800 24px/1.2 var(--display); letter-spacing: -0.015em; margin: 44px 0 12px; }
.doc p { color: #3d302a; margin: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.toc a { font-size: 13.5px; text-decoration: none; padding: 7px 12px; border-radius: 999px; background: var(--sand2); color: var(--ink); }
.toc a:hover { background: var(--line); }

.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; padding: 70px 0 110px; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; display: grid; gap: 18px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; font: 400 16px/1.4 var(--body); color: var(--ink); background: var(--sand); border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 15px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 4px rgba(14, 90, 61, .14); }
.field .err { color: #C8412B; font-size: 13px; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #C8412B; }
.field.invalid .err { display: block; }
.form-note { font-size: 13.5px; color: var(--ink2); margin: 0; }
.sent { display: none; background: #EAF3EE; border: 1.5px solid var(--forest); border-radius: 16px; padding: 16px 18px; color: var(--forest); font-weight: 600; }
.sent.on { display: block; }
.info-card { background: linear-gradient(160deg, var(--forest), var(--night)); color: var(--cream); border-radius: var(--radius); padding: 34px; height: fit-content; }
.info-card h3 { margin-bottom: 18px; }
.info-card p { color: rgba(255, 247, 232, .78); margin: 0 0 18px; }
.info-card a { color: var(--gold); font-weight: 700; }

/* ------------------------------------------------------------ reveal */
.reveal { opacity: 0; transform: translateY(34px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
.hero .reveal { transition-duration: 1.2s; }

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

/* ------------------------------------------------------------ responsive */
@media (max-width: 980px) {
  .nav-links, .nav .btn-nav, .nav .lang { display: none; }
  .menu-btn { display: block; }
  .nav.open { background: var(--sand); color: var(--ink); }
  .nav.open .nav-links { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--sand); padding: 8px 20px 20px; border-bottom: 1px solid var(--line); }
  .nav.open .nav-links a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); opacity: 1; }
  .nav.open .nav-links .lang-m { display: flex; padding-top: 16px; }
  .hero .wrap { grid-template-columns: 1fr; min-height: auto; text-align: left; }
  .hero-phones { height: 470px; margin-top: 10px; }
  .hero-phones .p1 { width: 230px; bottom: -80px; translate: -22% 0; }
  .hero-phones .p2 { width: 190px; bottom: -10px; translate: -88% 0; }
  .steps { grid-template-columns: 1fr; margin-top: 40px; }
  .steps-phone { display: none; }
  .step { min-height: auto; opacity: 1; padding: 34px 0; }
  .step .mobile-shot { display: block; width: 240px; margin-top: 26px; }
  .bento { grid-template-columns: 1fr; }
  .c2, .c3, .c4 { grid-column: auto; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > :first-child { grid-column: 1 / -1; }
}
@media (min-width: 981px) { .lang-m { display: none !important; } }
@media (max-width: 520px) {
  body { font-size: 16px; }
  .store { min-width: 0; flex: 1 1 180px; }
  .phones-duo .phone { width: 210px; } .phones-duo .phone + .phone { width: 170px; margin-left: -50px; }
  .code span { width: 50px; height: 62px; font-size: 30px; }
}

/* ============================================================ story (v2) */
h1, h2, h3, .lead, .quote { text-wrap: balance; }
p, li { text-wrap: pretty; hyphens: manual; }

/* Full-bleed photo with a warm dark veil. */
.photo { position: relative; overflow: hidden; color: var(--cream); background: var(--night); }
.photo > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 2.4s var(--ease); }
.photo.in-view > img.bg { transform: scale(1); }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 46, 31, .25) 0%, rgba(6, 46, 31, .55) 55%, rgba(6, 46, 31, .92) 100%); }
.photo.left::after { background: linear-gradient(90deg, rgba(6, 46, 31, .9) 0%, rgba(6, 46, 31, .6) 45%, rgba(6, 46, 31, .05) 100%); }
.photo > .wrap { position: relative; z-index: 1; }
.photo .lead { color: rgba(255, 247, 232, .82); }
.credit { position: absolute; right: 14px; bottom: 10px; z-index: 2; font-size: 11px; color: rgba(255, 247, 232, .55); text-decoration: none; }

.hero-photo { min-height: 100svh; display: flex; align-items: flex-end; padding: 140px 0 90px; }
.hero-photo .display { max-width: 900px; }

/* Chapters. */
.chapter { padding: clamp(90px, 12vw, 170px) 0; }
.kicker { font: 800 14px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--terra); margin-bottom: 20px; }
.chapter.dark .kicker, .photo .kicker { color: var(--gold); }
.big-quote { font: 800 clamp(30px, 4.2vw, 54px)/1.1 var(--display); letter-spacing: -0.02em; max-width: 900px; margin: 0; }
.big-quote em { font-style: normal; color: var(--terra); }
.dark .big-quote em, .photo .big-quote em { color: var(--gold); }

/* The roadside haggle, as chat bubbles. */
.haggle { display: grid; gap: 12px; max-width: 460px; margin-top: 40px; }
.bubble { max-width: 82%; padding: 14px 18px; border-radius: 22px; font: 500 18px/1.35 var(--body); box-shadow: 0 10px 26px -14px rgba(0, 0, 0, .45); }
.bubble.me { justify-self: end; background: var(--cream); color: var(--ink); border-bottom-right-radius: 6px; }
.bubble.him { justify-self: start; background: var(--forest); color: var(--cream); border-bottom-left-radius: 6px; }
.bubble small { display: block; font-size: 12px; opacity: .6; margin-bottom: 3px; font-weight: 700; letter-spacing: .04em; }
.haggle .bubble { opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.haggle.in .bubble { opacity: 1; transform: none; }
.haggle.in .bubble:nth-child(2) { transition-delay: .5s; } .haggle.in .bubble:nth-child(3) { transition-delay: 1s; }
.haggle.in .bubble:nth-child(4) { transition-delay: 1.5s; } .haggle.in .bubble:nth-child(5) { transition-delay: 2s; }
.sigh { margin-top: 26px; font-size: 17px; color: rgba(255, 247, 232, .7); opacity: 0; transition: opacity .8s var(--ease) 2.6s; }
.haggle.in + .sigh { opacity: 1; }

/* Split with a phone, used by several chapters. */
.story-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story-split.rev > :first-child { order: 2; }
.story-split .phone { width: 300px; margin-inline: auto; }
.one-round { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 34px 0 0; max-width: 520px; }
.one-round li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.one-round b { display: block; font: 800 22px/1 var(--display); color: var(--terra); margin-bottom: 8px; }
.one-round span { font-weight: 700; font-size: 15px; }

/* Photo tiles. */
.tiles { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; margin-top: 50px; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; background: var(--night); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(6, 46, 31, .85)); }
.tile .cap { position: absolute; left: 26px; right: 26px; bottom: 24px; z-index: 1; color: var(--cream); }
.tile .cap b { display: block; font: 800 26px/1.1 var(--display); letter-spacing: -0.015em; }
.tile .cap span { color: rgba(255, 247, 232, .8); font-size: 15px; }

/* Payments. */
.pays { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.pay { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 20px 14px 14px; font-weight: 700; }
.pay i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font: 800 12px/1 var(--body); font-style: normal; }
.pay .cash { background: var(--sand2); }
.pay .momo { background: #FFCC00; color: #1D1511; }
.pay .om { background: #FF7900; color: #fff; }

/* Live tracking card. */
.live { display: flex; align-items: center; gap: 14px; background: var(--surface); color: var(--ink); border-radius: 20px; padding: 16px 18px; margin-top: 18px; }
.live .dot { width: 12px; height: 12px; border-radius: 50%; background: #22A45D; box-shadow: 0 0 0 0 rgba(34, 164, 93, .5); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(34, 164, 93, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 164, 93, 0); } }
.live b { display: block; }
.live span { color: var(--ink2); font-size: 14px; }

@media (max-width: 980px) {
  .story-split, .tiles { grid-template-columns: 1fr; gap: 50px; }
  .story-split.rev > :first-child { order: 0; }
  .story-split .phone { width: 250px; }
  .tile { min-height: 340px; }
  .hero-photo { padding-bottom: 60px; }
  .photo.left::after { background: linear-gradient(180deg, rgba(6, 46, 31, .35) 0%, rgba(6, 46, 31, .92) 75%); }
}
@media (max-width: 520px) {
  .one-round li { padding: 14px 8px; text-align: center; }
  .one-round span { font-size: 13.5px; }
  .bubble { font-size: 16px; }
}

/* v2 layout details. */
.center .stores { justify-content: center; }
.hero-photo .display { margin-inline: auto; }
.hero-photo::after { background: linear-gradient(180deg, rgba(6, 46, 31, .45) 0%, rgba(6, 46, 31, .55) 40%, rgba(6, 46, 31, .92) 100%); }
.hero-photo .kicker { color: var(--gold); text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.narrow { max-width: 560px; }
.figure-reset, figure { margin: 0; }
.tile.wide { min-height: 460px; }
.safe-visual { position: relative; max-width: 420px; margin-inline: auto; width: 100%; }
.safe-visual .portrait { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.safe-visual .portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.safe-visual .live { position: absolute; left: -28px; right: 40px; bottom: 34px; margin: 0; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6); }
.code-chip { position: absolute; top: 26px; right: -22px; background: var(--forest); color: var(--cream); border-radius: 18px; padding: 12px 16px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6); }
.code-chip span { display: block; font-size: 12px; font-weight: 700; color: var(--gold); letter-spacing: .04em; }
.code-chip b { font: 800 26px/1.1 var(--display); letter-spacing: .12em; white-space: nowrap; }
.africa { min-height: 80svh; display: flex; align-items: center; }
.africa::after { background: rgba(6, 46, 31, .72); }
.download .logo-big { margin-bottom: 28px; }
.download .lead { margin-inline: auto; }
.credits { text-align: center; font-size: 12px; color: var(--ink2); margin: 0; padding: 14px 20px; background: var(--sand); }
@media (max-width: 980px) {
  .story-split > div:not(.safe-visual) { text-align: center; }
  .story-split .lead, .story-split .one-round { margin-inline: auto; }
  .story-split .pays { justify-content: center; }
  .story-split .ticks { text-align: left; max-width: 460px; margin-inline: auto; }
  .safe-visual { max-width: 340px; }
  .safe-visual .live { left: -10px; right: 10px; }
  .code-chip { right: -8px; }
  .tile.wide { min-height: 320px; }
  .photo.left > .wrap { text-align: center; }
  .photo.left .narrow, .photo.left .lead { margin-inline: auto; }
  .photo.left .ticks { text-align: left; max-width: 460px; margin-inline: auto; }
  .photo.left::after { background: linear-gradient(180deg, rgba(6, 46, 31, .78) 0%, rgba(6, 46, 31, .82) 60%, rgba(6, 46, 31, .94) 100%); }
  .haggle { margin-inline: auto; text-align: left; }
}
.hero-photo .accent { white-space: nowrap; }

/* Contact form: honeypot, sending state. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.sent.fail { background: #FCEDE8; border-color: #C8412B; color: #8E2A1B; }
.sent a { color: inherit; font-weight: 700; }
