/* DOTforlife studio site. Hand-written, no framework. Fonts self-hosted (assets/fonts/fonts.css). */
:root {
  --bg: #0b0b0c; --bg-2: #141416; --bg-3: #1c1c1f;
  --ink: #f3f0e8; --mute: #a19d94; --line: rgba(243, 240, 232, .12);
  --ivory: #f3f0e8; --ivory-2: #e9e5db; --ink-d: #0b0b0c; --mute-d: #5c5952; --line-d: rgba(11, 11, 12, .13);
  --red: #ff3d2e; --red-2: #ff6a4d;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --wrap: 1320px; --gut: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .1, 1); --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --r: 22px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 99px; text-decoration: none; font-weight: 500; }
.skip:focus { top: 16px; }

/* grain over everything, very light */
body::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- logo: DOT with the red dot, "for life" set under it ---------- */
.logo { display: inline-flex; flex-direction: column; align-items: flex-end; text-decoration: none; line-height: 1; color: inherit; }
.logo__word { display: inline-flex; align-items: baseline; font: 700 29px/.82 var(--sans); letter-spacing: -.055em; }
.logo__dot { width: .27em; height: .27em; margin-left: .07em; border-radius: 50%; background: var(--red); flex: none; transition: transform .5s var(--ease); }
.logo__tag { font: italic 400 17px/1 var(--serif); letter-spacing: .01em; margin-top: .02em; margin-right: .3em; opacity: .78; }
.logo:hover .logo__dot { transform: scale(1.35); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(11, 11, 12, .84); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.nav__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.nav__links { display: flex; gap: 6px; align-items: center; }
.nav__links a { position: relative; text-decoration: none; font-size: 15px; color: var(--mute); padding: 8px 14px; border-radius: 99px; transition: color .25s, background .25s; }
.nav__links a:hover { color: var(--ink); background: rgba(243, 240, 232, .07); }
.nav__right { display: flex; align-items: center; gap: 10px; }
.nav__lang { font-size: 14px; color: var(--mute); text-decoration: none; padding: 8px 10px; }
.nav__lang:hover { color: var(--ink); }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.nav__toggle span { display: block; width: 16px; height: 1.5px; background: currentColor; margin: 4px auto; transition: transform .35s var(--ease); }
.menu { position: fixed; inset: 0; z-index: 49; background: var(--bg); display: flex; flex-direction: column; justify-content: center; padding: 96px var(--gut) 40px; gap: 6px;
  clip-path: circle(0 at calc(100% - 38px) 38px); transition: clip-path .7s var(--ease-in-out); visibility: hidden; }
.menu a { font: 600 clamp(40px, 11vw, 64px)/1.05 var(--sans); letter-spacing: -.05em; text-decoration: none; }
.menu a em { color: var(--red); }
.menu .menu__small { font: 400 16px/1.5 var(--sans); letter-spacing: 0; color: var(--mute); margin-top: 28px; }
.nav-open .menu { clip-path: circle(150% at calc(100% - 38px) 38px); visibility: visible; }
.nav-open .nav__toggle span:first-child { transform: translateY(2.75px) rotate(45deg); }
.nav-open .nav__toggle span:last-child { transform: translateY(-2.75px) rotate(-45deg); }
.nav-open { overflow: hidden; }

/* ---------- buttons ---------- */
.btn { --h: 52px; position: relative; display: inline-flex; align-items: center; gap: 12px; height: var(--h); padding: 0 8px 0 24px; border-radius: 99px; border: 0; font: 500 16px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 40px -12px rgba(255, 61, 46, .7); }
.btn--red::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); border-radius: inherit; transition: transform .5s var(--ease); }
.btn--red:hover { color: var(--bg); }
.btn--red:hover::before { transform: translateY(0); }
.btn--red:hover .btn__ic { background: var(--red); color: #fff; }
.btn__ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .18); transition: background .35s, color .35s, transform .5s var(--ease); }
.btn:hover .btn__ic { transform: rotate(-45deg); }
.btn__ic svg { width: 14px; height: 14px; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); padding: 0 24px; }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn--sm { --h: 42px; font-size: 14px; padding: 0 6px 0 18px; gap: 10px; }
.btn--sm .btn__ic { width: 30px; height: 30px; }
.btn:active { transform: scale(.97); }
.light .btn--ghost { color: var(--ink-d); box-shadow: inset 0 0 0 1px var(--line-d); }
.light .btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink-d); }
.light .btn--red::before { background: var(--ink-d); }
.light .btn--red:hover { color: var(--ivory); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 3px; transition: background-size .45s var(--ease); }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow svg { width: 12px; height: 12px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translate(2px, -2px); }

/* ---------- section scaffolding ---------- */
.sec { position: relative; padding: clamp(96px, 13vw, 180px) 0; }
.light { background: var(--ivory); color: var(--ink-d); color-scheme: light; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.light .kicker { color: var(--mute-d); }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.h2 { font: 600 clamp(42px, 6.4vw, 104px)/.94 var(--sans); letter-spacing: -.055em; text-wrap: balance; }
.h2 em { font-size: 1.06em; letter-spacing: -.02em; }
.sec-head { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: clamp(48px, 7vw, 96px); }
.sec-head .lede { max-width: 46ch; color: var(--mute); font-size: 18px; }
.light .sec-head .lede { color: var(--mute-d); }
@media (min-width: 960px) {
  .sec-head--split { grid-template-columns: 1.5fr 1fr; align-items: end; }
  .sec-head--split .lede { justify-self: end; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(140px, 17vw, 200px) 0 0; overflow: clip; }
.hero__glow { position: absolute; left: 50%; top: 58%; width: min(1100px, 120vw); aspect-ratio: 1; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 61, 46, .55) 0%, rgba(255, 61, 46, .18) 32%, transparent 64%); filter: blur(30px); pointer-events: none; }
.hero__grid { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 10%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 10%, transparent 75%); }
.hero__inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 99px; border: 1px solid var(--line); background: rgba(243, 240, 232, .04); font-size: 14px; color: var(--mute); backdrop-filter: blur(8px); }
.badge b { font-weight: 500; color: var(--ink); background: var(--bg-3); padding: 4px 10px; border-radius: 99px; font-size: 12px; letter-spacing: .04em; }
.h1 { margin-top: 28px; font: 600 clamp(52px, 10vw, 168px)/.9 var(--sans); letter-spacing: -.06em; text-wrap: balance; }
.h1 em { font-size: 1.08em; letter-spacing: -.02em; color: var(--red); padding-right: .04em; }
.h1 .ln { display: block; overflow: clip; padding-bottom: .16em; margin-bottom: -.16em; }
.h1 .ln > span { display: inline-block; }
.hero__lead { margin-top: 30px; max-width: 40ch; font-size: clamp(18px, 1.6vw, 21px); color: var(--mute); text-wrap: pretty; }
.hero__lead strong { color: var(--ink); font-weight: 500; }
.hero__ctas { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.facts { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: center; font-size: 14px; color: var(--mute); }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts svg { width: 15px; height: 15px; color: var(--red); }

/* the showcase: a browser window that flattens out as you scroll */
.showcase { --p: 0; position: relative; margin: clamp(64px, 8vw, 104px) auto 0; width: min(1180px, 100%); perspective: 1800px; }
.showcase__tilt { transform-origin: 50% 0; transform: rotateX(calc((1 - var(--p)) * 24deg)) scale(calc(.9 + var(--p) * .1)) translateY(calc((1 - var(--p)) * 40px)); will-change: transform; }
.browser { position: relative; border-radius: 16px; background: var(--bg-2); border: 1px solid rgba(243, 240, 232, .14); box-shadow: 0 60px 120px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .06); overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 14px; background: var(--bg-3); border-bottom: 1px solid var(--line); }
.browser__dots { display: flex; gap: 7px; }
.browser__dots i { width: 11px; height: 11px; border-radius: 50%; background: #3a3a3f; }
.browser__url { flex: 1; max-width: 360px; margin: 0 auto; height: 24px; border-radius: 7px; background: rgba(243, 240, 232, .06); display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--mute); }
.browser__url svg { width: 10px; height: 10px; }
.browser__view { display: block; position: relative; aspect-ratio: 16 / 10; background: #000; overflow: hidden; }
.browser__view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.04); transition: opacity 1s var(--ease), transform 3.4s var(--ease); }
.browser__view img.is-on { opacity: 1; transform: scale(1); }
.showcase__tabs { display: flex; justify-content: center; gap: 6px; margin-top: 22px; flex-wrap: wrap; }
.showcase__tabs button { font: 500 13px/1 var(--sans); color: var(--mute); background: transparent; border: 1px solid var(--line); border-radius: 99px; padding: 9px 14px; cursor: pointer; position: relative; overflow: hidden; transition: color .3s, border-color .3s; }
.showcase__tabs button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--red); }
.showcase__tabs button[aria-pressed="true"] { color: var(--ink); border-color: rgba(243, 240, 232, .35); }
.showcase__tabs button[aria-pressed="true"]::after { animation: tab-fill var(--cycle, 4s) linear forwards; }
.is-paused .showcase__tabs button::after { animation-play-state: paused; }
@keyframes tab-fill { to { width: 100%; } }
.chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; background: rgba(20, 20, 22, .78); border: 1px solid rgba(243, 240, 232, .14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8); font-size: 13px; color: var(--mute); text-align: left; animation: float 7s var(--ease-in-out) infinite; }
.chip strong { display: block; font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.chip__ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--red); color: #fff; }
.chip__ic svg { width: 18px; height: 18px; }
.chip--a { left: -38px; top: 22%; }
.chip--b { right: -34px; top: 54%; animation-delay: -3.5s; }
@keyframes float { 50% { transform: translateY(-12px); } }
@media (max-width: 1260px) { .chip--a { left: 12px; } .chip--b { right: 12px; } }
@media (max-width: 720px) { .chip { display: none; } .browser__bar { height: 30px; } .browser__dots i { width: 8px; height: 8px; } .browser__url { height: 18px; font-size: 10px; } }

/* ---------- marquee of trades ---------- */
.marquee { position: relative; margin-top: clamp(80px, 10vw, 140px); border-block: 1px solid var(--line); padding: 26px 0; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; }
.marquee li { display: flex; align-items: center; gap: 40px; padding-right: 40px; font: 500 clamp(26px, 3.2vw, 44px)/1 var(--sans); letter-spacing: -.04em; white-space: nowrap; color: var(--mute); }
.marquee li:nth-child(even) { font: italic 400 clamp(28px, 3.5vw, 48px)/1 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.marquee li::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- work: stacked sticky cards ---------- */
.stack { display: grid; gap: 28px; }
.scard { position: sticky; top: calc(100px + var(--i) * 22px); }
.scard__in { --s: 1; display: grid; grid-template-columns: 1fr; gap: 28px; padding: clamp(20px, 3vw, 40px); border-radius: 30px; background: #fff; border: 1px solid var(--line-d); box-shadow: 0 -20px 60px -30px rgba(11, 11, 12, .25);
  transform: scale(var(--s)); transform-origin: 50% 0; filter: brightness(calc(1 - (1 - var(--s)) * 2.4)); will-change: transform; }
@media (min-width: 960px) { .scard__in { grid-template-columns: 5fr 7fr; gap: 48px; align-items: stretch; } }
.scard__info { display: flex; flex-direction: column; gap: 18px; padding: 8px 4px; }
.scard__top { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--mute-d); }
.scard__num { font: italic 400 22px/1 var(--serif); color: var(--red); }
.scard h3 { font: 600 clamp(36px, 4.2vw, 64px)/.95 var(--sans); letter-spacing: -.055em; margin-top: auto; }
.scard p { color: var(--mute-d); max-width: 40ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13px; padding: 7px 12px; border-radius: 99px; background: var(--ivory); border: 1px solid var(--line-d); }
.scard .link-arrow { margin-top: 6px; align-self: flex-start; }
.scard__shot { display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-d); background: #ddd; text-decoration: none; box-shadow: 0 30px 60px -30px rgba(11, 11, 12, .45); }
.scard__shot .browser__bar { background: #ecebe7; border-color: var(--line-d); height: 34px; }
.scard__shot .browser__dots i { background: #cfcdc6; width: 10px; height: 10px; }
.scard__shot .browser__url { background: #fff; color: var(--mute-d); font-size: 11px; height: 22px; }
.scroller { position: relative; height: clamp(300px, 34vw, 470px); overflow: hidden; background: #fff; }
.scroller img { width: 100%; transform: translateY(0); transition: transform 1.2s var(--ease); }
.scard__shot:hover .scroller img, .scard__shot:focus-visible .scroller img { transform: translateY(var(--shift, 0)); transition: transform var(--dur, 7s) cubic-bezier(.45, 0, .55, 1); }
.scroller__hint { position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 99px; background: rgba(11, 11, 12, .82); color: #fff; font-size: 12px; backdrop-filter: blur(8px); transition: opacity .3s; }
.scard__shot:hover .scroller__hint { opacity: 0; }
.scroller__hint i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.work__note { margin-top: 40px; font-size: 14px; color: var(--mute-d); text-align: center; }

/* ---------- promise: numbers + bento ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
@media (min-width: 960px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 34px 24px 34px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 960px) { .stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); } }
@media (max-width: 959px) { .stat:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); } }
.stat .stat__n { margin: 0; color: var(--ink); max-width: none; font: 600 clamp(56px, 7vw, 112px)/.9 var(--sans); letter-spacing: -.06em; display: flex; align-items: baseline; }
.stat__n small { font: italic 400 .42em/1 var(--serif); letter-spacing: 0; color: var(--red); margin-left: .12em; }
.stat p:not(.stat__n) { margin-top: 14px; color: var(--mute); font-size: 15px; max-width: 26ch; }
.bento { margin-top: clamp(56px, 7vw, 96px); display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .bento { grid-template-columns: repeat(6, 1fr); } .tile--w { grid-column: span 3; } .tile { grid-column: span 2; } .tile--w { grid-column: span 3; } }
.tile { --mx: 50%; --my: 50%; position: relative; padding: 30px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.tile::before, .pcard::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 61, 46, .16), transparent 60%); }
.tile:hover::before, .pcard:hover::before { opacity: 1; }
.tile h3 { font: 600 22px/1.15 var(--sans); letter-spacing: -.03em; }
.tile p { margin-top: 8px; color: var(--mute); font-size: 15px; max-width: 38ch; }
.tile__ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--bg-3); border: 1px solid var(--line); color: var(--red); }
.tile__ic svg { width: 22px; height: 22px; }
/* visual inside the wide tiles */
.phones { display: flex; gap: 12px; align-items: flex-end; height: 150px; }
.phone { width: 76px; height: 150px; border-radius: 16px; border: 3px solid #2a2a2e; overflow: hidden; background: #000; flex: none; transition: transform .6s var(--ease); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone:nth-child(2) { height: 132px; } .phone:nth-child(3) { height: 118px; }
.tile:hover .phone:nth-child(1) { transform: translateY(-6px); } .tile:hover .phone:nth-child(2) { transform: translateY(-10px); } .tile:hover .phone:nth-child(3) { transform: translateY(-14px); }
.code { font: 500 13px/1.7 ui-monospace, "SF Mono", Consolas, monospace; color: var(--mute); background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; overflow: hidden; white-space: pre; }
.code b { color: var(--red-2); font-weight: 500; } .code i { color: var(--ink); font-style: normal; }
.tile--split { display: grid; gap: 24px; }
@media (min-width: 720px) { .tile--split { grid-template-columns: 1fr 1fr; align-items: end; } }

/* ---------- process ---------- */
.steps { --pp: 0; position: relative; display: grid; gap: 40px; grid-template-columns: 1fr; padding-left: 40px; }
.steps__line { position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line-d); border-radius: 2px; }
.steps__line::before { content: ""; position: absolute; inset: 0 0 auto; height: calc(var(--pp) * 100%); background: var(--red); border-radius: inherit; }
.steps__dot { position: absolute; left: -7px; top: calc(var(--pp) * 100%); width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px rgba(255, 61, 46, .18), 0 0 24px rgba(255, 61, 46, .7); }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 52px 0 0; }
  .steps__line { left: 0; right: 0; top: 7px; bottom: auto; width: auto; height: 2px; }
  .steps__line::before { inset: 0 auto 0 0; height: auto; width: calc(var(--pp) * 100%); }
  .steps__dot { top: -7px; left: calc(var(--pp) * 100%); margin: 0 0 0 -8px; }
}
.step { transition: opacity .5s; opacity: .38; }
.step.is-on { opacity: 1; }
.step__n { font: italic 400 46px/1 var(--serif); color: var(--red); }
.step h3 { margin-top: 14px; font: 600 26px/1.1 var(--sans); letter-spacing: -.035em; }
.step p { margin-top: 12px; color: var(--mute-d); font-size: 16px; max-width: 32ch; }
.step__time { display: inline-block; margin-top: 16px; font-size: 13px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line-d); }

/* ---------- prices ---------- */
.prices { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 960px) { .prices { grid-template-columns: repeat(3, 1fr); } }
.pcard { --mx: 50%; --my: 50%; position: relative; display: flex; flex-direction: column; gap: 26px; padding: 34px; border-radius: 28px; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), border-color .4s; }
.pcard:hover { transform: translateY(-4px); border-color: rgba(243, 240, 232, .25); }
.pcard--hot { background: linear-gradient(180deg, #1f1110 0%, var(--bg-2) 55%); border-color: rgba(255, 61, 46, .55); }
.pcard--hot:hover { border-color: var(--red); }
.pcard__top { display: flex; justify-content: space-between; align-items: center; }
.pcard h3 { font: 600 22px/1 var(--sans); letter-spacing: -.03em; }
.pill { font-size: 12px; font-weight: 500; letter-spacing: .04em; padding: 6px 11px; border-radius: 99px; background: var(--red); color: #fff; }
.price { font: 600 clamp(56px, 5.6vw, 80px)/.9 var(--sans); letter-spacing: -.06em; }
.price small { font: italic 400 22px/1 var(--serif); letter-spacing: 0; color: var(--mute); margin-left: 6px; }
.pcard__sum { color: var(--mute); font-size: 15px; margin-top: -10px; }
.checks { display: grid; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--red); }
.pcard .btn { margin-top: auto; align-self: stretch; justify-content: space-between; }
.prices__note { margin-top: 28px; font-size: 14px; color: var(--mute); text-align: center; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line-d); }
.faq details { border-bottom: 1px solid var(--line-d); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; font: 600 clamp(20px, 2.1vw, 28px)/1.2 var(--sans); letter-spacing: -.03em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-d); transition: background .35s, border-color .35s, transform .5s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.6px; background: currentColor; translate: -50% -50%; }
.faq summary i::after { rotate: 90deg; transition: rotate .4s var(--ease); }
.faq details[open] summary i { background: var(--red); border-color: var(--red); color: #fff; }
.faq details[open] summary i::after { rotate: 0deg; }
.faq summary:hover i { border-color: var(--ink-d); }
.faq .ans { overflow: hidden; }
.faq .ans p { padding: 0 64px 30px 0; color: var(--mute-d); max-width: 70ch; }
@media (min-width: 960px) { .faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; } .faq-wrap .sec-head { position: sticky; top: 120px; } }

/* ---------- contact ---------- */
.contact { position: relative; overflow: clip; }
.contact__glow { position: absolute; right: -20%; top: -10%; width: 900px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 61, 46, .4), transparent 62%); filter: blur(40px); pointer-events: none; }
.contact__grid { position: relative; display: grid; gap: 56px; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }
.contact .lede { margin-top: 26px; color: var(--mute); font-size: 18px; max-width: 40ch; }
.contact__mail { margin-top: 30px; display: inline-flex; font-size: 18px; }
.contact__list { margin-top: 36px; display: grid; gap: 12px; color: var(--mute); font-size: 15px; }
.contact__list li { display: flex; gap: 12px; align-items: center; }
.contact__list svg { width: 18px; height: 18px; color: var(--red); }
.form { position: relative; padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: rgba(20, 20, 22, .8); border: 1px solid var(--line); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; color: var(--mute); }
.field input, .field textarea { width: 100%; font: 400 17px/1.4 var(--sans); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 15px 16px; transition: border-color .25s, box-shadow .25s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: rgba(243, 240, 232, .28); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(255, 61, 46, .18); }
.field[data-bad] input { border-color: var(--red); }
.field__err { font-size: 13px; color: var(--red-2); }
.form .btn { justify-content: space-between; margin-top: 6px; }
.form__fine { font-size: 13px; color: var(--mute); }
.form__fine a { color: var(--ink); }
.form__status { font-size: 15px; color: var(--ink); min-height: 1em; }
.row2 { display: grid; gap: 18px; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }

/* ---------- footer ---------- */
.footer { position: relative; padding: 80px 0 32px; border-top: 1px solid var(--line); overflow: clip; }
.footer__top { display: grid; gap: 40px; }
@media (min-width: 960px) { .footer__top { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer__lede { color: var(--mute); max-width: 32ch; margin-top: 14px; }
.footer h4 { margin: 0 0 16px; font: 500 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.footer ul { display: grid; gap: 10px; }
.footer ul a { text-decoration: none; color: var(--ink); opacity: .85; }
.footer ul a:hover { opacity: 1; color: var(--red); }
.bigmark { display: flex; flex-direction: column; align-items: flex-end; width: fit-content; margin: clamp(60px, 9vw, 120px) auto 0; line-height: 1; user-select: none; }
.bigmark__word { display: flex; align-items: baseline; font: 700 clamp(120px, 31vw, 480px)/.78 var(--sans); letter-spacing: -.07em; color: var(--ink); }
.bigmark__word i { width: .25em; height: .25em; margin-left: .05em; border-radius: 50%; background: var(--red); box-shadow: 0 0 80px rgba(255, 61, 46, .6); }
.bigmark__tag { font: italic 400 clamp(36px, 8.4vw, 130px)/1 var(--serif); margin: .06em .28em 0 0; color: var(--mute); }
.footer__legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 13px; color: var(--mute); }
.footer__legal nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__legal a { text-decoration: none; }
.footer__legal a:hover { color: var(--ink); }

/* scroll progress */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; background: var(--red); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }

/* ---------- reveal on scroll (only when JS runs) ---------- */
.js [data-rv] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-rv].is-in { opacity: 1; transform: none; }
.js .h1 .ln > span { transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 110ms + 100ms); }
.js .is-loaded .h1 .ln > span, .is-loaded .h1 .ln > span { transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 959px) {
  .nav__links, .nav__lang, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .scard { top: calc(84px + var(--i) * 14px); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .btn { --h: 50px; font-size: 15px; }
  .hero__ctas { width: 100%; flex-direction: column; } .hero__ctas .btn { justify-content: space-between; }
  .hero__ctas .btn--ghost { justify-content: center; }
  .scroller { height: 260px; }
  .faq .ans p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  /* less motion asked for: nothing slides or moves, things fade in place instead */
  html { scroll-behavior: auto; }
  .js [data-rv] { transform: none; transition: opacity .9s ease; transition-delay: calc(var(--d, 0) * 80ms); }
  .js .h1 .ln > span { transform: none; opacity: 0; transition: opacity 1s ease; transition-delay: calc(var(--d, 0) * 140ms + 100ms); }
  .is-loaded .h1 .ln > span { opacity: 1; }
  .showcase__tilt { transform: none; }
  .marquee__track { animation: none; }
  .chip, .badge .pulse::after, .scroller__hint i { animation: none; }
  .scard__in { transform: none !important; filter: none !important; }
}
.badge .pulse { position: relative; width: 8px; height: 8px; margin-left: 6px; border-radius: 50%; background: var(--red); }
.badge .pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--red); animation: ping 2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(2); opacity: 0; } }
@media (max-width: 959px) { .stat .stat__n { font-size: clamp(44px, 12vw, 80px); flex-wrap: wrap; } }
@media (hover: none) { .scroller__hint { display: none; } }

/* ---------- legal and credits pages ---------- */
.doc { padding-top: 150px; padding-bottom: 100px; max-width: 820px; }
.doc h1 { font: 600 clamp(44px, 6vw, 80px)/.95 var(--sans); letter-spacing: -.05em; margin-bottom: 28px; }
.doc h2 { font: 600 24px/1.2 var(--sans); letter-spacing: -.025em; margin: 48px 0 12px; }
.doc h3 { font: 600 19px/1.3 var(--sans); margin: 28px 0 8px; }
.doc p, .doc li { color: var(--mute); margin-bottom: 14px; max-width: 70ch; }
.doc p strong, .doc li strong { color: var(--ink); font-weight: 500; }
.doc ul { list-style: disc; padding-left: 22px; }
.doc a { color: var(--ink); text-decoration-color: var(--red); text-underline-offset: 3px; }
.doc a:hover { color: var(--red); }
.doc section + section { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--line); }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 64px 0; }

/* ---------- the dot cursor (mouse and trackpad only) ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--red);
  display: grid; place-items: center; font: 600 12px/1 var(--sans); letter-spacing: .02em; color: #fff; opacity: 0;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s, opacity .3s, transform .2s; }
.cursor span { opacity: 0; transition: opacity .2s; white-space: nowrap; }
.has-cursor .cursor { opacity: 1; }
.cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(255, 61, 46, .22); box-shadow: inset 0 0 0 1.5px var(--red); }
.cursor.is-view { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--red); box-shadow: none; }
.cursor.is-view span { opacity: 1; }
.cursor.is-text { width: 4px; height: 26px; margin: -13px 0 0 -2px; border-radius: 2px; }
.cursor.is-down { transform: scale(.7); }
@media (hover: hover) and (pointer: fine) {
  .has-cursor, .has-cursor a, .has-cursor button, .has-cursor summary, .has-cursor label { cursor: none; }
}
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* headings split into words that rise in */
.js [data-split] .w { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--wi) * 60ms + var(--d, 0) * 90ms); }
.js [data-split].is-in .w > span { transform: none; }
/* work screenshots open like a curtain */
.js .scard__shot .scroller { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s cubic-bezier(.65, 0, .35, 1) .15s; }
.js .scard.is-in .scard__shot .scroller { clip-path: inset(0); }
/* phones: the screenshot scrolls by itself while the card is on screen */
@media (hover: none) {
  .scard__shot.is-auto .scroller img { animation: autoscroll var(--dur, 7s) cubic-bezier(.45, 0, .55, 1) .8s infinite alternate; }
}
@keyframes autoscroll { to { transform: translateY(var(--shift, 0)); } }
/* footer mark: letters rise in */
.js .bigmark__word .ch { display: inline-block; transform: translateY(60%); opacity: 0; transition: transform 1.2s var(--ease), opacity 1s; transition-delay: calc(var(--ci) * 90ms); }
.js .bigmark.is-in .bigmark__word .ch { transform: none; opacity: 1; }
.js .bigmark__word i { transform: scale(0); transition: transform 1s cubic-bezier(.3, 1.6, .5, 1) .45s; }
.js .bigmark.is-in .bigmark__word i { transform: none; }
.js .bigmark__tag { opacity: 0; transform: translateX(-30px); transition: opacity 1s .7s, transform 1.2s var(--ease) .7s; }
.js .bigmark.is-in .bigmark__tag { opacity: 1; transform: none; }
/* kicker dot pops in */
.js .kicker::before { transform: scale(0); transition: transform .7s cubic-bezier(.3, 1.6, .5, 1) .2s; }
.js .kicker.is-in::before { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-split] .w > span { transform: none; opacity: 0; transition: opacity .9s ease; transition-delay: calc(var(--wi) * 45ms); }
  .js [data-split].is-in .w > span { opacity: 1; }
  .js .bigmark__word .ch, .js .bigmark__tag, .js .bigmark__word i, .js .kicker::before { transform: none; }
  .js .scard__shot .scroller { clip-path: none; opacity: 0; transition: opacity 1s ease .1s; }
  .js .scard.is-in .scard__shot .scroller { opacity: 1; }
}
:root { --pt-bg: #0b0b0c; --pt-dot: #ff3d2e; }
.doc h1 { font-size: clamp(34px, 6vw, 80px); hyphens: auto; overflow-wrap: anywhere; }
.doc { overflow-wrap: break-word; }
.browser__url, .scard__shot .browser__url { font-size: 12px; }
@media (max-width: 720px) { .browser__url { font-size: 12px !important; } }
