/* ---------- Tokens ---------- */
:root {
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --paper: #ffffff;
  --mist: #f5f5f7;
  --night: #000000;
  --night-2: #a1a1a6;
  --accent: #3b3ef0;
  --accent-hover: #2b2ed6;
  --accent-on-dark: #8f92ff;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI Variable Display", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 48px);
  --max: 1120px;
  --section-y: clamp(96px, 14vw, 180px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --radius-lg: 28px;
  --nav-h: 52px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  border-radius: 999px;
  font: inherit; font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
  text-decoration: none;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); }
.btn:active { transform: scale(.97); }
.btn--ghost { color: #f5f5f7; background: transparent; box-shadow: inset 0 0 0 1.5px #6e6e73; gap: 10px; }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #f5f5f7; }
.btn--lg { min-height: 56px; padding: 0 34px; font-size: 19px; }

.link {
  color: var(--accent); font-weight: 500; text-decoration: none; white-space: nowrap;
  padding: 10px 0; /* comfortable tap target */
}
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  padding-top: env(safe-area-inset-top);
  box-sizing: content-box;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.nav.is-scrolled { border-bottom-color: rgba(0, 0, 0, .08); }
.nav.is-dark { background: rgba(0, 0, 0, .72); color: #f5f5f7; border-bottom-color: rgba(255, 255, 255, .08); }
.nav__inner {
  height: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto;
  padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
  display: flex; align-items: center; justify-content: space-between;
}
.nav__brand { font-size: 17px; font-weight: 700; letter-spacing: 0.01em; text-decoration: none; }
.nav__links { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav__links a { text-decoration: none; opacity: .85; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; }
.nav__cta { color: var(--accent); opacity: 1 !important; font-weight: 500; }
.nav.is-dark .nav__cta { color: var(--accent-on-dark); }
@media (max-width: 767px) { .nav__hide-sm { display: none; } }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 64px) 0 96px;
  text-align: center;
}
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.hero__copy { display: flex; flex-direction: column; align-items: center; }
.hero__title {
  max-width: 16ch;
  font-size: clamp(44px, 9vw, 112px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero__lede {
  max-width: 34ch;
  margin-top: clamp(20px, 3vw, 32px);
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  text-wrap: balance;
}
.hero .btn { margin-top: clamp(32px, 4vw, 44px); }

/* ---------- Shared section ---------- */
.section { padding: var(--section-y) 0; }
.section__head { max-width: 640px; margin-bottom: clamp(48px, 7vw, 80px); }
.section__title {
  font-size: clamp(40px, 6.4vw, 80px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.section__lede {
  margin-top: 16px;
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.4;
  color: var(--ink-2);
  max-width: 36ch;
  letter-spacing: -0.01em;
}
.kicker { font-size: 17px; font-weight: 600; color: var(--accent-on-dark); margin-bottom: 8px; letter-spacing: -0.01em; }

/* ---------- Reddle (dark, sticky) ---------- */
.reddle { background: var(--night); color: #f5f5f7; }
.reddle__track { height: 220vh; }
.reddle__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; flex-direction: column;
  padding: calc(var(--nav-h) + clamp(24px, 5vh, 56px)) 0 clamp(36px, 6vh, 64px);
  overflow: hidden;
}
.reddle__copy { text-align: center; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 2; }
.reddle__title { font-size: clamp(52px, 9vw, 112px); line-height: 1; font-weight: 700; letter-spacing: -0.05em; }
.reddle__lede {
  max-width: 36ch; margin-top: 14px;
  font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; color: var(--night-2);
  text-wrap: balance;
}
.reddle__credit { margin-top: 12px; font-size: 15px; color: #f5f5f7; letter-spacing: -0.005em; }
.reddle .btn { margin-top: 24px; }

/* Device stage: sized by its own height so the devices always fit the screen */
.stage {
  flex: 1 1 auto; min-height: 0;
  width: 100%;
  margin-top: clamp(24px, 4vh, 48px);
  padding: 0 var(--gutter);
  container-type: size;
  display: flex; justify-content: center; align-items: center;
}
.devices {
  --p: 1;
  position: relative;
  /* laptop + phone overhang is ~0.8x its width tall */
  width: min(100%, 900px, 118cqh);
}
.laptop {
  transform: translate3d(0, calc((1 - var(--p)) * 14vh), 0) scale(calc(.86 + var(--p) * .14));
  opacity: calc(.2 + var(--p) * .8);
  transform-origin: 50% 100%;
  will-change: transform, opacity;
}
.laptop__lid {
  background: #1a1a1c;
  border-radius: clamp(10px, 1.8vw, 20px) clamp(10px, 1.8vw, 20px) 4px 4px;
  padding: clamp(6px, 1.2vw, 14px) clamp(6px, 1.2vw, 14px) clamp(8px, 1.4vw, 16px);
  box-shadow: 0 0 0 1px #3a3a3c inset, 0 40px 80px -20px rgba(0, 0, 0, .6);
}
.laptop__screen { border-radius: 4px; overflow: hidden; aspect-ratio: 16 / 10; background: #201a16; }
.laptop__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.laptop__base {
  position: relative;
  height: clamp(8px, 1.3vw, 16px);
  margin: 0 -7%;
  background: linear-gradient(#d9d9de, #a9a9ae 55%, #6e6e73);
  border-radius: 2px 2px 14px 14px / 2px 2px 60% 60%;
}
.laptop__base::before { /* thumb notch */
  content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 14%; height: 40%; background: #8e8e93; border-radius: 0 0 8px 8px;
}

.phone {
  position: absolute;
  right: -4%;
  bottom: -14%;
  width: clamp(88px, 24%, 220px);
  transform: translate3d(calc((1 - var(--p)) * 60%), calc((1 - var(--p)) * 22vh), 0);
  opacity: var(--p);
  will-change: transform, opacity;
  z-index: 3;
}
.phone__body {
  position: relative;
  background: #1a1a1c;
  border-radius: 18% / 8.4%;
  padding: 4.5%;
  box-shadow: 0 0 0 1px #3a3a3c inset, 0 0 0 2px #2c2c2e, -24px 40px 80px -10px rgba(0, 0, 0, .75);
}
.phone__screen { border-radius: 14% / 6.6%; overflow: hidden; aspect-ratio: 390 / 844; background: #271f1a; padding-top: 12%; }
/* padding = the status bar strip, in Reddle's own theme colour, so the island never covers the app */
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone__island {
  position: absolute; top: 4.2%; left: 50%; transform: translateX(-50%);
  width: 30%; height: 2.6%; border-radius: 999px; background: #000;
}

/* Reddle: screens, summary and features below the pinned stage */
.reddle__more { padding-top: clamp(16px, 3vw, 40px); padding-bottom: var(--section-y); }
.reddle__summary {
  max-width: 21ch; margin: 0 auto clamp(56px, 8vw, 104px);
  text-align: center;
  font-size: clamp(28px, 4.4vw, 54px); line-height: 1.1; font-weight: 700; letter-spacing: -0.035em;
  color: #f5f5f7;
  text-wrap: balance;
}
.screens {
  display: grid; grid-template-columns: repeat(3, minmax(0, 290px));
  justify-content: center; align-items: start;
  gap: clamp(24px, 4.5vw, 64px);
}
.screens__item:nth-child(odd) { padding-top: clamp(40px, 6vw, 88px); }
.screen { margin: 0; will-change: transform; }
.screen .phone__body { box-shadow: 0 0 0 1px #3a3a3c inset, 0 0 0 2px #2c2c2e, 0 40px 80px -20px rgba(0, 0, 0, .8); }
.screen__caption { margin-top: 22px; text-align: center; font-size: 17px; font-weight: 500; color: var(--night-2); }

.features { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: clamp(72px, 10vw, 128px); }
@media (min-width: 560px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature { background: #1d1d1f; border-radius: 22px; padding: 26px 24px 28px; }
.feature__icon {
  display: block; width: 30px; height: 30px; margin-bottom: 18px;
  fill: none; stroke: var(--accent-on-dark); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.feature__title { font-size: 19px; line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; color: #f5f5f7; }
.feature__text { margin-top: 8px; font-size: 15px; line-height: 1.45; color: var(--night-2); }

/* Wide screens: copy on the left, devices on the right */
@media (min-width: 1000px) {
  .reddle__sticky {
    flex-direction: row; align-items: center;
    max-width: calc(1280px + var(--gutter) * 2); margin: 0 auto;
    padding: var(--nav-h) var(--gutter) 0;
    gap: clamp(32px, 4vw, 72px);
  }
  .reddle__copy { flex: 0 0 340px; padding: 0; text-align: left; align-items: flex-start; }
  .reddle__lede { text-wrap: pretty; }
  .stage { height: min(78vh, 720px); margin: 0; padding: 0 4% 0 0; flex: 1 1 auto; }
  .devices { width: min(100%, 118cqh); }
}

/* ---------- Concepts ---------- */
.concepts__grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
.concept {
  background: var(--mist);
  border-radius: var(--radius-lg);
  padding: 14px 14px 0;
  display: flex; flex-direction: column;
}
.concept__shot {
  display: block; overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 16 / 10;
  background: #e8e8ed;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 12px 28px -12px rgba(0, 0, 0, .18);
}
.concept__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.concept:hover .concept__shot img { transform: scale(1.03); }
.concept__meta {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding: 22px 10px 22px;
}
.concept__name { font-size: 21px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
.concept__type { margin-top: 2px; color: var(--ink-2); font-size: 15px; }

@media (min-width: 768px) { .concepts__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .concepts__grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- How it works ---------- */
.process { background: var(--mist); }
.steps { display: grid; gap: 48px; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
.step { list-style: none; }
.step::marker { content: none; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.step { max-width: 34ch; }
.step__num {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 19px; font-weight: 600;
  margin-bottom: 22px;
}
.step__title { font-size: clamp(24px, 2.6vw, 28px); line-height: 1.15; font-weight: 700; letter-spacing: -0.03em; }
.step__text { margin-top: 10px; color: var(--ink-2); }

/* ---------- About ---------- */
.about__text {
  margin-top: clamp(20px, 3vw, 32px);
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 880px;
  text-wrap: pretty;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--night); color: #f5f5f7;
  padding: clamp(120px, 18vw, 220px) 0;
  text-align: center;
}
.contact__inner { display: flex; flex-direction: column; align-items: center; }
.contact__title {
  max-width: 14ch;
  font-size: clamp(44px, 8vw, 96px); line-height: 1.03; font-weight: 700; letter-spacing: -0.045em;
  text-wrap: balance;
}
.contact__lede { margin-top: 24px; max-width: 34ch; font-size: clamp(19px, 2vw, 22px); color: var(--night-2); text-wrap: balance; }
.contact__addr { color: var(--night-2); text-decoration: none; font-size: 17px; padding: 6px 0; transition: color .2s; }

.contact__alt { margin-top: clamp(28px, 4vw, 40px); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.contact__or { color: var(--night-2); font-size: 17px; }
.ig { flex: none; }

/* Contact form */
.form {
  width: 100%; max-width: 600px;
  margin-top: clamp(40px, 6vw, 56px);
  display: flex; flex-direction: column; gap: 18px;
  text-align: left;
}
.form__row { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: 15px; font-weight: 500; color: #f5f5f7; }
.field__opt { color: #86868b; font-weight: 400; }
.field__input {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  font: inherit; font-size: 17px; /* 17px keeps iOS from zooming in on focus */
  color: #f5f5f7;
  background: #1d1d1f;
  border: 1px solid #424245;
  border-radius: 14px;
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field__input::placeholder { color: #6e6e73; }
.field__input:hover { border-color: #6e6e73; }
.field__input:focus { outline: none; border-color: var(--accent-on-dark); background: #232326; }
.field__input:focus-visible { outline: none; }
.field__input--area { min-height: 140px; resize: vertical; line-height: 1.45; }
.field__input[aria-invalid="true"] { border-color: #ff6961; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__submit { margin-top: 10px; align-self: stretch; border: 0; cursor: pointer; }
@media (min-width: 768px) { .form__submit { align-self: flex-start; } }
.form__submit[disabled] { opacity: .6; cursor: progress; }
.form__status { min-height: 1.5em; font-size: 17px; color: var(--night-2); }
.form__status.is-ok { color: #f5f5f7; }
.form__status.is-error { color: #ff6961; }
.form.is-sent .field, .form.is-sent .form__row, .form.is-sent .form__submit, .form.is-sent .form__privacy { display: none; }
.form.is-sent .form__status { text-align: center; font-size: clamp(19px, 2vw, 22px); }
.contact__addr:hover { color: #fff; }
.contact :focus-visible { outline-color: var(--accent-on-dark); }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: #86868b; font-size: 13px; padding-bottom: env(safe-area-inset-bottom); }
.footer__inner { position: relative; display: flex; justify-content: space-between; align-items: center; padding-top: 22px; padding-bottom: 22px; }
.footer__inner::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: #1d1d1f; }

.footer__ig { display: grid; place-items: center; width: 44px; height: 44px; margin: -12px -12px -12px 0; color: #a1a1a6; border-radius: 50%; transition: color .2s; }
.footer__ig:hover { color: #fff; }
.footer :focus-visible { outline-color: var(--accent-on-dark); }

/* ---------- Phone-only pieces (hidden on desktop) ---------- */
.nav__toggle, .menu, .sticky-cta, .dots, .screens__item--phone-only, .m-only { display: none; }

/* ---------- Press feedback ---------- */
/* uses the separate `scale` property so it never fights the reveal transform */
.concept:active, .feature:active { scale: .985; }
.js .concept.reveal, .js .feature.reveal {
  transition: opacity .9s var(--ease), transform 1.1s var(--ease), scale .25s var(--ease);
  transition-delay: calc(var(--d, 0) * .1s), calc(var(--d, 0) * .1s), 0s;
}

/* ---------- FAQ ---------- */
.faq { background: var(--mist); }
.faq__list { max-width: 860px; border-top: 1px solid #d2d2d7; }
.faq__item { border-bottom: 1px solid #d2d2d7; overflow: hidden; }
.faq__q {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 72px; padding: 18px 0;
  font-size: clamp(19px, 2vw, 24px); line-height: 1.25; font-weight: 600; letter-spacing: -0.02em;
  -webkit-tap-highlight-color: transparent;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: none; }
.faq__icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #e8e8ed; transition: background-color .25s var(--ease); }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px;
  background: var(--ink); transform: translate(-50%, -50%); transition: transform .3s var(--ease);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--accent); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: #fff; }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__q:hover .faq__icon { background: #dcdce1; }
.faq__item[open] .faq__q:hover .faq__icon { background: var(--accent-hover); }
.faq__a { padding: 0 52px 26px 0; }
.faq__a p { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.5; color: var(--ink-2); max-width: 60ch; }

/* Privacy note under the form */
.form__privacy { font-size: 14px; color: #86868b; text-align: center; margin-top: -6px; }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 48px) 0 64px; }
.notfound__code { font-size: 19px; font-weight: 600; color: var(--accent); }
.notfound__title { margin-top: 12px; max-width: 14ch; font-size: clamp(44px, 8vw, 96px); line-height: 1.02; font-weight: 700; letter-spacing: -0.045em; text-wrap: balance; }
.notfound__text { margin-top: 20px; max-width: 36ch; font-size: clamp(19px, 2vw, 22px); line-height: 1.4; color: var(--ink-2); }
.notfound__actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.notfound__link { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; }

/* ---------- Motion ---------- */
/* Page-load: fade and rise, staggered with --d */
.js .load {
  opacity: 0; transform: translate3d(0, 28px, 0);
  animation: rise 1.1s var(--ease) forwards;
  animation-delay: calc(.15s + var(--d, 0) * .14s);
}
@keyframes rise { to { opacity: 1; transform: none; } }
/* The headline is the largest thing on first load: start it at 1% opacity, not 0,
   so browsers count it as painted (keeps Largest Contentful Paint measurable and fast). */
.js .hero__title.load { opacity: .01; }

/* Scroll reveal: fade, gentle rise, slight scale */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 32px, 0) scale(.98);
  transition: opacity .9s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * .1s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* Short phones or landscape: drop the sticky stage, show devices in flow */
@media (max-height: 560px) {
  .reddle__track { height: auto; }
  .reddle__sticky { position: relative; height: auto; padding-bottom: 80px; }
  .stage { container-type: normal; height: auto; margin-top: 40px; }
  .devices { width: min(86%, 720px); margin-bottom: 40px; }
}

/* =====================================================================
   Phones (under 768px): a separate, app-like design. Desktop is untouched.
   ===================================================================== */
@media (max-width: 767px) {
  :root { --gutter: 20px; --section-y: 76px; --nav-h: 54px; --m-text: #6e6e73; }
  body { font-size: 17px; }
  .d-only { display: none !important; }

  /* ---- Navigation: frosted bar that shrinks on scroll ---- */
  .nav {
    height: var(--nav-h);
    background: rgba(255, 255, 255, .68);
    -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px);
    transition: height .35s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
  }
  .nav.is-scrolled { height: 44px; }
  .nav.is-dark { background: rgba(0, 0, 0, .62); }
  .nav__links { display: none; }
  .nav__brand { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; transform-origin: left center; transition: transform .35s var(--ease); }
  .nav.is-scrolled .nav__brand { transform: scale(.9); }
  .nav__toggle {
    display: grid; place-content: center; gap: 7px;
    width: 44px; height: 44px; margin-right: -10px;
    background: none; border: 0; padding: 0; color: inherit; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .nav__bar { display: block; width: 18px; height: 1.6px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease); }
  .nav__toggle[aria-expanded="true"] .nav__bar:first-child { transform: translateY(4.3px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] .nav__bar:last-child { transform: translateY(-4.3px) rotate(-45deg); }
  .nav.menu-open { background: transparent; color: var(--ink); border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

  /* Full screen menu, frosted */
  .menu {
    display: block; position: fixed; inset: 0; z-index: 45;
    background: rgba(255, 255, 255, .84);
    -webkit-backdrop-filter: saturate(180%) blur(30px); backdrop-filter: saturate(180%) blur(30px);
    color: var(--ink);
    opacity: 0; transition: opacity .3s var(--ease);
    overflow-y: auto; overscroll-behavior: contain;
  }
  .menu[hidden] { display: none; }
  .menu.is-open { opacity: 1; }
  .menu__inner {
    min-height: 100%; display: flex; flex-direction: column;
    padding: calc(var(--nav-h) + env(safe-area-inset-top) + 20px) max(var(--gutter), env(safe-area-inset-right)) calc(32px + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
  }
  .menu__list li, .menu__cta, .menu__ig {
    opacity: 0; transform: translate3d(0, 14px, 0);
    transition: opacity .45s var(--ease), transform .55s var(--ease);
    transition-delay: calc(var(--i) * 40ms);
  }
  .menu.is-open .menu__list li, .menu.is-open .menu__cta, .menu.is-open .menu__ig { opacity: 1; transform: none; }
  .menu__list a {
    display: flex; align-items: center; min-height: 62px;
    font-size: 36px; font-weight: 800; letter-spacing: -0.045em; text-decoration: none;
    transform-origin: left center;
    transition: transform .2s var(--ease), color .2s var(--ease);
    -webkit-tap-highlight-color: transparent;
  }
  .menu__list a:active { color: var(--accent); transform: scale(.97); }
  .menu__cta { margin-top: auto; width: 100%; min-height: 56px; font-size: 18px; font-weight: 600; }
  .menu__ig {
    display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 8px;
    color: var(--m-text); text-decoration: none; font-size: 17px;
    transition: opacity .45s var(--ease), transform .55s var(--ease), scale .2s var(--ease), color .2s var(--ease);
    transition-delay: calc(var(--i) * 40ms), calc(var(--i) * 40ms), 0s, 0s;
    -webkit-tap-highlight-color: transparent;
  }
  .menu__ig:active { scale: .96; color: var(--ink); }

  /* Floating "Get a free preview" pill */
  .sticky-cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    position: fixed; z-index: 40; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom));
    min-height: 50px; padding: 0 24px; border-radius: 999px; white-space: nowrap;
    background: var(--accent); color: #fff; text-decoration: none;
    font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
    box-shadow: 0 12px 32px -8px rgba(59, 62, 240, .6), 0 2px 6px rgba(0, 0, 0, .14), inset 0 0 0 1px rgba(255, 255, 255, .14);
    transform: translate3d(-50%, calc(100% + 40px), 0);
    transition: transform .5s var(--ease);
    -webkit-tap-highlight-color: transparent;
  }
  .sticky-cta.is-visible { transform: translate3d(-50%, 0, 0); }
  .sticky-cta.is-visible:active { transform: translate3d(-50%, 0, 0) scale(.96); }

  /* ---- Type and section intros ---- */
  .eyebrow { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--accent); }
  .section { padding: var(--section-y) 0; }
  .section__head { margin-bottom: 28px; }
  .section__title { font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -0.05em; }
  .section__lede { margin-top: 12px; font-size: 17px; line-height: 1.45; color: var(--m-text); max-width: 33ch; }

  /* ---- Hero: full screen, alive, button at thumb height ---- */
  .hero {
    position: relative; overflow: hidden;
    min-height: 100vh; min-height: 100svh;
    align-items: stretch; text-align: left;
    padding: calc(var(--nav-h) + env(safe-area-inset-top) + 8px) 0 calc(24px + env(safe-area-inset-bottom));
  }
  .hero__bg { display: block; position: absolute; inset: 0; z-index: 0; pointer-events: none; }
  .hero__bg span {
    position: absolute; width: 130vw; height: 130vw; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(59, 62, 240, .20), rgba(59, 62, 240, 0));
    will-change: transform;
    animation: hero-drift 16s ease-in-out infinite alternate;
  }
  .hero__bg span:first-child { top: -38vw; right: -58vw; }
  .hero__bg span:last-child {
    bottom: -48vw; left: -62vw;
    background: radial-gradient(closest-side, rgba(143, 146, 255, .24), rgba(143, 146, 255, 0));
    animation-duration: 20s; animation-delay: -7s;
  }
  @keyframes hero-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-14vw, 12vw, 0) scale(1.18); } }
  .hero__inner { position: relative; z-index: 1; flex: 1; align-items: stretch; }
  .hero__copy { margin: auto 0; padding: 20px 0 36px; align-items: flex-start; }
  .hero__title {
    max-width: none;
    font-size: clamp(44px, 14.4vw, 66px); line-height: .94; font-weight: 800; letter-spacing: -0.058em;
    text-wrap: balance;
  }
  .hero__lede { max-width: 28ch; margin-top: 20px; font-size: 19px; line-height: 1.4; color: #424245; text-wrap: pretty; }
  .hero__actions .btn { width: 100%; min-height: 58px; margin-top: 0; font-size: 18px; font-weight: 600; }
  /* Headline rises into place but is fully visible from the first frame (fast LCP on phones) */
  .js .hero__title.load { opacity: 1; animation-name: rise-in; animation-duration: .9s; }
  @keyframes rise-in { from { transform: translate3d(0, 22px, 0) scale(.985); } to { transform: none; } }

  /* ---- Reddle: intro, then a sticky phone story ---- */
  .reddle__track { height: auto; }
  .reddle__sticky { position: static; height: auto; overflow: visible; padding: 84px 0 0; }
  .stage { display: none; }
  .reddle__copy { text-align: left; align-items: flex-start; }
  .kicker { font-size: 15px; margin-bottom: 8px; }
  .reddle__title { font-size: 68px; font-weight: 800; letter-spacing: -0.058em; }
  .reddle__lede { max-width: 33ch; margin-top: 14px; font-size: 17px; text-wrap: pretty; }
  .reddle__credit { margin-top: 12px; font-size: 15px; font-weight: 500; }
  .reddle .btn { width: 100%; min-height: 54px; margin-top: 26px; font-weight: 600; }
  .reddle__more { padding-top: 64px; padding-bottom: 8px; }
  .reddle__summary { max-width: 15ch; margin: 0; text-align: left; font-size: 34px; line-height: 1.05; font-weight: 800; letter-spacing: -0.045em; }

  .rstory { display: block; position: relative; height: calc(100svh + 3 * 70svh); margin: 0 calc(var(--gutter) * -1); }
  .rstory__sticky {
    position: sticky; top: 0; height: 100vh; height: 100svh;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
    padding: calc(var(--nav-h) + env(safe-area-inset-top) + 8px) var(--gutter) calc(24px + env(safe-area-inset-bottom));
  }
  .rstory__phone { width: min(62vw, calc((100svh - 270px) * .485)); flex: none; }
  .rstory__phone .phone__screen { position: relative; }
  .rstory__shot {
    position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; aspect-ratio: 780 / 1594;
    opacity: 0; transform: scale(1.03);
    transition: opacity .55s var(--ease), transform .7s var(--ease);
  }
  .rstory__shot.is-active { opacity: 1; transform: none; }
  .rstory__phone .phone__body { box-shadow: 0 0 0 1px #3a3a3c inset, 0 0 0 2px #2c2c2e, 0 30px 70px -20px rgba(143, 146, 255, .35), 0 40px 80px -24px rgba(0, 0, 0, .9); }
  .rstory__progress { display: flex; gap: 6px; }
  .rstory__progress i { width: 24px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .2); transition: background-color .3s var(--ease); }
  .rstory__progress i.is-on { background: #f5f5f7; }
  .rstory__caps { position: relative; width: 100%; max-width: 340px; height: 118px; text-align: center; }
  .rstory__cap { position: absolute; inset: 0; opacity: 0; transform: translate3d(0, 12px, 0); transition: opacity .45s var(--ease), transform .55s var(--ease); }
  .rstory__cap.is-active { opacity: 1; transform: none; }
  .rstory__title { font-size: 24px; line-height: 1.15; font-weight: 700; letter-spacing: -0.03em; color: #f5f5f7; }
  .rstory__text { margin-top: 8px; font-size: 16px; line-height: 1.45; color: var(--night-2); }

  /* ---- Concepts: edge to edge row of tall, App Store style cards ---- */
  .concepts__grid {
    display: flex; gap: 14px; grid-template-columns: none;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; /* no scroll-behavior: smooth here: it turns the on-load snap into an animated scroll, which stops Chrome measuring LCP. Dots still glide via scrollTo({behavior:"smooth"}). */
    margin: 0 calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 14px;
    scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .concepts__grid::-webkit-scrollbar { display: none; }
  .concept {
    flex: 0 0 80%; aspect-ratio: 312 / 470;
    display: flex; flex-direction: column-reverse;
    padding: 0; border-radius: 28px; overflow: hidden;
    background: var(--mist);
    scroll-snap-align: start; scroll-snap-stop: always;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 18px 40px -20px rgba(0, 0, 0, .28);
  }
  .concept__meta { flex: none; padding: 18px 16px 16px 20px; align-items: center; gap: 12px; }
  .concept__name { font-size: 22px; line-height: 1.12; font-weight: 700; letter-spacing: -0.025em; }
  .concept__type { margin-top: 3px; font-size: 15px; color: var(--m-text); }
  .concept__shot { flex: 1; min-height: 0; aspect-ratio: auto; border-radius: 0; box-shadow: inset 0 1px 0 rgba(0, 0, 0, .06); background: #e8e8ed; }
  .concept__shot picture { display: block; width: 100%; height: 100%; }
  .concept__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
  .concept:hover .concept__shot img { transform: none; }
  .concept { position: relative; }
  .concept__meta > div { display: flex; flex-direction: column-reverse; }
  .concept__type { margin: 0 0 2px; font-size: 14px; font-weight: 600; }
  /* "View live" floats on the screenshot, App Store style */
  .concept .link {
    position: absolute; right: 12px; bottom: 12px; z-index: 2;
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 0 20px; border-radius: 999px;
    background: rgba(255, 255, 255, .82); color: var(--accent); font-size: 15px; font-weight: 600;
    -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
  }
  .concept .link:hover { text-decoration: none; }

  /* Dot indicators */
  .dots { display: flex; justify-content: center; margin-top: 4px; }
  .dot { display: grid; place-items: center; width: 30px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .dot::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: #48484a; transition: width .3s var(--ease), background-color .3s var(--ease); }
  .dot[aria-current="true"]::before { width: 22px; background: #f5f5f7; }
  .dots--light .dot::before { background: #d2d2d7; }
  .dots--light .dot[aria-current="true"]::before { background: var(--ink); }

  /* ---- How it works: big numbers, line fills as you scroll ---- */
  .steps { position: relative; gap: 0; grid-template-columns: 1fr; }
  .steps::before, .steps::after {
    content: ""; position: absolute; left: 27px; width: 3px; border-radius: 3px;
    top: var(--tl-top, 28px); height: var(--tl-h, 0px);
  }
  .steps::before { background: #d2d2d7; }
  .steps::after { background: var(--accent); transform-origin: top; transform: scaleY(var(--tl, 0)); }
  .step { position: relative; z-index: 1; max-width: none; padding: 0 0 44px 78px; }
  .step:last-child { padding-bottom: 0; }
  .step__num {
    position: absolute; left: 0; top: 0; margin: 0;
    width: 57px; height: 57px; font-size: 26px; font-weight: 800; letter-spacing: -0.03em;
    background: #fff; color: var(--m-text); box-shadow: inset 0 0 0 2px #d2d2d7, 0 0 0 6px var(--mist);
    transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
  }
  .step.is-done .step__num { background: var(--accent); color: #fff; box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 6px var(--mist); }
  .step__title { padding-top: 13px; font-size: 23px; line-height: 1.15; font-weight: 700; letter-spacing: -0.03em; }
  .step__text { margin-top: 8px; font-size: 17px; line-height: 1.45; color: var(--m-text); }
  .js .steps .reveal { transition-delay: 0s; }

  /* ---- About: label, statement, short body ---- */
  .about__m-title { display: inline; }
  .about .section__title { font-size: 34px; line-height: 1.06; letter-spacing: -0.045em; }
  .about__m-text { display: block; margin-top: 16px; font-size: 19px; line-height: 1.45; color: var(--m-text); max-width: 32ch; }

  /* ---- FAQ: iOS grouped list ---- */
  .faq__list { max-width: none; border: 0; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
  .faq__item { position: relative; border: 0; }
  .faq__item + .faq__item::before { content: ""; position: absolute; top: 0; left: 18px; right: 0; height: 1px; background: #e5e5ea; }
  .faq__q { min-height: 58px; padding: 14px 18px; gap: 14px; font-size: 17px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; transition: background-color .2s var(--ease); }
  .faq__q:active { background: #ececf0; }
  .faq__icon { width: 10px; height: 10px; border-radius: 0; background: none; margin-right: 4px; box-shadow: inset -2px -2px 0 #aeaeb2; transform: rotate(45deg) translate(-2px, -2px); transition: transform .3s var(--ease); }
  .faq__icon::before, .faq__icon::after { content: none; }
  .faq__item[open] .faq__icon { background: none; transform: rotate(-135deg) translate(-2px, -2px); }
  .faq__q:hover .faq__icon, .faq__item[open] .faq__q:hover .faq__icon { background: none; }
  .faq__a { padding: 0 18px 18px; }
  .faq__a p { font-size: 16px; line-height: 1.5; color: var(--m-text); }

  /* ---- Contact: app-like grouped form ---- */
  .contact { padding: 84px 0 96px; text-align: left; }
  .contact__inner { align-items: stretch; }
  .contact .eyebrow { color: var(--accent-on-dark); }
  .contact__title { max-width: 11ch; font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -0.05em; }
  .contact__lede { max-width: 32ch; margin-top: 12px; font-size: 17px; text-wrap: pretty; }
  .form { max-width: none; margin-top: 28px; gap: 0; }
  .form__row { display: contents; }
  .field {
    gap: 0; padding: 10px 16px 4px;
    background: linear-gradient(#38383a, #38383a) 16px 0 / calc(100% - 16px) 1px no-repeat, #1c1c1e;
  }
  .field:has(#f-name) { background: #1c1c1e; border-radius: 18px 18px 0 0; }
  .field:has(#f-message) { border-radius: 0 0 18px 18px; }
  .field__label { font-size: 13px; font-weight: 500; color: #8e8e93; transition: color .2s var(--ease); }
  .field__opt { color: #636366; }
  .field:focus-within .field__label { color: var(--accent-on-dark); }
  .field:has([aria-invalid="true"]) .field__label { color: #ff6961; }
  .field__input { min-height: 44px; padding: 4px 0 8px; background: transparent; border: 0; border-radius: 0; }
  .field__input:hover { border-color: transparent; }
  .field__input:focus { background: transparent; }
  .field__input[aria-invalid="true"] { border-color: transparent; }
  .field__input--area { min-height: 116px; resize: none; }
  .form__submit { margin-top: 16px; width: 100%; min-height: 58px; font-size: 18px; font-weight: 600; }
  .form__status { margin-top: 10px; min-height: 0; text-align: left; }
  .form__status:empty { display: none; }
  .form__privacy { margin-top: 12px; text-align: center; font-size: 13px; color: #8e8e93; }
  .contact__alt { width: 100%; margin-top: 12px; align-items: stretch; gap: 0; }
  .contact__or { display: none; }
  .contact__alt .btn { width: 100%; min-height: 58px; font-size: 18px; font-weight: 600; background: #1c1c1e; box-shadow: none; }
  .contact__alt .btn:active { background: #2c2c2e; }

  /* ---- Footer ---- */
  .footer__inner { padding-top: 20px; padding-bottom: 24px; }

  /* 404 */
  .notfound__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .load, .js .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .laptop, .phone { transform: none !important; opacity: 1 !important; }
  .reddle__track { height: auto; }
  .reddle__sticky { position: relative; height: auto; min-height: 100svh; padding-bottom: clamp(100px, 14vw, 160px); }
  .concept__shot img, .btn { transition: none; }
  .menu, .menu__list li, .menu__cta, .menu__ig, .sticky-cta, .nav__bar, .faq__icon::before, .faq__icon::after, .dot::before { transition: none !important; }
  .step::after { transition: none !important; }
  .screens, .concepts__grid { scroll-behavior: auto !important; }
  .concept:active, .feature:active { scale: none; }
  .menu__list a { transition: none !important; }
  .menu__list a:active { transform: none; }
  .menu__ig:active { scale: none; }
  .js .concept.reveal, .js .feature.reveal { transition: none; }
  .js .hero__title.load { animation: none; opacity: 1; }
  .hero__bg span { animation: none; }
  .rstory__shot, .rstory__cap, .rstory__progress i, .step__num, .nav, .nav__brand { transition: none !important; }
  .sticky-cta.is-visible:active { transform: translate3d(-50%, 0, 0); }
}

/* Reduced motion on phones: the Reddle intro is already a normal block, don't stretch it to full height */
@media (prefers-reduced-motion: reduce) and (max-width: 767px) {
  .reddle__sticky { min-height: 0; padding-bottom: 0; }
}
