/* I'll do it — landing page
   Brand: red + deep wine over warm paper, Space Grotesk display / Manrope text. */
:root {
  --red: #d7262c;
  --red-2: #b0151c;
  --red-soft: #fbe4e2;
  --wine: #2e0c11;
  --wine-2: #4a141b;
  --paper: #f6f1ed;
  --paper-2: #ece3dd;
  --white: #fff;
  --ink: #1d1315;
  --ink-2: #4a3c3f;
  --muted: #7b6a6d;
  --line: rgba(29, 19, 21, .12);

  --f-display: 'Space Grotesk', system-ui, sans-serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --radius: 18px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 32px);

  /* hero phone geometry: everything around it is derived from these */
  --phone-w: clamp(240px, 21vw, 300px);
  --phone-h: calc(var(--phone-w) * 1136 / 637 + 28px);
  --reach: clamp(56px, 7vw, 110px);
  --autoplay: 4.8s;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
main { overflow-x: clip; } /* ticker tilt, coverflow side cards and x-offset reveals never widen the page */
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
strong { color: var(--ink); font-weight: 700; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 1000; padding: 10px 18px; background: var(--red); color: #fff; border-radius: 0 0 10px 10px; transition: top .2s; }
.skip-link:focus { top: 0; }
.is-red { color: var(--red); }

.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic--fill { stroke: none; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .78rem/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--red);
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: #ffb3b0; }
.title {
  font: 600 clamp(2.2rem, 4.8vw, 3.8rem)/1.05 var(--f-display);
  color: var(--ink); letter-spacing: -.035em; margin-bottom: 26px;
}
.title--light { color: #fff; }
.title--sm { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.title--xl { font-size: clamp(2.6rem, 6.5vw, 5.2rem); letter-spacing: -.045em; }
.title em, .title .is-em { font-style: normal; color: var(--red); }
.section-head { text-align: center; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .eyebrow { justify-content: center; }

/* word-split reveal (js adds the spans) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.w__in { display: inline-block; will-change: transform; }

/* reveal states only exist when motion is on */
.motion [data-reveal] { opacity: 0; transform: translateY(26px); }
.motion [data-wave] > * { opacity: 0; transform: translateY(30px); }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 600 1rem/1 var(--f-body); white-space: nowrap;
  transition: transform .35s var(--ease-out), background-color .25s, box-shadow .35s var(--ease-out), color .25s;
}
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 26px -10px rgba(215, 38, 44, .7); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--glass { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); backdrop-filter: blur(8px); }
@media (hover: hover) {
  .btn--red:hover { background: var(--red-2); box-shadow: 0 16px 34px -12px rgba(215, 38, 44, .85); transform: translateY(-2px); }
  .btn--dark:hover { background: #000; transform: translateY(-2px); }
  .btn--glass:hover { background: rgba(255, 255, 255, .2); transform: translateY(-2px); }
}
.btn--store { min-height: 58px; padding: 0 24px 0 20px; border-radius: 16px; gap: 12px; }
.btn--store .ic { width: 26px; height: 26px; }
.btn--store span { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; }
.btn--store small { font-size: .66rem; font-weight: 500; letter-spacing: .04em; opacity: .85; }
.store-row { display: flex; flex-wrap: wrap; gap: 14px; }

.round-btn {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
  transition: background-color .25s, transform .3s var(--ease-out), box-shadow .25s;
}
.round-btn--dark { color: #fff; background: rgba(255, 255, 255, .08); }
@media (hover: hover) { .round-btn:hover { background: var(--red); box-shadow: inset 0 0 0 1px var(--red); transform: scale(1.06); } }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; padding: 16px 0; color: #fff; transition: transform .45s var(--ease-out), background-color .35s, padding .35s, box-shadow .35s, color .35s; }
.nav.is-scrolled { padding: 10px 0; background: rgba(246, 241, 237, .86); color: var(--ink); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line), 0 12px 30px -20px rgba(46, 12, 17, .4); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__inner { display: flex; align-items: center; gap: 28px; }
.nav__logo { padding: 6px 16px 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, .94); box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .6); transition: background-color .35s, box-shadow .35s, padding .35s; }
.nav.is-scrolled .nav__logo { padding: 0; background: transparent; box-shadow: none; }
.nav__logo img { width: 140px; height: auto; transition: width .35s; }
.nav.is-scrolled .nav__logo img { width: 124px; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a { position: relative; font-weight: 600; font-size: .93rem; padding: 6px 0; opacity: .88; transition: opacity .2s; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); border-radius: 2px; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; width: 46px; height: 46px; margin-left: auto; position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease-out); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 26px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav__menu { display: flex; flex-direction: column; gap: 6px; padding: 18px var(--gutter) 26px; background: var(--paper); color: var(--ink); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .35); }
.nav__menu[hidden] { display: none; }
/* language switcher: pill in the bar (desktop), row in the menu (mobile) */
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); transition: box-shadow .35s; }
.nav.is-scrolled .lang { box-shadow: inset 0 0 0 1px var(--line); }
.lang a { display: grid; place-items: center; min-width: 34px; height: 30px; padding: 0 8px; border-radius: 999px; font: 600 .78rem/1 var(--f-body); letter-spacing: .06em; opacity: .75; transition: opacity .2s, background-color .25s, color .25s; }
.lang a:hover { opacity: 1; }
.lang a[aria-current="true"] { background: var(--red); color: #fff; opacity: 1; }
.lang--menu { align-self: flex-start; margin-top: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.lang--menu a { min-width: 52px; height: 42px; font-size: .9rem; }
.nav__menu a:not(.btn) { padding: 12px 0; font: 600 1.4rem/1.1 var(--f-display); letter-spacing: -.02em; border-bottom: 1px solid var(--line); }
.nav__menu .btn { margin-top: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; padding-bottom: clamp(64px, 9vw, 120px); color: #fff; isolation: isolate; }
.hero__bg {
  position: absolute; inset: 0 0 auto; z-index: -1; overflow: hidden; background: var(--wine);
  /* the dark band ends ~18% down the phone, so the phone pops out of it */
  bottom: calc(clamp(64px, 9vw, 120px) + var(--phone-h) * .8);
  clip-path: ellipse(140% 100% at 50% 0);
}
.hero__bg img { width: 100%; height: 118%; object-fit: cover; filter: grayscale(.3) contrast(1.05); opacity: .55; transform-origin: center top; }
.hero__bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 100%, rgba(215, 38, 44, .35), transparent 70%), linear-gradient(180deg, rgba(46, 12, 17, .55), rgba(46, 12, 17, .88)); }
.hero__intro { padding-top: clamp(112px, 15vh, 150px); text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__title {
  font: 600 clamp(2.5rem, 5.8vw, 5.2rem)/1.02 var(--f-display); letter-spacing: -.045em;
  color: #fff; margin-bottom: 20px;
}
.hero__title em, .hero__title .is-em { font-style: normal; color: #ff4b4f; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .82); max-width: 40ch; margin-bottom: 30px; }
.hero .store-row { justify-content: center; }

/* ---------- showcase (phone + features) ---------- */
.showcase {
  position: relative; margin-top: clamp(48px, 7vw, 84px);
  display: grid; grid-template-columns: 1fr var(--phone-w) 1fr; grid-template-rows: 1fr auto auto auto;
  column-gap: var(--reach); row-gap: clamp(18px, 2.4vw, 34px); color: var(--ink-2);
}
.features { display: contents; }
.showcase__phone { grid-column: 2; grid-row: 1 / -1; position: relative; z-index: 2; }
.showcase__wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.wire { fill: none; stroke: rgba(29, 19, 21, .16); stroke-width: 1.5; stroke-dasharray: 2 7; stroke-linecap: round; }
.wire--live { stroke: var(--red); stroke-width: 2; stroke-dasharray: none; opacity: 0; transition: opacity .3s; }
.wire--live.is-on { opacity: 1; }
.wire-dot { fill: var(--red); filter: drop-shadow(0 0 8px rgba(215, 38, 44, .8)); }
.wire-dot--ghost { fill: rgba(215, 38, 44, .25); filter: none; }

.feat {
  position: relative; z-index: 2; display: flex; align-items: center; gap: 20px; text-align: left;
  padding: 10px; border-radius: 22px; transition: background-color .3s;
}
.feat[data-side="l"] { grid-column: 1; flex-direction: row-reverse; text-align: right; }
.feat[data-side="r"] { grid-column: 3; }
.feat[data-row="1"] { grid-row: 2; }
.feat[data-row="2"] { grid-row: 3; }
.feat[data-row="3"] { grid-row: 4; }
.feat__icon {
  position: relative; flex: none; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%;
  color: var(--red); background: var(--white); box-shadow: inset 0 0 0 1.5px rgba(215, 38, 44, .55), 0 10px 24px -14px rgba(46, 12, 17, .45);
  transition: background-color .45s var(--ease-out), color .45s, box-shadow .45s, transform .45s var(--ease-out);
}
.feat__icon .ic { width: 28px; height: 28px; }
.feat__ring { position: absolute; inset: -7px; width: calc(100% + 14px); height: calc(100% + 14px); transform: rotate(-90deg); pointer-events: none; }
.feat__ring circle, .tst__ring circle { fill: none; stroke: var(--red); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 239; stroke-dashoffset: 239; }
.feat__title { display: block; font: 600 1.1rem/1.2 var(--f-display); letter-spacing: -.015em; color: var(--ink); margin-bottom: 6px; transition: color .3s; }
.feat__text { display: block; font-size: .92rem; line-height: 1.55; color: var(--muted); }
@media (hover: hover) { .feat:hover .feat__icon { transform: scale(1.06); } }
.feat[aria-pressed="true"] .feat__icon { background: var(--red); color: #fff; box-shadow: 0 0 0 8px rgba(215, 38, 44, .12), 0 16px 30px -12px rgba(215, 38, 44, .8); }
.feat[aria-pressed="true"] .feat__title { color: var(--red); }
.feat.is-spin .feat__icon .ic { animation: spin .9s var(--ease-out); }
.showcase.is-auto .feat[aria-pressed="true"] .feat__ring circle { animation: ring var(--autoplay) linear forwards; }
.showcase.is-paused .feat__ring circle, .tst.is-paused .tst__ring circle { animation-play-state: paused !important; }
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes ring { to { stroke-dashoffset: 0; } }

/* ---------- phone (CSS device) ---------- */
.phone {
  position: relative; width: var(--phone-w); padding: 14px; border-radius: calc(var(--phone-w) * .17);
  background: linear-gradient(145deg, #3b3436, #121012 45%, #2a2426);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14), inset 0 0 0 5px #0b090a, 0 50px 80px -30px rgba(46, 12, 17, .65), 0 24px 40px -24px rgba(0, 0, 0, .5);
  transform-style: preserve-3d; will-change: transform;
}
.phone::before, .phone::after { content: ''; position: absolute; width: 3px; border-radius: 3px; background: #2a2426; }
.phone::before { left: -3px; top: 22%; height: 11%; box-shadow: 0 calc(var(--phone-w) * .22) 0 #2a2426; }
.phone::after { right: -3px; top: 28%; height: 16%; }
.phone__island { position: absolute; z-index: 5; top: 22px; left: 50%; width: 30%; height: 22px; transform: translateX(-50%); border-radius: 20px; background: #0b090a; }
.phone__screen { position: relative; overflow: hidden; aspect-ratio: 637 / 1136; border-radius: calc(var(--phone-w) * .13); background: #fde7e6; isolation: isolate; }
.phone__screen::after { content: ''; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, 0) 32%); }
.phone__screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; z-index: 0; }
.phone__screen > img.is-current { opacity: 1; z-index: 1; }
.phone__screen > img.is-entering { opacity: 1; z-index: 2; clip-path: inset(0 0 0 0 round 0); transition: clip-path .75s var(--ease-io), transform .9s var(--ease-out); }
.phone__screen > img.is-entering.from-l { clip-path: inset(0 100% 0 0); transform: scale(1.08); }
.phone__screen > img.is-entering.from-r { clip-path: inset(0 0 0 100%); transform: scale(1.08); }
.phone__screen > img.is-entering.go { clip-path: inset(0 0 0 0); transform: scale(1); }
.phone__pulse { position: absolute; z-index: 6; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--red); opacity: 0; pointer-events: none; }
.phone__pulse.go { animation: pulse .8s var(--ease-out); }
@keyframes pulse { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(4); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.motion .showcase .phone { animation: float 7s ease-in-out infinite; }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; background: var(--red); color: #fff; padding: 18px 0; transform: rotate(-1.6deg) scale(1.03); margin: -10px 0 0; position: relative; z-index: 3; box-shadow: 0 20px 40px -24px rgba(176, 21, 28, .8); }
.ticker__track { display: flex; width: max-content; align-items: center; gap: 28px; animation: ticker 32s linear infinite; }
.ticker span { font: 600 clamp(1.2rem, 2.2vw, 1.8rem)/1 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.ticker span.is-red { color: var(--wine); }
.ticker i { font-style: normal; opacity: .6; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- highlights ---------- */
.highlights { padding: clamp(80px, 10vw, 130px) 0 clamp(40px, 6vw, 70px); }
.highlights__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hl {
  position: relative; padding: 34px 26px 30px; border-radius: var(--radius); background: var(--white); text-align: center;
  box-shadow: 0 1px 0 var(--line), 0 20px 40px -32px rgba(46, 12, 17, .45);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.hl__icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; color: var(--red); background: var(--red-soft); transition: background-color .35s, color .35s, transform .6s var(--ease-out); }
.hl h3 { font: 600 1.1rem/1.25 var(--f-display); letter-spacing: -.015em; color: var(--ink); margin-bottom: 6px; }
.hl p { font-size: .92rem; color: var(--muted); }
@media (hover: hover) {
  .hl:hover { transform: translateY(-6px); box-shadow: 0 1px 0 var(--line), 0 30px 50px -30px rgba(46, 12, 17, .55); }
  .hl:hover .hl__icon { background: var(--red); color: #fff; transform: rotate(-8deg) scale(1.08); }
}

/* ---------- about + isometric phones ---------- */
.about { padding: clamp(60px, 8vw, 110px) 0 clamp(80px, 10vw, 140px); overflow: hidden; }
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about__copy > p { margin-bottom: 22px; max-width: 54ch; }
.about__quote { font: 500 clamp(1.3rem, 2.2vw, 1.7rem)/1.3 var(--f-display); letter-spacing: -.02em; color: var(--red); margin-bottom: 20px; }
.about__stat { display: flex; align-items: center; gap: 22px; padding: 22px 24px; margin: 8px 0 30px; border-radius: var(--radius); background: var(--wine); color: rgba(255, 255, 255, .82); max-width: 560px; }
.about__stat p { font-size: .93rem; }
.about__num { flex: none; font: 700 clamp(3rem, 6vw, 4.4rem)/1 var(--f-display); letter-spacing: -.05em; color: #ff4b4f; }
.iso { position: relative; height: clamp(520px, 56vw, 720px); display: grid; place-items: center; --spread: 120px; }
.iso__stage { position: relative; width: clamp(180px, 19vw, 260px); aspect-ratio: 637 / 1136; transform-style: preserve-3d; transform: rotateX(56deg) rotateZ(-38deg); }
.iso__phone {
  position: absolute; inset: 0; padding: 8px; border-radius: 26px; background: #f7f3f1;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06), -18px 22px 40px -10px rgba(46, 12, 17, calc(.12 + var(--i) * .06));
  /* each layer lifts in Z and slides along the diagonal so all three screens stay readable */
  --k: calc(var(--i) - 1); /* offsets are relative to the middle phone, so the stack stays centered */
  transform: translateZ(calc(var(--k) * var(--spread))) translate(calc(var(--k) * var(--spread) * .6), calc(var(--k) * var(--spread) * .6));
  transition: transform .6s var(--ease-out);
}
.iso__phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 19px; }
@media (hover: hover) { .iso:hover .iso__phone[style*="--i:2"] { transform: translateZ(calc(var(--spread) + 30px)) translate(calc(var(--spread) * .75), calc(var(--spread) * .75)); } }

/* ---------- dark sections ---------- */
.dark { position: relative; isolation: isolate; color: rgba(255, 255, 255, .78); background: var(--wine); overflow: hidden; }
.dark__bg { position: absolute; inset: -12% 0; z-index: -1; }
.dark__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; filter: grayscale(.4); }
.dark__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(46, 12, 17, .82), rgba(46, 12, 17, .6) 50%, rgba(46, 12, 17, .9)); }

/* ---------- screenshots coverflow ---------- */
.shots { padding: clamp(80px, 10vw, 130px) 0 clamp(70px, 9vw, 110px); }
.cflow { --cw: clamp(190px, 21vw, 250px); position: relative; height: calc(var(--cw) * 1136 / 637 + 70px); perspective: 1600px; touch-action: pan-y; user-select: none; }
.cflow__item { position: absolute; left: 50%; top: 0; width: var(--cw); margin-left: calc(var(--cw) / -2); transform-style: preserve-3d; transition: transform .8s var(--ease-out), opacity .6s, filter .6s; cursor: grab; }
.cflow.is-dragging .cflow__item { transition: none; cursor: grabbing; }
.cflow__item figcaption { display: none; }
.mini-phone { padding: 8px; border-radius: 30px; background: linear-gradient(145deg, #3b3436, #121012 50%, #2a2426); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 40px 60px -30px rgba(0, 0, 0, .8); }
.mini-phone img { width: 100%; border-radius: 23px; pointer-events: none; }
.cflow__item.is-active .mini-phone { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 0 0 4px rgba(215, 38, 44, .55), 0 50px 80px -30px rgba(215, 38, 44, .55); }
/* without js the carousel is a plain scrolling row */
html:not(.js) .cflow, .cflow:not(.is-ready) { display: flex; gap: 20px; height: auto; overflow-x: auto; perspective: none; scroll-snap-type: x mandatory; padding-bottom: 12px; }
html:not(.js) .cflow__item, .cflow:not(.is-ready) .cflow__item { position: static; margin: 0; flex: 0 0 var(--cw); scroll-snap-align: center; }
.slider-ui { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 10px; }
.slider-ui__caption { min-width: 220px; text-align: center; font: 600 1.1rem/1.2 var(--f-display); letter-spacing: -.01em; color: #fff; }

/* ---------- how it works ---------- */
.how { padding: clamp(90px, 11vw, 150px) 0; }
.how__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.how__visual { display: flex; flex-direction: column; align-items: center; gap: 22px; position: relative; }
.how__visual::before { content: ''; position: absolute; top: 8%; width: 115%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(215, 38, 44, .18), transparent); z-index: -1; }
.phone--sm { --phone-w: clamp(230px, 23vw, 290px); }
.mini-slider__track { display: flex; height: 100%; transition: transform .8s var(--ease-out); touch-action: pan-y; }
.mini-slider__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.dots { display: flex; gap: 10px; }
.dots button { width: 34px; height: 24px; position: relative; }
.dots button::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: var(--paper-2); transition: background-color .3s; }
.dots button[aria-current="true"]::before { background: var(--red); }
.steps { position: relative; counter-reset: step; }
.steps::before { content: ''; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 2px; background: var(--paper-2); }
.step { position: relative; }
.step__head { display: flex; align-items: center; gap: 22px; width: 100%; padding: 14px 0; text-align: left; }
.step__num {
  position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  font: 600 1rem/1 var(--f-display); color: var(--red); background: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(215, 38, 44, .45);
  transition: background-color .35s, color .35s, box-shadow .35s;
}
.step__title { font: 600 clamp(1.05rem, 1.5vw, 1.25rem)/1.3 var(--f-display); letter-spacing: -.015em; color: var(--ink); transition: color .3s; }
.step.is-open .step__num { background: var(--red); color: #fff; box-shadow: 0 0 0 7px rgba(215, 38, 44, .12); }
.step.is-open .step__title { color: var(--red); }
@media (hover: hover) { .step__head:hover .step__title { color: var(--red); } }
.step__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-out); }
.step.is-open .step__panel, html:not(.js) .step__panel { grid-template-rows: 1fr; }
.step__inner { overflow: hidden; padding-left: 78px; visibility: hidden; transition: visibility 0s .55s; }
.step.is-open .step__inner, html:not(.js) .step__inner { visibility: visible; transition-delay: 0s; }
.step__inner p { padding-bottom: 16px; color: var(--ink-2); }
.step__inner .btn { margin-bottom: 18px; }

/* ---------- pillars ---------- */
.pillars { padding: clamp(90px, 11vw, 150px) 0; text-align: center; }
.pillars__title { font: 700 clamp(2.4rem, 6vw, 5rem)/1.04 var(--f-display); letter-spacing: -.05em; color: #fff; max-width: 15ch; margin: 0 auto clamp(48px, 6vw, 80px); }
.pillars__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar { display: flex; flex-direction: column; align-items: center; gap: 16px; font: 600 1rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .12em; color: #fff; }
.pillar__icon { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); transition: background-color .35s, box-shadow .35s, transform .6s var(--ease-out); }
.pillar__icon .ic { width: 32px; height: 32px; }
@media (hover: hover) { .pillar:hover .pillar__icon { background: var(--red); box-shadow: inset 0 0 0 1.5px var(--red), 0 0 0 10px rgba(215, 38, 44, .2); transform: translateY(-6px) rotate(10deg); } }

/* ---------- testimonials ---------- */
.reviews { padding: clamp(90px, 11vw, 150px) 0; }
.tst { position: relative; max-width: 860px; margin: 0 auto; text-align: center; }
.tst__mark { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 26px; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 16px 30px -14px rgba(215, 38, 44, .9); }
.tst__mark .ic { fill: currentColor; stroke: none; }
.tst__slides { display: grid; }
.tst__slide { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s .5s; }
.tst__slide.is-active { opacity: 1; visibility: visible; transition: opacity .5s; }
html:not(.js) .tst__slide { grid-area: auto; opacity: 1; visibility: visible; margin-bottom: 36px; }
html:not(.js) .tst__people { display: none; }
.tst__slide blockquote { font: 500 clamp(1.4rem, 2.8vw, 2.15rem)/1.35 var(--f-body); letter-spacing: -.015em; color: var(--ink); margin-bottom: 26px; }
.tst__slide blockquote .w__in { transform: translateY(105%); transition: transform .7s var(--ease-out); transition-delay: calc(var(--wi) * 22ms); }
.tst__slide.is-active blockquote .w__in { transform: none; }
.tst__slide figcaption { display: flex; flex-direction: column; gap: 2px; }
.tst__slide figcaption strong { font: 600 1rem/1.2 var(--f-display); text-transform: uppercase; color: var(--red); letter-spacing: .08em; }
.tst__slide figcaption span { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tst__people { display: flex; justify-content: center; gap: 22px; margin-top: 36px; }
.tst__person { position: relative; width: 58px; height: 58px; border-radius: 50%; transition: transform .45s var(--ease-out); }
.tst__person img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; filter: grayscale(1); opacity: .55; transition: filter .4s, opacity .4s; }
.tst__ring { position: absolute; inset: -6px; width: calc(100% + 12px); height: calc(100% + 12px); transform: rotate(-90deg); }
.tst__person[aria-pressed="true"] { transform: scale(1.18); }
.tst__person[aria-pressed="true"] img { filter: none; opacity: 1; }
.tst.is-auto .tst__person[aria-pressed="true"] .tst__ring circle { animation: ring 6.5s linear forwards; }
.tst:not(.is-auto) .tst__person[aria-pressed="true"] .tst__ring circle { stroke-dashoffset: 0; }

/* ---------- our app + contact ---------- */
.contact { padding: clamp(40px, 6vw, 80px) 0 clamp(90px, 11vw, 140px); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: stretch; }
/* both columns are title + card; the cards stretch to the same height */
.app-card, .contact__form-wrap { display: flex; flex-direction: column; }
.app-card .title, .contact__form-wrap .title { margin-bottom: 26px; }
.app-card__media { border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.app-card__media img { width: 100%; aspect-ratio: 1200 / 849; object-fit: cover; transition: transform 1.2s var(--ease-out); }
@media (hover: hover) { .app-card:hover .app-card__media img { transform: scale(1.05); } }
.app-card__body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 30px 32px 34px; background: var(--white); border-radius: 0 0 var(--radius) var(--radius); text-align: center; box-shadow: 0 30px 50px -40px rgba(46, 12, 17, .6); }
.app-card__body h3 { font: 700 1.7rem/1.1 var(--f-display); letter-spacing: -.035em; color: var(--ink); }
.app-card__tag { color: var(--muted); margin: 4px 0 18px; }
.app-card__tag::after { content: ''; display: block; width: 52px; height: 3px; margin: 14px auto 0; border-radius: 3px; background: var(--red); }

.form {
  position: relative; flex: 1; display: flex; flex-direction: column; gap: 14px; overflow: hidden; isolation: isolate;
  padding: clamp(24px, 3vw, 34px); border-radius: var(--radius); background: var(--white);
  box-shadow: 0 30px 50px -40px rgba(46, 12, 17, .6);
}
.form::before { content: ''; position: absolute; z-index: -1; top: -110px; right: -110px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(closest-side, rgba(215, 38, 44, .14), transparent); pointer-events: none; }
.form::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--red), #ff6b6f 60%, transparent); }
.form__head { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; margin-bottom: 6px; border-bottom: 1px dashed var(--line); }
.form__badge { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 0 0 7px rgba(215, 38, 44, .1), 0 12px 24px -12px rgba(215, 38, 44, .9); }
.form__head p { font-size: .97rem; line-height: 1.5; color: var(--ink-2); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field--grow { flex: 1; display: flex; flex-direction: column; }
.field input, .field textarea {
  width: 100%; padding: 26px 18px 10px 50px; border: 0; border-radius: 14px; background: var(--paper);
  font: 500 16px/1.4 var(--f-body); color: var(--ink); box-shadow: inset 0 0 0 1.5px transparent; resize: none;
  transition: box-shadow .3s var(--ease-out), background-color .3s;
}
.field textarea { flex: 1; min-height: 140px; }
@media (hover: hover) { .field input:hover, .field textarea:hover { box-shadow: inset 0 0 0 1.5px var(--line); } }
.field input:focus, .field textarea:focus { outline: none; background: var(--white); box-shadow: inset 0 0 0 2px var(--red), 0 0 0 5px rgba(215, 38, 44, .1); }
.field__ic { position: absolute; z-index: 1; left: 17px; top: 18px; width: 20px; height: 20px; color: var(--muted); pointer-events: none; transition: color .3s; }
.field:focus-within .field__ic { color: var(--red); }
.field label { position: absolute; left: 50px; top: 18px; font-size: 1rem; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease-out), color .3s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.74); color: var(--red); }
.field.is-invalid input { background: var(--red-soft); box-shadow: inset 0 0 0 2px var(--red); }
.field.is-invalid .field__ic { color: var(--red); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-top: 4px; }
.form__foot .btn .ic { width: 20px; height: 20px; transition: transform .45s var(--ease-out); }
@media (hover: hover) { .form__foot .btn:hover .ic { transform: translate(3px, -3px); } }
.form__status { flex: 1; min-width: 200px; font-size: .93rem; font-weight: 600; }
.form__status:empty { display: none; }
.form__status.is-error { color: var(--red); }
.form__status.is-ok { color: #1f7a3d; }

/* ---------- download cta ---------- */
.cta { padding: clamp(100px, 12vw, 170px) 0; text-align: center; }
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta__logo { width: 96px; margin-bottom: 26px; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .45)); }
.cta__lead { font-size: 1.15rem; margin-bottom: 34px; }
.cta .title em { color: #ff4b4f; }

/* ---------- paypal ---------- */
.paypal { padding: clamp(50px, 6vw, 70px) 0; background: var(--white); }
.paypal__inner { display: flex; align-items: center; gap: 28px; }
.paypal__icon { flex: none; display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; color: var(--red); box-shadow: inset 0 0 0 1.5px rgba(215, 38, 44, .55); }
.paypal__icon .ic { width: 34px; height: 34px; }
.paypal__copy { flex: 1; }
.paypal__copy h2 { font: 600 1.3rem/1.25 var(--f-display); letter-spacing: -.02em; color: var(--ink); margin-bottom: 4px; }

/* ---------- partners + footer ---------- */
.partners { padding: clamp(80px, 9vw, 120px) 0; text-align: center; }
.partners h2 { font: 500 .95rem/1.5 var(--f-body); letter-spacing: .02em; color: rgba(255, 255, 255, .8); margin-bottom: 30px; }
.partners__logos { display: flex; justify-content: center; align-items: center; gap: clamp(24px, 6vw, 80px); }
.partners__logos img { width: clamp(150px, 18vw, 230px); transition: transform .5s var(--ease-out), filter .5s; }
.partners__logos .partners__cene { width: clamp(120px, 14.5vw, 185px); } /* its solid ring reads heavier than the Neworld mark */
@media (hover: hover) { .partners__logos img:hover { transform: scale(1.06); filter: drop-shadow(0 10px 30px rgba(255, 255, 255, .15)); } }
.footer { background: #1a0a0d; color: rgba(255, 255, 255, .65); padding: 30px 0; font-size: .9rem; }
.footer__inner { display: flex; align-items: center; gap: 30px; }
.footer__inner > img { width: 130px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--paper); box-sizing: content-box; }
.footer nav { display: flex; gap: 22px; }
.footer nav a:hover { color: #fff; }
.footer p { margin-left: auto; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { gap: 22px; }
  .feat__text { font-size: .86rem; }
}
@media (max-width: 1023px) {
  .nav__links, .nav__cta, .lang--nav { display: none; }
  .nav__burger { display: block; }
  :root { --phone-w: clamp(230px, 62vw, 290px); }
  .showcase { display: flex; flex-direction: column; align-items: center; gap: 30px; }
  .showcase__wires { display: none; }
  .features { display: flex; gap: 14px; width: calc(100% + var(--gutter) * 2); margin: 0 calc(var(--gutter) * -1); padding: 12px var(--gutter) 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .features::-webkit-scrollbar { display: none; }
  .feat, .feat[data-side="l"] { flex: 0 0 min(72vw, 290px); flex-direction: column; align-items: center; text-align: center; padding: 22px 18px; background: var(--white); scroll-snap-align: center; box-shadow: 0 16px 30px -24px rgba(46, 12, 17, .5); }
  .feat__icon { width: 62px; height: 62px; }
  .hero__bg { bottom: calc(clamp(64px, 9vw, 120px) + 30px + 200px + var(--phone-h) * .7); }
  .highlights__grid, .pillars__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid, .how__grid, .contact__grid { grid-template-columns: 1fr; }
  .how__visual { order: 2; }
  .iso { height: 540px; --spread: 96px; }
}
@media (max-width: 640px) {
  .store-row { justify-content: center; }
  .btn--store { flex: 1 1 200px; }
  .highlights__grid { grid-template-columns: 1fr; }
  .pillars__grid { gap: 34px 16px; }
  .about__stat { flex-direction: column; align-items: flex-start; gap: 10px; }
  .paypal__inner { flex-direction: column; text-align: center; }
  .footer__inner { flex-direction: column; text-align: center; gap: 16px; }
  .form__row { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }
  .footer p { margin: 0; }
  .slider-ui__caption { min-width: 0; flex: 1; font-size: 1.05rem; }
  .step__inner { padding-left: 0; }
  .steps::before { display: none; }
}

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