/* Stdy Store — landing page (v3) */

:root {
  --navy: #091F37;
  --navy-2: #0E2E52;
  --navy-3: #154A7A;
  --navy-deep: #06172A;
  --yellow: #FCAF17;
  --yellow-hover: #FFC23F;
  --ink: #0B1B2E;
  --ink-2: #1C2E44;
  --ink-3: #24364C;
  --muted-on-navy: #C3CEDB;
  --soft-on-navy: #D5DEE9;
  --tint: #F3F6FA;
  --line: #E3E8EE;

  --grad-hero: radial-gradient(circle at 85% 15%, #154A7A 0%, #0E2E52 35%, #091F37 70%);
  --grad-navy: linear-gradient(160deg, #091F37 0%, #0E2E52 60%, #154A7A 100%);
  --grad-border: linear-gradient(135deg, #FCAF17, #154A7A);

  /* Store identity inside device screens only (set by js/main.js). */
  --sc: #5A1A2B;
  --sc-bg: color-mix(in oklab, var(--sc) 4%, white);
  --sc-tile: color-mix(in oklab, var(--sc) 9%, white);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 72px; }
html, body { margin: 0; padding: 0; }
body {
  background: #fff;
  color: var(--ink);
  font-family: 'Tajawal', system-ui, sans-serif;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); }
a:hover { color: #8A5A00; }
button, input { font-family: inherit; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
img { display: block; }
[hidden] { display: none !important; }
/* Region content (js/region.js). No region set = Egypt. */
html[data-region="sa"] [data-only="eg"], html:not([data-region="sa"]) [data-only="sa"] { display: none !important; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 28px; }

@media (max-width: 991px) { .desktop-only { display: none !important; } }
@media (min-width: 992px) { .mobile-only { display: none !important; } }

/* ---------- icons ---------- */
.ic { display: inline-flex; flex-shrink: 0; }
.ic svg { display: block; }
.ic--11 { width: 11px; height: 11px; }
.ic--16 { width: 16px; height: 16px; }
.ic--18 { width: 18px; height: 18px; }
.ic--20 { width: 20px; height: 20px; }
.ic--21 { width: 21px; height: 21px; }
.ic--22 { width: 22px; height: 22px; }
.ic--24 { width: 24px; height: 24px; }
.ic--30 { width: 30px; height: 30px; }

/* ---------- shared ---------- */
.btn {
  border: none; cursor: pointer; font-weight: 800; white-space: nowrap;
  border-radius: 999px; transition: background .2s;
}
.btn--primary { background: var(--yellow); color: var(--navy); }
.btn--primary:hover { background: var(--yellow-hover); }
.btn--header { padding: 12px 26px; font-size: 16px; flex-shrink: 0; }
.btn--hero { padding: 19px 40px; font-size: 19px; box-shadow: 0 14px 34px -12px rgba(252,175,23,.6); }
.btn--submit { position: relative; width: 100%; height: 58px; padding: 0; font-size: 18px; overflow: hidden; transition: background .2s, width .35s cubic-bezier(.4,0,.2,1), color .15s; }
.btn--submit.is-loading { width: 58px; color: transparent; cursor: default; }
.btn--submit.is-loading:hover { background: var(--yellow); }
.btn--submit.is-loading::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 24px; height: 24px;
  border: 3px solid rgba(9,31,55,.25); border-top-color: var(--navy); border-radius: 50%;
  animation: btn-spin .7s linear infinite;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }
.btn--mobilebar { width: 100%; height: 52px; font-size: 17px; }

.text-grad {
  background: linear-gradient(270deg, #FFFFFF 40%, #B8C4D6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.text-grad--30 { background-image: linear-gradient(270deg, #FFFFFF 30%, #B8C4D6); }

/* Gradient border via padding-box/border-box (on light surfaces). */
.grad-border {
  border: 1.5px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad-border) border-box;
}
/* Gradient border via mask (on translucent surfaces). */
.grad-border-mask { position: relative; }
.grad-border-mask::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: var(--grad-border);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.grad-border-mask--1::before { padding: 1px; }

.section-head { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.section-head--center { align-items: center; text-align: center; gap: 16px; max-width: none; }
.h2 { margin: 0; font-size: clamp(32px, 3.8vw, 54px); font-weight: 800; line-height: 1.3; text-wrap: balance; }
.h2--center { margin: 0 auto; text-align: center; }
.lead { margin: 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.75; color: var(--ink-3); }

/* S-curve logo motif (5%) */
.motif { position: absolute; width: 960px; height: 572px; overflow: hidden; opacity: .05; direction: ltr; pointer-events: none; }
.motif img { position: absolute; left: -239px; top: -161px; width: 2683px; max-width: none; }
.motif--hero { left: -180px; bottom: -210px; }
.motif--booking { right: -200px; top: -150px; }

/* ---------- device frames ---------- */
.screen { position: relative; container-type: inline-size; overflow: hidden; background: #fff; }
.screen--laptop { aspect-ratio: 16 / 10; border-radius: 4px; }
.screen--phone { aspect-ratio: 9 / 19.5; }
.screen--browser { aspect-ratio: 16 / 9.4; }
.scr-scale { position: absolute; inset: 0; }
.scr-scale--wide { font-size: calc(100cqw / 60); }
.scr-scale--phone { font-size: calc(100cqw / 20); }
.notch { position: absolute; top: 1.4%; left: 50%; transform: translateX(-50%); width: 32%; height: 3%; border-radius: 20px; background: #0B1626; z-index: 5; }

.laptop__lid { position: relative; background: #0B1626; border-radius: 18px 18px 6px 6px; padding: 2.1% 2.1% 2.6%; border: 1px solid #23344B; box-shadow: 0 50px 90px -40px rgba(0,0,0,.75); }
.laptop__base { position: relative; height: 16px; margin: 0 -7%; background: linear-gradient(180deg, #DCE2E8, #97A3B0); border-radius: 0 0 16px 16px; }
.laptop__base span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 15%; height: 5px; background: #8793A1; border-radius: 0 0 6px 6px; }

.phone { background: #0B1626; }
.phone .screen--phone { background: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9,31,55,.86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header__inner { max-width: 1280px; margin: 0 auto; padding: 0 28px; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-header__logo img { height: 38px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap;
  color: var(--muted-on-navy); background: transparent; transition: color .2s, background .2s;
}
.site-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.site-nav a.is-active { color: var(--yellow); background: rgba(252,175,23,.1); }

/* Mobile menu: hamburger morphs to ×, panel wipes down, links stagger in. */
.nav-toggle {
  position: relative; width: 44px; height: 44px; padding: 0; margin-inline-end: -10px; flex-shrink: 0;
  border: none; border-radius: 12px; background: transparent; cursor: pointer; transition: background .2s;
}
.nav-toggle:hover { background: rgba(255,255,255,.08); }
.nav-toggle span {
  position: absolute; left: 11px; width: 22px; height: 2px; border-radius: 2px; background: #fff;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.is-menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.is-menu-open .nav-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.is-menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu__backdrop {
  position: absolute; top: 100%; right: 0; left: 0; height: 100vh; background: rgba(6,23,42,.6);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s;
}
.is-menu-open .mobile-menu__backdrop { opacity: 1; visibility: visible; transition: opacity .35s, visibility 0s; }

.mobile-menu {
  position: absolute; top: 100%; right: 0; left: 0; display: flex; flex-direction: column; gap: 4px;
  padding: 10px 16px 18px; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.1); border-radius: 0 0 24px 24px;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .26s cubic-bezier(.4,0,1,1), visibility 0s .26s;
}
.is-menu-open .mobile-menu { clip-path: inset(0); visibility: visible; transition: clip-path .45s cubic-bezier(.2,.8,.2,1), visibility 0s; }
.mobile-menu a {
  padding: 14px 16px; border-radius: 14px; font-size: 18px; font-weight: 700; text-decoration: none;
  color: var(--soft-on-navy); opacity: 0; transform: translateY(-12px);
  transition: opacity .15s, transform .15s, color .2s, background .2s;
}
.is-menu-open .mobile-menu a {
  opacity: 1; transform: none;
  transition: opacity .4s calc(70ms + var(--i) * 45ms), transform .45s cubic-bezier(.2,.8,.2,1) calc(70ms + var(--i) * 45ms), color .2s, background .2s;
}
.mobile-menu a:hover { color: #fff; background: rgba(255,255,255,.08); }
.mobile-menu a.is-active { color: var(--yellow); background: rgba(252,175,23,.1); }

/* ---------- 01 hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--grad-hero); color: #fff;
  min-height: calc(100vh - 72px); display: flex; align-items: center;
}
.hero__grid-bg {
  position: absolute; left: 0; right: 0; bottom: 0; height: 62%; perspective: 520px; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%); mask-image: linear-gradient(to top, #000 10%, transparent 85%);
}
.hero__grid-bg > div {
  position: absolute; left: -50%; right: -50%; bottom: 0; height: 200%; transform-origin: 50% 100%; transform: rotateX(64deg);
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 72px 72px;
}
.hero__inner {
  position: relative; width: 100%; max-width: 1280px; margin: 0 auto; padding: 48px 28px 64px;
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(32px, 4.5vw, 72px); align-items: center;
}
.hero__copy { display: flex; flex-direction: column; gap: 26px; }
.hero__title { margin: 0; font-size: clamp(36px, 3.9vw, 58px); font-weight: 800; line-height: 1.3; letter-spacing: -.5px; text-wrap: balance; }
.hero__sub { margin: 0; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.75; color: var(--soft-on-navy); max-width: 520px; text-wrap: pretty; }
.hero__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 6px; }
.hero__risk { font-size: 15px; line-height: 1.7; color: var(--muted-on-navy); }
.hero__visual { display: flex; flex-direction: column; gap: 26px; min-width: 0; }

.personalizer {
  display: flex; flex-direction: column; gap: 14px; padding: 18px 20px; border-radius: 20px;
  background: rgba(255,255,255,.05); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.personalizer__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.personalizer__input {
  flex: 1 1 200px; min-width: 0; height: 48px; border-radius: 12px; border: 1px solid rgba(255,255,255,.22);
  background: rgba(9,31,55,.5); color: #fff; font-size: 17px; font-weight: 700; padding: 0 16px; outline: none;
}
.personalizer__input:focus { border-color: var(--yellow); }
.personalizer__input::placeholder { color: rgba(255,255,255,.55); }
.personalizer__colors { display: flex; align-items: center; gap: 12px; }
.personalizer__label { font-size: 14px; font-weight: 700; color: var(--muted-on-navy); white-space: nowrap; }
.swatches { display: flex; gap: 8px; }
.swatch { width: 28px; height: 28px; border-radius: 50%; border: none; cursor: pointer; padding: 0; transition: box-shadow .25s; box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
.swatch[aria-checked="true"] { box-shadow: 0 0 0 2px #0E2E52, 0 0 0 4px #fff; }

.hero-devices { position: relative; padding: 0 0 7% 9%; }
.hero-devices__glow { position: absolute; inset: -12% -8% -6% -4%; background: radial-gradient(closest-side, rgba(252,175,23,.15), transparent); pointer-events: none; }
.phone--hero { position: absolute; left: 0; bottom: 0; width: 25%; border-radius: 16% / 7.4%; padding: 8px; border: 1px solid #2A3B52; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); }
.phone--hero .screen { border-radius: 12% / 5.5%; }

.coverflow { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.coverflow__stage { position: relative; width: 100%; height: 470px; perspective: 1100px; touch-action: pan-y; }
.coverflow__glow { position: absolute; inset: 6% 6%; background: radial-gradient(closest-side, rgba(252,175,23,.15), transparent); pointer-events: none; }
.coverflow__item {
  position: absolute; top: 0; left: 50%; width: 206px; cursor: pointer;
  transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .55s, opacity .55s;
}
.phone--cf { border-radius: 36px; padding: 8px; border: 1px solid #2A3B52; box-shadow: 0 30px 50px -20px rgba(0,0,0,.8); }
.phone--cf .screen { border-radius: 28px; }
.coverflow__dots { display: flex; gap: 8px; }
.coverflow__dots button { height: 8px; width: 8px; border: none; border-radius: 4px; cursor: pointer; padding: 0; background: rgba(255,255,255,.35); transition: width .3s, background .3s; }
.coverflow__dots button.is-active { width: 24px; background: var(--yellow); }

/* ---------- 02 payments strip ---------- */
.paystrip { background: #fff; padding: 28px 0; }
.paystrip__wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.paystrip__capsule {
  border: 1.5px solid transparent; border-radius: 999px;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #FCAF17, #154A7A) border-box;
  padding: 16px clamp(20px, 3vw, 36px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 36px;
}
.paystrip__methods { flex: 1 1 420px; min-width: 0; display: flex; align-items: center; gap: 18px; color: var(--navy-2); }
.paystrip__label { flex-shrink: 0; }
.paystrip__marquee {
  flex: 1; min-width: 0; overflow: hidden; direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent);
}
.paystrip__track { display: flex; width: max-content; animation: paystrip-scroll 26s linear infinite; }
.paystrip__marquee:hover .paystrip__track { animation-play-state: paused; }
.paystrip__set { display: flex; align-items: center; gap: 34px; padding-right: 34px; flex-shrink: 0; }
.paystrip__set .pm { flex-shrink: 0; white-space: nowrap; }
@keyframes paystrip-scroll { to { transform: translateX(-50%); } }
.paystrip__label { font-size: 15px; font-weight: 700; color: var(--ink-3); }
.pm { display: flex; align-items: center; direction: ltr; font-family: system-ui, sans-serif; }
.pm--mada { gap: 6px; font-size: 21px; font-weight: 800; letter-spacing: -.5px; }
.pm-mada__bars { display: flex; flex-direction: column; gap: 3px; }
.pm-mada__bars span { width: 18px; height: 4px; border-radius: 2px; background: var(--navy-2); }
.pm-mada__bars span + span { opacity: .55; }
.pm--apple { gap: 4px; font-size: 20px; font-weight: 600; letter-spacing: -.3px; }
.pm-apple__logo { width: 15px; height: 17px; border-radius: 50% 50% 45% 45%; background: var(--navy-2); position: relative; }
.pm-apple__logo span { position: absolute; top: -6px; left: 7px; width: 6px; height: 7px; border-radius: 0 80% 0 80%; background: var(--navy-2); }
.pm--stc { gap: 5px; }
.pm-stc__a { font-size: 20px; font-weight: 900; letter-spacing: -1px; }
.pm-stc__b { font-size: 18px; font-weight: 500; }
.pm--tabby { font-size: 20px; font-weight: 800; letter-spacing: -.6px; border: 2px solid var(--navy-2); border-radius: 9px; padding: 0 8px 2px; line-height: 1.2; }
.pm--tamara { font-family: Georgia, serif; font-size: 21px; font-weight: 700; font-style: italic; letter-spacing: -.3px; }
.pm--paymob { font-size: 21px; font-weight: 800; letter-spacing: -.8px; }
.pm--kashier { font-size: 21px; font-weight: 700; letter-spacing: -.4px; }
.pm--cod { direction: rtl; font-family: inherit; gap: 8px; font-size: 15px; font-weight: 700; }
.paystrip__compliance { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; color: var(--navy-2); line-height: 1.5; }
.paystrip__qr { width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; border: 1.5px solid var(--navy-2); display: flex; align-items: center; justify-content: center; }

/* ---------- 03 journey ---------- */
.journey { background: var(--tint); padding: clamp(72px, 9vw, 140px) 0 clamp(72px, 8vw, 120px); }
.journey__desk { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 72px; margin-top: 24px; }
.journey__steps { position: relative; padding: 6vh 0 4vh; }
.journey__track, .journey__fill { position: absolute; right: 25px; top: 0; width: 2px; }
.journey__track { bottom: 0; background: #D6DEE7; }
.journey__fill { height: 0; background: var(--yellow); }
.jstep { position: relative; display: flex; gap: 26px; padding: 15vh 0; opacity: .4; transition: opacity .35s ease; }
.jstep__n {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; background: #fff; color: #3A4A5E; border: 2px solid #C9D3DE;
  transition: background .35s, color .35s, border-color .35s;
}
.jstep.is-active { opacity: 1; }
.jstep.is-active .jstep__n { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }
.jstep__body { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.jstep__body h3 { margin: 0; font-size: 30px; font-weight: 800; line-height: 1.35; }
.jstep__body p { margin: 0; font-size: 19px; line-height: 1.75; color: var(--ink-2); max-width: 440px; }
.journey__closing {
  position: relative; display: flex; align-items: center; gap: 14px; margin-right: 78px; padding: 18px 22px; border-radius: 14px;
  font-size: 18px; font-weight: 700; line-height: 1.6;
}
.journey__closing .ic { color: var(--navy-2); }
.journey__closing--mob { margin-right: 0; gap: 12px; padding: 16px 18px; font-size: 17px; }

.journey__sticky { position: sticky; top: calc(50vh - 250px); height: 560px; display: flex; align-items: center; justify-content: center; }
.journey__phone, .journey__laptop { position: absolute; transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.journey__phone { width: 262px; }
.journey__laptop { width: 100%; opacity: 0; transform: scale(.8); }
.journey__sticky.is-laptop .journey__phone { opacity: 0; transform: scale(.85); }
.journey__sticky.is-laptop .journey__laptop { opacity: 1; transform: scale(1); }
.phone--journey { border-radius: 42px; padding: 10px; border: 1px solid #2A3B52; box-shadow: 0 40px 80px -30px rgba(9,31,55,.55); }
.phone--journey .screen { border-radius: 33px; }
.laptop--journey .laptop__lid { border-radius: 16px 16px 6px 6px; padding: 2.2% 2.2% 2.7%; box-shadow: 0 40px 80px -36px rgba(9,31,55,.55); }
.laptop--journey .laptop__base { height: 14px; margin: 0 -6%; border-radius: 0 0 14px 14px; }
.jlayer { position: absolute; inset: 0; opacity: 0; transition: opacity .4s ease; }
.jlayer.is-on { opacity: 1; }

.journey__mob { display: flex; flex-direction: column; gap: 56px; margin-top: 44px; }
.mstep { display: flex; flex-direction: column; gap: 22px; }
.mstep__phone { display: flex; justify-content: center; }
.phone--mstep { width: 210px; border-radius: 34px; padding: 8px; box-shadow: 0 30px 50px -26px rgba(9,31,55,.55); }
.phone--mstep .screen { border-radius: 27px; }
.mstep__laptop { padding: 0 4%; }
.laptop--mstep .laptop__lid { border: none; box-shadow: none; border-radius: 12px 12px 4px 4px; padding: 2.4%; }
.laptop--mstep .screen { border-radius: 3px; }
.laptop--mstep .laptop__base { height: 9px; margin: 0 -5%; border-radius: 0 0 10px 10px; }
.mstep__text { display: flex; gap: 16px; align-items: flex-start; }
.mstep__n { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; background: var(--yellow); color: var(--navy); font-size: 18px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.mstep__text > div { display: flex; flex-direction: column; gap: 6px; }
.mstep__text h3 { margin: 0; font-size: 23px; font-weight: 800; line-height: 1.4; }
.mstep__text p { margin: 0; font-size: 17px; line-height: 1.75; color: var(--ink-2); }

/* ---------- 04 launch / bento ---------- */
.launch { background: #fff; padding: clamp(72px, 9vw, 140px) 0; }
.launch__inner { display: flex; flex-direction: column; gap: clamp(36px, 4vw, 60px); }
.bento {
  display: grid; gap: 16px;
  grid-template-columns: repeat(4, minmax(0,1fr));
  grid-template-areas: "web web apps s1" "web web apps s2" "s3 s4 dash dash" "s5 sup dash dash";
  grid-auto-rows: minmax(230px, auto);
}
.tile { border-radius: 24px; display: flex; flex-direction: column; overflow: hidden; }
.tile--big { border-width: 1px; padding: clamp(22px, 2.6vw, 34px); gap: 22px; }
.tile--web { grid-area: web; }
.tile--apps { grid-area: apps; padding: clamp(22px, 2.6vw, 30px); gap: 20px; }
.tile--dash { grid-area: dash; }
.tile__head { display: flex; flex-direction: column; gap: 8px; }
.tile__title { margin: 0; font-size: clamp(22px, 2vw, 28px); font-weight: 800; line-height: 1.35; }
.tile__title--sm { font-size: clamp(21px, 1.8vw, 25px); line-height: 1.4; }
.tile__text { margin: 0; font-size: 17px; line-height: 1.7; color: var(--ink-3); }
.tile__text--sm { font-size: 16px; }
.browser { margin-top: auto; border-radius: 14px; overflow: hidden; border: 1px solid #DCE3EA; box-shadow: 0 30px 60px -36px rgba(9,31,55,.45); }
.browser__bar { height: 34px; background: #F1F4F8; display: flex; align-items: center; gap: 12px; padding: 0 14px; border-bottom: 1px solid #E3E8EE; }
.browser__dots { display: flex; gap: 6px; direction: ltr; }
.browser__dots span { width: 9px; height: 9px; border-radius: 50%; background: #D3DAE2; }
.browser__url { flex: 1; max-width: 280px; margin: 0 auto; height: 22px; border-radius: 6px; background: #fff; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: #3A4A5E; direction: ltr; }
.tile-apps__phones { margin-top: auto; display: flex; justify-content: center; gap: 12px; align-items: flex-end; }
.phone--mini { width: 46%; max-width: 150px; border-radius: 24px; padding: 5px; }
.phone--mini .screen { border-radius: 19px; }
.phone--mini-low { transform: translateY(10px); }
.store-badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; direction: ltr; }
.store-badge { height: 38px; padding: 0 11px; border-radius: 9px; background: #000; color: #fff; display: flex; flex-direction: column; justify-content: center; font-family: system-ui, sans-serif; white-space: nowrap; }
.store-badge span:first-child { font-size: 8px; line-height: 1.2; }
.store-badge span:last-child { font-size: 13px; font-weight: 600; line-height: 1.15; }

.tile--small {
  padding: clamp(20px, 2.2vw, 28px); gap: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  transition: border-color .2s;
}
.tile--small:hover { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad-border) border-box; }
.tile--small .ic { color: var(--navy-2); }
.tile--small h3 { margin: auto 0 0; font-size: 19px; font-weight: 800; line-height: 1.4; }
.tile--small p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ink-3); }
.tile--support, .tile--support:hover { border-color: transparent; background: var(--grad-navy); color: #fff; }
.tile--support:hover { border-color: var(--yellow); }
.tile--support .ic { color: var(--yellow); }
.tile--support p { color: var(--soft-on-navy); }

.launch__link { display: flex; justify-content: center; }
.text-link {
  display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; color: var(--navy-2);
  text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 8px;
}
.text-link:hover { color: var(--navy); }

/* ---------- 05 who ---------- */
.who { background: var(--grad-navy); color: #fff; padding: clamp(72px, 9vw, 140px) 0; }
.who__inner { display: flex; flex-direction: column; gap: clamp(44px, 5vw, 72px); }
.who__statements { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
.who__item { padding: 8px 40px; display: flex; flex-direction: column; gap: 14px; }
.who__item + .who__item { border-right: 1px solid rgba(255,255,255,.18); }
.who__item h3 { margin: 0; font-size: clamp(26px, 2.5vw, 36px); font-weight: 800; line-height: 1.3; }
.who__item p { margin: 0; font-size: 18px; line-height: 1.75; color: var(--soft-on-navy); text-wrap: pretty; }
.chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -28px; padding: 4px 28px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; display: flex; align-items: center; gap: 9px; border-radius: 999px; padding: 11px 18px; font-size: 16px; font-weight: 500; white-space: nowrap; color: #fff; }
.chip .ic { color: var(--yellow); }

/* ---------- 06 start ---------- */
.start { background: #fff; padding: clamp(72px, 9vw, 140px) 0; }
.start__inner { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.step { position: relative; min-height: 270px; }
.step__border { position: absolute; inset: 0; border-radius: 22px; background: var(--grad-border); clip-path: polygon(0 0, calc(100% - 104px) 0, calc(100% - 78px) 70px, 100% 70px, 100% 100%, 0 100%); }
.step__fill { position: absolute; inset: 1.5px; border-radius: 21px; background: #fff; clip-path: polygon(0 0, calc(100% - 103.4px) 0, calc(100% - 77.4px) 68.5px, 100% 68.5px, 100% 100%, 0 100%); }
.step__body { position: relative; min-height: 270px; padding: 96px 26px 28px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.step__body h3 { margin: 0; font-size: 23px; font-weight: 800; line-height: 1.4; }
.step__body p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.step__n { position: absolute; top: -4px; right: 0; width: 78px; height: 70px; display: flex; align-items: center; justify-content: center; font-size: 60px; font-weight: 800; line-height: 1; color: var(--yellow); font-variant-numeric: tabular-nums; }

/* ---------- 07 faq ---------- */
.faq { background: var(--tint); padding: clamp(72px, 9vw, 140px) 0; }
.faq__inner { max-width: 780px; margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; gap: 40px; }
.h2--faq { font-size: clamp(32px, 3.6vw, 48px); text-align: center; }
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq__item { border-radius: 16px; border: 1.5px solid var(--line); background: #fff; }
.faq__item.is-open { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad-border) border-box; }
.faq__q {
  width: 100%; background: none; border: none; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  text-align: right; font-size: 19px; font-weight: 700; line-height: 1.55; color: var(--ink); cursor: pointer; border-radius: 16px;
}
.faq__icon { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: #EEF2F6; display: flex; align-items: center; justify-content: center; color: var(--navy); }
.faq__item.is-open .faq__icon { background: var(--yellow); }
.faq__a p { margin: 0; padding: 0 24px 24px; font-size: 17px; line-height: 1.8; color: var(--ink-2); text-wrap: pretty; }

/* ---------- 08 booking ---------- */
.booking { position: relative; overflow: hidden; background: var(--grad-navy); color: #fff; padding: clamp(72px, 9vw, 140px) 0; }
.booking__inner {
  position: relative; max-width: 1280px; margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,560px); gap: clamp(40px, 6vw, 96px); align-items: center;
}
.booking__copy { display: flex; flex-direction: column; gap: 20px; }
.booking__title { margin: 0; font-size: clamp(34px, 4.2vw, 60px); font-weight: 800; line-height: 1.25; text-wrap: balance; }
.booking__sub { margin: 0; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.75; color: var(--soft-on-navy); max-width: 460px; }

.form {
  border-width: 2px; color: var(--ink); border-radius: 24px; padding: clamp(24px, 3.4vw, 44px);
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.6); display: flex; flex-direction: column; gap: 22px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--seg { gap: 10px; }
.field__label { font-size: 15px; font-weight: 700; }
.field__input {
  height: 54px; border: 1.5px solid #CBD5E0; border-radius: 12px; padding: 0 16px; font-size: 17px; color: var(--ink); background: #fff; outline: none;
}
.field__input:focus { border-color: var(--navy); }
.field__input::placeholder { color: #7A8899; }
/* Phone: country picker + national number in one box. */
.phone-field {
  position: relative; display: flex; height: 54px; border: 1.5px solid #CBD5E0; border-radius: 12px; background: #fff;
  transition: border-color .2s, background .2s;
}
.phone-field:focus-within { border-color: var(--navy); }
.phone-field.is-invalid { border-color: #C4321F; background: #FFF6F5; }
.phone-field.is-invalid:focus-within { border-color: var(--navy); }
.phone-field__code {
  flex-shrink: 0; display: flex; align-items: center; gap: 8px; padding: 0 14px; cursor: pointer;
  border: none; border-left: 1.5px solid #CBD5E0; border-radius: 0 10px 10px 0; background: #F3F6FA;
  font-size: 16px; font-weight: 700; color: var(--ink); transition: background .2s;
}
.phone-field__code:hover { background: #E9EEF4; }
.phone-field__code:focus-visible { outline-offset: -2px; }
.phone-field bdi { direction: ltr; unicode-bidi: isolate; }
.phone-field__chev { transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.is-open .phone-field__chev { transform: rotate(180deg); }
.phone-field__input {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent; padding: 0 16px;
  font-size: 17px; letter-spacing: .5px; color: var(--ink); direction: ltr; text-align: right;
}
.phone-field__input:focus-visible { outline: none; }
.phone-field__input::placeholder { color: #7A8899; }
.phone-field__list {
  position: absolute; top: calc(100% + 8px); right: -1.5px; z-index: 5; min-width: 230px; max-height: 264px; overflow-y: auto;
  margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid #DCE3EA; border-radius: 14px;
  box-shadow: 0 18px 40px -16px rgba(9,31,55,.35);
  opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: top right; visibility: hidden;
  transition: opacity .16s, transform .16s, visibility 0s .16s;
}
.is-open .phone-field__list { opacity: 1; transform: none; visibility: visible; transition: opacity .22s, transform .28s cubic-bezier(.2,.8,.2,1), visibility 0s; }
.phone-field__list li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 12px; border-radius: 9px;
  font-size: 16px; font-weight: 700; color: var(--ink); cursor: pointer;
}
.phone-field__list li bdi { font-weight: 500; color: var(--ink-3); }
.phone-field__list li.is-active { background: #F3F6FA; }
.phone-field__list li[aria-selected="true"] { background: rgba(252,175,23,.16); }
.field__error { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; line-height: 1.6; color: #B42318; }
.seg { display: flex; padding: 4px; gap: 4px; border-radius: 14px; background: #EEF2F6; }
.seg button {
  flex: 1; min-height: 46px; padding: 8px 6px; border: none; border-radius: 10px; font-size: 15px; font-weight: 700; line-height: 1.35;
  cursor: pointer; transition: background .2s; background: transparent; color: var(--ink-2);
}
.seg button[aria-checked="true"] { background: var(--navy); color: #fff; box-shadow: 0 4px 12px -4px rgba(9,31,55,.4); }
.form__submit { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 6px; }
.form__note { font-size: 14px; color: #3A4A5E; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: #fff; }
.site-footer__inner { max-width: 1280px; margin: 0 auto; padding: 56px 28px 28px; display: flex; flex-direction: column; gap: 40px; }
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 36px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.site-footer__brand img { height: 30px; width: auto; opacity: .9; }
.wordmark { direction: ltr; font-family: system-ui, sans-serif; font-size: 26px; font-weight: 800; letter-spacing: -.5px; }
.wordmark span { color: var(--yellow); }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; }
.site-footer__col h4 { margin: 0 0 4px; font-size: 15px; font-weight: 800; color: #8FA0B4; }
.site-footer__col span, .site-footer__col a { font-size: 15px; color: var(--soft-on-navy); text-decoration: none; }
.site-footer__col a:hover { color: var(--yellow); }
.site-footer__copy { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; font-size: 14px; color: #8FA0B4; }
.mobile-bar-spacer { height: 80px; }

/* ---------- inner pages (thank-you, privacy, terms) ---------- */
.page { min-height: 100vh; display: flex; flex-direction: column; }
.ty-header { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08); }
.ty-header__inner { max-width: 1280px; margin: 0 auto; padding: 0 28px; height: 72px; display: flex; align-items: center; }
.ty-header img { height: 38px; width: auto; }

.legal { flex: 1; background: var(--tint); padding: clamp(40px, 7vw, 96px) 16px; }
.legal__doc { max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid #DCE3EA; border-radius: 22px; padding: clamp(24px, 5vw, 56px); }
.legal__brand { margin: 0; font-size: 15px; font-weight: 800; color: var(--navy-3); }
.legal h1 { margin: 6px 0 8px; font-size: clamp(32px, 4vw, 46px); font-weight: 800; line-height: 1.3; }
.legal__meta { margin: 0; font-size: 15px; color: var(--ink-3); }
.legal__draft { margin: 24px 0 0; padding: 14px 18px; border-radius: 14px; background: #FFF7E6; border: 1px solid #F5D48A; font-size: 15px; line-height: 1.8; color: #6B4A00; }
.legal h2 { margin: 40px 0 12px; font-size: clamp(20px, 2vw, 24px); font-weight: 800; line-height: 1.5; }
.legal h3 { margin: 22px 0 8px; font-size: 18px; font-weight: 800; }
.legal p, .legal li { font-size: 17px; line-height: 1.95; color: var(--ink-2); text-wrap: pretty; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 14px; padding-inline-start: 22px; }
.legal li { margin-bottom: 6px; }
.legal li::marker { color: var(--yellow); }
.legal a { color: var(--navy); font-weight: 700; }
.legal .ph { background: #FFF1CC; color: inherit; border-radius: 4px; padding: 0 3px; }

.mobile-bar {
  position: fixed; right: 0; left: 0; bottom: 0; z-index: 60; background: rgba(9,31,55,.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid rgba(255,255,255,.1);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
}

.to-top {
  position: fixed; left: 24px; bottom: 24px; z-index: 61; width: 48px; height: 48px; border-radius: 50%;
  background: #fff; border: 1px solid #DCE3EA; color: var(--navy); display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 10px 24px -8px rgba(9,31,55,.35);
}
.to-top:hover { background: var(--yellow); border-color: var(--yellow); }

/* ---------- mobile (< 992px) ---------- */
@media (max-width: 991px) {
  .hero { min-height: auto; }
  .hero__inner { grid-template-columns: minmax(0,1fr); padding: 40px 20px 52px; }
  .paystrip__capsule { border-radius: 28px; }
  .bento {
    grid-template-columns: repeat(2, minmax(0,1fr));
    grid-template-areas: "web web" "apps apps" "dash dash" "s1 s2" "s3 s4" "s5 sup";
    grid-auto-rows: minmax(0, auto);
  }
  .launch__inner { padding: 0 16px; }
  .who__statements { grid-template-columns: 1fr; }
  .who__item { padding: 24px 0; }
  .who__item + .who__item { border-right: none; border-top: 1px solid rgba(255,255,255,.18); }
  .chips { justify-content: flex-start; flex-wrap: nowrap; }
  .steps { grid-template-columns: 1fr; }
  .step, .step__body { min-height: 200px; }
  .step__body { padding: 84px 24px 24px; }
  .booking__inner { grid-template-columns: minmax(0,1fr); padding: 0 16px; }
  .booking__copy { padding: 0 8px; }
  .to-top { bottom: 92px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .mobile-menu, .mobile-menu a, .mobile-menu__backdrop { transition-delay: 0s !important; }
  .paystrip__marquee { -webkit-mask-image: none; mask-image: none; }
  .paystrip__track { animation: none; width: auto; }
  .paystrip__set { flex-wrap: wrap; gap: 12px 26px; padding-right: 0; flex-shrink: 1; }
  .paystrip__set + .paystrip__set { display: none; }
}
