/* Bitikka Store home page. Bitikka's colours and type, told the way Apple tells a
   product: one idea per screen, large words, the real product in the middle. */
:root {
  --yellow: #FFD600;
  --yellow-dark: #F5B800;
  --yellow-light: #FFE24D;
  --ink: #0D0D0D;
  --charcoal: #2A2A2A;
  --white: #FFFFFF;
  --soft: #F7F5EE;
  --soft-2: #EFEDE4;
  --muted: #5C5A53;
  --on-ink: #F7F5EE;
  --on-ink-muted: #A6A398;
  --line: rgba(13, 13, 13, .1);
  --green: #16A34A;
  --red: #DC2626;
  --orange: #F5B800;

  --font: 'IBM Plex Sans Arabic', 'Inter', -apple-system, system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: 20px;
  --section: 84px;
  --nav-h: 56px;
  --phone-w: 248px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
h1, h2, h3, h4, p, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--yellow-dark); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - var(--gutter) * 2, 1120px); margin-inline: auto; }
.ic { width: 1.35em; height: 1.35em; fill: currentColor; flex: none; display: block; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-size: 1.0625rem; font-weight: 600; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s ease, box-shadow .25s ease;
}
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .9375rem; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--yellow-light); box-shadow: 0 10px 30px -10px rgba(245, 184, 0, .75); }
.btn-quiet { background: rgba(13, 13, 13, .06); }
.btn-quiet:hover { background: rgba(13, 13, 13, .1); }
.btn-outline-light { box-shadow: inset 0 0 0 1.5px rgba(247, 245, 238, .35); color: var(--on-ink); }
.btn-outline-light:hover { background: rgba(247, 245, 238, .1); }

/* ── Nav ── */
#nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  transition: box-shadow .25s ease;
}
#nav.scrolled { box-shadow: 0 .5px 0 var(--line); }
.nav-inner { display: flex; align-items: center; gap: 12px; width: min(100% - var(--gutter) * 2, 1120px); min-height: var(--nav-h); margin-inline: auto; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 1.0625rem; direction: ltr; white-space: nowrap; }
.logo b { font-weight: 800; }
.logo img { border-radius: 8px; }
.nav-links { display: none; }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
#lang-toggle { min-width: 40px; min-height: 38px; font-family: 'Inter', sans-serif; font-size: .8125rem; font-weight: 600; border-radius: 999px; color: var(--muted); }
#lang-toggle:hover { background: rgba(13, 13, 13, .06); }
#nav-burger { display: grid; gap: 6px; place-content: center; width: 40px; height: 40px; }
#nav-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease); }
#nav.open #nav-burger span:first-child { transform: translateY(4px) rotate(45deg); }
#nav.open #nav-burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
#nav.open .nav-links {
  display: flex; flex-direction: column;
  position: absolute; top: 100%; inset-inline: 0;
  padding: 8px var(--gutter) 20px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 20px 40px -20px rgba(13, 13, 13, .25);
}
#nav.open .nav-links a { padding: 13px 0; font-size: 1.25rem; font-weight: 600; border-bottom: .5px solid var(--line); }
#nav.open .nav-links a:last-child { border-bottom: 0; }

@media (max-width: 419px) { .nav-actions .btn-sm { display: none; } }

/* ── Devices ── */
.phone {
  position: relative; width: var(--phone-w); padding: 7px;
  border-radius: 40px; background: #0D0D0D;
  box-shadow: 0 30px 60px -22px rgba(13, 13, 13, .45);
}
.phone img { width: 100%; height: auto; aspect-ratio: 375 / 812; object-fit: cover; border-radius: 33px; background: var(--soft); }

/* ── Opening ── */
.hero { padding-top: 40px; text-align: center; overflow: clip; }
.hero-title { font-size: clamp(2.875rem, 13vw, 6.25rem); line-height: 1.12; font-weight: 700; letter-spacing: -.01em; }
.hero-title > span { display: inline-block; }
.snap {
  display: inline-block; padding: 0 .28em .05em; margin-inline-start: .08em;
  background: linear-gradient(160deg, var(--yellow-light), var(--yellow-dark));
  border-radius: .24em; transform: rotate(-2deg);
}
[dir="ltr"] .hero-title { letter-spacing: -.035em; }
.hero-lead { margin: 20px auto 0; max-width: 34ch; font-size: clamp(1.125rem, 2.6vw, 1.4375rem); line-height: 1.55; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }

.hero-stage { position: relative; display: flex; justify-content: center; margin-top: 44px; height: 440px; }
.hero-blob {
  position: absolute; bottom: -80px; left: 50%; width: min(150vw, 1100px); aspect-ratio: 1.5;
  margin-left: calc(min(150vw, 1100px) / -2);
  border-radius: 46% 54% 0 0 / 60% 60% 0 0;
  background: linear-gradient(165deg, var(--yellow-light), var(--yellow) 45%, var(--yellow-dark));
}
.hero-stage .phone { position: absolute; top: 0; }
.hero-phone-a { z-index: 2; transform: translateX(calc(var(--phone-w) * .24)); }
.hero-phone-b { z-index: 1; transform: translateX(calc(var(--phone-w) * -.24)) translateY(44px) scale(.92); }
.push {
  position: absolute; z-index: 3; top: 100px; left: 50%; margin-left: -160px; width: 320px; max-width: calc(100vw - 32px);
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border-radius: 22px; text-align: start; line-height: 1.35;
  background: #FFFFFF;
  box-shadow: 0 16px 40px -14px rgba(13, 13, 13, .4), 0 0 0 .5px rgba(13, 13, 13, .06);
}
.push-icon img { border-radius: 9px; }
.push-text { display: flex; flex-direction: column; min-width: 0; }
.push-text b { font-size: .9375rem; font-weight: 600; }
.push-text small { font-size: .8125rem; color: var(--charcoal); }
html.js .push { animation: pushDrop 1.1s var(--ease) 1s both; }
@keyframes pushDrop { from { opacity: 0; transform: translateY(-22px) scale(.96); } }

/* ── Statement ── */
.statement { background: var(--ink); padding-block: calc(var(--section) + 20px); }
.lit { font-size: clamp(1.75rem, 6.4vw, 3.5rem); line-height: 1.32; font-weight: 600; color: var(--on-ink); max-width: 22em; }
.lit .w { color: rgba(247, 245, 238, .22); }
.lit .w.on { color: var(--on-ink); }

/* ── Chapters ── */
.chapter { padding-block: var(--section); }
.chapter-ink { background: var(--ink); color: var(--on-ink); overflow: clip; }
.chapter-soft { background: var(--soft); }
.chapter-head { margin-bottom: 44px; }
.kicker { margin-bottom: 8px; font-size: 1.0625rem; font-weight: 600; color: #8A6500; }
.chapter-ink .kicker { color: var(--yellow); }
.display { font-size: clamp(2.375rem, 9vw, 4.5rem); line-height: 1.16; font-weight: 700; }
[dir="ltr"] .display { letter-spacing: -.03em; }
.lead { margin-top: 14px; max-width: 34em; font-size: clamp(1.125rem, 2.4vw, 1.375rem); line-height: 1.6; color: var(--muted); }
.chapter-ink .lead { color: var(--on-ink-muted); }

/* A row of phones you can swipe. */
.rail {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 10px max(var(--gutter), calc((100vw - 1120px) / 2)) 44px;
}
.rail::-webkit-scrollbar { display: none; }
.rail-item { flex: none; scroll-snap-align: center; width: var(--phone-w); }
.rail-item figcaption { padding: 18px 4px 0; line-height: 1.5; }
.rail-item figcaption b { display: block; font-size: 1.125rem; font-weight: 600; }
.rail-item figcaption span { display: block; margin-top: 2px; font-size: .9375rem; color: var(--muted); }

.facts { display: grid; gap: 26px; margin-top: 10px; padding-top: 34px; border-top: .5px solid var(--line); }
.fact .ic { width: 30px; height: 30px; margin-bottom: 10px; }
.fact b { display: block; font-size: 1.1875rem; font-weight: 600; }
.fact p { margin-top: 3px; color: var(--muted); font-size: 1rem; line-height: 1.55; }

/* Three phones, the middle one forward. */
.trio { display: flex; justify-content: center; align-items: flex-start; gap: 0; height: 500px; }
.trio .phone { flex: none; }
.phone-center { z-index: 2; }
.phone-side { margin-top: 60px; transform: scale(.88); opacity: .75; box-shadow: none; }
.trio .phone-side:first-child { margin-inline-end: -150px; }
.trio .phone-side:last-child { margin-inline-start: -150px; }

/* ── Bento ── */
.bento { display: grid; gap: 14px; }
.tile {
  display: flex; flex-direction: column; gap: 10px;
  padding: 28px 26px; border-radius: 30px; background: var(--soft); overflow: hidden; min-width: 0;
}
.tile h3 { font-size: clamp(1.5rem, 4vw, 1.875rem); line-height: 1.22; font-weight: 700; }
.tile p { color: var(--muted); font-size: 1.0625rem; line-height: 1.55; }
.tile-ink { background: var(--ink); color: var(--on-ink); }
.tile-ink p { color: var(--on-ink-muted); }
.tile-yellow { background: linear-gradient(160deg, var(--yellow-light), var(--yellow) 60%); }
.tile-yellow p { color: var(--charcoal); }
.tile-text { display: flex; flex-direction: column; gap: 10px; }
.zero { font-family: 'Inter', sans-serif; font-size: clamp(5.5rem, 22vw, 8rem); line-height: .95; font-weight: 800; letter-spacing: -.05em; direction: ltr; text-align: start; }
[dir="rtl"] .zero { text-align: end; }
.zero small { font-size: .55em; font-weight: 700; margin-inline-start: .04em; }

.mini-track { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 18px; }
.mini-track li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .8125rem; color: var(--on-ink-muted); }
.mini-track li::before { content: ''; position: absolute; top: 6px; inset-inline-start: 50%; width: 100%; height: 2px; background: rgba(247, 245, 238, .18); }
.mini-track li:last-child::before { display: none; }
.mini-track li.on::before { background: var(--yellow); }
.mini-track i { position: relative; z-index: 1; width: 14px; height: 14px; border-radius: 50%; background: #3A3A38; }
.mini-track li.on i, .mini-track li.now i { background: var(--yellow); }
.mini-track li.on, .mini-track li.now { color: var(--on-ink); }
.mini-track li.now i { box-shadow: 0 0 0 5px rgba(255, 214, 0, .25); }

.mini-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.mini-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 20px; background: rgba(13, 13, 13, .07); color: var(--red); font-size: .9375rem; font-weight: 600; }
.mini-btn-on { background: var(--ink); color: var(--on-ink); }

.mini-stock { margin-top: 14px; border-radius: 16px; background: var(--white); padding: 2px 14px; }
.mini-stock div { display: flex; align-items: center; gap: 8px; min-height: 42px; font-weight: 500; direction: ltr; }
.mini-stock div + div { border-top: .5px solid var(--line); }
.mini-stock span { flex: 1; }
.mini-stock em { width: 8px; height: 8px; border-radius: 50%; }
.mini-stock b { min-width: 24px; text-align: end; font-family: 'Inter', sans-serif; font-weight: 700; }
.dot-ok { background: var(--green); } .dot-low { background: var(--orange); } .dot-out { background: var(--red); }

.mini-pass { margin-top: 14px; padding: 14px 16px; border-radius: 18px; background: var(--white); direction: ltr; }
.mini-pass b { display: block; font-family: 'Inter', sans-serif; font-size: 2.25rem; line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.mini-pass small { font-size: .55em; }
.mini-pass code { display: block; margin-top: 10px; padding-top: 10px; border-top: 1.5px dashed rgba(13, 13, 13, .2); font: 600 .9375rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .05em; }

.mini-rows { margin-top: 14px; border-radius: 16px; background: var(--white); padding: 2px 14px; }
.mini-rows li { display: flex; justify-content: space-between; align-items: center; min-height: 44px; font-weight: 500; }
.mini-rows li + li { border-top: .5px solid var(--line); }
.mini-rows b { font-weight: 600; color: var(--muted); }

.tile-split { padding-bottom: 0; }
.tile-phone { --phone-w: 230px; margin: 16px auto -150px; box-shadow: 0 30px 60px -22px rgba(13, 13, 13, .35); }

/* ── Steps ── */
.steps { display: grid; gap: 28px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; }
.num { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--yellow); font-family: 'Inter', sans-serif; font-weight: 700; }
.steps b { font-size: 1.25rem; font-weight: 600; line-height: 1.5; }
.steps p { color: var(--muted); line-height: 1.55; }
.fits { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 44px; }
.fits span { padding: 7px 16px; border-radius: 99px; background: var(--white); font-weight: 500; font-size: .9375rem; }

/* ── Questions ── */
.faq { margin-top: 30px; border-top: .5px solid var(--line); }
.faq details { border-bottom: .5px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; font-size: 1.1875rem; font-weight: 600; line-height: 1.4; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font-size: 1.625rem; font-weight: 300; line-height: 1; color: var(--muted); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding-bottom: 22px; max-width: 42em; color: var(--muted); line-height: 1.65; }

/* ── Closing ── */
.closing { background: var(--ink); color: var(--on-ink); padding-block: calc(var(--section) + 24px); text-align: center; }
.closing-title { font-size: clamp(2.25rem, 8.6vw, 4.5rem); line-height: 1.18; font-weight: 700; max-width: 14em; margin-inline: auto; }
.closing p { margin-top: 14px; color: var(--on-ink-muted); font-size: clamp(1.125rem, 2.4vw, 1.3125rem); }

/* ── Footer ── */
.footer { background: var(--soft); padding-block: 26px 28px; font-size: .9375rem; }
.footnote { padding-bottom: 20px; margin-bottom: 26px; border-bottom: .5px solid var(--line); color: var(--muted); font-size: .8125rem; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-grid > div:first-child { grid-column: 1 / -1; }
.footer-about { margin-top: 10px; color: var(--muted); max-width: 32em; }
.footer-col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-col h4 { font-size: .9375rem; font-weight: 600; }
.footer-col a { color: var(--muted); }
.footer-col a:hover, .footer-bottom a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 30px; padding-top: 18px; border-top: .5px solid var(--line); color: var(--muted); font-size: .8125rem; }

/* What is off screen costs nothing to lay out or paint until it is near. */
#features, #how, #faq, .closing, .footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* ── Arrival ── */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
html.js .reveal.visible { opacity: 1; transform: none; }
html.js .phone-side.reveal { transform: translateY(26px) scale(.88); }
html.js .phone-side.reveal.visible { transform: scale(.88); opacity: .75; }

/* ── Larger screens ── */
@media (min-width: 720px) {
  :root { --gutter: 32px; --section: 120px; --phone-w: 280px; }
  .hero { padding-top: 64px; }
  .hero-stage { height: 560px; margin-top: 60px; }
  .push { top: 130px; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .tile { padding: 34px 32px; }
  .tile-wide { grid-column: 1 / -1; }
  .tile-split { flex-direction: row; align-items: center; gap: 32px; padding-block: 34px 0; }
  .tile-split .tile-text { flex: 1; align-self: flex-start; padding-top: 16px; }
  .tile-phone { flex: none; margin: 0 0 -170px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
  .trio { height: 590px; }
  .trio .phone-side:first-child { margin-inline-end: -90px; }
  .trio .phone-side:last-child { margin-inline-start: -90px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
}
@media (min-width: 960px) {
  :root { --phone-w: 300px; --nav-h: 60px; }
  #nav-burger { display: none; }
  .nav-links, #nav.open .nav-links { display: flex; flex-direction: row; gap: 26px; position: static; padding: 0; background: none; box-shadow: none; margin-inline-start: 28px; }
  .nav-links a, #nav.open .nav-links a { padding: 0; border: 0; font-size: .9375rem; font-weight: 500; color: var(--charcoal); }
  .nav-links a:hover { color: var(--ink); }
  .hero-stage { height: 640px; }
  .hero-phone-a { transform: translateX(170px); }
  .hero-phone-b { transform: translateX(-170px) translateY(50px) scale(.95); }
  .push { top: 170px; margin-left: -490px; }
  [dir="ltr"] .push { margin-left: 170px; }
  .rail { justify-content: center; gap: 40px; overflow: visible; }
  .trio { height: 660px; }
  .trio .phone-side { margin-top: 50px; transform: none; opacity: 1; }
  html.js .phone-side.reveal, html.js .phone-side.reveal.visible { opacity: 1; }
  html.js .phone-side.reveal { transform: translateY(26px); }
  html.js .phone-side.reveal.visible { transform: none; }
  .trio .phone-side:first-child { margin-inline-end: 34px; }
  .trio .phone-side:last-child { margin-inline-start: 34px; }
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tile { grid-column: span 2; }
  .tile-ink { grid-column: span 4; justify-content: space-between; }
  .tile-yellow { grid-column: span 2; }
  .tile-wide.tile-split { grid-column: span 4; }
  .bento > .tile:nth-last-child(1), .bento > .tile:nth-last-child(2) { grid-column: span 3; }
  .bento > .tile-split { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps li { grid-template-columns: 1fr; row-gap: 8px; }
  .faq-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; }
  .faq { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .reveal { opacity: 1; transform: none; }
  html.js .phone-side.reveal { transform: scale(.88); opacity: .75; }
  .lit .w { color: var(--on-ink); }
}
@media (prefers-reduced-transparency: reduce) {
  #nav, .push { background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Social icons row (footer and founder links): one round button per platform. */
.social-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.social-row a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0; margin: 0; border-radius: 50%;
  border: 1px solid rgba(127, 127, 127, 0.35); text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.social-row a:hover, .social-row a:focus-visible { background: #FFD600; border-color: #FFD600; color: #0D0D0D; }
.social-row svg { width: 20px; height: 20px; flex: none; }

/* ── Request-a-store form ── */
.req { max-width: 720px; margin: 40px auto 0; padding: 24px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); text-align: start; }
.req h3 { margin: 0 0 16px; font-size: 1.25rem; color: #fff; }
.req-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.req label { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; color: rgba(255,255,255,.85); }
.req input { height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: #fff; font: inherit; }
.req input:focus { outline: 2px solid var(--yellow); outline-offset: 1px; }
.req-trap { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }
.req-note { margin: 14px 0; font-size: .85rem; color: rgba(255,255,255,.7); }
.req-status { min-height: 1.4em; margin: 12px 0 0; font-size: .95rem; }
.req-status.is-ok { color: var(--yellow-light); }
.req-status.is-error { color: #ff9a9a; }
@media (max-width: 640px) { .req-grid { grid-template-columns: 1fr; } .req { padding: 18px; } }
