/* Self-hosted fonts (SIL Open Font License 1.1): Baloo Bhaijaan 2 (variable, 600-800) and IBM Plex Sans Arabic,
   Arabic + Latin subsets only, downloaded from Google Fonts on 2026-11-03. */
@font-face {
  font-family: "Baloo Bhaijaan 2";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("/assets/fonts/baloo-bhaijaan-2-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "Baloo Bhaijaan 2";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("/assets/fonts/baloo-bhaijaan-2-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-arabic-400-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-arabic-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-arabic-500-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-arabic-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-arabic-600-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-arabic-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-arabic-700-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-arabic-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Kasol (كسول) website
   Brand tokens come from the workspace CLAUDE.md. Contrast rule: text on
   #FFD600 is always #1E1E1E; yellow text only on dark surfaces.
   Layout uses logical properties so RTL is the default, not a patch.
   ========================================================================== */

:root {
  --y: #FFD600;
  --y-press: #E6C000;
  --y-soft: #FFF6C2;
  --y-text: #8C6D00;
  --ink: #1E1E1E;
  --cream: #FFF8EC;
  --paper: #FAFAF7;
  --white: #FFFFFF;
  --muted: #5F5F5F;
  --line: #ECECEC;
  --ok: #16A34A;

  --f-display: "Baloo Bhaijaan 2", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --f-body: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-s: 14px;
  --r-m: 20px;
  --r-l: 28px;
  --r-xl: 40px;

  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(64px, 9vw, 128px);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 4px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 800; line-height: 1.15; }
p { max-width: 62ch; }
bdi, .ltr { unicode-bidi: isolate; direction: ltr; }
b { font-weight: 700; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .site-footer :focus-visible, .btn--yellow:focus-visible, .tile--2:focus-visible { outline-color: var(--y); }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.skip {
  position: absolute; inset-inline-start: 12px; top: -80px; z-index: 100;
  background: var(--ink); color: var(--y); padding: 10px 18px; border-radius: var(--r-s); font-weight: 700;
}
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: 0 1.6rem; border-radius: 999px;
  font: 700 1rem/1 var(--f-body); text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--ink { background: var(--ink); color: var(--y); }
.btn--ink:hover { background: #000; }
.btn--yellow { background: var(--y); color: var(--ink); }
.btn--yellow:hover { background: var(--y-press); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--y); }
.btn--lg { min-height: 56px; padding: 0 2rem; font-size: 1.0625rem; }
.btn .arrow { width: 1.1em; height: 1.1em; flex: none; }
[dir="rtl"] .btn .arrow { transform: scaleX(-1); }

.icon { width: 1.5rem; height: 1.5rem; flex: none; }
.store-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn {
  display: inline-flex; align-items: center; gap: .75rem; min-height: 56px; padding: .5rem 1.25rem;
  border-radius: var(--r-s); text-decoration: none; font: 700 1.0625rem/1.1 var(--f-body);
  transition: transform .15s ease;
}
.store-btn:hover { transform: translateY(-2px); }
.store-btn .icon { width: 1.75rem; height: 1.75rem; }
.store-btn span { display: flex; flex-direction: column; align-items: flex-start; direction: ltr; text-align: left; }
.store-btn small { font-size: .7rem; font-weight: 500; opacity: .85; }
html[lang="ar"] .store-btn small { direction: rtl; }
.store-btn--dark { background: var(--ink); color: var(--white); }
.store-btn--light { background: var(--white); color: var(--ink); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--y); }
.site-header__in { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); min-height: var(--header-h); }
.brand img { width: 86px; height: auto; }
.nav { display: none; gap: clamp(16px, 2.4vw, 32px); margin-inline-start: auto; font-weight: 600; }
.nav a { text-decoration: none; padding: 6px 2px; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.site-header__cta { display: none; }
.lang-switch { margin-inline-start: auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; font-size: .95rem; text-decoration: none; transition: background-color .15s ease; }
.lang-switch:hover { background: var(--ink); color: var(--y); }
.menu { margin-inline-start: 0; }
.menu summary { list-style: none; cursor: pointer; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; }
.menu summary::-webkit-details-marker { display: none; }
.menu__bars, .menu__bars::before, .menu__bars::after { display: block; width: 22px; height: 3px; background: var(--ink); border-radius: 3px; content: ""; transition: transform .2s ease; }
.menu__bars { position: relative; }
.menu__bars::before { position: absolute; top: -7px; }
.menu__bars::after { position: absolute; top: 7px; }
.menu[open] .menu__bars { background: transparent; }
.menu[open] .menu__bars::before { transform: translateY(7px) rotate(45deg); }
.menu[open] .menu__bars::after { transform: translateY(-7px) rotate(-45deg); }
.menu:not([open]) .menu__panel { display: none; }
.menu__panel {
  position: absolute; inset-inline: 0; top: 100%; background: var(--y); padding: 8px var(--gutter) 28px;
  display: flex; flex-direction: column; border-top: 2px solid var(--ink); box-shadow: 0 24px 40px rgba(30, 30, 30, .18);
}
.menu__panel > a { font: 800 1.75rem/1.2 var(--f-display); text-decoration: none; padding: 14px 0; border-bottom: 1px solid rgba(30, 30, 30, .2); }
.menu__panel .store-btns { margin-top: 24px; }
@media (min-width: 960px) {
  .nav, .site-header__cta { display: flex; }
  .lang-switch { margin-inline-start: 0; }
  .menu { display: none; }
}

/* ---------- section scaffolding ---------- */
.section { padding-block: var(--section); }
.section--cream { background: var(--cream); }
.section--soft { background: var(--y-soft); }
.section--ink { background: var(--ink); color: var(--white); }
.section-title { font-size: clamp(2.1rem, 5vw, 3.9rem); max-width: 16ch; }
.section-lead { margin-top: 1rem; font-size: 1.2rem; color: var(--muted); }
.section--ink .section-lead { color: #CFCFCF; }

/* ---------- hero (home) ---------- */
.hero { position: relative; z-index: 1; background: var(--y); padding-top: clamp(20px, 4vw, 56px); }
.hero__grid { display: grid; gap: 0 clamp(16px, 4vw, 56px); align-items: end; }
.hero__copy { padding-bottom: clamp(32px, 5vw, 72px); }
.hero__title { font-size: clamp(2.1rem, 11.8vw, 6rem); line-height: 1.02; letter-spacing: -.01em; }
.hero__title span { display: block; }
.hero__lead { margin-top: clamp(16px, 2.4vw, 28px); font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.6; max-width: 30rem; font-weight: 500; }
.hero .store-btns { margin-top: clamp(20px, 3vw, 36px); }
.hero__meta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .975rem; font-weight: 500; }
/* two lines are always reserved on wide screens: whether the three facts fit on one line depends on the font (fallback vs web font), and a wrap change would push the whole bottom-aligned copy block down */
@media (min-width: 900px) { .hero__meta { min-height: calc(2 * 1.7em + 6px); align-content: flex-start; } }
.hero__meta span { display: inline-flex; align-items: center; gap: .5rem; }
.dot { width: .6rem; height: .6rem; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(22, 163, 74, .22); flex: none; }
.hero { --sloth: clamp(80px, 18vw, 150px); }
.hero__grid { position: relative; }
.hero__phone { position: relative; justify-self: center; width: min(56vw, 270px); margin-bottom: -28%; z-index: 1; }
.hero__phone img { width: 100%; filter: drop-shadow(0 18px 28px rgba(30, 30, 30, .16)); }
.hero__sloth { position: absolute; z-index: 2; width: var(--sloth); inset-inline-start: 4%; bottom: -12px; }
.hero__sloth img { width: 100%; }
@media (min-width: 900px) {
  .hero { --sloth: 140px; }
  .hero__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
  .hero__title { font-size: clamp(3.4rem, 7vw, 5.4rem); }
  .hero__phone { width: min(100%, 280px); margin-bottom: -24%; }
  .hero__sloth { inset-inline-start: calc(60% - 70px); bottom: -16px; }
}

/* English headline: same design, slightly smaller (Latin letters are wider) */
html[lang="en"] .hero__title { font-size: clamp(2.1rem, 10.2vw, 5.2rem); letter-spacing: -.02em; line-height: 1.1; }
@media (min-width: 900px) { html[lang="en"] .hero__title { font-size: clamp(3rem, 6.2vw, 4.9rem); } }
html[lang="en"] .closer__title { font-size: clamp(2.4rem, 8vw, 5.6rem); }

/* the one orchestrated moment: line one slouches, line two runs */
@keyframes slouch { 0% { transform: none; } 100% { transform: translateY(.07em) rotate(-1.6deg); } }
@keyframes run { 0% { transform: translateX(-110vw); } 70% { transform: translateX(1.5%); } 100% { transform: none; } }
.hero__title .l1 { transform: translateY(.07em) rotate(-1.6deg); transform-origin: 100% 100%; animation: slouch 1.6s .2s ease-in-out backwards; }
.hero__title .l2 { animation: run .9s .9s cubic-bezier(.2, .8, .2, 1) backwards; }
[dir="rtl"] .hero__title .l2 { animation-name: runrtl; }
@keyframes runrtl { 0% { transform: translateX(110vw); } 70% { transform: translateX(-1.5%); } 100% { transform: none; } }

/* the section after the hero covers the lower part of the phone and the sloth */
.hero + .section { position: relative; z-index: 2; background: var(--paper); }

/* ---------- sections bento ---------- */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: clamp(28px, 4vw, 56px); }
.tile {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 190px; padding: clamp(18px, 2.4vw, 30px); border-radius: var(--r-l);
  background: var(--white); border: 2px solid var(--ink); text-decoration: none; isolation: isolate;
}
.tile__icon { position: absolute; inset-block-start: 10px; inset-inline-end: 10px; width: clamp(84px, 24vw, 130px); z-index: -1; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.tile:hover .tile__icon { transform: rotate(-8deg) scale(1.08); }
.tile h3 { font-size: clamp(1.35rem, 3vw, 2.4rem); }
.tile__blurb { color: var(--muted); font-size: .95rem; line-height: 1.5; margin-top: 2px; max-width: 24ch; }
.tile--1 { grid-column: 1 / -1; background: var(--y-soft); min-height: 300px; }
.tile--1 .tile__icon { width: clamp(150px, 42vw, 280px); inset-block-start: 14px; }
.tile--1 h3 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
.tile--2 { background: var(--ink); color: var(--white); border-color: var(--ink); }
.tile--2 .tile__blurb { color: #CFCFCF; }
.tile--3 { background: var(--cream); }
.tile--wide { grid-column: 1 / -1; }
.tile--soon { grid-column: 1 / -1; min-height: 110px; flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; background: transparent; border-style: dashed; border-color: #9A9A9A; }
.tile--soon .tile__icon { position: static; width: 72px; opacity: .55; filter: grayscale(.4); z-index: 0; flex: none; }
.tile--soon:hover .tile__icon { transform: none; }
.tile--soon h3 { font-size: 1.4rem; }
.tile--soon .tile__blurb { max-width: none; }
.tile--soon div { margin-inline-end: auto; }
.pill { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px; background: var(--y); color: var(--ink); font-weight: 700; font-size: .9rem; white-space: nowrap; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
  .tile { min-height: 230px; }
  .tile__icon { width: clamp(100px, 10vw, 150px); }
  .tile--1 { grid-column: span 3; grid-row: span 2; min-height: 480px; }
  .tile--1 .tile__icon { width: clamp(220px, 24vw, 340px); }
  .tile--2 { grid-column: span 3; }
  .tile--3 { grid-column: span 3; }
  .tile--4, .tile--5 { grid-column: span 3; }
  .tile--soon, .tile--wide { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .tile { min-height: 196px; padding: 14px; }
  .tile__icon { width: clamp(52px, 14vw, 64px); inset-block-start: 8px; inset-inline-end: 8px; }
  .tile h3 { font-size: 1.2rem; }
  .tile__blurb { font-size: .85rem; line-height: 1.4; }
}

/* ---------- story ---------- */
.story { display: grid; gap: clamp(32px, 5vw, 72px); margin-top: clamp(32px, 4vw, 56px); }
.step { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: start; padding-block: 20px; border-top: 2px solid var(--ink); }
.step__n {
  grid-row: span 2; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%;
  background: var(--y); border: 2px solid var(--ink); font: 800 1.35rem/1 var(--f-display);
}
.step h3 { font-size: clamp(1.4rem, 3vw, 2.1rem); }
.step p { color: var(--muted); grid-column: 2; }
.step__shot { grid-column: 1 / -1; width: min(220px, 60%); margin-top: 14px; }
.story__stage { display: none; }
@media (min-width: 900px) {
  .story { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); align-items: start; }
  .step { min-height: 62vh; align-content: center; }
  .js .story .step { border-top-color: rgba(30, 30, 30, .22); transition: border-color .35s ease; }
  .js .story .step .step__n { background: var(--cream); transition: background-color .35s ease; }
  .js .story .step.is-active { border-top-color: var(--ink); }
  .js .story .step.is-active .step__n { background: var(--y); }
  .step__shot { display: none; }
  .story__stage { display: block; position: sticky; top: calc(var(--header-h) + 24px); height: min(65vh, 520px); }
  .stage__item { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .4s ease; }
  .stage__item.is-on, :root:not(.js) .stage__item:first-child { opacity: 1; }
  .stage__item img { height: 100%; width: auto; max-width: 100%; aspect-ratio: 560 / 1108; object-fit: contain; }
  .stage__item--sloth { align-content: center; gap: 18px; }
  .stage__item--sloth img { height: auto; width: min(70%, 320px); }
}
.bubble { background: var(--ink); color: var(--y); font: 800 1.5rem/1.2 var(--f-display); padding: 12px 22px; border-radius: var(--r-m) var(--r-m) var(--r-m) 4px; }
[dir="rtl"] .bubble { border-radius: var(--r-m) var(--r-m) 4px var(--r-m); }

/* ---------- promises ---------- */
.rows { margin-top: clamp(28px, 4vw, 56px); border-bottom: 2px solid var(--ink); }
.row { display: grid; gap: 8px 40px; padding-block: clamp(22px, 3vw, 40px); border-top: 2px solid var(--ink); }
.row h3 { font-size: clamp(1.6rem, 3.6vw, 2.8rem); }
.row p { color: var(--muted); font-size: 1.125rem; align-self: center; }
@media (min-width: 800px) { .row { grid-template-columns: 1fr 1fr; align-items: center; } }

/* ---------- zones ---------- */
.zones { display: grid; gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (min-width: 900px) { .zones { grid-template-columns: 1fr 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--white); border: 2px solid var(--ink); font-weight: 700; }
.chip--soon { border-style: dashed; border-color: #8A8A8A; color: var(--muted); background: transparent; font-weight: 600; }
.card { background: var(--white); border: 2px solid var(--ink); border-radius: var(--r-l); padding: clamp(22px, 3vw, 36px); }
.card h3 { font-size: 1.6rem; margin-bottom: 4px; }
.card > p { color: var(--muted); }
.field { margin-top: 16px; display: grid; gap: 6px; }
.field label { font-weight: 600; }
.input {
  width: 100%; min-height: 52px; padding: 0 16px; border: 2px solid var(--ink); border-radius: var(--r-s);
  background: var(--white); color: var(--ink); font: 500 1rem var(--f-body);
}
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E1E1E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: left 14px center; padding-inline-end: 42px; padding-inline-start: 16px; }
[dir="rtl"] select.input { background-position: left 14px center; }
[dir="ltr"] select.input { background-position: right 14px center; }
.input[dir="ltr"] { text-align: left; }
.input:focus-visible { outline: 3px solid var(--y); outline-offset: 0; border-color: var(--ink); box-shadow: 0 0 0 5px var(--ink); }
.form-msg { min-height: 1.6em; margin-top: 12px; font-weight: 600; }
.form-msg[data-state="error"] { color: #B3261E; }
.form-msg[data-state="ok"] { color: #137A3A; }
.card .btn { margin-top: 18px; width: 100%; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- partners (home) ---------- */
.split { display: grid; gap: 16px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 24px; } .panel { min-height: 540px; } }
.panel { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); padding: clamp(28px, 4vw, 56px); min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end; gap: 20px; }
.panel h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 10ch; }
.panel p { max-width: 26ch; font-size: 1.15rem; }
.panel .btn { align-self: flex-start; }
.panel__icon { position: absolute; inset-block-start: 24px; inset-inline-end: 24px; width: clamp(110px, 15vw, 190px); z-index: -1; }
.panel--ink { background: var(--ink); color: var(--white); }
.panel--ink p { color: #D6D6D6; }
.panel--yellow { background: var(--y); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: clamp(24px, 4vw, 64px); }
@media (min-width: 900px) { .faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.faq details { border-top: 2px solid var(--ink); }
.faq details:last-child { border-bottom: 2px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font: 700 clamp(1.15rem, 2.2vw, 1.45rem)/1.4 var(--f-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--y); font: 800 1.4rem/1 var(--f-body); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 24px; color: var(--muted); font-size: 1.1rem; }
.faq details a { font-weight: 600; }

/* ---------- closing call to action ---------- */
.closer { position: relative; z-index: 1; background: var(--y); padding-top: var(--section); padding-bottom: var(--section); }
.closer__title { font-size: clamp(2.6rem, 9vw, 6.4rem); line-height: 1.05; max-width: 12ch; }
.closer .store-btns { margin-top: clamp(24px, 3.4vw, 40px); }
.closer__sloth { position: absolute; z-index: -1; inset-inline-end: clamp(8px, 6vw, 120px); bottom: 0; width: clamp(130px, 18vw, 240px); }

/* ---------- footer ---------- */
.site-footer { position: relative; z-index: 2; background: var(--ink); color: var(--white); padding-block: clamp(40px, 6vw, 72px) 28px; }
.site-footer__top { display: grid; gap: 32px; }
.site-footer__brand img { width: 120px; }
.site-footer__brand p { margin: 14px 0 22px; color: #D6D6D6; font-weight: 500; }
.site-footer__col { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.site-footer h2 { font-size: 1.1rem; color: var(--y); margin-bottom: 6px; }
.site-footer__col a { display: inline-flex; align-items: center; color: #E4E4E4; text-decoration: none; padding: 6px 0; min-height: 44px; }
.site-footer__col a[dir="ltr"] { justify-content: flex-start; }
.site-footer__col a:hover { color: var(--y); text-decoration: underline; }
.social { display: flex; gap: 10px; margin-top: 10px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 2px solid #4A4A4A; padding: 0; }
.social a:hover { border-color: var(--y); }
.site-footer__legal { max-width: none; margin-top: 40px; padding-top: 20px; border-top: 1px solid #3A3A3A; color: #A8A8A8; font-size: .9rem; }
@media (min-width: 800px) { .site-footer__top { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }

/* ---------- phone download bar ---------- */
.dock {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 40; background: var(--y); border-top: 2px solid var(--ink);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .3s ease;
}
.dock.is-on { transform: none; }
.dock .btn { width: 100%; }
@media (min-width: 900px) { .dock { display: none; } }

/* ---------- partner pages (stores, drivers) ---------- */
.sub-hero { padding-top: clamp(32px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 88px); }
.sub-hero--ink { background: var(--ink); color: var(--white); }
.sub-hero--yellow { background: var(--y); }
.sub-hero__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .sub-hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); } }
.sub-hero h1 { font-size: clamp(2.7rem, 8vw, 5.6rem); line-height: 1.05; max-width: 13ch; }
.sub-hero p { margin-top: 18px; font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 34ch; font-weight: 500; }
.sub-hero--ink p { color: #D6D6D6; }
.sub-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.sub-hero--ink .btn--line { border-color: var(--white); color: var(--white); }
.sub-hero--ink .btn--line:hover { background: var(--white); color: var(--ink); }
.sub-hero__shot { justify-self: center; width: min(70vw, 280px); }
.sub-hero__shot img { filter: drop-shadow(0 24px 36px rgba(0, 0, 0, .3)); }
.sub-hero__art { justify-self: center; width: min(60vw, 340px); }
.need { margin-top: clamp(28px, 4vw, 48px); display: grid; gap: 12px; }
@media (min-width: 800px) { .need { grid-template-columns: repeat(3, 1fr); } }
.need li { list-style: none; display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border: 2px solid var(--ink); border-radius: var(--r-m); background: var(--white); font-weight: 600; }
.need li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 4px; border-radius: 50%; background: var(--y) center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E1E1E' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); border: 2px solid var(--ink); }
.steps3 { margin-top: clamp(28px, 4vw, 56px); display: grid; gap: 0; }
@media (min-width: 800px) { .steps3 { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.steps3 .step { min-height: 0; }
.need-title { margin-top: clamp(32px, 5vw, 64px); font-size: 1.6rem; }
.note { margin-top: 20px; color: var(--muted); font-size: .975rem; }

/* ---------- legal pages ---------- */
.legal { max-width: 780px; margin-inline: auto; padding: clamp(32px, 6vw, 72px) var(--gutter) 88px; }
.legal h1, .legal .legal-title { font-size: clamp(2.1rem, 5vw, 3.2rem); margin-bottom: 12px; }
.legal h2 { font-size: 1.55rem; margin: 40px 0 8px; }
.legal h3 { font-size: 1.2rem; margin: 24px 0 6px; }
.legal p, .legal li { max-width: none; }
.legal ol, .legal ul { padding-inline-start: 1.4rem; }
.legal li { margin: 6px 0; }
.legal a { color: var(--y-text); font-weight: 600; }
.legal .note-box { background: var(--y-soft); border-radius: var(--r-s); padding: 12px 18px; margin: 12px 0; color: var(--ink); }
.legal hr { border: 0; border-top: 2px solid var(--ink); margin: 56px 0; }
.legal .en { direction: ltr; text-align: left; }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
