/* ==========================================================================
   ADPOS marketing site — homepage
   ========================================================================== */

/* Self-hosted fonts (SIL OFL 1.1, see assets/fonts/). Variable weights; subsets as served by Google Fonts. */
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-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: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Noto Sans Sinhala"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/noto-sans-sinhala-sinhala.woff2") format("woff2");
  unicode-range: U+0964-0965, U+0D81-0DF4, U+1CF2, U+200C-200D, U+25CC, U+111E1-111F4;
}
@font-face {
  font-family: "Noto Sans Sinhala"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/noto-sans-sinhala-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;
}
/* Arial tuned to Plus Jakarta Sans metrics, so the swap to the web font barely moves the layout (low CLS) */
@font-face {
  font-family: "Plus Jakarta Sans Fallback"; font-weight: 100 549;
  src: local("Arial"), local("ArialMT");
  size-adjust: 105%; ascent-override: 99.05%; descent-override: 20.95%; line-gap-override: 0%;
}
@font-face {
  font-family: "Plus Jakarta Sans Fallback"; font-weight: 550 900;
  src: local("Arial Bold"), local("Arial-BoldMT");
  size-adjust: 101.8%; ascent-override: 102.16%; descent-override: 21.61%; line-gap-override: 0%;
}

:root {
  --orange: #F3922B;
  --orange-600: #E27E14;
  --orange-50: #FFF3E6;
  --orange-100: #FFE6CC;
  --ink: #121416;
  --charcoal: #2D2D2D;
  --body: #4A4F55;
  --muted: #6B7076;
  --line: #ECE7E0;
  --paper: #FFFFFF;
  --cream: #FFF9F3;
  --stone: #F5F2EE;
  --navy: #141B26;
  --teal: #2D6B6B;
  --radius: 14px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 84px;
  --font: "Plus Jakarta Sans", "Plus Jakarta Sans Fallback", "Noto Sans Sinhala", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-si: "Noto Sans Sinhala", "Plus Jakarta Sans", "Plus Jakarta Sans Fallback", sans-serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.3; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.si, [lang="si"] { font-family: var(--font-si); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-600); margin-bottom: 18px;
}
.lede { font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--body); margin-top: 20px; max-width: 34em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 700; text-decoration: none; white-space: nowrap;
  border-radius: 12px; border: 1.5px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn span { transition: transform .2s var(--ease); }
.btn:hover span { transform: translateX(3px); }
.btn--sm { padding: 11px 20px; font-size: .95rem; }
.btn--lg { padding: 17px 30px; font-size: 1.08rem; min-width: 210px; }
.btn--primary {
  color: #fff; background: linear-gradient(180deg, #F7A245, var(--orange) 55%, #EE8619);
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 10px 24px -10px rgba(226,126,20,.7);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 16px 30px -12px rgba(226,126,20,.8); }
.btn--outline { color: var(--ink); border-color: var(--ink); background: rgba(255,255,255,.7); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--ghost-light { color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background-color .3s, box-shadow .3s, height .3s;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.94);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(18,20,22,.25);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
}
.site-header__bar { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { flex: none; display: block; }
.brand img { height: 34px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav__links { display: flex; gap: 34px; }
.nav__links a, .nav__login { text-decoration: none; color: var(--charcoal); font-weight: 500; font-size: .98rem; }
.nav__links a:hover, .nav__login:hover { color: var(--orange-600); }
.nav__divider { width: 1px; height: 30px; background: #D9D4CE; }
.header__mobile-cta, .menu-btn { display: none; }

@media (max-width: 1240px) {
  .nav__links { gap: 22px; }
}
@media (max-width: 1100px) {
  :root { --header-h: 68px; }
  .brand img { height: 28px; }
  .header__mobile-cta { display: inline-flex; margin-left: auto; padding: 9px 16px; }
  .menu-btn {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px;
    border: 1px solid var(--line); background: #fff; cursor: pointer;
  }
  .menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after {
    display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s var(--ease), background-color .2s;
  }
  .menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
  .menu-btn__bars::before { top: -6px; } .menu-btn__bars::after { top: 6px; }
  .menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-6px) rotate(-45deg); }

  .nav {
    position: fixed; inset: var(--header-h) 0 auto; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 8px var(--gutter) 24px; box-shadow: 0 20px 40px -24px rgba(0,0,0,.3);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s var(--ease); }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a, .nav__login { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__divider { display: none; }
  .nav__cta { margin-top: 16px; padding: 14px 20px; }
  .site-header { background: rgba(255,255,255,.96); box-shadow: 0 1px 0 var(--line); }
}

/* ==========================================================================
   Scroll story
   ========================================================================== */
.story { position: relative; --p: 0; }
.stage {
  position: sticky; top: 0; height: 100vh; height: 100lvh; margin-bottom: -100vh; margin-bottom: -100lvh;
  overflow: hidden; pointer-events: none; z-index: 0;
}
.stage__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s var(--ease); }
.is-3d-ready .stage__canvas { opacity: 1; }
.stage__wash { position: absolute; inset: 0; }
/* Hero photo: the shop counter the devices sit on. Fades and drifts as the story begins. */
.wash__photo {
  position: absolute; inset: 0;
  background: url("../img/hero-shop.webp") right bottom / cover no-repeat;
  opacity: calc(1 - var(--hero-out, 0));
  transform: translate3d(0, calc(var(--hero-out, 0) * -3%), 0) scale(calc(1 + var(--hero-out, 0) * .05));
  transform-origin: 80% 100%;
}
/* Keep the copy column on clean white so the photo's shapes never sit behind the text */
.wash__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .96) 34%, rgba(255, 255, 255, .7) 46%, rgba(255, 255, 255, 0) 60%);
}
.hero__photo { display: none; }
.wash__floor {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 70% 60%, rgba(243,146,43,.08), transparent 70%),
    linear-gradient(180deg, var(--paper), var(--stone));
  opacity: var(--hero-out, 0);
}

.chapter { position: relative; z-index: 1; min-height: 135vh; display: flex; align-items: center; padding-block: 12vh; }
.chapter__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; }
.chapter__copy { grid-column: 1 / span 5; }
.chapter[data-side="right"] .chapter__copy { grid-column: 8 / span 5; }
.chapter__copy h2 { max-width: 13ch; }
.chapter .demo { display: none; }

.points { margin-top: 30px; display: grid; gap: 18px; }
.points li { position: relative; padding-left: 30px; font-size: .98rem; line-height: 1.55; color: var(--muted); }
.points li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 14px; height: 14px; border-radius: 4px;
  background: var(--orange-50); box-shadow: inset 0 0 0 4px var(--orange);
}
.points strong { display: block; color: var(--ink); font-weight: 700; font-size: 1.02rem; }
.pro { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .08em; padding: 2px 7px; border-radius: 5px; background: var(--ink); color: #fff; vertical-align: 2px; margin-left: 4px; }

.chapter--center { align-items: flex-start; min-height: 125vh; padding-top: 22vh; }
.chapter--center .chapter__copy { grid-column: 3 / span 8; text-align: center; }
.chapter--center .chapter__copy h2 { max-width: 18ch; margin-inline: auto; }
.chapter--center .lede { margin-inline: auto; }
.tags { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tags li { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--charcoal); }
.story__note { font-size: .78rem; color: var(--muted); margin-top: 22px; }

/* Cloud scene: copy sits on a solid orange panel so it stays readable over the devices */
#cloud { align-items: center; min-height: 115vh; padding-top: 12vh; }
.is-static #cloud { min-height: 0; padding-block: clamp(64px, 10vw, 120px); }
#cloud .chapter__copy {
  background: linear-gradient(160deg, #F7A245, var(--orange) 45%, #E27E14);
  border: 0; border-radius: 24px; padding: clamp(28px, 4vw, 52px) clamp(22px, 4vw, 56px);
  box-shadow: 0 40px 80px -40px rgba(226, 126, 20, .65), inset 0 1px 0 rgba(255, 255, 255, .25);
}
#cloud .eyebrow { color: rgba(255, 255, 255, .9); }
#cloud h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 3rem); }
#cloud .lede { color: #FFF3E6; }
#cloud .tags li { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .4); color: #fff; }
#cloud .story__note { color: rgba(255, 255, 255, .8); }

/* ---------- Hero ---------- */
.chapter--hero { min-height: 100vh; min-height: 100svh; padding: calc(var(--header-h) + 4vh) 0 6vh; }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero__eyebrow { margin-bottom: 20px; }
.hero__title { font-size: clamp(2.4rem, 4.5vw, 4.3rem); line-height: 1.02; letter-spacing: -0.045em; font-weight: 800; max-width: 11em; }
.hero__title span { display: block; text-wrap: balance; }
.hero__accent { color: var(--orange); }
.hero__lede { margin-top: 24px; font-size: clamp(1rem, 1.2vw, 1.14rem); line-height: 1.6; color: #555A60; max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__perks { display: flex; gap: clamp(20px, 4vw, 54px); margin-top: 38px; }
.hero__perks li { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; font-weight: 600; font-size: .98rem; color: var(--ink); line-height: 1.3; max-width: 9.5em; }
.perk__icon {
  width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(160deg, #FFF1E2, #FFE5C8); color: var(--orange-600);
}
.perk__icon svg { width: 30px; height: 30px; }
.perk__icon--si { font-size: 30px; font-weight: 600; line-height: 1; padding-bottom: 2px; }
.hero__visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.demo--hero { width: min(300px, 70%); transition: opacity .6s var(--ease); }
.is-3d-ready .demo--hero { opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s .6s; }

/* ---------- Device frames (poster + static fallback) ---------- */
.demo { margin: 0; }
.device { position: relative; }
.device canvas { width: 100%; height: auto; }
.device--phone {
  padding: 3.2%; border-radius: 15% / 7%; background: linear-gradient(145deg, #3b3d42, #17181b);
  box-shadow: inset 0 0 0 1.5px #55585e, 0 40px 60px -30px rgba(18,20,22,.55), 0 18px 30px -18px rgba(18,20,22,.4);
}
.device--phone canvas { border-radius: 12% / 5.6%; }
.device--phone::after {
  content: ""; position: absolute; left: 50%; top: 4.7%; width: 27%; height: 3.2%; transform: translateX(-50%);
  border-radius: 99px; background: #050505;
}
.device--laptop .device__screen {
  padding: 2.2% 2.2% 3.4%; border-radius: 14px 14px 4px 4px; background: #0b0c0d;
  box-shadow: inset 0 0 0 1.5px #2a2c30;
}
.device--laptop canvas { border-radius: 4px; }
.device--laptop .device__base {
  height: 14px; margin: 0 -6%; border-radius: 2px 2px 14px 14px;
  background: linear-gradient(180deg, #e3e5e8, #a9adb3 70%, #8d9197);
  box-shadow: 0 30px 40px -24px rgba(18,20,22,.5);
}
.device--laptop .device__base::before {
  content: ""; display: block; width: 16%; height: 5px; margin: 0 auto; border-radius: 0 0 8px 8px; background: #c3c6cb;
}

/* ---------- Static / reduced-motion layout ---------- */
.is-static .stage { display: none; }
.is-static .chapter { min-height: 0; padding-block: clamp(64px, 10vw, 120px); }
.is-static .chapter--hero { min-height: 100svh; padding-top: calc(var(--header-h) + 4vh); background: url("../img/hero-shop.webp") right bottom / cover no-repeat; }
.is-static .chapter:nth-of-type(odd):not(.chapter--hero) { background: var(--stone); }
.is-static .chapter .demo { display: block; grid-column: 7 / span 6; grid-row: 1; }
.is-static .chapter[data-side="right"] .chapter__copy { grid-column: 7 / span 6; grid-row: 1; }
.is-static .chapter[data-side="right"] .demo { grid-column: 1 / span 6; }
.is-static .chapter[data-side="right"] .demo--phone-only,
.is-static .chapter .demo:has(.device--phone:only-child) { justify-self: center; width: min(300px, 80%); }
.is-static .chapter--center .chapter__copy { grid-row: 1; }

/* ==========================================================================
   Content sections
   ========================================================================== */
.section { position: relative; z-index: 1; padding-block: clamp(80px, 11vw, 150px); background: var(--paper); }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }

/* Access */
.section--access { background: var(--stone); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.checks { margin-top: 30px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: center; font-weight: 600; color: var(--ink); }
.checks li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4 6.8 11 12 5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.perm {
  background: #12181B; color: #E9EEEE; border-radius: 20px; padding: 26px 26px 14px;
  box-shadow: 0 40px 70px -40px rgba(18,20,22,.55);
}
.perm__head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 1.05rem; margin-bottom: 14px; }
.perm__sample { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8E9A9C; border: 1px solid rgba(255,255,255,.15); padding: 3px 8px; border-radius: 6px; }
.perm table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.perm th, .perm td { padding: 14px 6px; border-top: 1px solid rgba(255,255,255,.07); text-align: center; }
.perm thead th { border-top: 0; color: #8E9A9C; font-weight: 600; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.perm th[scope="row"], .perm thead th:first-child { text-align: left; font-weight: 600; color: #E9EEEE; }
.perm thead th:first-child { color: #8E9A9C; }
.perm i {
  display: inline-block; width: 36px; height: 20px; border-radius: 99px; background: #2A3438; position: relative; vertical-align: middle;
}
.perm i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #66737A; transition: transform .4s var(--ease), background-color .4s; }
.perm i.on { background: rgba(243,146,43,.25); }
.perm i.on::after { background: var(--orange); transform: translateX(16px); }

/* Who */
.who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.who li { padding: 34px 28px 10px 0; border-right: 1px solid var(--line); }
.who li + li { padding-left: 28px; }
.who li:last-child { border-right: 0; }
.who__n { display: block; font-size: .85rem; font-weight: 800; color: var(--orange); margin-bottom: 40px; letter-spacing: .05em; }
.who h3 { font-size: 1.3rem; margin-bottom: 12px; }
.who p { color: var(--muted); font-size: .98rem; }

/* How */
.section--how { background: var(--cream); }
/* Interactive walkthrough */
.how [hidden] { display: none !important; }
.how { display: grid; grid-template-columns: minmax(250px, 340px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.how__steps { display: grid; gap: 10px; position: relative; }
.how__step {
  display: flex; gap: 16px; align-items: flex-start; text-align: left; width: 100%;
  font: inherit; color: inherit; cursor: pointer; background: transparent;
  border: 1px solid transparent; border-radius: 16px; padding: 18px 18px 18px 16px;
  transition: background-color .25s, border-color .25s, box-shadow .25s;
}
.how__step:hover { background: rgba(255, 255, 255, .6); }
.how__step[aria-selected="true"] { background: #fff; border-color: var(--line); box-shadow: 0 18px 40px -28px rgba(18, 20, 22, .35); }
.how__num {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: #fff; border: 1.5px solid #E2DCD4; color: var(--charcoal); font-weight: 800; transition: all .25s;
}
.how__step[aria-selected="true"] .how__num { background: var(--orange); border-color: var(--orange); color: #fff; }
.how__step.is-done .how__num { background: var(--ink); border-color: var(--ink); color: transparent; position: relative; }
.how__step.is-done .how__num::after {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4 6.8 11 12 5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.how__text strong { display: block; color: var(--ink); font-size: 1.05rem; margin-top: 2px; }
.how__text small { display: block; color: var(--muted); font-size: .9rem; line-height: 1.5; margin-top: 4px; }

.how__window { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 40px 80px -50px rgba(18, 20, 22, .45); min-height: 470px; display: flex; flex-direction: column; }
.how__bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--stone); border-bottom: 1px solid var(--line); }
.how__dots { display: flex; gap: 6px; }
.how__dots i { width: 10px; height: 10px; border-radius: 50%; background: #DDD6CD; }
.how__url { display: inline-flex; align-items: center; gap: 6px; flex: 1; min-width: 0; padding: 6px 12px; border-radius: 8px; background: #fff; font-size: .82rem; color: var(--muted); white-space: nowrap; overflow: hidden; }
.how__url [data-how-path] { color: var(--ink); font-weight: 600; }
.how__play { flex: none; display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-600); background: var(--orange-50); border: 0; padding: 6px 10px; border-radius: 7px; cursor: pointer; }
.how__play:hover { background: var(--orange-100); }
.how__play-icon { font-size: .7rem; letter-spacing: -1px; }
.how.is-playing .how__play::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); animation: howBlink 1.2s ease-in-out infinite; }
@keyframes howBlink { 50% { opacity: .25; } }
.how .is-tap { box-shadow: 0 0 0 4px rgba(243, 146, 43, .4) !important; transform: scale(.97); transition: box-shadow .15s, transform .15s; }
.how__progress { height: 3px; background: var(--line); }
.how__progress span { display: block; height: 100%; width: 25%; background: var(--orange); transition: width .5s var(--ease); }
.how__panel { padding: clamp(20px, 3vw, 32px); flex: 1; animation: howIn .45s var(--ease); }
.how__panel:focus-visible { outline-offset: -4px; }
@keyframes howIn { from { opacity: 0; transform: translateY(10px); } }

.how__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); }
.how__cols--pos { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.how__form { display: grid; gap: 14px; align-content: start; }
.how__form h3 { font-size: 1.2rem; }
.how label { display: grid; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--ink); }
.how input, .how select {
  font: inherit; font-weight: 500; font-size: .98rem; color: var(--ink); width: 100%;
  border: 1.5px solid #DCD6CE; border-radius: 10px; padding: 11px 13px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.how input:focus, .how select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(243, 146, 43, .18); }
.how .btn { padding: 13px 20px; font-size: .98rem; }
.how .btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.how__next, .how__add { justify-self: start; margin-top: 6px; }
.how__error { color: #C93636; font-size: .85rem; min-height: 1.2em; margin-top: -6px; }
.how__hint { font-size: .85rem; color: var(--muted); }
.how__caption { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.how__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.how__chips button {
  font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; color: var(--ink);
  border: 1px solid var(--line); background: var(--cream); border-radius: 999px; padding: 7px 13px; transition: all .2s;
}
.how__chips button:hover { border-color: var(--orange); background: var(--orange-50); }
.how__chips button[disabled] { opacity: .4; cursor: default; }

/* Receipt (thermal paper) */
.how__preview { display: grid; align-content: start; }
.receipt {
  font-family: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace, var(--font-si);
  background: #FFFEFB; color: #222; font-size: .86rem; line-height: 1.55;
  padding: 22px 20px 26px; border-radius: 4px; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .35), 0 0 0 1px #EEE8DF;
  max-width: 300px; display: grid; gap: 2px; text-align: center; position: relative;
  -webkit-mask: radial-gradient(circle 6px at 50% 100%, transparent 98%, #000) 0 0 / 14px 100% repeat-x;
          mask: radial-gradient(circle 6px at 50% 100%, transparent 98%, #000) 0 0 / 14px 100% repeat-x;
}
.receipt strong { font-size: 1.1rem; letter-spacing: .02em; word-break: break-word; }
.receipt__rule { border-top: 1.5px dashed #BDB6AC; margin: 8px 0; }
.receipt__row { display: flex; justify-content: space-between; gap: 12px; text-align: left; }
.receipt__row span:first-child { min-width: 0; overflow-wrap: anywhere; }
.receipt__total { font-weight: 800; font-size: 1rem; }
.receipt--print { animation: print 1.4s steps(14) both; }
@keyframes print { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }

/* Catalogue & stock lists */
.how__list, .how__stock, .how__lines { display: grid; gap: 8px; }
.how__list li, .how__stock li, .how__lines li {
  display: flex; align-items: center; gap: 12px; justify-content: space-between;
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; animation: howIn .35s var(--ease);
}
.how__list li span:first-child, .how__stock li > span:first-child, .how__lines li span:first-child { font-weight: 700; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.how__list li em { font-style: normal; color: var(--muted); font-size: .9rem; white-space: nowrap; }
.how__empty { color: var(--muted); font-size: .92rem; padding: 18px; border: 1.5px dashed var(--line); border-radius: 12px; text-align: center; }
.how__list + .how__next { margin-top: 18px; }
.how__x { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 1.1rem; line-height: 1; padding: 4px 6px; border-radius: 6px; }
.how__x:hover { color: #C93636; background: #FDECEC; }

.how__seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--stone); margin-bottom: 18px; }
.how__seg button { font: inherit; font-weight: 700; font-size: .9rem; border: 0; background: none; color: var(--muted); padding: 9px 16px; border-radius: 9px; cursor: pointer; }
.how__seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -3px rgba(0, 0, 0, .2); }
.how__drop { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 22px; margin-bottom: 18px; border: 1.5px dashed #D9CFC2; border-radius: 14px; background: var(--cream); color: var(--orange-600); }
.how__drop p { color: var(--body); font-size: .92rem; }
.how__qty { display: inline-flex; align-items: center; border: 1.5px solid #DCD6CE; border-radius: 10px; overflow: hidden; flex: none; }
.how__qty button { font: inherit; font-weight: 800; width: 34px; height: 34px; border: 0; background: var(--stone); cursor: pointer; color: var(--ink); }
.how__qty input { width: 56px; border: 0; border-radius: 0; text-align: center; padding: 6px 4px; font-weight: 700; }
.how__qty input:focus { box-shadow: none; }
.how__batch { font-size: .72rem; font-weight: 800; letter-spacing: .04em; color: var(--teal); background: #E5F1EF; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.how__foot { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; margin-top: 18px; }
.how__foot .how__next { margin: 0; }

/* POS */
.how__stat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 14px 16px; border-radius: 14px; background: var(--teal); color: #D9EBE8; margin-bottom: 18px; }
.how__stat span { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.how__stat strong { color: #fff; font-size: 1.35rem; }
.how__stat em { font-style: normal; font-size: .85rem; margin-left: auto; }
.how__stat.is-bump strong { animation: bump .6s var(--ease); }
@keyframes bump { 40% { transform: scale(1.08); color: #FFE2BF; } }
.how__tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.how__tiles button {
  font: inherit; text-align: left; cursor: pointer; display: grid; gap: 4px;
  border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 12px; transition: border-color .2s, transform .15s, box-shadow .2s;
}
.how__tiles button:hover { border-color: var(--orange); box-shadow: 0 10px 20px -14px rgba(226, 126, 20, .6); }
.how__tiles button:active { transform: scale(.97); }
.how__tiles button[disabled] { opacity: .45; cursor: not-allowed; }
.how__tiles strong { color: var(--ink); font-size: .92rem; overflow-wrap: anywhere; }
.how__tiles span { color: var(--orange-600); font-weight: 700; font-size: .88rem; }
.how__tiles small { color: var(--muted); font-size: .76rem; }
.how__cart { display: grid; gap: 12px; align-content: start; background: var(--stone); border-radius: 16px; padding: 16px; }
.how__lines li { padding: 9px 10px; font-size: .9rem; }
.how__lines li em { font-style: normal; color: var(--muted); white-space: nowrap; }
.how__total { display: flex; justify-content: space-between; align-items: center; border: 1.5px solid var(--teal); border-radius: 12px; padding: 12px 14px; color: var(--teal); font-weight: 800; background: #fff; }
.how__total strong { font-size: 1.15rem; }
.how__pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.how__pay button { font: inherit; font-weight: 700; font-size: .88rem; padding: 10px 6px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.how__pay button[aria-checked="true"] { border-color: var(--orange); background: var(--orange-50); color: var(--orange-600); }
.how__cart .how__next { width: 100%; margin: 0; }
.how__receipt-wrap { display: grid; justify-items: center; gap: 18px; }
.how__receipt-wrap .receipt { width: 100%; }
.how__note { margin-top: 18px; font-size: .82rem; color: var(--muted); }

/* Pricing teaser */
.section--pricing { padding-block: clamp(70px, 8vw, 110px); }
.pricing { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; border-top: 1px solid var(--line); padding-top: clamp(40px, 5vw, 64px); }
.pricing h2 { max-width: 16ch; }
.pricing strong { color: var(--ink); }
.pricing__cta { flex: none; text-align: right; }
.fine { font-size: .82rem; color: var(--muted); margin-top: 12px; }

/* Final CTA */
.cta-final { position: relative; z-index: 1; background: var(--navy); color: #C9CED6; overflow: hidden; }
.cta-final::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(243,146,43,.22), transparent); pointer-events: none;
}
.cta-final__inner { position: relative; text-align: center; padding-block: clamp(90px, 12vw, 160px); display: flex; flex-direction: column; align-items: center; }
.cta-final__logo { height: 40px; width: auto; margin-bottom: 40px; }
.cta-final h2 { color: #fff; max-width: 15ch; font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
.cta-final .lede { color: #C9CED6; margin-inline: auto; }
.cta-final__ctas { justify-content: center; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 100px); }
.faq__head h2 { max-width: 10ch; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative;
  font-weight: 700; font-size: 1.1rem; color: var(--ink);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--orange), var(--orange)) center / 14px 2px no-repeat, linear-gradient(var(--orange), var(--orange)) center / 2px 14px no-repeat;
  transition: transform .3s var(--ease);
}
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding: 0 44px 26px 0; color: var(--muted); }
.faq__list a { color: var(--orange-600); font-weight: 600; }

/* Footer */
.footer { background: #0D1117; color: #9AA1AB; padding-top: 72px; position: relative; z-index: 1; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 48px); padding-bottom: 56px; }
.footer ul a { display: inline-block; padding-block: 7px; } /* ~32px tap targets */
.footer__brand img { height: 32px; width: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 30em; }
.footer h2 { color: #fff; font-size: .95rem; line-height: 1.3; letter-spacing: -0.01em; font-weight: 700; margin-bottom: 16px; }
.footer ul { display: grid; gap: 0; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--orange); }
.footer__base { border-top: 1px solid rgba(255,255,255,.08); padding-block: 24px; font-size: .88rem; }
/* Four footer columns: brand + Product + Get Help + Legal. Brand takes its own row on narrower screens
   (and below 900px the link columns go two-up; see the responsive section). */
@media (max-width: 1000px) {
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

/* Reveal (only animated when JS + motion are available) */
.js-motion .reveal { opacity: 0; transform: translateY(26px); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .hero__visual { min-height: 440px; }
  .how { grid-template-columns: 1fr; }
  .how__steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .how__step { flex-direction: column; gap: 10px; padding: 14px; }
  .how__text small { display: none; }
  .how__text strong { font-size: .95rem; }
  .who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .who li:nth-child(2) { border-right: 0; }
  .who li:nth-child(3) { padding-left: 0; }
  .who li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 899px) {
  body { font-size: 16px; }
  .hero { grid-template-columns: 1fr; gap: 0; }
  .hero__visual { min-height: 0; }
  .chapter--hero { padding-bottom: 8vh; }
  .hero__perks { gap: 12px; justify-content: space-between; }
  .hero__perks li { font-size: .85rem; }
  .perk__icon { width: 54px; height: 54px; }
  .hero__ctas .btn { flex: 1 1 200px; }

  /* 3D stack mode: device on top half, copy card on lower half */
  .chapter:not(.chapter--hero) { min-height: 160vh; min-height: 160svh; padding: 54svh 0 8svh; align-items: center; }
  .is-3d .hero__visual { display: none; }
  /* Keep the copy card compact so the device stays visible above it */
  .is-3d .chapter .points { gap: 8px; margin-top: 16px; }
  .is-3d .chapter .points li { font-size: 0; padding-left: 24px; }
  .is-3d .chapter .points li::before { top: 4px; width: 12px; height: 12px; }
  .is-3d .chapter .points li strong { font-size: .95rem; }
  .is-3d .chapter .points li .pro { font-size: .62rem; }
  .chapter__copy, .chapter[data-side="right"] .chapter__copy, .chapter--center .chapter__copy { grid-column: 1 / -1; }
  .chapter:not(.chapter--hero) .chapter__copy {
    background: rgba(255,255,255,.97); border: 1px solid var(--line); border-radius: 20px;
    padding: 26px 22px; box-shadow: 0 24px 50px -30px rgba(18,20,22,.35);
  }
  .chapter--center { padding-top: 56svh; align-items: center; }
  .chapter--center .chapter__copy { text-align: left; }
  .chapter--center .chapter__copy h2, .chapter--center .lede { margin-inline: 0; }
  .tags { justify-content: flex-start; }
  .points { margin-top: 20px; gap: 12px; }
  .points li { font-size: .92rem; }
  .chapter h2 { font-size: clamp(1.8rem, 7.4vw, 2.4rem); }
  .lede { margin-top: 14px; }

  .is-static .chapter { padding-block: 64px; }
  .is-static .chapter:not(.chapter--hero) .chapter__copy { background: none; border: 0; box-shadow: none; padding: 0; }
  .is-static .chapter .demo, .is-static .chapter[data-side="right"] .demo, .is-static .chapter--center .demo { grid-column: 1 / -1; grid-row: 2; margin-top: 36px; }
  .is-static .chapter[data-side="right"] .chapter__copy { grid-row: 1; }
  .is-static .demo--hero { margin-top: 48px; }

  .split, .faq { grid-template-columns: 1fr; }
  .pricing { flex-direction: column; align-items: flex-start; }
  .pricing__cta { text-align: left; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .wash__photo { display: none; }
  .hero__photo {
    display: block; width: calc(100% + var(--gutter) * 2); max-width: none; height: auto; aspect-ratio: 4 / 3;
    margin: 36px calc(var(--gutter) * -1) 0; object-fit: cover; object-position: 92% 40%;
  }
  .is-static .chapter--hero { background: none; }
}

@media (max-width: 560px) {
  .who { grid-template-columns: 1fr; }
  .how__steps { grid-template-columns: repeat(4, minmax(64px, 1fr)); }
  .how__step { align-items: center; text-align: center; padding: 10px 6px; }
  .how__text strong { font-size: .78rem; line-height: 1.25; }
  .how__cols, .how__cols--pos { grid-template-columns: 1fr; }
  .how__window { min-height: 0; }
  .how__seg { display: flex; }
  .how__seg button { flex: 1; }
  .who li, .who li + li { padding: 28px 0 10px; border-right: 0; border-top: 1px solid var(--line); }
  .who li:first-child { border-top: 0; }
  .who__n { margin-bottom: 16px; }
  .perm { padding: 20px 14px 8px; }
  .perm th, .perm td { padding: 12px 3px; font-size: .84rem; }
  .perm i { width: 30px; height: 18px; }
  .perm i::after { width: 12px; height: 12px; }
  .perm i.on::after { transform: translateX(12px); }
  .btn--lg { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
