/* Tiwizi website. The app's world, printed large: citrus on a cool paper
   canvas, white surfaces, ink for weight, and no shadows anywhere. Arabic is
   set in Handicrafts like the app; Latin in the rounded system face. */

:root {
  /* The app's tokens (lib/core/theme/theme.dart). */
  --canvas: #f3f4f6;
  --surface: #ffffff;
  --sunken: #e7e9ed;
  --line: #e4e6ea;
  --ink: #0e0f11;
  --ink-2: #53575f;
  --ink-3: #63676f;
  --citrus: #d6f84c;
  --citrus-mid: #eafba4;
  --citrus-soft: #f0fbc7;
  --citrus-deep: #5f7a00;
  --violet: #6a46f0;
  --violet-soft: #ece8fd;
  --orange: #d24a12;
  --orange-soft: #fbe9e1;
  --success: #0d7650;
  --star: #ffb21e;

  --latin: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* Arabic pages: The Year of Handicrafts draws everything it has (letters,
     digits, punctuation, spaces); only Latin words fall to the Latin face. */
  --font: "Handicrafts", var(--latin);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --radius: 28px;
  --gutter: 32px;
  --header: 84px;
  color-scheme: light;
}
/* English pages: the rounded Latin face, with any Arabic kept in Handicrafts. */
html[lang="en"] { --font: var(--latin); }
[lang="ar"] { font-family: "Handicrafts", var(--latin); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--canvas);
  color: var(--ink);
  font: 400 18px/1.8 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="en"] body { font-size: 17px; line-height: 1.6; letter-spacing: -0.005em; }
/* The citrus wash of the app's home, behind the header and hero. */
body.home {
  background:
    linear-gradient(180deg, var(--citrus) 0, var(--citrus-mid) 460px, var(--canvas) 860px) no-repeat,
    var(--canvas);
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 900; line-height: 1.25; text-wrap: balance; }
html[lang="en"] h1, html[lang="en"] h2 { font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; }
html[lang="en"] h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--citrus); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.inside :focus-visible { outline-color: var(--citrus); }
html { scrollbar-color: #c3c7ce transparent; }

.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip-link {
  position: fixed; z-index: 60; top: 12px; inset-inline-start: 12px;
  padding: 10px 18px; border-radius: 99px; background: var(--ink); color: #fff; font-weight: 700;
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

/* Icons: the app's SVG set, tinted with currentColor. */
.ic { display: inline-block; width: 1em; height: 1em; flex: none; background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.ic-store { --i: url("icons/store.svg"); }
.ic-bag { --i: url("icons/bag.svg"); }
.ic-tool { --i: url("icons/tool.svg"); }
.ic-shield { --i: url("icons/shield.svg"); }
.ic-chat { --i: url("icons/chat.svg"); }
.ic-star { --i: url("icons/star.svg"); }
.ic-check { --i: url("icons/check.svg"); }
.ic-pin { --i: url("icons/pin.svg"); }
.ic-arrow { --i: url("icons/arrow.svg"); }
.ic-share { --i: url("icons/share.svg"); }
.ic-plus { --i: url("icons/plus.svg"); }
.ic-close { --i: url("icons/close.svg"); }
.ic-up { --i: url("icons/up.svg"); }
/* The arrow is drawn pointing forward in Arabic (left); mirror it in English. */
html[dir="ltr"] .ic-arrow { transform: scaleX(-1); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; transition: background-color .25s, border-color .25s; border-bottom: 1px solid transparent; }
.site-header.scrolled, body:not(.home) .site-header { background: var(--canvas); border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: var(--header); }
.mark { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: var(--ink); flex: none; transition: transform .3s var(--ease); }
.mark img { width: 22px; height: auto; }
.mark:hover { transform: rotate(-6deg); }
.site-nav { display: flex; gap: 6px; margin-inline-start: auto; }
.site-nav a { padding: 10px 16px; border-radius: 99px; font-size: 16px; font-weight: 700; transition: background-color .2s; }
.site-nav a:hover { background: rgba(14, 15, 17, .06); }
.language { min-height: 44px; padding: 0 18px; border-radius: 99px; background: var(--surface); font: 600 14px/1 var(--font); }
.language[lang="ar"] { font-family: "Handicrafts", var(--latin); font-size: 16px; font-weight: 700; }
.language:hover { background: var(--ink); color: #fff; }
.site-nav + .language { margin-inline-start: 8px; }

/* ---------- Buttons & links ---------- */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.button {
  display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 28px;
  border-radius: 99px; background: var(--ink); color: #fff; font-size: 17px; font-weight: 700;
  transition: transform .3s var(--ease), background-color .2s;
}
.button .ic { font-size: 20px; color: var(--citrus); transition: transform .3s var(--ease); }
.button:hover { transform: translateY(-2px); }
.button:hover .ic-arrow { transform: translateX(-4px); }
html[dir="ltr"] .button:hover .ic-arrow { transform: scaleX(-1) translateX(-4px); }
.link { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; transition: text-decoration-color .2s; }
.link:hover { text-decoration-color: var(--citrus-deep); }

/* ---------- Hero ---------- */
.hero { padding: 28px 0 clamp(64px, 9vw, 120px); overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { font-size: clamp(50px, 7.2vw, 104px); line-height: 1.22; }
html[lang="en"] .hero h1 { font-size: clamp(46px, 6.6vw, 92px); line-height: 1.02; }
.hero h1 .line { display: block; }
.hero mark {
  background: var(--ink); color: var(--citrus); padding: 0 .16em; border-radius: .18em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.lede { margin-top: 26px; max-width: 34ch; font-size: clamp(18px, 1.7vw, 21px); color: var(--ink-2); }
html[lang="en"] .lede { max-width: 40ch; }
.hero .actions { margin-top: 36px; }
.status { display: flex; align-items: center; gap: 10px; margin-top: 30px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--citrus-deep); flex: none; }

.hero-stage { position: relative; aspect-ratio: 1 / 1.1; max-width: 560px; width: 100%; justify-self: end; }
.hero-photo { position: absolute; inset-block: 0 8%; inset-inline-end: 0; width: 74%; border-radius: 34px; overflow: hidden; background: var(--sunken); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero-phone { position: absolute; inset-inline-start: 0; bottom: 0; width: 45%; }
.float-chip {
  position: absolute; bottom: 20%; inset-inline-end: -14px;
  display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px;
  border-radius: 99px; background: var(--surface); line-height: 1.25;
}
html[dir="rtl"] .float-chip { padding: 8px 8px 8px 18px; }
.chip-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--citrus); font-size: 19px; }
.chip-text b { display: block; font-size: 15px; font-weight: 700; }
.chip-text small { display: block; font-size: 12px; color: var(--ink-3); }

/* The phone: the screen already sits in its device mockup. Tapping enlarges it. */
.phone {
  display: block; padding: 0; border: 0; border-radius: 0; background: none; cursor: zoom-in;
  transition: transform .45s var(--ease);
}
.phone img { display: block; width: 100%; height: auto; aspect-ratio: 900 / 1856; object-fit: contain; border: 0; border-radius: 0; }
.phone:hover { transform: translateY(-6px); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 136px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.section h2, .closing h2 { font-size: clamp(36px, 4.8vw, 64px); }
.section-head p { font-size: 19px; color: var(--ink-2); max-width: 40ch; }

/* The market: three shelves, told with photographs. */
.bento { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 16px; height: clamp(560px, 62vw, 780px); }
.tile { position: relative; overflow: hidden; border-radius: 32px; background: var(--ink); isolation: isolate; }
.tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14, 15, 17, .86) 0%, rgba(14, 15, 17, .35) 38%, rgba(14, 15, 17, 0) 62%); }
.tile:hover > img { transform: scale(1.04); }
.tile-products { grid-row: 1 / span 2; }
.tile-products > img { object-position: 50% 55%; }
.tile-stores > img { object-position: 50% 40%; }
.tile-services > img { object-position: 50% 45%; }
.tile-copy { position: absolute; inset-inline: 0; bottom: 0; padding: clamp(22px, 3vw, 36px); color: #fff; }
.tile h3 { font-size: clamp(26px, 2.6vw, 36px); }
.tile p { margin-top: 8px; max-width: 34ch; font-size: 16px; color: rgba(255, 255, 255, .86); }
html[lang="en"] .tile p { max-width: 40ch; }
.price-chip {
  position: absolute; top: clamp(20px, 3vw, 32px); inset-inline-start: clamp(20px, 3vw, 32px);
  display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border-radius: 99px;
  background: var(--surface); font-size: 15px; font-weight: 700;
}
html[dir="rtl"] .price-chip { padding: 6px 16px 6px 6px; }
.price-chip b { padding: 6px 12px; border-radius: 99px; background: var(--citrus); }

/* Roles: pick a role, see its real screen. */
.role-tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; margin-bottom: 20px; border-radius: 99px; background: var(--surface); }
.role-tabs [role="tab"] {
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px;
  border-radius: 99px; font-size: 16px; font-weight: 700; color: var(--ink-2); transition: background-color .2s, color .2s;
}
.role-tabs .ic { font-size: 20px; }
.role-tabs [role="tab"]:hover { color: var(--ink); background: var(--canvas); }
.role-tabs [aria-selected="true"], .role-tabs [aria-selected="true"]:hover { background: var(--ink); color: #fff; }
.role-tabs [aria-selected="true"] .ic { color: var(--citrus); }
.role-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 36px; background: var(--surface); overflow: hidden; min-height: 540px; }
.role-panel:not([hidden]) { animation: panel-in .5s var(--ease); }
.role-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 5vw, 64px); }
.role-copy h3 { font-size: clamp(30px, 3.2vw, 44px); }
.role-copy p { margin-top: 16px; max-width: 38ch; color: var(--ink-2); }
html[lang="en"] .role-copy p { max-width: 44ch; }
.checks { display: grid; gap: 14px; margin-top: 30px; }
.checks li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.checks .ic { box-sizing: content-box; padding: 7px; border-radius: 50%; background: var(--citrus); font-size: 16px; }
.role-stage { display: flex; justify-content: center; align-items: flex-end; overflow: hidden; margin: 12px; margin-inline-start: 0; padding-top: 56px; border-radius: 28px; }
.stage-citrus { background: var(--citrus-soft); }
.stage-violet { background: var(--violet-soft); }
.stage-orange { background: var(--orange-soft); }
/* The phone rises out of the stage; the lightbox shows it whole. */
.role-stage .phone { width: min(64%, 300px); margin-bottom: -26%; }

/* Inside the app: one purchase, step by step, beside the real chat. */
.inside { background: var(--ink); color: #fff; }
.inside-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 7vw, 104px); align-items: center; }
.inside h2 { color: var(--citrus); }
.inside-lede { margin-top: 16px; font-size: 19px; color: rgba(255, 255, 255, .78); }
.steps { counter-reset: step; margin-top: 40px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 48px 1fr; column-gap: 20px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .14); }
.steps li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.steps li::before {
  content: counter(step); grid-row: 1 / span 2; display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 50%; background: var(--citrus); color: var(--ink); font: 800 19px/1 var(--font);
}
.steps h3 { font-size: 24px; }
.steps p { margin-top: 4px; color: rgba(255, 255, 255, .74); }
.note { margin-top: 24px; font-size: 14px; color: rgba(255, 255, 255, .6); }
.inside-stage { display: flex; justify-content: center; padding: 48px 24px; border-radius: 36px; background: var(--citrus); }
.inside-stage .phone { width: min(78%, 320px); }

/* Local first. */
.local-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 104px); align-items: start; }
.local-copy > p { margin-top: 20px; max-width: 40ch; font-size: 19px; color: var(--ink-2); }
.places { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.places li { padding: 8px 16px; border-radius: 99px; background: var(--surface); font-size: 15px; font-weight: 500; }
.places .here { background: var(--citrus); font-weight: 700; }
.places .more { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-3); }
.promises li { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding-block: 28px; border-top: 1px solid var(--line); }
.promises li:last-child { border-bottom: 1px solid var(--line); }
.glyph { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--surface); font-size: 24px; }
.promises h3 { font-size: 24px; }
.promises p { margin-top: 6px; color: var(--ink-2); }

/* FAQ */
.faq-section { padding-top: 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header) + 24px); }
.faq-head p { margin-top: 14px; font-size: 19px; color: var(--ink-2); }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border-radius: 24px; background: var(--surface); transition: background-color .2s; }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px;
  font-size: 19px; font-weight: 700; cursor: pointer; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ic { font-size: 22px; transition: transform .35s var(--ease); }
.faq-list details[open] summary .ic { transform: rotate(45deg); }
.faq-list details p { padding: 0 26px 24px; max-width: 60ch; color: var(--ink-2); }
.faq-list summary:hover .ic { color: var(--citrus-deep); }

/* Closing */
.closing { padding-bottom: clamp(56px, 8vw, 104px); }
.closing-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; padding: clamp(32px, 6vw, 72px); border-radius: 40px; background: var(--citrus); overflow: hidden; }
.closing-copy p { margin-top: 14px; max-width: 38ch; font-size: 19px; color: rgba(14, 15, 17, .78); }
.closing .actions { margin-top: 32px; }
.platforms { font: 600 14px/1 var(--font); color: rgba(14, 15, 17, .7); }
.closing-art { display: grid; place-items: center; width: clamp(160px, 20vw, 240px); aspect-ratio: 1; border-radius: 48px; background: var(--ink); transform: rotate(-8deg); }
.closing-art img { width: 44%; }

/* Footer */
.site-footer { padding-block: 40px 48px; border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.footer-row + .footer-row { margin-top: 28px; }
.tagline { font-size: 17px; font-weight: 700; }
.to-top { display: inline-flex; align-items: center; gap: 8px; margin-inline-start: auto; font-weight: 700; font-size: 15px; }
.to-top .ic { font-size: 18px; }
.footer-fine { justify-content: space-between; font-size: 15px; color: var(--ink-3); }
.footer-fine nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-fine a:hover { color: var(--ink); }

/* Lightbox */
.lightbox { width: min(440px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 16px; border: 0; border-radius: 32px; background: var(--surface); color: var(--ink); overflow: auto; }
.lightbox::backdrop { background: rgba(14, 15, 17, .78); }
.lightbox[open] { animation: panel-in .4s var(--ease); }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 4px 12px; }
.lightbox-bar h2 { font-size: 18px; }
.lightbox-close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--canvas); font-size: 20px; }
.lightbox-close:hover { background: var(--sunken); }
.lightbox img { width: 100%; }
.lightbox p { margin-top: 12px; text-align: center; font-size: 14px; color: var(--ink-3); }

/* Toast */
.toast {
  position: fixed; z-index: 70; bottom: 24px; left: 50%; translate: -50% 16px; opacity: 0; pointer-events: none;
  padding: 12px 22px; border-radius: 99px; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px;
  transition: opacity .25s, translate .35s var(--ease);
}
.toast.show { opacity: 1; translate: -50% 0; }

/* ---------- Inner pages (about, privacy, terms, credits) ---------- */
.legal { padding-block: 40px clamp(72px, 9vw, 120px); }
.back { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--ink-2); }
.back:hover { color: var(--ink); }
.back .ic { font-size: 18px; transform: scaleX(-1); }
html[dir="ltr"] .back .ic { transform: none; }
.legal-heading { margin-block: 28px clamp(40px, 5vw, 64px); padding-bottom: clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.legal-heading h1 { font-size: clamp(40px, 5.6vw, 72px); }
.legal-heading p { margin-top: 12px; font-size: clamp(18px, 1.8vw, 22px); color: var(--ink-2); }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header) + 24px); display: grid; gap: 2px; }
.legal-toc a { padding: 9px 14px; border-radius: 14px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background-color .2s, color .2s; }
.legal-toc a:hover { background: var(--surface); color: var(--ink); }
.legal-copy { max-width: 68ch; }
.legal-copy section + section { margin-top: 44px; }
.legal-copy h2 { font-size: clamp(24px, 2.4vw, 30px); }
.legal-copy p { margin-top: 12px; color: var(--ink-2); }
.legal-copy p:first-of-type { color: var(--ink); }

/* Credits */
.credits-group + .credits-group { margin-top: 56px; }
.credits-group > h2 { font-size: clamp(24px, 2.4vw, 30px); }
.credits-group > p { margin-top: 10px; max-width: 62ch; color: var(--ink-2); }
.credits-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 24px; }
.credit { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: 24px; background: var(--surface); }
.credit b { font: 700 16px/1.35 var(--font); }
.credit span { font-size: 14px; color: var(--ink-3); }
.credit a { width: fit-content; margin-top: 6px; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.team-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.team-photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 22px; }

/* ---------- Motion: one authored moment, the hero arriving ---------- */
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes photo-in { from { clip-path: inset(18% 0 0 0 round 34px); opacity: .4; } to { clip-path: inset(0 0 0 0 round 34px); opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: none; } }
.hero-photo { animation: photo-in 1.1s var(--ease) both; }
.hero-phone { animation: rise 1s .18s var(--ease) both; }
.float-chip { animation: pop .7s .6s var(--ease) both; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Phone menu (shown only on narrow screens) ---------- */
.ic-menu { --i: url("icons/menu.svg"); }
.menu-button { display: none; }
.mobile-nav { display: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  :root { --gutter: 28px; }
  .hero { padding-bottom: 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .lede { max-width: 46ch; }
  /* Stacked hero: the photo wide, the phone standing in front of it at a
     size where its screen can actually be read. */
  .hero-stage { justify-self: stretch; max-width: none; aspect-ratio: auto; height: clamp(520px, 78vw, 700px); }
  .hero-photo { inset: 0 0 auto 0; width: 100%; height: 74%; }
  .hero-photo img { object-position: 50% 58%; }
  .hero-phone { inset-inline: 0; margin-inline: auto; bottom: 0; width: clamp(200px, 34vw, 300px); }
  .float-chip { top: 20px; bottom: auto; inset-inline-start: 20px; inset-inline-end: auto; }
  .section-head, .inside-grid, .local-grid, .faq-grid { grid-template-columns: 1fr; }
  .section-head { gap: 16px; }
  .faq-head { position: static; }
  /* Tall screens are cropped inside their stage; tapping shows them whole. */
  .inside-stage { height: clamp(440px, 66vw, 580px); align-items: flex-start; overflow: hidden; padding: 44px 24px 0; }
  .inside-stage .phone { width: min(56%, 300px); }
  .role-stage { align-items: flex-start; padding-top: 44px; }
  .role-stage .phone { margin-bottom: 0; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .legal-toc a { background: var(--surface); border-radius: 99px; }
}

/* ---------- Phone ---------- */
@media (max-width: 720px) {
  :root { --gutter: 18px; --header: 68px; }
  body { font-size: 17px; line-height: 1.75; }
  .section { padding-block: 64px; }

  /* Header: logo, language and a menu that opens the sections. */
  .site-nav { display: none; }
  .header-row { gap: 10px; }
  .language, .site-nav + .language { margin-inline-start: auto; min-height: 42px; padding: 0 16px; }
  .mark { width: 44px; height: 44px; border-radius: 14px; }
  .mark img { width: 19px; }
  .menu-button { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--citrus); font-size: 20px; }
  .menu-button[aria-expanded="true"] .ic { --i: url("icons/close.svg"); }
  .site-header.menu-open { background: var(--canvas); border-bottom-color: var(--line); }
  .mobile-nav:not([hidden]) {
    display: grid; gap: 6px; position: absolute; inset-inline: 0; top: 100%;
    padding: 12px var(--gutter) 20px; background: var(--canvas); border-bottom: 1px solid var(--line);
    animation: panel-in .3s var(--ease);
  }
  .mobile-nav a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 18px; border-radius: 18px; background: var(--surface); font-size: 18px; font-weight: 700; }
  .mobile-nav .ic { font-size: 18px; color: var(--ink-3); }

  /* Hero */
  .hero { padding: 12px 0 56px; }
  .hero-grid { gap: 36px; }
  .hero h1 { font-size: clamp(44px, 12.4vw, 60px); }
  html[lang="en"] .hero h1 { font-size: clamp(40px, 11vw, 54px); }
  .lede { margin-top: 18px; font-size: 18px; }
  .hero .actions { margin-top: 28px; gap: 16px; }
  .button { width: 100%; justify-content: center; }
  .hero .link { margin-inline: auto; }
  .status { justify-content: center; margin-top: 22px; }
  .hero-stage { height: min(136vw, 640px); }
  .hero-photo { height: 76%; border-radius: 28px; }
  .hero-phone { width: min(55vw, 262px); }
  .float-chip { top: 14px; inset-inline-start: 14px; padding-block: 6px; }
  .chip-icon { width: 34px; height: 34px; font-size: 16px; }

  /* The market: one swipeable row instead of three tall cards. */
  .bento {
    display: flex; height: auto; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .bento::-webkit-scrollbar { display: none; }
  .tile, .tile-products { flex: 0 0 84%; aspect-ratio: 4 / 5; scroll-snap-align: start; border-radius: 28px; }
  .tile h3 { font-size: 26px; }
  .tile p { font-size: 15px; }
  .price-chip { font-size: 14px; }

  /* Roles */
  .role-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; border-radius: 24px; }
  .role-tabs [role="tab"] { flex-direction: column; justify-content: center; gap: 2px; min-height: 64px; padding: 8px 4px; border-radius: 18px; font-size: 14px; }
  .role-panel { grid-template-columns: 1fr; min-height: 0; border-radius: 28px; }
  .role-copy { padding: 26px 22px 6px; }
  .checks { margin-top: 22px; gap: 12px; }
  .role-stage { margin: 18px 10px 10px; padding-top: 32px; height: 340px; border-radius: 22px; }
  .role-stage .phone { width: min(68%, 250px); }

  /* Inside */
  .steps { margin-top: 28px; }
  .steps li { grid-template-columns: 40px 1fr; column-gap: 16px; padding-block: 20px; }
  .steps li::before { width: 40px; height: 40px; font-size: 17px; }
  .steps h3 { font-size: 21px; }
  .inside-stage { height: 420px; padding: 32px 18px 0; border-radius: 28px; }
  .inside-stage .phone { width: min(68%, 250px); }

  /* Local, FAQ, closing, footer */
  .places li { padding: 7px 14px; font-size: 14px; }
  .promises li { grid-template-columns: 44px 1fr; gap: 16px; padding-block: 22px; }
  .glyph { width: 44px; height: 44px; border-radius: 14px; font-size: 20px; }
  .promises h3 { font-size: 21px; }
  .faq-list summary { padding: 18px 20px; font-size: 17px; }
  .faq-list details p { padding: 0 20px 20px; }
  .closing-card { grid-template-columns: 1fr; padding: 32px 22px; border-radius: 30px; }
  .closing-art { display: none; }
  .closing .button { width: 100%; }
  .closing .actions { flex-direction: column; align-items: stretch; text-align: center; }
  .footer-row { gap: 14px; }
  .tagline { order: 3; width: 100%; font-size: 16px; }
  .footer-fine { flex-direction: column; align-items: flex-start; gap: 12px; }
  .legal { padding-top: 24px; }
  .legal-heading { margin-top: 20px; }
  .team-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lightbox { padding: 12px; border-radius: 26px; }
}
