/* ==========================================================
   LENNOTAU — styles
   Black & white, liquid glass, pops of colour.
   ========================================================== */

:root {
  --ink: #0a0a0b;
  --ink-2: #2b2b30;
  --muted: #6b6b73;
  --line: rgba(10, 10, 11, 0.09);
  --paper: #f4f4f2;
  --white: #ffffff;

  --blue: #2f6bff;
  --orange: #ff6a2b;
  --pink: #ff4fa0;
  --lime: #b8ec3a;
  --violet: #7a5cff;
  --teal: #14c2a3;
  --yellow: #ffc83d;

  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 40px -12px rgba(0, 0, 0, 0.18);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }
::selection { background: var(--ink); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white);
  padding: 10px 16px; border-radius: 999px;
  transition: top .2s;
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

/* ---------- icon + "app icon" (the colour pops) ---------- */
.i {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.app {
  --c1: var(--blue); --c2: #6aa0ff;
  position: relative;
  display: inline-grid; place-items: center; flex: none;
  width: 52px; height: 52px;
  border-radius: 16px;
  color: #fff;
  font-size: 24px;
  background:
    radial-gradient(120% 90% at 30% 10%, rgba(255,255,255,.55), rgba(255,255,255,0) 45%),
    linear-gradient(160deg, var(--c2), var(--c1));
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.7),
    inset 0 -6px 12px rgba(0,0,0,.12),
    0 10px 24px -8px color-mix(in srgb, var(--c1) 70%, transparent),
    0 2px 4px rgba(0,0,0,.08);
}
.app .i { stroke-width: 2.2; filter: drop-shadow(0 1px 1px rgba(0,0,0,.18)); }
.app--sm { width: 40px; height: 40px; border-radius: 12px; font-size: 19px; }
.app--xs { width: 30px; height: 30px; border-radius: 9px; font-size: 15px; }

.app--blue   { --c1: #2f6bff; --c2: #74a6ff; }
.app--orange { --c1: #ff5a1f; --c2: #ffa05c; }
.app--pink   { --c1: #ff3d93; --c2: #ff8cc4; }
.app--lime   { --c1: #7fcf12; --c2: #d5ff6a; color: #17310a; }
.app--lime .i { filter: none; }
.app--violet { --c1: #6a45ff; --c2: #a892ff; }
.app--teal   { --c1: #0fae92; --c2: #5ce6cc; }
.app--yellow { --c1: #ffb000; --c2: #ffe07a; color: #3d2800; }
.app--yellow .i { filter: none; }
.app--ink    { --c1: #0a0a0b; --c2: #4a4a52; }

/* ---------- liquid glass ---------- */
.glass {
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,.62), rgba(255,255,255,.28));
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    inset 0 -1px 0 rgba(255,255,255,.3),
    0 1px 2px rgba(0,0,0,.04),
    0 18px 50px -18px rgba(0,0,0,.22);
}
.glass::after {
  /* the moving specular highlight */
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, 20%) var(--my, 0%), rgba(255,255,255,.55), transparent 60%);
  opacity: .7;
  mix-blend-mode: soft-light;
}
.glass--dark {
  background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
  border-color: rgba(255,255,255,.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 24px 60px -20px rgba(0,0,0,.6);
}
.glass--dark::after {
  background: radial-gradient(260px circle at var(--mx, 20%) var(--my, 0%), rgba(255,255,255,.14), transparent 60%);
  mix-blend-mode: normal; opacity: 1;
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px;
  padding: 0 24px;
  border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 500; font-size: 16px; letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 8px 24px -10px rgba(0,0,0,.5);
}
.btn .i { font-size: 18px; transition: transform .4s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .i { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--ghost {
  --bg: rgba(255,255,255,.55); --fg: var(--ink);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255,255,255,.9);
}
.btn--light { --bg: var(--white); --fg: var(--ink); }
.btn--dark-ghost {
  --bg: rgba(255,255,255,.06); --fg: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }

.dot-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--ink-2);
}
.dot-pill b { font-weight: 500; }
.live {
  width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--teal) 18%, transparent);
}
.live::before {
  content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--teal);
  box-shadow: 0 0 0 0 rgba(20,194,163,.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(20,194,163,.55); }
  70% { box-shadow: 0 0 0 9px rgba(20,194,163,0); }
  100% { box-shadow: 0 0 0 0 rgba(20,194,163,0); }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 3px;
  background: var(--eb, var(--blue));
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 14px 0 auto; z-index: 50;
  pointer-events: none;
}
.nav__bar {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  transition: background .4s, box-shadow .4s, max-width .5s var(--ease);
}
.nav.is-dark .nav__bar {
  background: linear-gradient(135deg, rgba(20,20,22,.72), rgba(20,20,22,.5));
  border-color: rgba(255,255,255,.12);
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 18px 50px -18px rgba(0,0,0,.6);
}
.nav__wrap { padding: 0 max(12px, calc(var(--gutter) - 8px)); }

.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 17px; letter-spacing: 0.06em;
}
.logo__mark { width: 30px; height: 30px; flex: none; }

.nav__links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: 9px 14px; border-radius: 999px;
  font-size: 15px; color: inherit; opacity: .72;
  transition: opacity .2s, background .2s;
}
.nav__links a:hover { opacity: 1; background: rgba(127,127,127,.12); }
.nav__cta { display: flex; align-items: center; gap: 8px; }
.nav__menu {
  display: none;
  width: 42px; height: 42px; border-radius: 999px; border: 0;
  background: rgba(127,127,127,.12);
  place-items: center; font-size: 20px;
}
.nav.is-dark .btn--nav { --bg: var(--white); --fg: var(--ink); }

.sheet {
  position: fixed; inset: 0; z-index: 60;
  display: grid; align-content: start;
  padding: 14px;
  background: rgba(10,10,11,.25);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.sheet.is-open { opacity: 1; visibility: visible; }
.sheet__panel {
  border-radius: 30px; padding: 14px;
  transform: translateY(-12px) scale(.98);
  transition: transform .45s var(--ease);
}
.sheet.is-open .sheet__panel { transform: none; }
.sheet__top { display: flex; justify-content: space-between; align-items: center; padding: 2px 2px 10px 6px; }
.sheet__panel nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 10px; font-size: 26px; font-weight: 600; letter-spacing: -0.03em;
  border-top: 1px solid var(--line);
}
.sheet__panel nav a .i { font-size: 20px; color: var(--muted); }
.sheet__panel .btn { width: 100%; margin-top: 12px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(130px, 18vh, 180px) 0 40px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  /* fine dotted grid */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: radial-gradient(rgba(10,10,11,.10) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero__inner { text-align: center; }
.hero h1 {
  font-size: clamp(44px, 8.4vw, 112px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: .95;
  margin: 26px auto 0;
  max-width: 12.5ch;
}
.hero h1 .serif { letter-spacing: -0.03em; font-size: 1.08em; }
.hero__lede {
  max-width: 600px;
  margin: 28px auto 0;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-2);
  line-height: 1.55;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.hero__note { margin-top: 16px; font-size: 14px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.hero__note .i { color: var(--teal); }

.stage {
  position: relative;
  margin: 70px auto 0;
  max-width: 1040px;
  perspective: 1600px;
}
.orb {
  position: absolute; z-index: -1; border-radius: 50%;
  filter: blur(60px); opacity: .75;
  animation: drift 18s ease-in-out infinite alternate;
}
.orb--1 { width: 360px; height: 360px; background: var(--blue);   left: -4%;  top: 8%; }
.orb--2 { width: 300px; height: 300px; background: var(--orange); right: -2%; top: -4%; animation-delay: -6s; }
.orb--3 { width: 260px; height: 260px; background: var(--pink);   right: 22%; bottom: -10%; animation-delay: -10s; opacity: .55; }
.orb--4 { width: 220px; height: 220px; background: var(--lime);   left: 28%;  bottom: -8%; animation-delay: -3s; opacity: .6; }
@keyframes drift {
  0% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(30px,-20px,0) scale(1.08); }
  100% { transform: translate3d(-20px,24px,0) scale(.95); }
}

.browser {
  border-radius: var(--radius-xl);
  padding: 12px;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, 0deg));
  transition: transform .8s var(--ease);
}
.browser__chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 8px 12px;
}
.browser__dots { display: flex; gap: 6px; }
.browser__dots span { width: 11px; height: 11px; border-radius: 50%; background: rgba(10,10,11,.14); }
.browser__dots span:nth-child(1) { background: #ff5f57; }
.browser__dots span:nth-child(2) { background: #febc2e; }
.browser__dots span:nth-child(3) { background: #28c840; }
.browser__url {
  flex: 1; max-width: 340px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.6);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13px; color: var(--muted);
}
.browser__url .i { font-size: 12px; color: var(--teal); }
.browser__screen {
  border-radius: 22px; overflow: hidden;
  background: #eee;
  box-shadow: 0 0 0 1px var(--line);
  aspect-ratio: 16 / 10;
}
.browser__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.chip {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 10px;
  border-radius: 22px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  text-align: left; line-height: 1.25;
  transform: translate3d(var(--px, 0), var(--py, 0), 0);
  transition: transform .9s var(--ease);
  white-space: nowrap;
}
.chip small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.chip--1 { left: -5%; top: 18%; }
.chip--2 { right: -6%; top: 10%; }
.chip--3 { left: -3%; bottom: 14%; }
.chip--4 { right: -4%; bottom: 22%; }
.chip__score {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: 15px; color: #0a7a3c;
  background: conic-gradient(#0cce6b 0 100%, transparent 0);
  -webkit-mask: radial-gradient(circle, transparent 15px, #000 16px);
  mask: radial-gradient(circle, transparent 15px, #000 16px);
}
.chip__score-wrap { position: relative; width: 44px; height: 44px; flex: none; }
.chip__score-wrap span {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-weight: 700; font-size: 14px; color: #0a8a47;
}

/* ---------- marquee ---------- */
.marquee {
  margin-top: 70px;
  border-block: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex; gap: 48px; width: max-content;
  padding: 22px 0;
  animation: marquee 38s linear infinite;
}
.marquee__item {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: clamp(20px, 2.4vw, 28px); font-weight: 500; letter-spacing: -0.03em;
  white-space: nowrap;
}
.marquee__item .serif { font-size: 1.12em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(90px, 12vw, 150px) 0; position: relative; }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark .eyebrow { color: rgba(255,255,255,.6); }
.section--white { background: var(--white); }

.head { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 72px); }
.head h2 { font-size: clamp(38px, 6vw, 76px); max-width: 15ch; letter-spacing: -0.05em; }
.head p { max-width: 560px; color: var(--muted); font-size: 18px; margin: 0; }
.section--dark .head p { color: rgba(255,255,255,.62); }
.head--split { grid-template-columns: 1.3fr 1fr; align-items: end; }
.head--center { text-align: center; justify-items: center; }

/* problem */
.signs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.sign {
  border-radius: var(--radius-lg);
  padding: 26px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  display: grid; gap: 18px; align-content: start;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.sign:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft); }
.sign h3 { font-size: 21px; letter-spacing: -0.025em; line-height: 1.2; }
.sign p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.sign__x {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff0f0; color: #e5484d; font-size: 16px;
}
.callout {
  margin-top: 14px;
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px);
  background: var(--ink); color: var(--white);
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  overflow: hidden; position: relative;
}
.callout p { margin: 0; font-size: clamp(22px, 2.8vw, 34px); letter-spacing: -0.035em; line-height: 1.15; max-width: 26ch; font-weight: 500; }
.callout p .serif { color: var(--lime); }
.callout::before {
  content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -180px;
  background: radial-gradient(circle, rgba(47,107,255,.55), transparent 65%);
  filter: blur(20px);
}

/* work */
.work { display: grid; grid-template-columns: 1.55fr 1fr; gap: 16px; }
.case {
  border-radius: var(--radius-xl);
  padding: clamp(16px, 2vw, 22px);
  display: grid; gap: 22px;
}
.case__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: end; padding: 6px 8px 2px; }
.case__meta h3 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -0.045em; }
.case__meta p { margin: 8px 0 0; color: rgba(255,255,255,.62); max-width: 44ch; font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  padding: 6px 12px; border-radius: 999px; font-size: 13px;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.8);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}
.case__actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 8px 8px; }

/* before / after */
.ba {
  --pos: 50%;
  position: relative;
  border-radius: 22px; overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #111;
  user-select: none; -webkit-user-select: none;
  touch-action: pan-y;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; pointer-events: none; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__line {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: #fff; box-shadow: 0 0 20px rgba(0,0,0,.4);
  pointer-events: none;
}
.ba__handle {
  position: absolute; top: 50%; left: var(--pos);
  width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
  display: grid; place-items: center; gap: 0;
  background: rgba(255,255,255,.35);
  -webkit-backdrop-filter: blur(12px) saturate(180%); backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: inset 0 1px 0 #fff, 0 10px 30px rgba(0,0,0,.35);
  color: var(--ink);
  pointer-events: none;
}
.ba__handle svg { width: 26px; height: 26px; }
.ba__label {
  position: absolute; bottom: 14px; z-index: 2;
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(10,10,11,.7); color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  pointer-events: none;
}
.ba__label--b { left: 14px; }
.ba__label--a { right: 14px; background: rgba(255,255,255,.85); color: var(--ink); }
.ba input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none;
}
.ba input[type="range"]:focus-visible + .ba__focus { opacity: 1; }
.ba__focus { position: absolute; inset: 0; border-radius: 22px; box-shadow: inset 0 0 0 3px var(--blue); opacity: 0; pointer-events: none; }
.ba__hint {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 500;
  background: rgba(10,10,11,.6); color: #fff; white-space: nowrap;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  pointer-events: none; transition: opacity .4s;
}
.ba.is-touched .ba__hint { opacity: 0; }

.wins { display: grid; gap: 10px; padding: 0 8px; list-style: none; margin: 0; }
.wins li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: rgba(255,255,255,.82); line-height: 1.45; }
.wins .app { margin-top: -2px; }

.slot {
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
  min-height: 420px;
  position: relative; overflow: hidden;
  border: 1.5px dashed rgba(255,255,255,.22);
  background:
    radial-gradient(400px circle at 100% 0%, rgba(122,92,255,.35), transparent 60%),
    radial-gradient(360px circle at 0% 100%, rgba(255,106,43,.28), transparent 60%),
    rgba(255,255,255,.02);
  transition: border-color .4s, transform .5s var(--ease);
}
.slot:hover { border-color: rgba(255,255,255,.5); transform: translateY(-4px); }
.slot__icons { display: flex; gap: 10px; flex-wrap: wrap; }
.slot h3 { font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -0.045em; line-height: 1; }
.slot p { color: rgba(255,255,255,.65); margin: 14px 0 0; font-size: 16px; }
.slot__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.slot__go .i { transition: transform .4s var(--ease); }
.slot:hover .slot__go .i { transform: translateX(4px); }

/* services bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.tile {
  grid-column: span 2;
  border-radius: var(--radius-lg);
  padding: 28px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column; gap: 18px;
  position: relative; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft); }
.tile h3 { font-size: 23px; letter-spacing: -0.03em; line-height: 1.15; }
.tile p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.tile--big { grid-column: span 4; grid-row: span 2; background: var(--ink); color: var(--white); justify-content: space-between; min-height: 440px; }
.tile--big h3 { font-size: clamp(32px, 3.6vw, 48px); letter-spacing: -0.045em; line-height: 1; max-width: 13ch; }
.tile--big p { color: rgba(255,255,255,.65); max-width: 46ch; font-size: 17px; }
.tile--wide { grid-column: span 3; }
.tile__visual {
  position: absolute; right: -40px; top: -40px; width: 60%; max-width: 420px; aspect-ratio: 1;
  pointer-events: none;
}
.mini-ui { display: grid; gap: 8px; margin-top: auto; }
.mini-ui__row { display: flex; gap: 8px; align-items: center; }
.bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,.12); }
.list-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.list-checks li {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px 8px 10px; border-radius: 999px; font-size: 14px;
  background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.list-checks .i { color: var(--lime); }
.serp {
  margin-top: auto;
  border-radius: 16px; padding: 14px 16px;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13px; line-height: 1.4;
}
.serp__url { color: #1a7f37; font-size: 12px; }
.serp__title { color: #1a0dab; font-size: 16px; font-weight: 500; margin: 2px 0; letter-spacing: -0.01em; }
.serp__desc { color: var(--muted); }
.note-line { margin-top: 22px; color: var(--muted); font-size: 15px; display: flex; align-items: center; gap: 10px; }

/* free preview offer */
.offer {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: clamp(28px, 4vw, 48px);
  padding: clamp(32px, 6vw, 80px);
  background: var(--ink); color: var(--white);
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center;
}
.offer__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.offer__bg span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 16s ease-in-out infinite alternate; }
.offer__bg span:nth-child(1) { width: 420px; height: 420px; background: var(--violet); left: -120px; top: -160px; }
.offer__bg span:nth-child(2) { width: 360px; height: 360px; background: var(--orange); right: -100px; bottom: -160px; animation-delay: -5s; }
.offer__bg span:nth-child(3) { width: 260px; height: 260px; background: var(--blue); right: 30%; top: 30%; opacity: .35; animation-delay: -9s; }
.offer h2 { font-size: clamp(40px, 6vw, 80px); letter-spacing: -0.055em; line-height: .95; }
.offer h2 .serif { color: var(--lime); }
.offer__lede { margin: 22px 0 30px; font-size: 19px; color: rgba(255,255,255,.74); max-width: 46ch; }
.offer__card { border-radius: 30px; padding: 26px; display: grid; gap: 4px; }
.offer__row { display: flex; gap: 16px; align-items: center; padding: 14px 4px; border-top: 1px solid rgba(255,255,255,.1); }
.offer__row:first-child { border-top: 0; }
.offer__row b { display: block; font-weight: 600; letter-spacing: -0.015em; }
.offer__row div > span { color: rgba(255,255,255,.6); font-size: 15px; line-height: 1.45; display: block; }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.step {
  border-radius: var(--radius-lg); padding: 26px;
  background: var(--white); box-shadow: inset 0 0 0 1px var(--line);
  display: grid; gap: 14px; align-content: start;
  position: relative;
}
.step__n {
  font-family: var(--serif); font-style: italic; font-size: 64px; line-height: .8; color: var(--ink);
  display: flex; justify-content: space-between; align-items: flex-start;
}
.step h3 { font-size: 22px; letter-spacing: -0.03em; margin-top: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }
.step--hi { background: var(--ink); color: var(--white); box-shadow: none; }
.step--hi .step__n { color: var(--lime); }
.step--hi p { color: rgba(255,255,255,.65); }
.step__badge { font-family: var(--font); font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--lime); color: #17310a; }

/* compare */
.compare {
  border-radius: var(--radius-xl); overflow: hidden;
  background: var(--white); box-shadow: inset 0 0 0 1px var(--line);
}
.compare table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-top: 1px solid var(--line); vertical-align: middle; }
.compare thead th { border-top: 0; font-size: 14px; font-weight: 500; color: var(--muted); padding-top: 22px; }
.compare thead th.me { color: var(--ink); }
.compare td.me, .compare th.me { background: rgba(47,107,255,.05); }
.compare thead th.me { background: rgba(47,107,255,.08); }
.compare tbody th { font-weight: 500; letter-spacing: -0.01em; }
.yes, .no, .meh { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; }
.yes .i { color: #12a150; font-size: 20px; }
.me .yes { color: var(--ink); font-weight: 500; }
.no .i { color: #d4d4d8; font-size: 20px; }
.meh .i { color: var(--yellow); font-size: 20px; }
.compare__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.show-sm { display: none; }
@media (max-width: 640px) { .show-sm { display: inline; } }

/* about */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.about h2 { font-size: clamp(44px, 6.4vw, 88px); letter-spacing: -0.055em; line-height: .95; }
.about__text p { font-size: 19px; color: var(--ink-2); line-height: 1.6; max-width: 52ch; }
.about__text p:first-of-type { margin-top: 26px; }
.values { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.value {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 6px; border-radius: 999px;
  background: var(--white); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 15px; font-weight: 500;
}
.art {
  border-radius: var(--radius-xl); padding: 14px;
}
.art__canvas {
  border-radius: 24px; overflow: hidden; aspect-ratio: 1;
  background: #f1efe9;
  box-shadow: inset 0 0 0 1px var(--line);
}
.art__canvas svg { width: 100%; height: 100%; }
.art__canvas svg * { transition: fill .7s var(--ease), transform .8s var(--ease), opacity .6s; transform-box: fill-box; transform-origin: center; }
.art__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 6px 4px; }
.art__bar small { color: var(--muted); font-size: 14px; display: block; line-height: 1.35; }
.art__bar b { font-weight: 600; letter-spacing: -0.01em; font-size: 15px; }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.faq .head { position: sticky; top: 110px; margin-bottom: 0; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0;
  font-size: clamp(19px, 2vw, 23px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.25;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .pm {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .4s var(--ease), background .3s, color .3s;
}
.qa[open] summary .pm { transform: rotate(45deg); background: var(--ink); color: var(--white); }
.qa__a { padding: 0 60px 26px 0; color: var(--ink-2); font-size: 17px; }
.qa__a p:last-child { margin: 0; }

/* contact */
.contact { position: relative; overflow: hidden; isolation: isolate; }
.contact__bg { position: absolute; inset: 0; z-index: -1; }
.contact__bg span { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .45; animation: drift 20s ease-in-out infinite alternate; }
.contact__bg span:nth-child(1) { width: 480px; height: 480px; background: var(--blue); left: -160px; bottom: -200px; }
.contact__bg span:nth-child(2) { width: 380px; height: 380px; background: var(--pink); right: -120px; top: -120px; animation-delay: -7s; }
.contact__bg span:nth-child(3) { width: 260px; height: 260px; background: var(--lime); right: 30%; bottom: -160px; opacity: .3; animation-delay: -12s; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.contact h2 { font-size: clamp(44px, 7vw, 96px); letter-spacing: -0.06em; line-height: .92; }
.contact h2 .serif { color: var(--lime); }
.contact__lede { margin: 24px 0 30px; font-size: 19px; color: rgba(255,255,255,.7); max-width: 42ch; }
.email-card {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 10px 10px 10px 10px; border-radius: 22px;
  width: fit-content; max-width: 100%;
}
.email-card a { font-size: clamp(17px, 2vw, 21px); font-weight: 500; letter-spacing: -0.02em; word-break: break-all; }
.copy {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 14px; border-radius: 999px; border: 0;
  background: rgba(255,255,255,.1); color: #fff; font-size: 14px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
  transition: background .2s;
}
.copy:hover { background: rgba(255,255,255,.18); }
.contact__meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; color: rgba(255,255,255,.6); font-size: 15px; }
.contact__meta span { display: inline-flex; align-items: center; gap: 8px; }

.form { border-radius: 32px; padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; }
.form h3 { font-size: 24px; letter-spacing: -0.03em; }
.form > p { margin: -6px 0 6px; color: rgba(255,255,255,.6); font-size: 15px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; color: rgba(255,255,255,.7); }
.field input, .field textarea {
  width: 100%;
  font: inherit; font-size: 16px; color: #fff;
  padding: 14px 16px; border-radius: 16px; border: 0;
  background: rgba(255,255,255,.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
  transition: box-shadow .2s, background .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.35); }
.field input:focus, .field textarea:focus { outline: none; background: rgba(255,255,255,.09); box-shadow: inset 0 0 0 1.5px var(--lime); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check {
  display: flex; gap: 12px; align-items: center;
  padding: 14px 16px; border-radius: 16px; cursor: pointer;
  background: rgba(184,236,58,.08); box-shadow: inset 0 0 0 1px rgba(184,236,58,.3);
  font-size: 15px;
}
.check input { width: 20px; height: 20px; accent-color: var(--lime); flex: none; }
.form .btn { width: 100%; margin-top: 4px; }
.form__fine { font-size: 13px; color: rgba(255,255,255,.45); text-align: center; margin: 0; }

/* footer */
.footer { background: var(--ink); color: rgba(255,255,255,.6); padding: 0 0 30px; overflow: hidden; }
.footer__word {
  font-size: min(17.5vw, 218px); font-weight: 700; letter-spacing: -0.06em; line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.22);
  text-align: center; white-space: nowrap;
  padding: 40px 0 30px;
  user-select: none;
  background: linear-gradient(90deg, var(--blue), var(--violet), var(--pink), var(--orange), var(--lime));
  -webkit-background-clip: text; background-clip: text;
  background-size: 0% 100%; background-repeat: no-repeat;
  transition: background-size 1.6s var(--ease);
}
.footer__word.in { background-size: 100% 100%; -webkit-text-stroke-color: transparent; }
.footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; }
.footer__bar a:hover { color: #fff; }
.footer__links { display: flex; gap: 20px; flex-wrap: wrap; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80;
  transform: translate(-50%, 20px); opacity: 0;
  padding: 12px 18px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
  transition: opacity .3s, transform .4s var(--ease);
  pointer-events: none;
  display: flex; gap: 8px; align-items: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast .i { color: var(--lime); }

/* reveal on scroll */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* ==========================================================
   Case study page
   ========================================================== */
.cs-hero { padding: clamp(130px, 18vh, 170px) 0 40px; position: relative; overflow: hidden; isolation: isolate; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.cs-hero h1 { font-size: clamp(48px, 9vw, 128px); letter-spacing: -0.06em; line-height: .9; margin-top: 22px; }
.cs-hero__lede { font-size: clamp(19px, 2vw, 23px); max-width: 40ch; color: var(--ink-2); margin: 26px 0 0; line-height: 1.45; letter-spacing: -0.01em; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 50px; }
.fact { border-radius: 22px; padding: 18px 20px; }
.fact small { display: block; color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.fact b { font-weight: 500; letter-spacing: -0.015em; }
.cs-shot { border-radius: var(--radius-xl); padding: 12px; margin-top: 18px; }
.cs-shot img { border-radius: 22px; box-shadow: 0 0 0 1px var(--line); width: 100%; }
.prose { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(26px, 5vw, 80px); align-items: start; }
.prose h2 { font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -0.05em; }
.prose__body p { font-size: 19px; color: var(--ink-2); line-height: 1.65; }
.prose__body p:last-child { margin-bottom: 0; }
.cs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cs-list li { display: flex; gap: 16px; padding: 20px; border-radius: 22px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); align-items: flex-start; }
.cs-list b { display: block; font-size: 18px; letter-spacing: -0.02em; margin-bottom: 3px; }
.cs-list div > span { color: var(--muted); font-size: 16px; line-height: 1.5; display: block; }
.duo { display: grid; grid-template-columns: 1fr 0.42fr; gap: 16px; align-items: stretch; }
.phone {
  border-radius: 44px; padding: 10px; background: #111;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15), 0 30px 60px -20px rgba(0,0,0,.6);
  align-self: center;
}
.phone img { border-radius: 36px; width: 100%; }
.cap { margin-top: 12px; font-size: 14px; color: var(--muted); }
.section--dark .cap { color: rgba(255,255,255,.5); }
.old-new { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.old-new figure { margin: 0; }
.old-new img { border-radius: 20px; width: 100%; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.old-new figcaption { margin-top: 12px; display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(255,255,255,.7); }
.next-cta { text-align: center; display: grid; justify-items: center; gap: 22px; }
.next-cta h2 { font-size: clamp(40px, 6.4vw, 84px); letter-spacing: -0.055em; max-width: 15ch; line-height: .95; }
.next-cta p { color: var(--muted); font-size: 19px; max-width: 48ch; margin: 0; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .chip--1 { left: -2%; } .chip--2 { right: -2%; } .chip--3 { left: 0; } .chip--4 { right: 0; }
  .work { grid-template-columns: 1fr; }
  .slot { min-height: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile--wide { grid-column: span 1; }
  .tile--big { grid-column: span 2; grid-row: auto; min-height: 380px; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__menu { display: grid; }
  .head--split { grid-template-columns: 1fr; }
  .signs { grid-template-columns: 1fr 1fr; }
  .offer, .about, .faq, .contact__grid, .prose { grid-template-columns: 1fr; }
  .faq .head { position: static; }
  .facts { grid-template-columns: 1fr 1fr; }
  .callout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { inset: 10px 0 auto; }
  .nav__bar { padding-left: 14px; }
  .btn--nav { display: none; }
  .hero { padding-top: 120px; }
  .hero h1 { font-size: clamp(42px, 12.6vw, 64px); }
  .hero__ctas .btn { width: 100%; }
  .stage { margin-top: 48px; }
  .browser { padding: 8px; border-radius: 24px; }
  .browser__chrome { padding: 4px 4px 8px; }
  .browser__url { font-size: 11px; padding: 4px 10px; }
  .browser__dots span { width: 8px; height: 8px; }
  .browser__screen { border-radius: 16px; }
  .chip { font-size: 13px; padding: 7px 12px 7px 7px; gap: 8px; border-radius: 16px; }
  .chip small { display: none; }
  .chip .app { width: 30px; height: 30px; border-radius: 9px; font-size: 15px; }
  .chip--1 { left: -6px; top: -26px; }
  .chip--2 { right: -6px; top: auto; bottom: -22px; }
  .chip--3, .chip--4 { display: none; }
  .orb { filter: blur(40px); }
  .orb--1 { width: 220px; height: 220px; }
  .orb--2 { width: 200px; height: 200px; }
  .signs { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .tile, .tile--wide, .tile--big { grid-column: span 1; }
  .tile--big { min-height: 0; }
  .tile__visual { opacity: .5; }
  .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .qa__a { padding-right: 0; }
  .ba__hint { font-size: 11px; }
  .ba__handle { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .ba__label { bottom: 10px; font-size: 10px; padding: 5px 9px; }
  .ba__label--b { left: 10px; } .ba__label--a { right: 10px; }
  .compare table { min-width: 0; font-size: 15px; }
  .compare th, .compare td { padding: 14px 8px; text-align: center; }
  .compare tbody th { text-align: left; padding-left: 16px; width: 46%; line-height: 1.3; }
  .compare td span { font-size: 0; justify-content: center; }
  .compare td .i { font-size: 20px; }
  .hide-sm { display: none; }
  .art__bar { flex-wrap: wrap; }
  .art__bar .btn { width: 100%; }
  .facts { grid-template-columns: 1fr 1fr; gap: 10px; }
  .duo, .old-new { grid-template-columns: 1fr; }
  .phone { max-width: 300px; margin: 0 auto; }
  .case__actions .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
}
