:root {
  --aqua: #85CED1;
  --aqua-50: #F3FAFA;
  --aqua-100: #E4F4F5;
  --aqua-200: #CEEBED;
  --aqua-300: #B0DFE1;
  --aqua-600: #66AAAD;
  --aqua-800: #2D656A;
  --ink: #0B3C42;
  --ink-700: #3B6165;
  --ink-300: #A6B5B2;
  --ink-100: #E3E8E5;
  --sand: #FAF6EF;
  --sand-50: #FFFDF9;
  --sand-200: #F1EBDF;
  --sand-300: #E6DECF;
  --coral: #FF7A66;
  --coral-100: #FFE2DE;
  --coral-deep: #BA3F2A;

  --display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --out: cubic-bezier(.22, 1, .36, 1);

  --bg: var(--sand);
  --fg: var(--ink);
  --muted: var(--ink-700);
  --focus: var(--coral-deep);
}

body[data-theme="aqua"] { --bg: var(--aqua); --muted: var(--ink); }
body[data-theme="mist"] { --bg: var(--aqua-100); }
body[data-theme="ink"] { --bg: var(--ink); --fg: var(--sand); --muted: var(--aqua-300); --focus: var(--aqua); }

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 1.0625rem/1.6 var(--body);
  transition: background-color .7s ease, color .7s ease;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
svg { display: block; }

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

.wrap { width: min(1280px, 100%); margin-inline: auto; padding-inline: clamp(20px, 5vw, 56px); }

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

.h2 { font: 700 clamp(1.9rem, 4vw, 3.1rem)/1.12 var(--display); letter-spacing: -.01em; text-wrap: balance; }
.h3 { font: 700 clamp(1.3rem, 2.2vw, 1.625rem)/1.3 var(--display); }
.lead { font-size: clamp(1.125rem, 1.7vw, 1.375rem); line-height: 1.55; }
.pt { margin-left: -.085em; }
.pt--apos { margin-inline: -.07em; }

section[id] { scroll-margin-top: 40px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 1rem/1.5 var(--body);
  padding: .8em 1.5em;
  border-radius: 999px;
  border: 2px solid var(--fg);
  text-decoration: none;
  cursor: pointer;
  transition: transform .3s var(--spring), background-color .5s, color .5s, border-color .5s;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn--solid { background: var(--fg); color: var(--bg); }
.btn--ghost { background: transparent; color: var(--fg); }
.btn--coral { background: var(--coral); border-color: var(--coral); color: var(--ink); }

.nav {
  --fg: var(--ink);
  --bg: var(--sand-50);
  position: fixed; top: 14px; left: 50%; z-index: 50;
  translate: -50% 0;
  width: min(1280px, calc(100% - 28px));
  display: flex; align-items: center; gap: 24px;
  padding: 8px 8px 8px 18px;
  background: var(--sand-50);
  border: 2px solid var(--sand-300);
  border-radius: 999px;
  color: var(--ink);
  transition: transform .6s var(--out);
}
.nav.is-hidden { transform: translateY(-170%); }
.nav__logo { display: block; flex: none; border-radius: 12px; }
.logo { height: 44px; width: auto; aspect-ratio: 1104 / 240; }
.nav__links { display: none; margin-left: auto; gap: 30px; }
.nav__links a {
  font-weight: 500; font-size: .98rem; text-decoration: none; color: var(--ink-700);
  background: linear-gradient(var(--ink), var(--ink)) no-repeat 0 100% / 0 2px;
  padding-block: 4px;
  transition: background-size .35s var(--out), color .2s;
}
.nav__links a:hover { color: var(--ink); background-size: 100% 2px; }
.nav__cta { padding: .6em 1.25em; font-size: .95rem; white-space: nowrap; }

.lang { display: flex; flex: none; margin-left: auto; padding: 3px; border-radius: 999px; background: var(--sand-200); }
.lang__btn {
  min-width: 40px; min-height: 36px; padding: 0 .7em;
  border: 0; border-radius: 999px; background: none;
  font: 600 .82rem/1 var(--body); color: var(--ink-700); cursor: pointer;
  transition: background-color .3s, color .3s;
}
.lang__btn:hover { color: var(--ink); }
.lang__btn[aria-pressed="true"] { background: var(--ink); color: var(--sand); }

@media (min-width: 860px) {
  .nav__links { display: flex; }
  .lang { margin-left: 0; }
}
@media (max-width: 480px) {
  .logo--draw { height: 40px; aspect-ratio: 1; }
  .lang__btn { min-width: 34px; padding: 0 .5em; }
  .nav__cta { padding-inline: 1em; font-size: .9rem; }
}

.dw {
  stroke-dasharray: 1;
  animation: draw .55s ease both;
  animation-delay: calc(.25s + var(--i) * 55ms);
}
.pop {
  transform-box: fill-box; transform-origin: center;
  animation: pop .5s var(--spring) both;
  animation-delay: calc(.25s + var(--i) * 55ms);
}
.pop--drop { animation-name: popDrop; animation-duration: .7s; }
.logo__tile { transform-box: fill-box; transform-origin: center; animation: pop .6s var(--spring) both; }

@keyframes draw {
  0% { stroke-dashoffset: 1; opacity: 0; }
  8% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes popDrop {
  0% { transform: translateY(-90px) scale(0); }
  30% { transform: translateY(-90px) scale(1); animation-timing-function: cubic-bezier(.5, 0, 1, .5); }
  62% { transform: translateY(0) scale(1.2, .8); }
  80% { transform: translateY(-14px) scale(1); }
  100% { transform: none; }
}

.hero {
  min-height: 100svh;
  display: grid; align-items: center;
  padding-top: clamp(116px, 15vh, 170px);
  padding-bottom: clamp(56px, 9vh, 110px);
}
.hero__grid { display: grid; gap: clamp(40px, 5vw, 64px); align-items: center; }
.hero__title {
  font: 800 clamp(1.8rem, 9vw, 4.2rem)/1.06 var(--display);
  letter-spacing: -.02em;
}
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
  .hero__title { font-size: clamp(2.2rem, 4.6vw, 4.2rem); }
}
.line { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
.line__in { display: inline-block; white-space: nowrap; animation: rise .95s var(--out) both; animation-delay: calc(.2s + var(--d, 0s)); }
@keyframes rise { from { transform: translateY(115%); } to { transform: none; } }

.period {
  display: inline-block; width: .21em; height: .21em; margin-left: .05em;
  border-radius: 50%; background: var(--coral);
  animation: drop 1s 1.1s both;
}
@keyframes drop {
  0% { opacity: 0; transform: translateY(-1em); animation-timing-function: cubic-bezier(.5, 0, 1, .5); }
  6% { opacity: 1; }
  40% { transform: translateY(0) scale(1.25, .75); transform-origin: bottom; }
  58% { transform: translateY(-.3em) scale(1); }
  74% { transform: translateY(0) scale(1.12, .88); transform-origin: bottom; }
  86% { transform: translateY(-.08em); }
  100% { transform: none; }
}

.hero__wave { width: min(64%, 420px); margin-top: clamp(10px, 1.6vw, 20px); overflow: visible; }
.hero__wave path { stroke: var(--aqua); stroke-dasharray: 1; animation: draw 1.3s .9s var(--out) both; }

.hero__lead { margin-top: clamp(20px, 3vw, 32px); max-width: 34em; color: var(--muted); transition: color .7s; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(26px, 3.4vw, 40px); }
.hero__from { margin-top: 28px; font-size: .9rem; font-weight: 500; color: var(--muted); transition: color .7s; }

.hero__demo { min-width: 0; }
.stage { position: relative; container-type: inline-size; }
.stage__panel {
  position: relative;
  background: var(--aqua);
  border-radius: clamp(28px, 7cqw, 48px);
  padding: 7cqw 6cqw 11cqw;
}

.browser { width: 86%; background: var(--sand-50); border-radius: clamp(14px, 3.4cqw, 22px); overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 2.4cqw; padding: 2.2cqw 3cqw; background: var(--ink); }
.dots { display: flex; gap: 1.1cqw; }
.dots i { width: clamp(7px, 1.8cqw, 11px); aspect-ratio: 1; border-radius: 50%; background: var(--aqua); }
.dots i:first-child { background: var(--coral); }
.dots i:last-child { background: var(--sand); }
.browser__url {
  flex: 1; min-width: 0;
  padding: 1.2cqw 2.4cqw; border-radius: 999px;
  background: rgba(250, 246, 239, .14); color: var(--aqua-300);
  font: 500 clamp(9px, 2.1cqw, 12px)/1.2 var(--mono);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser__body { display: grid; gap: 2.2cqw; padding: 3.2cqw; justify-items: start; }

.pv {
  display: block; width: 100%;
  border: 0; background: none; padding: 0; margin: 0;
  color: var(--ink); text-align: left; cursor: pointer;
  border-radius: clamp(10px, 2.6cqw, 16px);
  outline: 2px dashed transparent; outline-offset: 3px;
  transition: outline-color .2s, background-color .45s, color .45s;
}
.pv:hover { outline-color: var(--ink); }
.pv:focus-visible { outline: 3px solid var(--coral-deep); }
.pv.is-swapping { animation: squish .5s var(--spring); }
@keyframes squish { 0% { transform: scale(1); } 35% { transform: scale(.93); } 100% { transform: scale(1); } }

.pv-banner { padding: 4.6cqw 3.6cqw; background: var(--aqua-200); }
.pv-name { font: 700 clamp(.85rem, 4cqw, 1.45rem)/1.2 var(--display); letter-spacing: -.01em; }
.pv-tagline { width: auto; max-width: 76%; padding: .6cqw 1cqw; font-size: clamp(.72rem, 2.9cqw, 1rem); line-height: 1.4; color: var(--ink-700); }

.pv-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2cqw; width: 74%; }
.pv-dish { display: grid; gap: .6cqw; padding: 2.6cqw; background: var(--sand-200); }
.pv-dish--alt { background: var(--aqua-100); }
.pv-dish__name { font: 600 clamp(.66rem, 2.6cqw, .95rem)/1.25 var(--body); }
.pv-dish__price { font: 500 clamp(.62rem, 2.3cqw, .85rem)/1.2 var(--mono); color: var(--ink-700); }

.pv-cta {
  width: auto; padding: 1.7cqw 4cqw; border-radius: 999px;
  background: var(--coral);
  font: 600 clamp(.7rem, 2.7cqw, .98rem)/1.3 var(--body);
}

.pv-banner[data-tone="1"], .phone[data-tone="1"] .phone__top { background: var(--coral-100); }
.pv-banner[data-tone="2"], .phone[data-tone="2"] .phone__top { background: var(--sand-200); }
.pv-banner[data-tone="3"], .phone[data-tone="3"] .phone__top { background: var(--ink); color: var(--sand); }

.phone {
  position: absolute; right: 4.4cqw; bottom: 5cqw;
  width: 27%; aspect-ratio: 9 / 17;
  display: flex; flex-direction: column;
  background: var(--sand-50);
  border: clamp(4px, 1.3cqw, 8px) solid var(--ink);
  border-radius: clamp(16px, 5cqw, 32px);
  overflow: hidden;
}
.phone__top {
  flex: 0 0 40%; display: grid; place-items: center; padding: 1.6cqw;
  background: var(--aqua-200); color: var(--ink); text-align: center;
  transition: background-color .45s, color .45s;
}
.phone__body { flex: 1; display: flex; flex-direction: column; gap: 1.4cqw; padding: 2.6cqw 2cqw 2.4cqw; }
.phone__name { font: 700 clamp(7px, 2.1cqw, 12px)/1.2 var(--display); }
.phone__line { height: clamp(3px, .9cqw, 6px); width: 78%; border-radius: 99px; background: var(--ink-100); }
.phone__line--s { width: 50%; }
.phone__cta {
  margin-top: auto; padding: 1.3cqw .6cqw; border-radius: 999px;
  background: var(--coral); color: var(--ink); text-align: center;
  font: 600 clamp(7px, 1.9cqw, 11px)/1.2 var(--body);
  white-space: nowrap;
}

.js [data-build] { opacity: 0; transform: translateY(16px) scale(.92); }
.js [data-build].is-placed {
  opacity: 1; transform: none;
  transition: opacity .35s, transform .6s var(--spring), outline-color .2s, background-color .45s, color .45s;
}

.cursor {
  position: absolute; left: 0; top: 0; z-index: 5;
  display: flex; align-items: flex-start;
  pointer-events: none;
  transform: translate(var(--x, 0px), var(--y, 0px));
}
.cursor span {
  margin: 18px 0 0 -4px; padding: 5px 9px;
  border-radius: 4px 999px 999px 999px;
  font: 600 12px/1 var(--body);
}
.cursor--maki { opacity: 0; transition: transform .5s var(--out), opacity .3s; }
.cursor--maki.is-on { opacity: 1; }
.cursor--maki span { background: var(--ink); color: var(--sand); }
.cursor--you { opacity: 0; transition: opacity .2s; }
.cursor--you.is-on { opacity: 1; }
.cursor--you span { margin: 16px 0 0 14px; background: var(--sand-50); color: var(--ink); border: 1.5px solid var(--ink); }

.ping {
  position: absolute; z-index: 4; width: 16px; height: 16px; margin: -8px;
  border-radius: 50%; border: 2.5px solid var(--coral-deep);
  pointer-events: none;
  animation: ping .65s var(--out) forwards;
}
@keyframes ping { to { transform: scale(4.2); opacity: 0; } }

.notes { margin-top: 18px; min-height: 7.4em; padding-inline: 6px; }
.notes__hint { font-weight: 600; font-size: .98rem; }
.notes__list { margin-top: 8px; display: grid; gap: 4px; }
.notes__list li {
  font-size: .92rem; line-height: 1.45; color: var(--muted);
  animation: noteIn .5s var(--out);
  transition: color .7s;
}
@keyframes noteIn { from { opacity: 0; transform: translateY(-10px); } }

.why { position: relative; overflow: hidden; padding-block: clamp(110px, 18vh, 200px); }
.why__head { position: relative; max-width: 1040px; }
.why__title {
  font: 800 clamp(2.15rem, 5.5vw, 4.9rem)/1.07 var(--display);
  letter-spacing: -.02em; text-wrap: balance;
}
.buzz { position: absolute; inset: 0; pointer-events: none; }
.buzz__pill {
  position: absolute; left: var(--l); top: var(--t);
  padding: .72em 1.15em; border-radius: 999px;
  background: var(--ink); color: var(--sand);
  font: 600 clamp(.82rem, 1.5vw, 1.15rem)/1 var(--body);
  white-space: nowrap; cursor: pointer; pointer-events: auto;
  transform: rotate(var(--r));
  transition: transform .8s var(--spring), opacity .25s;
}
.buzz__pill.is-off {
  transform: translate(var(--dx), 120vh) rotate(var(--r2));
  opacity: 0; pointer-events: none;
  transition: transform 1.1s cubic-bezier(.55, -.25, .95, .55), opacity .2s .9s;
}

.why__body { display: grid; gap: 48px; margin-top: clamp(48px, 8vh, 96px); }
@media (min-width: 900px) { .why__body { grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 104px); } }
.why__text { display: grid; gap: 20px; align-content: start; max-width: 32em; }
.why__checks-intro { font-weight: 600; margin-bottom: 14px; }
.checks li {
  display: flex; align-items: flex-start; gap: 16px;
  padding-block: 18px; border-top: 2px solid var(--ink);
  font: 700 clamp(1.15rem, 2vw, 1.5rem)/1.3 var(--display);
}
.checks li:last-child { border-bottom: 2px solid var(--ink); }
.checks svg { flex: none; width: 1.3em; margin-top: .02em; }
.checks circle { fill: var(--ink); }
.checks path { fill: none; stroke: var(--sand); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.why__checks-out { margin-top: 18px; max-width: 30em; }

.build { padding-block: clamp(100px, 16vh, 180px); }
.build__title { max-width: 16em; }

.tabs {
  position: relative; display: inline-flex; margin-top: clamp(28px, 4vw, 44px);
  padding: 6px; border-radius: 999px; background: var(--sand-200);
}
.tabs__thumb {
  position: absolute; top: 6px; bottom: 6px; left: 0;
  width: var(--tw, 0px); transform: translateX(var(--tx, 0px));
  border-radius: 999px; background: var(--ink);
  transition: transform .55s var(--spring), width .55s var(--spring);
}
.tabs__btn {
  position: relative; z-index: 1;
  padding: .7em 1.25em; border: 0; border-radius: 999px; background: none;
  font: 600 clamp(.9rem, 1.6vw, 1rem)/1.4 var(--body); color: var(--ink);
  cursor: pointer; white-space: nowrap;
  transition: color .3s;
}
.tabs__btn[aria-selected="true"] { color: var(--sand); }

.build__grid { display: grid; gap: clamp(40px, 6vw, 72px); margin-top: clamp(36px, 5vw, 56px); align-items: center; }
@media (min-width: 900px) { .build__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }

.build__panels { min-height: 22em; }
.panel { display: grid; gap: 16px; max-width: 30em; }
.panel[hidden] { display: none; }
.panel.is-active > * { animation: panelIn .6s var(--out) both; }
.panel.is-active > :nth-child(2) { animation-delay: .08s; }
.panel.is-active > :nth-child(3) { animation-delay: .14s; }
.panel.is-active > :nth-child(4) { animation-delay: .2s; }
.panel.is-active > .need { animation: bubbleIn .6s var(--spring) both; }
@keyframes panelIn { from { opacity: 0; transform: translateX(18px); } }
@keyframes bubbleIn { from { opacity: 0; transform: scale(.6); } }

.need {
  justify-self: start; max-width: 24em; margin-bottom: 10px;
  padding: 16px 20px; border-radius: 22px 22px 22px 6px;
  background: var(--aqua-200); color: var(--ink);
  font-weight: 500; font-size: 1.1rem; line-height: 1.45;
  transform-origin: 0 100%;
}
.panel__for { font-size: .95rem; font-weight: 500; color: var(--ink-700); }

.sheets { position: relative; width: 100%; aspect-ratio: 1.18 / 1; container-type: inline-size; }
.sheet {
  --rad: 2.6cqw;
  position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h);
  z-index: var(--z, 1);
  display: flex; flex-direction: column; gap: 1.6cqw;
  padding: 2.4cqw;
  background: var(--sand-50);
  border: clamp(2px, .45cqw, 3px) solid var(--ink);
  border-radius: var(--rad);
  transform: rotate(var(--r, 0deg));
  overflow: hidden;
  transition:
    left .75s var(--spring), top .75s var(--spring),
    width .75s var(--spring), height .75s var(--spring),
    transform .75s var(--spring), border-radius .6s, border-width .4s,
    opacity .35s, background-color .5s, padding .5s;
  transition-delay: calc(var(--n) * 45ms);
}
.sheet__tag { font: 500 clamp(8px, 1.75cqw, 12px)/1.2 var(--mono); color: var(--ink-700); white-space: nowrap; transition: opacity .2s; }
.sheet__hero {
  flex: none; height: 24%; border-radius: 1.6cqw; background: var(--aqua-200);
  transition: height .6s var(--out), opacity .4s, margin .6s;
}
.sheet__hero--b { height: 14%; background: var(--sand-200); }
.ln { flex: none; height: clamp(4px, 1.1cqw, 8px); width: 86%; border-radius: 99px; background: var(--ink-100); transition: width .5s, opacity .4s; }
.ln--d { width: 62%; background: var(--ink); }
.ln--s { width: 48%; }
.sheet__btn {
  flex: none; margin-top: auto; width: 46%; height: clamp(10px, 3.4cqw, 22px);
  border-radius: 99px; background: var(--ink-700);
  transition: background-color .5s, opacity .4s, width .5s;
}
.sheet__chrome {
  flex: none; display: flex; align-items: center; gap: 1cqw;
  height: 0; margin: -2.4cqw -2.4cqw 0; padding-inline: 2.4cqw;
  background: var(--ink); opacity: 0;
  transition: height .6s var(--out), opacity .4s;
}
.sheet__chrome i { width: 1.4cqw; aspect-ratio: 1; border-radius: 50%; background: var(--aqua); }

.sheets[data-size="one"] .sheet { --x: 30%; --y: 2%; --w: 40%; --h: 96%; opacity: 0; }
.sheets[data-size="one"] .sheet--1 { opacity: 1; --z: 5; }
.sheets[data-size="one"] .sheet--1 .sheet__btn { background: var(--coral); }
.sheets[data-size="one"] .sheet--1 .sheet__hero--b { height: 24%; }

.sheets[data-size="pages"] .sheet { --w: 31%; --h: 60%; }
.sheets[data-size="pages"] .sheet--1 { --x: 1.500%; --y: 25%; --r: -9deg; --z: 1; }
.sheets[data-size="pages"] .sheet--2 { --x: 18%; --y: 21%; --r: -4.500deg; --z: 2; }
.sheets[data-size="pages"] .sheet--3 { --x: 34.500%; --y: 19.500%; --r: 0deg; --z: 3; }
.sheets[data-size="pages"] .sheet--4 { --x: 51%; --y: 21%; --r: 4.500deg; --z: 4; }
.sheets[data-size="pages"] .sheet--5 { --x: 67.500%; --y: 25%; --r: 9deg; --z: 5; }
.sheets[data-size="pages"] .sheet__hero--b { height: 0; opacity: 0; margin-top: -1.6cqw; }
.sheets[data-size="pages"] .sheet--1 .ln:nth-of-type(n+6) { opacity: 0; }
.sheets[data-size="pages"] .sheet--5 .sheet__btn { background: var(--coral); }

.sheets[data-size="app"] .sheet--1 { --x: 1%; --y: 7%; --w: 80%; --h: 72%; --z: 1; }
.sheets[data-size="app"] .sheet--2 { --x: 70%; --y: 27%; --w: 28%; --h: 70%; --z: 6; --rad: 5cqw; border-width: clamp(4px, 1.1cqw, 7px); }
.sheets[data-size="app"] .sheet--3 { --x: 5%; --y: 27%; --w: 19%; --h: 21%; --z: 3; background: var(--aqua-200); }
.sheets[data-size="app"] .sheet--4 { --x: 26.500%; --y: 27%; --w: 19%; --h: 21%; --z: 3; background: var(--sand-200); }
.sheets[data-size="app"] .sheet--5 { --x: 48%; --y: 27%; --w: 19%; --h: 21%; --z: 3; background: var(--coral-100); }
.sheets[data-size="app"] .sheet--1 .sheet__chrome { height: 5cqw; opacity: 1; }
.sheets[data-size="app"] .sheet--1 .sheet__hero { height: 0; opacity: 0; margin-top: -1.6cqw; }
.sheets[data-size="app"] .sheet--1 .sheet__btn { opacity: 0; }
.sheets[data-size="app"] .sheet--1 .ln--d { margin-top: auto; }
.sheets[data-size="app"] .sheet--1 .ln { width: 74%; }
.sheets[data-size="app"] .sheet--1 .sheet__btn { margin-top: 0; height: 0; }
.sheets[data-size="app"] .sheet--2 .sheet__btn { background: var(--coral); width: 100%; }
.sheets[data-size="app"] :is(.sheet--3, .sheet--4, .sheet--5) :is(.sheet__hero, .sheet__btn, .ln:not(.ln--d)) { opacity: 0; height: 0; }
.sheets[data-size="app"] :is(.sheet--3, .sheet--4, .sheet--5) .ln--d { margin-top: auto; height: clamp(8px, 2.6cqw, 18px); width: 56%; }
.sheets[data-size="app"] :is(.sheet--3, .sheet--4, .sheet--5) { padding: 1.8cqw; gap: 0; }

.process { padding-block: clamp(100px, 16vh, 180px); }
.process__grid { display: grid; gap: clamp(48px, 7vw, 96px); }
@media (min-width: 960px) {
  .process__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
  .process__intro { position: sticky; top: 130px; }
}
.process__intro { display: grid; gap: 20px; }
.process__intro .lead { color: var(--muted); max-width: 24em; transition: color .7s; }

.steps { --av: clamp(76px, 11vw, 116px); position: relative; display: grid; gap: clamp(72px, 12vh, 128px); }
.step { position: relative; z-index: 1; display: grid; grid-template-columns: var(--av) minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); align-items: start; }
.step__art {
  width: var(--av); aspect-ratio: 1; border-radius: 26%; overflow: hidden;
  transition: transform .7s var(--spring);
}
.step__art svg { width: 100%; height: 100%; }
.step__body { display: grid; gap: 10px; padding-top: 4px; max-width: 30em; transition: opacity .6s; }
.step__body p:last-child { color: var(--muted); transition: color .7s; }
.step__num { display: flex; align-items: baseline; gap: .6em; font: 600 .95rem/1.2 var(--body); }
.step__n { font: 500 .85rem/1.2 var(--mono); color: var(--muted); transition: color .7s; }

.js .step:not(.is-active) .step__art { transform: scale(.72) rotate(-8deg); }
.js .step:not(.is-active) .step__body { opacity: .4; }

.art-spark, .art-px, .art-cursor, .art-ring { transform-box: fill-box; transform-origin: center; }
.step.is-active .art-spark { animation: sparkPop .9s .25s var(--spring) both; }
.step.is-active .art-spark--2 { animation-delay: .45s; }
.step.is-active .art-ring { animation: ringIn .9s var(--spring) both; }
.step.is-active .art-px { animation: pxBlink 1s .3s both; }
.step.is-active .art-cursor { animation: cursorIn .9s .1s var(--out) both; }
@keyframes sparkPop { from { transform: scale(0) rotate(-120deg); } }
@keyframes ringIn { from { transform: scale(1.35) rotate(45deg); } }
@keyframes pxBlink { 0%, 30%, 60% { fill: #85CED1; } 15%, 45%, 100% { fill: #FF7A66; } }
@keyframes cursorIn { from { transform: translate(90px, 70px); } }

.rail {
  position: absolute; z-index: 0;
  left: calc(var(--av) / 2 - 14px); top: var(--rail-top, 0px);
  width: 28px; height: var(--rail-h, 0px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='64'%3E%3Cpath d='M14 0Q32 16 14 32T14 64' fill='none' stroke='%23B0DFE1' stroke-width='5'/%3E%3C/svg%3E") repeat-y;
}
.rail__fill {
  position: absolute; inset: 0 0 auto 0; height: calc(var(--p, 0) * 100%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='64'%3E%3Cpath d='M14 0Q32 16 14 32T14 64' fill='none' stroke='%230B3C42' stroke-width='5'/%3E%3C/svg%3E") repeat-y;
}
.rail__dot {
  position: absolute; left: 6px; top: -8px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--ink);
  transform: translate(var(--dx, 0px), var(--dy, 0px));
}

.contact { padding-top: clamp(110px, 18vh, 200px); }
.contact__title { max-width: 13em; font: 800 clamp(2.2rem, 6vw, 5rem)/1.06 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.contact__lead { margin-top: 20px; max-width: 28em; color: var(--muted); transition: color .7s; }

.madlib { margin-top: clamp(40px, 6vw, 72px); max-width: 23em; font: 700 clamp(1.35rem, 3vw, 2.3rem)/1.75 var(--display); letter-spacing: -.01em; }
.madlib__line + .madlib__line { margin-top: .5em; }
.blank {
  width: 13ch; min-width: 5ch; max-width: 100%;
  padding: 0 .12em;
  background: transparent; border: 0; border-bottom: 3px solid var(--aqua); border-radius: 0;
  font: inherit; letter-spacing: inherit; color: inherit;
  transition: border-color .3s, background-color .3s;
}
.blank--wide { width: 20ch; }
@supports (field-sizing: content) {
  .blank { field-sizing: content; width: auto; }
}
.blank--area { display: block; width: 100%; min-height: 1.75em; resize: none; line-height: 1.5; margin-top: .15em; overflow: hidden; }
.blank::placeholder { color: var(--aqua-600); opacity: 1; }
.blank:hover { background: rgba(133, 206, 209, .08); }
.blank:focus-visible { outline: 0; border-bottom-color: var(--coral); background: rgba(133, 206, 209, .12); }
.blank[aria-invalid="true"] { border-bottom-style: dashed; border-bottom-color: var(--coral); }

.form__error { margin-top: 1.2em; font: 500 1rem/1.5 var(--body); letter-spacing: 0; color: var(--coral); }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 1.6em; }
.form__note { flex: 1 1 16em; max-width: 26em; font: 400 .92rem/1.5 var(--body); letter-spacing: 0; color: var(--muted); }

.footer { position: relative; margin-top: clamp(96px, 16vh, 180px); }
.scallops { overflow: hidden; }
.scallops span {
  display: block; height: 34px; margin-bottom: -8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='44'%3E%3Ccircle cx='44' cy='44' r='32' fill='none' stroke='%2385CED1' stroke-opacity='.16' stroke-width='14'/%3E%3C/svg%3E") repeat-x;
  background-size: 68px 34px;
  background-position-x: calc(var(--sx, 0px) * var(--dir, 1));
}
.scallops span:nth-child(2) { --dir: -1; background-position-x: calc(34px + var(--sx, 0px) * -1); }
.scallops span:nth-child(3) { --dir: 1.6; }

.footer__row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px;
  padding-block: 36px 40px;
  font-size: .95rem;
}
.footer__brand { display: grid; gap: 10px; }
.footer__brand p { color: var(--muted); }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-left: auto; }
.footer__links a { text-decoration: none; font-weight: 500; }
.footer__links a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.footer__legal { flex-basis: 100%; color: var(--muted); font-size: .85rem; }

@media (max-width: 520px) {
  .nav { padding-left: 10px; gap: 10px; }
  .buzz__pill { padding: .6em .9em; }
  .footer__links { margin-left: 0; }
  .tabs { display: flex; }
  .tabs__btn { flex: 1 1 auto; padding: .7em .6em; font-size: .82rem; line-height: 1.25; white-space: normal; }
  .build__panels { min-height: 21em; }
  .notes { min-height: 5.5em; }
  .hero { padding-bottom: 24px; }
  .why { padding-top: 88px; }
}

@media (max-width: 360px) {
  .nav { gap: 6px; }
  .nav__cta { padding-inline: .8em; font-size: .82rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-delay: 0s !important;
    transition-duration: .01ms !important; transition-delay: 0s !important;
  }
  .buzz { display: none; }
  .cursor, .ping { display: none; }
}
