/* gettinch.app — one stylesheet. Palette and type follow the Tinch app.
   Motion rules: only transform / opacity (and SVG stroke-dashoffset for line art) animate;
   nothing animates blur or layout; everything is still under prefers-reduced-motion. */

/* U+02BB is left out of the Nunito ranges on purpose: its glyph has wide side bearings
   ("So ʻ m"), the system font draws Uzbek oʻ / gʻ naturally. */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/nunito-latin.woff2?v=20fc9b6fc6) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+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: "Nunito";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/nunito-latin-ext.woff2?v=511ce96737) 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: "Nunito";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/nunito-cyrillic.woff2?v=b63651df97) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --bg: #0B0B0C;
  --bg2: #111113;
  --card: #141416;
  --card2: #1C1C1F;
  --green: #1A2824;
  --mint: #8FCBB0;
  --sage: #86BFA6;
  --line: #B5DCC9;
  --mint-muted: #9CC4B1;
  --gold: #D6BE84;
  --coral: #D9A585;
  --text: #F2F1EE;
  --text2: #C9C8C4;
  --text3: #B7B6B2;
  --muted: #8E8D94;
  --border: rgba(255, 255, 255, .06);
  --pad: clamp(18px, 5vw, 48px);
  --edge: max(var(--pad), calc((100vw - 1200px) / 2 + var(--pad)));
  --k: 1; /* blob size factor */
  --spring: cubic-bezier(.3, 1.6, .5, 1);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 88px;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: var(--mint); }
a:hover { color: var(--line); }
::selection { background: rgba(143, 203, 176, .35); color: var(--text); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
main:focus { outline: none; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--pad); }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  padding: 10px 16px; border-radius: 12px;
  background: var(--mint); color: #0E2A20; font-weight: 800; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 12, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}
.header-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }

.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--text); text-decoration: none; border-radius: 10px; }
.logo:hover { color: var(--text); }
.logo-mark { transition: rotate .4s var(--spring); }
.logo:hover .logo-mark { rotate: -8deg; }
.logo-word { font-size: 24px; font-weight: 900; letter-spacing: -.01em; line-height: 1; }

.nav { display: flex; gap: 22px; font-size: 15px; font-weight: 700; }
.nav a { position: relative; color: var(--text2); text-decoration: none; padding: 8px 0; white-space: nowrap; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--mint), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.lang { display: flex; padding: 3px; border-radius: 12px; background: var(--card2); }
.lang a {
  min-width: 44px; height: 38px; padding: 0 10px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13.5px; font-weight: 800; color: var(--muted); text-decoration: none;
  transition: color .2s, background-color .2s;
}
.lang a:hover { color: var(--text); }
.lang a[aria-current] { background: #2E2E33; color: var(--text); }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 58px; padding: 0 20px; border-radius: 18px;
  font-size: 16px; font-weight: 800; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, translate .25s var(--ease-out);
}
.btn:hover { translate: 0 -2px; }
.btn-mint { background: var(--mint); color: #0E2A20; font-weight: 900; box-shadow: 0 8px 26px rgba(143, 203, 176, .28); }
.btn-mint:hover { background: var(--line); color: #0E2A20; }
.btn-ghost { background: var(--card2); color: var(--text); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: #26262A; color: var(--text); }
.btn-sm { min-height: 44px; padding: 0 16px; border-radius: 14px; font-size: 15px; box-shadow: 0 6px 18px rgba(143, 203, 176, .22); }

.btn-store {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 58px; padding: 0 22px; border-radius: 18px;
  background: var(--text); color: var(--bg); text-decoration: none;
  box-shadow: 0 12px 32px rgba(242, 241, 238, .12);
  transition: background-color .2s, translate .25s var(--ease-out);
}
.btn-store:hover { background: #fff; color: var(--bg); translate: 0 -2px; }
.btn-store svg { transition: translate .3s var(--spring); }
.btn-store:hover svg { translate: 0 2px; }
.btn-store-text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.btn-store-small { font-size: 12px; font-weight: 700; }
.btn-store-big { font-size: 19px; font-weight: 900; }

/* ---------------------------------------------------------------- type */

.h1 { margin: 18px 0 0; font-size: clamp(36px, 6.4vw, 74px); line-height: 1.04; letter-spacing: -.02em; font-weight: 900; }
.accent {
  background: linear-gradient(92deg, #B5DCC9 0%, #86BFA6 42%, #D6BE84 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
@media (forced-colors: active) {
  .accent { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; }
}
.h2 { margin: 12px 0 0; max-width: 760px; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.015em; font-weight: 900; text-wrap: balance; }
.lead { margin: 16px 0 0; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; color: var(--text2); }
.eyebrow { margin: 0; font-size: 14px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }

/* ---------------------------------------------------------------- soft colour blobs (transform-only drift) */

.blobs { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.blob, .has-blobs::before, .has-blobs::after {
  position: absolute; width: calc(var(--s, 600px) * var(--k)); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, var(--c), rgba(0, 0, 0, 0));
  pointer-events: none; will-change: transform;
  animation: drift var(--t, 30s) ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(var(--dx, 60px), var(--dy, -40px), 0) scale(var(--ds, 1.14)); }
}
.b-mint { --s: 760px; --c: rgba(134, 191, 166, .26); right: -8%; top: -14%; --dx: -90px; --dy: 70px; --t: 26s; }
.b-warm { --s: 580px; --c: rgba(214, 190, 132, .15); left: -14%; top: -22%; --dx: 110px; --dy: 60px; --t: 32s; }
.b-coral { --s: 540px; --c: rgba(217, 165, 133, .12); left: 28%; bottom: -34%; --dx: -70px; --dy: -60px; --t: 36s; }

.has-blobs { position: relative; isolation: isolate; overflow: hidden; }
.has-blobs::before, .has-blobs::after { content: ""; z-index: -1; }
.blobs-how::before { --c: rgba(134, 191, 166, .16); right: -220px; top: -260px; --dx: -100px; --dy: 80px; }
.blobs-how::after { --c: rgba(214, 190, 132, .10); --s: 640px; left: -240px; bottom: -300px; --t: 36s; --dx: 90px; --dy: -70px; }
.blobs-features::before { --c: rgba(217, 165, 133, .09); left: -300px; top: 18%; --t: 34s; }
.blobs-features::after { --c: rgba(134, 191, 166, .10); right: -260px; bottom: -160px; --t: 28s; --dx: -70px; --dy: -50px; }
.blobs-gallery::before { --c: rgba(134, 191, 166, .14); left: 50%; top: 22%; margin-left: -300px; --dx: 120px; --dy: 30px; }
.blobs-gallery::after { --c: rgba(214, 190, 132, .08); right: -240px; top: -200px; --t: 38s; }
.blobs-privacy::before { --c: rgba(214, 190, 132, .10); right: -240px; top: -180px; --t: 34s; }
.blobs-privacy::after { display: none; }
.blobs-price::before { --c: rgba(214, 190, 132, .18); --s: 640px; left: 6%; top: -220px; --dx: 130px; --dy: 90px; }
.blobs-price::after { --c: rgba(134, 191, 166, .16); --s: 660px; right: 4%; bottom: -280px; --dx: -120px; --dy: -70px; --t: 34s; }
.blobs-faq::before { --c: rgba(134, 191, 166, .08); left: -280px; top: -120px; }
.blobs-faq::after { display: none; }

/* ---------------------------------------------------------------- hero */

.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-sky {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none;
  /* particles stay faint behind the text, so they never read as stray punctuation */
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .28) 0, rgba(0, 0, 0, .28) 42%, #000 58%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .28) 0, rgba(0, 0, 0, .28) 42%, #000 58%);
}
@media (min-width: 1040px) {
  .hero-sky {
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .28) 0, rgba(0, 0, 0, .28) 46%, #000 62%);
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, .28) 0, rgba(0, 0, 0, .28) 46%, #000 62%);
  }
}
.hero-grid {
  display: flex; flex-wrap: wrap; align-items: center; gap: 48px;
  padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 104px);
}
.hero-copy { flex: 1 1 560px; min-width: 0; }
.hero-copy > * { animation: rise .8s var(--ease-out) both; }
.hero-copy > :nth-child(2) { animation-delay: .1s; }
.hero-copy > :nth-child(3) { animation-delay: .2s; }
.hero-copy > :nth-child(4) { animation-delay: .3s; }
.hero-copy > :nth-child(5) { animation-delay: .4s; }
@keyframes rise {
  from { opacity: 0; translate: 0 18px; }
  to { opacity: 1; translate: 0 0; }
}

.pill {
  display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 6px 13px 6px 11px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(134, 191, 166, .2), rgba(214, 190, 132, .14));
  box-shadow: inset 0 0 0 1px rgba(143, 203, 176, .2);
  color: #B9DCCB; font-size: 14px; font-weight: 800;
}
.pill-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); flex-shrink: 0; }
.pill-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--mint);
  animation: ping 2.6s ease-out infinite;
}
@keyframes ping {
  from { transform: scale(1); opacity: .7; }
  70%, to { transform: scale(3); opacity: 0; }
}
.hero-lead { margin-top: 20px; max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.checks {
  list-style: none; padding: 0; margin: 26px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-size: 14.5px; font-weight: 700; color: var(--mint-muted);
}
.checks li { display: inline-flex; align-items: center; gap: 6px; animation: pop .6s var(--spring) both; }
.checks li:nth-child(1) { animation-delay: .6s; }
.checks li:nth-child(2) { animation-delay: .72s; }
.checks li:nth-child(3) { animation-delay: .84s; }
.checks svg { color: var(--mint); }
@keyframes pop {
  from { opacity: 0; scale: .8; }
  to { opacity: 1; scale: 1; }
}

.hero-visual { flex: 1 1 340px; min-width: 0; position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-visual::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 46%;
  width: 560px; max-width: 130%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(143, 203, 176, .2), rgba(143, 203, 176, 0));
  pointer-events: none;
}

/* iPhone frame: thin bezel, screen at the real 1320 × 2868 ratio */
.phone {
  --pw: min(300px, 68vw);
  position: relative; width: var(--pw); padding: 7px;
  border-radius: 15.5% / 7.2%;
  background: linear-gradient(150deg, #3A3A40, #18181B 45%, #2A2A2F);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 80px rgba(0, 0, 0, .6), 0 0 60px rgba(134, 191, 166, .12);
  animation: rise 1s var(--ease-out) .15s both;
}
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: #2A2A2F; }
.phone::before { /* action + volume buttons */
  left: -3px; top: 17%; height: 21%;
  background: linear-gradient(#2A2A2F 0 17%, transparent 17% 29%, #2A2A2F 29% 61%, transparent 61% 68%, #2A2A2F 68%);
}
.phone::after { right: -3px; top: 27%; height: 11%; } /* side button */
.phone-screen {
  position: relative; overflow: hidden;
  aspect-ratio: 1320 / 2868;
  border-radius: 14% / 6.45%;
  background: #111113;
  transform: translateZ(0); /* keeps the rounded clip crisp while children fade */
}
.slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .9s ease;
}
.slide.is-active { opacity: 1; }
.island {
  position: absolute; top: 1.15%; left: 50%; width: 28.6%; height: 3.85%;
  transform: translateX(-50%); border-radius: 999px; background: #000;
}

.phone-float { animation: phone-float 7s ease-in-out infinite; }
@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.chip {
  position: absolute; z-index: 2;
  display: flex; flex-direction: column; gap: 2px;
  max-width: 220px; padding: 12px 14px; border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
  animation: chip-in .9s var(--ease-out) both, chip-float 6s ease-in-out infinite;
}
.chip-share {
  left: max(0px, calc(50% - 250px)); top: 108px;
  background: var(--card2); border: 1px solid rgba(255, 255, 255, .09);
  --from: -18px; animation-delay: .6s, 1.5s;
}
.chip-voice {
  right: max(0px, calc(50% - 250px)); bottom: 120px;
  background: linear-gradient(140deg, #22382F, #1A2824); border: 1px solid rgba(143, 203, 176, .16);
  --from: 18px; animation-delay: .9s, 2.3s;
}
.chip-rhythm {
  right: max(0px, calc(50% - 262px)); top: 0;
  background: var(--card2); border: 1px solid rgba(214, 190, 132, .16);
  --from: 18px; animation-delay: 1.2s, 3s;
}
.chip-top { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; color: var(--muted); }
.chip-voice .chip-top { color: var(--mint-muted); }
.chip-rhythm .chip-top { color: var(--gold); }
.chip-main { display: flex; align-items: center; font-size: 14px; font-weight: 900; line-height: 1.3; }
@keyframes chip-in {
  from { opacity: 0; translate: var(--from) 0; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.wave { display: inline-flex; align-items: center; gap: 2px; height: 10px; margin-left: 4px; }
.wave i { width: 2px; height: 10px; border-radius: 1px; background: currentColor; animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: .15s; }
.wave i:nth-child(3) { animation-delay: .3s; }
@keyframes wave {
  0%, 100% { transform: scaleY(.35); }
  50% { transform: scaleY(1); }
}
.ticks { display: inline-flex; gap: 3px; margin-right: 8px; }
.ticks i { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); animation: pop .4s var(--spring) both; }
.ticks i.off { background: #3A3A40; }
.ticks i:nth-child(1) { animation-delay: 1.6s; }
.ticks i:nth-child(2) { animation-delay: 1.68s; }
.ticks i:nth-child(3) { animation-delay: 1.76s; }
.ticks i:nth-child(4) { animation-delay: 1.84s; }
.ticks i:nth-child(5) { animation-delay: 1.92s; }
.ticks i:nth-child(6) { animation-delay: 2s; }
.ticks i:nth-child(7) { animation-delay: 2.08s; }

.dots { display: flex; gap: 2px; margin-top: 22px; }
.dot {
  width: 32px; height: 32px; padding: 0; border: 0; border-radius: 10px;
  background: transparent; cursor: pointer;
  display: grid; place-items: center;
}
.dot::before {
  content: ""; width: 8px; height: 8px; border-radius: 99px; background: #3A3A40;
  transition: width .3s ease, background-color .3s ease;
}
.dot:hover::before { background: #55555C; }
.dot[aria-current]::before { width: 22px; background: var(--mint); }

/* ---------------------------------------------------------------- sections */

.section { padding: clamp(56px, 8vw, 112px) 0; }
.section + .section { padding-top: 0; }
.band { background: var(--bg2); padding: clamp(56px, 8vw, 112px) 0; }
.band-center { text-align: center; }
.band-center .h2 { margin-inline: auto; max-width: 980px; }
.band-center .lead { margin-inline: auto; max-width: 640px; }
.cta-center { justify-content: center; }

.steps {
  list-style: none; padding: 0; margin: 36px 0 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px;
}
.step {
  padding: 26px; border-radius: 28px;
  background: linear-gradient(160deg, #202024, #1A1A1D);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
}
.step-num {
  width: 44px; height: 44px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, #2A4A40, #1A2824);
  box-shadow: inset 0 0 0 1px rgba(143, 203, 176, .22), 0 6px 18px rgba(134, 191, 166, .14);
  color: var(--line); font-size: 20px; font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.step h3 { margin: 18px 0 0; font-size: 22px; font-weight: 900; line-height: 1.25; }
.step p { margin: 10px 0 0; font-size: 16.5px; line-height: 1.5; color: var(--text3); }

.features {
  list-style: none; padding: 0; margin: 36px 0 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px;
}
.card {
  padding: 24px; border-radius: 26px;
  background: linear-gradient(170deg, #18181B, #131315);
  border: 1px solid var(--border);
  transition: translate .3s var(--ease-out), border-color .3s ease, box-shadow .3s ease;
}
.card:hover { translate: 0 -5px; border-color: rgba(143, 203, 176, .26); box-shadow: 0 20px 44px rgba(0, 0, 0, .4); }
.card h3 { margin: 16px 0 0; font-size: 20px; font-weight: 900; line-height: 1.25; }
.card p { margin: 8px 0 0; font-size: 16px; line-height: 1.5; color: var(--text3); }
.f-icon {
  width: 48px; height: 48px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  transition: scale .35s var(--spring);
}
.card:hover .f-icon { scale: 1.08; }
.f-icon path { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1s ease; }
.tint-1 { color: #8FCBB0; background: rgba(143, 203, 176, .16); }
.tint-2 { color: #B1A7D6; background: rgba(177, 167, 214, .16); }
.tint-3 { color: #D6BE84; background: rgba(214, 190, 132, .16); }
.tint-4 { color: #D9A585; background: rgba(217, 165, 133, .16); }
.tint-5 { color: #86BFA6; background: rgba(134, 191, 166, .16); }
.tint-6 { color: #A8C5DD; background: rgba(168, 197, 221, .16); }
/* icon micro-animations on hover */
.card:hover .tint-1 svg, .card:hover .tint-5 svg { animation: ico-up .7s var(--spring); }
.card:hover .tint-2 svg { animation: ico-pulse .8s ease; }
.card:hover .tint-3 svg { animation: ico-swap .8s ease; }
.card:hover .tint-4 svg { animation: ico-tilt .7s ease; }
.card:hover .tint-6 svg { animation: ico-turn .8s var(--spring); }
@keyframes ico-up { 40% { transform: translateY(-4px); } }
@keyframes ico-pulse { 30% { transform: scale(1.2); } 60% { transform: scale(.94); } }
@keyframes ico-swap { 35% { transform: translateX(3px); } 70% { transform: translateX(-3px); } }
@keyframes ico-tilt { 30% { transform: rotate(-12deg); } 65% { transform: rotate(8deg); } }
@keyframes ico-turn { from { transform: rotate(0); } to { transform: rotate(90deg); } }

/* gallery: an endless, slowly moving strip (JS adds .is-marquee); a plain swipeable row otherwise */
.gallery-viewport {
  margin-top: 36px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
  scrollbar-width: none; -ms-overflow-style: none;
  outline-offset: -3px; border-radius: 12px;
}
.gallery-viewport::-webkit-scrollbar { display: none; width: 0; height: 0; }
.gallery { list-style: none; margin: 0; padding: 10px var(--edge) 24px; display: flex; gap: 22px; width: max-content; }
.shot { flex: 0 0 auto; width: 210px; scroll-snap-align: start; }
.shot.is-clone { display: none; }
.shot figure { margin: 0; }
.mini-phone {
  padding: 5px; border-radius: 15.5% / 7.2%;
  background: linear-gradient(150deg, #3A3A40, #18181B 45%, #2A2A2F);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 24px 48px rgba(0, 0, 0, .45);
  transition: translate .4s var(--ease-out);
}
.shot:hover .mini-phone { translate: 0 -6px; }
.mini-phone img { width: 100%; border-radius: 14% / 6.45%; background: #111113; -webkit-user-drag: none; user-select: none; }
.shot figcaption { margin-top: 16px; font-size: 15px; line-height: 1.45; color: var(--text3); }
.shot figcaption strong { display: block; margin-bottom: 2px; font-size: 17px; font-weight: 900; color: var(--text); }
.is-marquee {
  overflow: hidden; scroll-snap-type: none; touch-action: pan-y; cursor: grab;
  -webkit-user-select: none; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.is-marquee .gallery { padding-inline: 0; will-change: transform; }
.is-marquee .shot { scroll-snap-align: none; }
.is-marquee .shot.is-clone { display: block; }
.is-marquee.is-dragging { cursor: grabbing; }

/* calm */
.calm-wrap { padding: 0 clamp(12px, 3vw, 32px); }
.calm {
  position: relative; isolation: isolate; overflow: hidden;
  max-width: 1240px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 40px;
  padding: clamp(36px, 6vw, 80px) clamp(22px, 5vw, 72px);
  border-radius: clamp(28px, 4vw, 44px);
  background: linear-gradient(135deg, #22382F 0%, #1A2824 50%, #17221E 100%);
  box-shadow: inset 0 0 0 1px rgba(143, 203, 176, .1);
}
.calm::before, .calm::after {
  content: ""; position: absolute; z-index: -1; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  will-change: transform; animation: drift 30s ease-in-out infinite alternate;
}
.calm::before { width: calc(560px * var(--k)); left: -140px; top: -220px; background: radial-gradient(closest-side, rgba(143, 203, 176, .2), rgba(0, 0, 0, 0)); --dx: 120px; --dy: 80px; }
.calm::after { width: calc(520px * var(--k)); right: -120px; bottom: -240px; background: radial-gradient(closest-side, rgba(214, 190, 132, .14), rgba(0, 0, 0, 0)); --dx: -90px; --dy: -60px; animation-duration: 36s; }
.calm-copy { flex: 1 1 420px; min-width: 0; }
.calm-art { flex: 1 1 320px; min-width: 0; display: flex; justify-content: center; }
.calm-list {
  list-style: none; padding: 0; margin: 26px 0 0;
  display: flex; flex-direction: column; gap: 14px;
  font-size: 17px; line-height: 1.5; color: #E5E4E0;
}
.calm-list li { display: flex; gap: 12px; }
.calm-list svg { flex-shrink: 0; margin-top: 1px; }
.calm-list path { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .6s ease; }

/* line art that draws itself, then breathes */
.art { max-width: 100%; height: auto; }
.art .draw { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s cubic-bezier(.4, 0, .2, 1); }
.art .d2 { transition-delay: .2s; }
.art .d3 { transition-delay: .45s; }
.art .d4 { transition-delay: .7s; }
.art .d5 { transition-delay: .95s; }
.art .d6 { transition-delay: 1.15s; }
.art .d7 { transition-delay: 1.35s; }
.art .d8 { transition-delay: 1.6s; }
.art .d9 { transition-delay: 1.85s; }
.art .d10 { transition-delay: 2.05s; }
.sprout .sway { transform-box: view-box; transform-origin: 153px 136px; }
.sprout.is-in .sway { animation: sway 6s ease-in-out 3.2s infinite; }
@keyframes sway {
  0%, 100% { transform: rotate(0); }
  30% { transform: rotate(-2.2deg); }
  70% { transform: rotate(1.8deg); }
}
.twinkle { transform-box: fill-box; transform-origin: center; }
.art.is-in .twinkle { animation: twinkle 3.2s ease-in-out 3.4s infinite; }
.art.is-in .twinkle.t2 { animation-delay: 4.8s; }
@keyframes twinkle { 50% { opacity: .3; transform: scale(.7); } }

/* privacy block: house draws, the lock clicks shut, the chimney breathes */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.split-art { position: relative; isolation: isolate; flex: 1 1 280px; min-width: 0; display: flex; justify-content: center; }
.house-glow {
  position: absolute; z-index: -1; left: 50%; top: 56%; width: 320px; max-width: 100%; aspect-ratio: 1;
  translate: -50% -50%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(143, 203, 176, .26), rgba(143, 203, 176, 0));
  opacity: .8;
}
.house.is-in + .house-glow { animation: glow-in 1.2s ease 1.9s both, breathe 5s ease-in-out 3.1s infinite; }
@keyframes glow-in { from { opacity: 0; transform: scale(.6); } to { opacity: .9; transform: scale(1); } }
@keyframes breathe { 0%, 100% { opacity: .9; transform: scale(1); } 50% { opacity: .55; transform: scale(1.08); } }
.house .shackle { transition: stroke-dashoffset 1.4s cubic-bezier(.4, 0, .2, 1) 1.15s, transform .5s var(--spring) 2.2s; }
.js-reveal .house:not(.is-in) .shackle { transform: translateY(-3px); }
.smoke { opacity: .45; stroke-width: 1.3; transform-box: fill-box; transform-origin: center bottom; }
.house.is-in .smoke { opacity: 0; animation: smoke 4.4s ease-out 2.8s infinite; }
.house.is-in .smoke.s2 { animation-delay: 5s; }
@keyframes smoke {
  0% { opacity: 0; transform: translateY(2px) scale(.8); }
  30% { opacity: .8; }
  100% { opacity: 0; transform: translateY(-5px) scale(1.25); }
}
.split-copy { flex: 1 1 480px; min-width: 0; }
.tiles { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tiles li {
  flex: 1 1 auto; display: flex; align-items: center; gap: 8px;
  padding: 15px 16px; border-radius: 20px;
  background: linear-gradient(160deg, #18181B, #141416); border: 1px solid var(--border);
  font-size: 15.5px; font-weight: 800;
}
.tiles svg { color: var(--mint); flex-shrink: 0; }
.more { display: inline-flex; gap: 6px; margin-top: 20px; font-size: 16px; font-weight: 800; text-decoration: none; border-radius: 6px; }
.more span { transition: translate .2s ease; }
.more:hover span { translate: 3px 0; }

/* price */
.bowl { margin: 0 auto 16px; }
.bowl .sway { transform-box: view-box; transform-origin: 24px 24.7px; }
.bowl.is-in .sway { animation: sway 5s ease-in-out 2.2s infinite; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 860px; margin-top: 30px; }
.faq-item { border-radius: 22px; background: linear-gradient(170deg, #18181B, #141416); border: 1px solid var(--border); transition: border-color .3s ease; }
.faq-item.is-open { border-color: rgba(143, 203, 176, .2); }
.faq-q { margin: 0; font-size: inherit; }
.faq-q button {
  all: unset; box-sizing: border-box; cursor: pointer;
  width: 100%; min-height: 64px; padding: 16px 22px; border-radius: 22px;
  display: flex; align-items: center; gap: 12px;
  font-family: inherit; font-size: 18px; font-weight: 800; line-height: 1.35; color: var(--text);
}
.faq-q button:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.faq-q span { flex: 1; }
.faq-q svg { flex-shrink: 0; transition: transform .35s var(--spring); }
.faq-item.is-open .faq-q svg { transform: rotate(180deg); }
html:not(.js) .faq-q svg { display: none; }
.faq-a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .32s ease; }
.faq-a-inner { overflow: hidden; min-height: 0; }
.faq-a p { margin: 0; padding: 0 22px 20px; font-size: 16.5px; line-height: 1.55; color: var(--text3); }
.js .faq-item:not(.is-open) .faq-a { grid-template-rows: 0fr; }
.js .faq-item:not(.is-open) .faq-a-inner { visibility: hidden; transition: visibility 0s .32s; }
.faq-a a, .doc-section a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- documents */

.doc { max-width: calc(760px + 2 * var(--pad)); padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(56px, 8vw, 96px); }
.doc-head .eyebrow a { color: inherit; text-decoration: none; }
.doc-head .eyebrow a:hover { color: var(--line); }
.doc-date { margin: 12px 0 0; font-size: 15px; font-weight: 700; color: var(--muted); }
.doc-section { margin-top: 40px; }
.doc-section h2 { margin: 0; font-size: clamp(21px, 2.4vw, 26px); font-weight: 900; line-height: 1.25; }
.doc-section p, .doc-section li { font-size: 17px; line-height: 1.65; color: var(--text2); }
.doc-section p { margin: 12px 0 0; }
.doc-section ul, .doc-section ol { margin: 12px 0 0; padding-left: 1.3em; display: grid; gap: 8px; }
.doc-section li { padding-left: .2em; }
.doc-section li::marker { color: var(--mint); font-weight: 800; }
.doc strong { color: var(--text); font-weight: 800; }
.contact-card { margin-top: 48px; padding: clamp(24px, 4vw, 36px); border-radius: 28px; background: linear-gradient(135deg, #22382F, #1A2824); }
.contact-card h2 { margin: 0; font-size: clamp(22px, 2.6vw, 28px); font-weight: 900; }
.contact-card p { margin: 10px 0 0; color: #E5E4E0; font-size: 17px; line-height: 1.55; }
.contact-card .btn { margin-top: 20px; min-height: 52px; }
.doc-back { margin: 44px 0 0; font-weight: 800; }
.doc-back a { text-decoration: none; }

.notfound { max-width: calc(720px + 2 * var(--pad)); padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(64px, 10vw, 140px); }
.nf-code {
  margin: 0; font-size: clamp(72px, 12vw, 140px); font-weight: 900; line-height: 1; letter-spacing: -.03em;
  background: linear-gradient(92deg, #B5DCC9, #86BFA6 45%, #D6BE84);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.nf-block { margin-top: 28px; }
.nf-block + .nf-block { padding-top: 24px; border-top: 1px solid var(--border); }
.nf-title { margin: 0; font-size: clamp(24px, 3vw, 32px); font-weight: 900; line-height: 1.2; }
.nf-block p { margin: 8px 0 0; font-size: 17px; color: var(--text2); }
.nf-block a { font-weight: 800; }

/* ---------------------------------------------------------------- footer */

.site-footer { border-top: 1px solid var(--border); padding: 40px 0 48px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px 48px; }
.footer-brand { flex: 1 1 260px; }
.logo-sm .logo-word { font-size: 20px; }
.logo-sm .logo-mark { width: 28px; height: 28px; }
.footer-tag { margin: 10px 0 0; font-size: 15px; font-weight: 700; color: var(--muted); }
.footer-nav { display: flex; flex-direction: column; gap: 10px; font-size: 15px; font-weight: 700; }
.footer-nav a { color: var(--text2); text-decoration: none; padding: 2px 0; }
.footer-nav a:hover { color: var(--text); }
.footer-copy { margin: 0; font-size: 14px; font-weight: 700; color: var(--muted); }

/* ---------------------------------------------------------------- scroll reveal (only when JS runs) */

.reveal { transition: opacity .7s ease, transform .7s var(--ease-out); }
.js-reveal .reveal:not(.is-in) { opacity: 0; transform: translateY(20px); }
.js-reveal .reveal.art:not(.is-in) { opacity: 1; transform: none; }
.js-reveal .art:not(.is-in) .draw { stroke-dashoffset: 1; }

/* staggered children: each item rises in turn */
.js-reveal .stagger:not(.is-in) > * { opacity: 0; }
.stagger.is-in:not(.no-anim) > * { animation: rise-t .7s var(--ease-out) both; }
.stagger.is-in > :nth-child(2) { animation-delay: .08s; }
.stagger.is-in > :nth-child(3) { animation-delay: .16s; }
.stagger.is-in > :nth-child(4) { animation-delay: .24s; }
.stagger.is-in > :nth-child(5) { animation-delay: .32s; }
.stagger.is-in > :nth-child(6) { animation-delay: .4s; }
@keyframes rise-t {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
.steps.is-in:not(.no-anim) .step-num { animation: pop .7s var(--spring) both; }
.steps.is-in > :nth-child(1) .step-num { animation-delay: .25s; }
.steps.is-in > :nth-child(2) .step-num { animation-delay: .35s; }
.steps.is-in > :nth-child(3) .step-num { animation-delay: .45s; }
.features.is-in:not(.no-anim) .f-icon { animation: pop .6s var(--spring) both; }
.js-reveal .features:not(.is-in) .f-icon path { stroke-dashoffset: 1; }
.features > :nth-child(1) .f-icon, .features > :nth-child(1) .f-icon path { animation-delay: .2s; transition-delay: .3s; }
.features > :nth-child(2) .f-icon, .features > :nth-child(2) .f-icon path { animation-delay: .28s; transition-delay: .38s; }
.features > :nth-child(3) .f-icon, .features > :nth-child(3) .f-icon path { animation-delay: .36s; transition-delay: .46s; }
.features > :nth-child(4) .f-icon, .features > :nth-child(4) .f-icon path { animation-delay: .44s; transition-delay: .54s; }
.features > :nth-child(5) .f-icon, .features > :nth-child(5) .f-icon path { animation-delay: .52s; transition-delay: .62s; }
.features > :nth-child(6) .f-icon, .features > :nth-child(6) .f-icon path { animation-delay: .6s; transition-delay: .7s; }
.js-reveal .calm-list:not(.is-in) path { stroke-dashoffset: 1; }
.calm-list > :nth-child(1) path { transition-delay: .35s; }
.calm-list > :nth-child(2) path { transition-delay: .5s; }
.calm-list > :nth-child(3) path { transition-delay: .65s; }

/* sections that are off screen pause their loops (set by JS) */
.is-off, .is-off *, .is-off::before, .is-off::after, .is-off *::before, .is-off *::after { animation-play-state: paused !important; }

/* ---------------------------------------------------------------- small screens */

@media (max-width: 760px) {
  :root { --k: .6; }
  .nav { display: none; }
  .header-row { min-height: 64px; gap: 12px; }
  .hero-grid { gap: 40px; }
  .shot { width: min(54vw, 220px); }
  .gallery { gap: 16px; }
  .chip { padding: 10px 12px; border-radius: 16px; }
  .chip-main { font-size: 13px; }
  /* on phones the chips sit on the status bar and the tab bar, not on the screen title */
  .chip-share { left: 0; top: -22px; max-width: none; }
  .chip-share .chip-main { white-space: nowrap; }
  .chip-voice { right: 0; bottom: 30px; max-width: 176px; }
  .chip-rhythm { display: none; }
  .cta-row > a { flex: 1 1 auto; justify-content: center; }
  .btn-store { padding: 0 18px; }
  .cta-row .btn-ghost { padding: 0 18px; }
  .split-art .house { width: 170px; }
  .house-glow { width: 240px; }
  .faq-q button { font-size: 17px; padding: 14px 18px; }
  .faq-a p { padding: 0 18px 18px; }
}
@media (max-width: 400px) {
  .header-row.wrap { padding-inline: 14px; }
  .header-actions { gap: 8px; }
  .logo { gap: 8px; }
  .logo-word { font-size: 21px; }
  .logo-mark { width: 30px; height: 30px; }
  .lang a { min-width: 36px; height: 34px; padding: 0 6px; font-size: 13px; }
  .btn-sm { padding: 0 12px; font-size: 14px; }
}

/* ---------------------------------------------------------------- reduced motion: everything still */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .card:hover, .btn:hover, .btn-store:hover, .shot:hover .mini-phone { translate: none; }
  .hero-sky { display: none; }
}
