/* ==========================================================================
   Jola — styles
   Change --accent to re-skin the whole site.
   ========================================================================== */

:root {
  --accent: #00e5cc;
  --ink: #0d0b0a;
  --paper: #ffffff;
  --g50: #f5f4f2;
  --g200: #e3e0dc;
  --g400: #a8a39d;
  --g600: #6b6661;
  --g800: #24211f;
  --g900: #161413;

  --font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --pad: clamp(20px, 3.4vw, 56px);
  --section: clamp(88px, 12vw, 200px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1, h2, h3, p, ol { margin: 0; }
ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--ink); }

.wrap { padding-inline: var(--pad); }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--ink); padding: 10px 16px; border-radius: 999px;
  font-weight: 600; transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- Type ---------- */

.display {
  font-size: clamp(52px, 8.5vw, 136px);
  font-weight: 600;
  line-height: .9;
  letter-spacing: -.05em;
  text-wrap: balance;
}

h3 {
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.03em;
}

.lead {
  font-size: clamp(22px, 2.1vw, 32px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.03em;
}

.body { font-size: clamp(17px, 1.3vw, 20px); color: var(--g600); }

.eyebrow {
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--accent);
}

/* ---------- Pill button ---------- */

.pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 16px; font-weight: 500; letter-spacing: -.03em; line-height: 1;
  background: var(--ink); color: #fff;
  transition: background .25s, color .25s, transform .25s var(--ease);
  white-space: nowrap;
}
.pill:hover { background: var(--accent); color: var(--ink); }
.pill:active { transform: scale(.97); }
.pill--big { padding: 20px 34px; font-size: 18px; }

/* ---------- Header ---------- */

.site-header {
  --fg: #fff;
  --bg: 13, 11, 10;
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; gap: clamp(24px, 5vw, 80px);
  padding: 18px var(--pad);
  color: var(--fg);
  transition: transform .45s var(--ease), background .3s, color .3s;
}
.site-header[data-theme="light"]  { --fg: var(--ink); --bg: 255, 255, 255; }
.site-header[data-theme="accent"] { --fg: var(--ink); --bg: 0, 229, 204; }
.site-header.is-scrolled {
  background: rgba(var(--bg), .78);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.site-header.is-hidden { transform: translateY(-110%); }

.logo {
  font-size: 32px; font-weight: 600; letter-spacing: -.07em; line-height: 1;
  color: var(--accent);
  transition: color .3s;
}
.site-header[data-theme="accent"] .logo { color: var(--ink); }

.site-nav { display: flex; gap: clamp(20px, 3.4vw, 52px); margin-right: auto; }
.site-nav a {
  font-size: 16px; letter-spacing: -.03em; line-height: 1;
  position: relative; padding: 6px 0;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.site-nav a:hover::after { transform: scaleX(1); }

.site-header[data-theme="dark"] .pill { background: rgba(255, 255, 255, .18); }
.site-header[data-theme="dark"] .pill:hover { background: var(--accent); }
.site-header[data-theme="accent"] .pill:hover { background: #fff; color: var(--ink); }

.menu-btn { display: none; font-size: 16px; font-weight: 500; letter-spacing: -.03em; padding: 8px 0; }

@media (max-width: 860px) {
  .site-header { gap: 16px; }
  .site-header > .pill { margin-left: auto; padding: 11px 18px; }
  .menu-btn { display: block; }
  .site-nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 6px;
    padding: 96px var(--pad) 40px;
    background: var(--ink); color: #fff;
    height: 100vh; height: 100dvh;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s, transform .4s var(--ease), visibility 0s .4s;
  }
  .site-nav a { font-size: clamp(40px, 11vw, 64px); font-weight: 600; letter-spacing: -.05em; }
  .site-nav a::after { display: none; }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-open.site-header { --fg: #fff; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-open .logo { color: var(--accent); }
  .nav-open.site-header .pill { background: rgba(255, 255, 255, .18); color: #fff; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--pad) clamp(20px, 3vw, 44px);
  background: var(--ink); color: #fff;
  overflow: hidden;
}

.hero__bottom {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap-reverse; align-items: flex-end; justify-content: space-between;
  gap: 28px clamp(24px, 4vw, 64px);
}

.hero__title { line-height: 0; }
.hero__word {
  display: block;
  font-size: clamp(84px, 21.5vw, 420px);
  white-space: nowrap;
  font-weight: 600;
  line-height: .78;
  letter-spacing: -.075em;
  margin-left: -.045em;
  color: rgba(255, 255, 255, .94);
}

.hero__meta { width: min(100%, 400px); padding-bottom: clamp(4px, 1.4vw, 22px); }
.hero__day {
  font-size: clamp(20px, 1.7vw, 24px); font-weight: 600; line-height: 1.02; letter-spacing: -.04em;
  color: var(--accent);
  margin-bottom: 14px;
}
.hero__sub { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.35; letter-spacing: -.015em; color: rgba(255, 255, 255, .78); }

.arrow-link {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 26px;
  font-size: 16px; font-weight: 500; letter-spacing: -.03em;
}
.arrow-link__dot {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; color: var(--ink);
  transition: background .25s, transform .4s var(--ease);
}
.arrow-link:hover .arrow-link__dot { background: var(--accent); transform: translateY(4px); }

/* The cluster: scattered app tiles that snap together into one OS */
.cluster {
  --s: clamp(64px, min(9.4vw, 13.5vh), 140px);
  --g: clamp(6px, .8vw, 12px);
  position: absolute;
  top: clamp(88px, 15vh, 170px);
  right: clamp(24px, 9vw, 150px);
  width: calc(var(--s) * 3 + var(--g) * 2);
  height: calc(var(--s) * 3 + var(--g) * 2);
  perspective: 900px;
  z-index: 2;
}
.cluster__inner {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transition: transform .3s ease-out;
}
.tile {
  position: absolute;
  left: calc(var(--c) * (var(--s) + var(--g)));
  top: calc(var(--r) * (var(--s) + var(--g)));
  width: var(--s); height: var(--s);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--s) * .13);
  border-radius: calc(var(--s) * .2);
  background: var(--g800);
  border: 1px solid rgba(255, 255, 255, .09);
  color: #fff;
  font-size: clamp(10px, calc(var(--s) * .115), 15px); font-weight: 500; letter-spacing: -.02em; line-height: 1;
  transform: translate(var(--sx), var(--sy)) rotate(var(--sr)) scale(var(--ss, .9));
  opacity: .5;
  transition: transform 1.5s var(--ease) var(--d, 0s), opacity 1.2s ease var(--d, 0s), background .3s;
  will-change: transform;
}
.tile svg { width: calc(var(--s) * .26); height: calc(var(--s) * .26); }
.tile span { color: var(--g400); }
.tile--core {
  background: var(--accent); border-color: transparent;
  justify-content: flex-end;
  --ss: .4; opacity: 0;
}
.tile--core span {
  color: var(--ink);
  font-size: calc(var(--s) * .34); font-weight: 600; letter-spacing: -.07em;
}
.cluster.is-together .tile { transform: none; opacity: 1; }

@media (min-width: 861px) {
  .hero__bottom { flex-wrap: nowrap; }
  .hero__title { flex: none; }
  .hero__meta { flex: 0 1 400px; min-width: 230px; }
}
@media (max-width: 640px) {
  .cluster { right: auto; left: 50%; margin-left: calc((var(--s) * 3 + var(--g) * 2) / -2); top: 13vh; }
}

/* ---------- Statement ---------- */

.statement { padding-top: var(--section); }
.statement__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 4fr);
  gap: 24px clamp(24px, 4vw, 64px);
}
.statement__cols {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(40px, 6vw, 96px);
  max-width: 1100px;
}
.statement .eyebrow { padding-top: .6em; }

@media (max-width: 860px) {
  .statement__grid, .statement__cols { grid-template-columns: 1fr; }
}

.marquee {
  margin-top: var(--section);
  padding-block: clamp(20px, 3vw, 44px);
  border-block: 1.5px solid var(--ink);
  overflow: hidden;
}
.marquee__track {
  display: flex; align-items: center; gap: clamp(20px, 3vw, 48px);
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee span {
  font-size: clamp(48px, 7.2vw, 116px); font-weight: 600; letter-spacing: -.05em; line-height: 1;
  white-space: nowrap;
  /* Outline look: stroke painted under a paper-coloured fill so glyph overlaps stay hidden */
  color: var(--paper); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill;
}
.marquee span.solid { color: var(--ink); -webkit-text-stroke: 0; }
.marquee i {
  flex: none; width: clamp(14px, 1.6vw, 24px); height: clamp(14px, 1.6vw, 24px);
  border-radius: 50%; background: var(--accent);
}
@keyframes marquee { to { transform: translateX(calc(-50% - clamp(20px, 3vw, 48px) / 2)); } }

/* ---------- Product demo ---------- */

.os { padding-block: var(--section); background: var(--g50); margin-top: -1.5px; }
.os__head {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: end;
  gap: 24px clamp(24px, 4vw, 64px);
  margin-bottom: clamp(36px, 5vw, 72px);
}
.os__note { margin-top: 20px; font-size: 15px; color: var(--g600); max-width: 60ch; }

@media (max-width: 860px) { .os__head { grid-template-columns: 1fr; } }

.window {
  background: var(--g900); color: #fff;
  border-radius: clamp(14px, 1.6vw, 24px);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(13, 11, 10, .45);
}
.window__bar {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.window__dots { display: flex; gap: 7px; }
.window__dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.window__url {
  flex: 1; min-width: 0; max-width: 420px; margin-inline: auto;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); color: var(--g400);
  font-size: 13px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.badge {
  flex: none;
  padding: 6px 11px; border-radius: 999px;
  border: 1px solid var(--accent); color: var(--accent);
  font-size: 12px; font-weight: 500; line-height: 1; letter-spacing: 0;
}

.window__body { display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 30vw, 400px); min-height: 580px; }

.osview { padding: clamp(20px, 2.6vw, 40px); min-width: 0; }
.osview__greet { font-size: clamp(30px, 3.2vw, 48px); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.osview__biz { margin-top: 8px; color: var(--g400); font-size: 15px; }
.osview__label {
  margin: clamp(24px, 3vw, 40px) 0 12px;
  font-size: 13px; font-weight: 500; color: var(--g400);
}

.apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.app {
  display: flex; flex-direction: column; align-items: flex-start; gap: 28px;
  padding: 18px; border-radius: 16px; text-align: left;
  background: var(--g800); border: 1px solid rgba(255, 255, 255, .07);
  transition: background .25s, color .25s, transform .35s var(--ease);
}
.app:hover { background: var(--accent); color: var(--ink); transform: translateY(-3px); }
.app:hover .app__blurb { color: var(--ink); }
.app svg { width: 28px; height: 28px; }
.app__name { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.app__blurb { display: block; margin-top: 6px; font-size: 14px; line-height: 1.3; color: var(--g400); transition: color .25s; }

.pins { display: flex; flex-wrap: wrap; gap: 8px; }
.pins span {
  padding: 9px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); font-size: 14px; line-height: 1; color: #fff;
}

.crumb { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--g400); transition: color .2s; }
.crumb:hover { color: #fff; }
.osview__title { margin-top: 14px; font-size: clamp(28px, 3vw, 44px); font-weight: 600; letter-spacing: -.045em; line-height: 1; }

.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0; }
.tab {
  padding: 9px 15px; border-radius: 999px;
  font-size: 14px; font-weight: 500; line-height: 1; letter-spacing: -.01em;
  background: rgba(255, 255, 255, .06); color: var(--g400);
  transition: background .2s, color .2s;
}
.tab:hover { color: #fff; }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); }

.panel { border-radius: 16px; transition: box-shadow .5s; }
.panel.is-flash { animation: flash 1.6s ease; }
@keyframes flash {
  0%, 60% { box-shadow: 0 0 0 2px var(--accent), 0 0 0 10px rgba(0, 229, 204, .18); }
  100% { box-shadow: 0 0 0 2px transparent, 0 0 0 10px transparent; }
}

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stat { padding: 16px; border-radius: 16px; background: var(--g800); border: 1px solid rgba(255, 255, 255, .07); }
.stat__l { font-size: 13px; color: var(--g400); line-height: 1.2; }
.stat__v { margin-top: 14px; font-size: clamp(24px, 2.5vw, 34px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.stat__n { margin-top: 8px; font-size: 13px; color: var(--g400); line-height: 1.25; min-height: 1.25em; }

.bars {
  display: flex; align-items: flex-end; gap: 10px;
  height: 130px; margin-top: 12px; padding: 16px 16px 12px;
  border-radius: 16px; background: var(--g800); border: 1px solid rgba(255, 255, 255, .07);
}
.bars div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; height: 100%; }
.bars i { display: block; width: 100%; height: var(--h); border-radius: 6px 6px 2px 2px; background: rgba(255, 255, 255, .2); }
.bars div:last-child i { background: var(--accent); }
.bars span { font-size: 12px; color: var(--g400); line-height: 1; }

.rows { margin-top: 12px; border-radius: 16px; background: var(--g800); border: 1px solid rgba(255, 255, 255, .07); overflow: hidden; }
.row {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) 124px; align-items: center; gap: 12px;
  padding: 13px 16px; font-size: 14px; line-height: 1.25;
}
.row + .row { border-top: 1px solid rgba(255, 255, 255, .07); }
.row b { font-weight: 500; }
.row span { color: var(--g400); }
.row em {
  justify-self: end;
  font-style: normal; font-size: 12px; line-height: 1; white-space: nowrap;
  padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff;
}
.row em.verify { background: none; border: 1px solid var(--accent); color: var(--accent); }

/* Ask panel */
.ask {
  display: flex; flex-direction: column;
  background: #1b1917; border-left: 1px solid rgba(255, 255, 255, .08);
  min-width: 0;
}
.ask__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ask__title { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; letter-spacing: -.03em; }
.ask__spark { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(0, 229, 204, .22); }
.ask__new {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); font-size: 18px; line-height: 1;
  transition: background .2s, color .2s;
}
.ask__new:hover { background: #fff; color: var(--ink); }

.ask__log {
  flex: 1; display: flex; flex-direction: column; gap: 10px;
  padding: 18px; overflow-y: auto; max-height: 420px; min-height: 220px;
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent;
}
.ask__hint { color: var(--g400); font-size: 15px; line-height: 1.4; }
.msg { max-width: 92%; padding: 11px 14px; border-radius: 16px; font-size: 15px; line-height: 1.4; }
.msg--me { align-self: flex-end; background: var(--accent); color: var(--ink); font-weight: 500; border-bottom-right-radius: 5px; }
.msg--jola { align-self: flex-start; background: var(--g800); border-bottom-left-radius: 5px; }
.msg--jola.is-typing::after {
  content: ""; display: inline-block; width: 7px; height: 1em; margin-left: 3px; vertical-align: -2px;
  background: var(--accent); animation: blink .8s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.jump {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .28);
  font-size: 14px; font-weight: 500; line-height: 1; letter-spacing: -.01em;
  transition: background .2s, color .2s, border-color .2s;
  animation: pop .4s var(--ease) both;
}
.jump:hover { background: #fff; color: var(--ink); border-color: #fff; }
.jump svg { width: 14px; height: 14px; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }

.ask__suggest { display: flex; flex-direction: column; gap: 6px; padding: 14px 18px 18px; border-top: 1px solid rgba(255, 255, 255, .08); }
.q {
  text-align: left; padding: 11px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  font-size: 14px; line-height: 1.25;
  transition: background .2s, color .2s, opacity .2s;
}
.q:hover:not(:disabled) { background: var(--accent); color: var(--ink); }
.q:disabled { opacity: .45; cursor: default; }

@media (max-width: 860px) {
  .window__body { grid-template-columns: 1fr; min-height: 0; }
  .ask { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .08); }
  .ask__log { max-height: 320px; min-height: 120px; }
}
@media (max-width: 560px) {
  .apps, .stats { grid-template-columns: 1fr; }
  .app { flex-direction: row; align-items: center; gap: 16px; }
  .window__dots { display: none; }
  .row { grid-template-columns: 1fr auto; }
  .row span { grid-column: 1; grid-row: 2; }
  .row em { grid-row: 1 / span 2; grid-column: 2; }
}

/* ---------- Capabilities ---------- */

.caps { padding-block: var(--section); }
.caps__list { margin-top: clamp(40px, 6vw, 96px); border-top: 1.5px solid var(--ink); }
.cap {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 5fr) minmax(0, 4fr); align-items: baseline;
  gap: 12px clamp(24px, 4vw, 64px);
  padding: clamp(22px, 2.6vw, 38px) 0;
  border-bottom: 1.5px solid var(--ink);
  isolation: isolate;
}
.cap::before {
  content: ""; position: absolute; inset: 0 calc(var(--pad) * -1); z-index: -1;
  background: var(--accent);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .45s var(--ease);
}
.cap:hover::before { transform: scaleY(1); }
.cap__n { font-size: clamp(20px, 1.7vw, 24px); font-weight: 600; letter-spacing: -.04em; color: var(--accent); transition: color .3s; }
.cap:hover .cap__n { color: var(--ink); }
.cap__t { font-size: clamp(28px, 3.4vw, 52px); letter-spacing: -.04em; text-wrap: balance; }
.cap__d { font-size: clamp(17px, 1.3vw, 20px); color: var(--g600); transition: color .3s; max-width: 46ch; }
.cap:hover .cap__d { color: var(--ink); }

@media (max-width: 860px) {
  .cap { grid-template-columns: 48px minmax(0, 1fr); }
  .cap__d { grid-column: 2; }
}

/* ---------- How it works ---------- */

.how { background: var(--ink); color: #fff; }
.how__sticky { padding-block: var(--section); }
.how__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 20px clamp(24px, 4vw, 64px);
  padding-inline: var(--pad);
}
.how__head .lead { max-width: 20ch; color: var(--g400); }
.how__track {
  display: grid; gap: 14px;
  padding-inline: var(--pad);
  margin-top: clamp(36px, 5vw, 72px);
}
.step {
  display: flex; flex-direction: column;
  padding: clamp(22px, 2.4vw, 36px);
  border-radius: clamp(16px, 1.6vw, 24px);
  background: var(--g800);
  min-height: 300px;
}
.step__n { font-size: clamp(64px, 8vw, 120px); font-weight: 600; letter-spacing: -.06em; line-height: .85; color: var(--accent); }
.step h3 { margin-top: auto; padding-top: 32px; }
.step p { margin-top: 14px; color: var(--g400); font-size: clamp(16px, 1.25vw, 19px); line-height: 1.4; max-width: 38ch; }
.step--accent { background: var(--accent); color: var(--ink); }
.step--accent .step__n, .step--accent p { color: var(--ink); }

/* Pinned horizontal scroll (enabled by JS on wide screens) */
.how.is-pinned .how__sticky {
  position: sticky; top: 0;
  height: 100vh;
  padding-block: clamp(84px, 13vh, 130px) clamp(24px, 5vh, 56px);
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
.how.is-pinned .how__track {
  display: flex; width: max-content; margin-top: 24px;
  will-change: transform;
}
.how.is-pinned .step { width: clamp(340px, 34vw, 520px); height: clamp(280px, 50vh, 480px); min-height: 0; }

/* ---------- Who it's for ---------- */

.who { padding-block: var(--section); }
.who__head {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: end;
  gap: 24px clamp(24px, 4vw, 64px);
  margin-bottom: clamp(36px, 5vw, 72px);
}
.who__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  min-height: clamp(260px, 26vw, 400px);
  padding: clamp(22px, 2.4vw, 36px);
  border-radius: clamp(16px, 1.6vw, 24px);
  transition: transform .5s var(--ease), border-radius .5s var(--ease);
}
.card:hover { transform: translateY(-6px); }
.card h3 { font-size: clamp(28px, 3vw, 46px); letter-spacing: -.045em; text-wrap: balance; }
.card__q { font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; line-height: 1.2; letter-spacing: -.02em; max-width: 22ch; }
.card--ink { background: var(--ink); color: #fff; }
.card--ink .card__q { color: var(--accent); }
.card--soft { background: var(--g50); }
.card--soft .card__q { color: var(--g600); }
.card--accent { background: var(--accent); }

@media (max-width: 980px) { .who__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .who__head { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .who__grid { grid-template-columns: 1fr; } .card { min-height: 220px; } }

/* ---------- Trust ---------- */

.trust { padding-block: var(--section); background: var(--ink); color: #fff; }
.trust__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px);
  margin-top: clamp(40px, 6vw, 96px);
}
.trust__item { padding-top: 22px; border-top: 1.5px solid rgba(255, 255, 255, .25); }
.trust__n { display: block; font-size: clamp(20px, 1.7vw, 24px); font-weight: 600; letter-spacing: -.04em; color: var(--accent); margin-bottom: clamp(28px, 4vw, 64px); }
.trust__item h3 { text-wrap: balance; }
.trust__item p { margin-top: 16px; color: var(--g400); max-width: 34ch; }

@media (max-width: 860px) { .trust__grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */

.faq { padding-block: var(--section); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 40px clamp(24px, 4vw, 64px); align-items: start; }
.faq__list { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1.5px solid var(--ink); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(20px, 2vw, 30px) 0;
  font-size: clamp(22px, 2.1vw, 32px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1;
  cursor: pointer; list-style: none;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::after {
  content: ""; flex: none; width: 22px; height: 22px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2.5px 100% no-repeat;
  transition: transform .4s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px clamp(22px, 2vw, 32px) 0; color: var(--g600); font-size: clamp(17px, 1.3vw, 20px); max-width: 60ch; }

@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } }

/* ---------- Talk / CTA ---------- */

.talk { padding-block: var(--section); background: var(--accent); color: var(--ink); }
.talk__title {
  font-size: clamp(84px, 19.5vw, 380px);
  font-weight: 600; line-height: .8; letter-spacing: -.07em;
  margin-left: -.04em;
  white-space: nowrap;
}
.talk__grid {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 40px clamp(24px, 4vw, 64px);
  margin-top: clamp(48px, 7vw, 110px);
}
.talk__grid .lead { max-width: 18ch; }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px clamp(20px, 3vw, 40px); }
.field { display: block; }
.field--wide, .form__foot { grid-column: 1 / -1; }
.field span { display: block; font-size: 15px; font-weight: 500; letter-spacing: -.01em; margin-bottom: 4px; }
.field input, .field textarea {
  display: block; width: 100%;
  padding: 10px 0 12px;
  font: inherit; font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; letter-spacing: -.03em; line-height: 1.2;
  color: var(--ink);
  background: none; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(13, 11, 10, .45); }
.field input:focus, .field textarea:focus { outline: 0; border-bottom-color: #fff; }
.field input[aria-invalid="true"] { border-bottom-style: dashed; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.talk .pill:hover { background: #fff; color: var(--ink); }
.form__msg { font-size: 16px; font-weight: 500; letter-spacing: -.01em; }

@media (max-width: 860px) { .talk__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: #fff; padding-top: clamp(56px, 7vw, 110px); overflow: hidden; }
.footer__grid {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: start;
  gap: 32px clamp(24px, 4vw, 64px);
}
.footer__tag { font-size: clamp(22px, 2.1vw, 32px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; max-width: 14ch; }
.footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; max-width: 460px; }
.footer__nav a { color: var(--g400); letter-spacing: -.02em; transition: color .2s; }
.footer__nav a:hover { color: var(--accent); }
.footer__legal { grid-column: 1 / -1; font-size: 14px; color: var(--g600); margin-top: clamp(16px, 3vw, 48px); }
.footer__mark {
  font-size: 41vw; font-weight: 600; letter-spacing: -.075em; line-height: .74;
  color: var(--accent);
  margin: clamp(24px, 4vw, 56px) 0 .05em -.03em;
  padding-left: var(--pad);
  white-space: nowrap; user-select: none;
}

@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */

.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s ease, transform 1.1s var(--ease);
  transition-delay: var(--rd, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .tile { transition: none; }
  .panel.is-flash { animation: none; box-shadow: 0 0 0 2px var(--accent); }
  .msg--jola.is-typing::after { animation: none; }
}
