/* ==================================================================
   JS Systems — site styles
   Light "drafting paper" page, navy ink from the logo, one cyan signal.
   Dark surfaces are reserved for the things that are software
   (the demo tool, the contact block) so the page reads:
   paper = how it's done today, screen = how it runs with a tool.
   ================================================================== */

:root {
  --paper:   #f2f0eb;
  --paper-2: #e8e5de;
  --card:    #fbfaf7;
  --ink:     #0f1d26;
  --ink-2:   #43525c;
  --ink-3:   #75828b;
  --rule:    #d6d2c8;
  --rule-2:  #c4bfb3;

  --navy:    #10202b;
  --navy-2:  #16303e;
  --navy-3:  #1d3d4d;
  --cyan:    #62eef2;
  --cyan-2:  #a9f6f8;
  --teal:    #0a6c75;     /* cyan's job on light backgrounds (AA on paper) */
  --red:     #b2412b;     /* "by hand" */

  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 40px);
  --r: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: 0 1px 0 rgba(15,29,38,.04), 0 12px 32px -12px rgba(15,29,38,.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
::selection { background: var(--cyan); color: var(--navy); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- type ---------- */
.eyebrow {
  font: 500 12px/1 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.eyebrow--red { color: var(--red); }
.eyebrow--cyan { color: var(--cyan); }

.h2 {
  font-weight: 700;
  font-stretch: 92%;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.04;
  letter-spacing: -.018em;
  margin-top: 16px;
  text-wrap: balance;
}
.h2--light { color: #fff; }
.lede {
  margin-top: 18px;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 34em;
  text-wrap: pretty;
}
.lede--light { color: #b9c9d1; }
.sec-head { max-width: 760px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 24px;
  border-radius: 999px;
  font-weight: 600; font-size: 16px; letter-spacing: -.005em;
  white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, border-color .2s, color .2s;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 15px; }
.btn--sm svg { width: 16px; height: 16px; }
.btn--ink { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -10px rgba(15,29,38,.7); }
.btn--ink:hover { background: var(--navy-3); }
.btn--line { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--cyan { background: var(--cyan); color: var(--navy); box-shadow: 0 10px 30px -12px rgba(98,238,242,.8); }
.btn--cyan:hover { background: var(--cyan-2); }
.btn--ghost { border: 1.5px solid rgba(255,255,255,.28); color: #fff; }
.btn--ghost:hover { border-color: #fff; }

/* ==================================================================
   NAV
   ================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, box-shadow .3s;
}
.nav.is-scrolled {
  background: rgba(242,240,235,.86);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 1px 0 var(--rule);
}
.nav__in { height: 72px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.01em; font-size: 18px; }
.brand__mark { width: 40px; height: 32px; color: var(--navy-2); }
.brand--light { color: #fff; }
.brand--light .brand__mark { color: var(--cyan); }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; color: var(--ink-2); }
.nav__links a { position: relative; padding: 6px 0; transition: color .2s; }
.nav__links a:hover, .nav__links a.is-on { color: var(--ink); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links a.is-on::after { transform: scaleX(1); }
.nav__call { display: none; }

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
}
@media (max-width: 560px) {
  .nav__in { height: 64px; }
  .nav__cta { display: none; }
  .nav__call { display: inline-flex; margin-left: auto; }
}

/* ==================================================================
   HERO
   ================================================================== */
.hero {
  position: relative;
  padding: 132px 0 96px;
  overflow: hidden;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: .55;
  -webkit-mask-image: radial-gradient(90% 80% at 75% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(90% 80% at 75% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero__in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}
.hero__title {
  margin-top: 22px;
  font-weight: 800;
  font-stretch: 88%;
  font-size: clamp(42px, 4.9vw, 68px);
  line-height: 1;
  letter-spacing: -.022em;
}
.hl { color: var(--teal); }
.hero__lede {
  margin-top: 24px;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 30em;
  text-wrap: pretty;
}
.hero__ctas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__try {
  margin-top: 28px;
  display: flex; align-items: center; gap: 12px;
  font: 500 13px/1.4 var(--mono);
  color: var(--ink-3);
}
.hero__try-arrow {
  width: 36px; height: 1px; background: var(--ink-3); position: relative; flex: none;
}
.hero__try-arrow::after {
  content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px;
  border-top: 1px solid var(--ink-3); border-right: 1px solid var(--ink-3); transform: rotate(45deg);
}

@media (max-width: 1080px) {
  .hero { padding: 116px 0 72px; }
  .hero__in { grid-template-columns: 1fr; }
  .hero__try-arrow { transform: rotate(90deg); width: 22px; }
}
@media (max-width: 560px) {
  .hero { padding: 96px 0 56px; }
  .hero__ctas .btn { flex: 1 1 100%; }
}

/* ---------- the demo tool ---------- */
.tool {
  position: relative;
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
  color: #e6f1f4;
  border-radius: 20px;
  box-shadow:
    0 0 0 1px rgba(15,29,38,.9),
    inset 0 1px 0 rgba(255,255,255,.07),
    0 40px 80px -30px rgba(15,29,38,.55),
    0 16px 30px -18px rgba(15,29,38,.4);
  overflow: hidden;
}
.tool__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  font: 500 12px/1 var(--mono);
  letter-spacing: .06em; text-transform: uppercase;
  color: #9fb4bd;
}
.tool__led {
  width: 8px; height: 8px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(98,238,242,.15), 0 0 12px var(--cyan);
}
.tool__name { color: #e6f1f4; }
.tool__tag {
  margin-left: auto; padding: 5px 8px; border-radius: 6px;
  background: rgba(98,238,242,.1); color: var(--cyan); letter-spacing: .08em;
}
.tool__body {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
}
.tool__in {
  display: flex; flex-direction: column; gap: 12px;
  padding: 18px;
  border-right: 1px solid rgba(255,255,255,.07);
  background: rgba(0,0,0,.12);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span:first-child {
  font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #8aa0aa;
}
.field__box {
  position: relative; display: flex; align-items: center;
  height: 42px; border-radius: 9px;
  background: rgba(255,255,255,.05);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
  transition: box-shadow .2s, background .2s;
}
.field__box:focus-within { box-shadow: inset 0 0 0 1.5px var(--cyan); background: rgba(98,238,242,.06); }
.field__box.is-typing { box-shadow: inset 0 0 0 1.5px rgba(98,238,242,.6); }
.field input, .field select {
  width: 100%; height: 100%; min-width: 0;
  border: 0; outline: 0; background: transparent;
  padding: 0 34px 0 12px;
  font: 500 16px/1 var(--mono); color: #fff;
  -moz-appearance: textfield; appearance: none;
}
.field input::-webkit-outer-spin-button, .field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field i { position: absolute; right: 11px; font: 400 12px/1 var(--mono); font-style: normal; color: #6f8791; pointer-events: none; }
.field__box--select select { padding-right: 28px; font-size: 14px; cursor: pointer; }
.field__box--select::after {
  content: ""; position: absolute; right: 13px; top: 16px; width: 6px; height: 6px;
  border-right: 1.5px solid #8aa0aa; border-bottom: 1.5px solid #8aa0aa; transform: rotate(45deg); pointer-events: none;
}
.field select option { background: var(--navy); color: #fff; }

.tool__out { display: flex; flex-direction: column; min-width: 0; }
.tool__draw { width: 100%; height: auto; aspect-ratio: 340 / 230; border-bottom: 1px solid rgba(255,255,255,.07); }
.draw__blank { fill: rgba(98,238,242,.08); stroke: var(--cyan); stroke-width: 1.4; stroke-linejoin: round; }
.draw__bends { fill: none; stroke: rgba(98,238,242,.55); stroke-width: 1; stroke-dasharray: 4 3; }
.draw__dim { stroke: #8fe9ee; stroke-width: .8; opacity: .8; }
.draw__txt { font: 500 11px/1 var(--mono); fill: #cdf7f8; }

.res {
  margin: 0; display: grid; grid-template-columns: 1fr 1fr;
}
.res__cell {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.res__cell:nth-child(even) { border-right: 1px solid rgba(255,255,255,.06); }
.res__cell--wide { grid-column: 1 / -1; border-right: 0 !important; }
.res dt { font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #7d95a0; }
.res dd {
  margin: 7px 0 0;
  font: 500 17px/1.1 var(--mono); color: #fff;
  font-variant-numeric: tabular-nums;
  transition: color .5s;
}
.res__cell--wide dd { font-size: 22px; color: var(--cyan); }
.res dd.is-new { color: var(--cyan-2); }
.res dd small { font-size: .7em; color: #8aa0aa; margin-left: 4px; }
.tool__foot {
  padding: 12px 18px;
  font-size: 12.5px; line-height: 1.4; color: #88a0aa;
  background: rgba(0,0,0,.14);
}
.tool__foot b { color: #cfe3e8; font-weight: 600; }

@media (max-width: 560px) {
  .tool { border-radius: 16px; margin: 0 -4px; }
  .tool__body { grid-template-columns: 1fr; }
  .tool__in {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px;
    border-right: 0; border-bottom: 1px solid rgba(255,255,255,.07);
    padding: 14px;
  }
  .tool__in .field:nth-child(4) { grid-column: span 2; }
  .field input, .field select { padding-left: 10px; font-size: 16px; }
  .field i { right: 8px; }
  .res dd { font-size: 16px; }
  .res__cell--wide dd { font-size: 20px; }
}

/* ==================================================================
   DESK
   ================================================================== */
.desk { padding: clamp(72px, 10vw, 140px) 0; border-top: 1px solid var(--rule); }
.desk__in {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.desk__fig {
  position: relative; margin: 0;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--paper-2);
}
.desk__fig img { width: 100%; height: auto; }
.pin {
  position: absolute; left: var(--x); top: var(--y);
  transform: translate(-6px, -6px);
  display: flex; align-items: center; gap: 8px;
  pointer-events: none;
}
.pin::before {
  content: ""; width: 12px; height: 12px; border-radius: 50%; flex: none;
  background: var(--red); box-shadow: 0 0 0 4px rgba(178,65,43,.22), 0 0 0 9px rgba(178,65,43,.08);
}
.pin b {
  font: 500 12px/1 var(--mono); letter-spacing: .04em;
  background: var(--ink); color: #fff; padding: 7px 9px; border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 8px 18px -8px rgba(15,29,38,.6);
}
.pin--left { flex-direction: row-reverse; transform: translate(calc(-100% + 6px), -6px); }
.reveal .pin { opacity: 0; transform: translate(-6px, 4px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.is-in .pin { opacity: 1; transform: translate(-6px, -6px); }
.reveal .pin--left { transform: translate(calc(-100% + 6px), 4px); }
.reveal.is-in .pin--left { transform: translate(calc(-100% + 6px), -6px); }
.reveal.is-in .pin:nth-of-type(2) { transition-delay: .25s; }
.reveal.is-in .pin:nth-of-type(3) { transition-delay: .5s; }
.reveal.is-in .pin:nth-of-type(4) { transition-delay: .75s; }

@media (max-width: 900px) {
  .desk__in { grid-template-columns: 1fr; }
  .desk__fig { margin: 0 calc(var(--gut) * -1); border-radius: 0; }
}
@media (max-width: 560px) {
  .pin b { font-size: 10.5px; padding: 5px 7px; }
  .pin::before { width: 9px; height: 9px; }
  .pin--hide-sm { display: none; }
}

/* ==================================================================
   STEPS — scroll-driven collapse (js/steps.js)
   ================================================================== */
.steps {
  position: relative;
  height: 260vh;
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.steps__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}
.steps__head { max-width: 720px; }
.steps__stage {
  position: relative;
  margin-top: clamp(28px, 5vh, 56px);
}
.steps__manual, .steps__final {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.steps__final {
  position: absolute; inset: 0;
  grid-template-columns: 1fr 1.5fr 1fr;
  align-content: center;
  gap: 48px;
  pointer-events: none;
}
.chip {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  min-height: 64px; padding: 12px 16px;
  background: var(--card);
  border: 1px solid var(--rule-2);
  border-left: 4px solid var(--red);
  border-radius: 10px;
  font-weight: 600; font-size: 16px; line-height: 1.2;
  box-shadow: 0 1px 0 rgba(15,29,38,.04);
  will-change: transform, opacity;
}
.chip__n {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  font: 500 12px/1 var(--mono); color: var(--red);
  background: rgba(178,65,43,.1);
}
.chip--ok { border-left-color: var(--teal); }
.chip--ok .chip__n { color: var(--teal); background: rgba(10,108,117,.1); }
.chip--tool {
  min-height: 88px;
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
  color: #fff; border: 0; border-left: 4px solid var(--cyan);
  box-shadow: 0 20px 40px -18px rgba(15,29,38,.6);
  font-size: 19px;
}
.chip--tool .chip__n { color: var(--navy); background: var(--cyan); }
.chip--tool small { display: block; margin-top: 5px; font: 400 12.5px/1.2 var(--mono); color: var(--cyan-2); }
.steps__final .chip { opacity: 0; }
.steps__final .chip:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -38px; width: 28px; height: 1.5px; background: var(--teal);
}
.steps__final .chip:not(:last-child)::before {
  content: ""; position: absolute; top: calc(50% - 4px); right: -38px; width: 8px; height: 8px;
  border-top: 1.5px solid var(--teal); border-right: 1.5px solid var(--teal); transform: rotate(45deg);
}

.steps__meter {
  margin-top: clamp(28px, 5vh, 52px);
  display: grid; grid-template-columns: auto minmax(60px, 1fr) auto; gap: 20px; align-items: center;
}
.meter { display: flex; flex-direction: column; gap: 6px; transition: opacity .4s; }
.meter--tool { text-align: right; opacity: .35; }
.meter__k { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.meter--by .meter__k { color: var(--red); }
.meter--tool .meter__k { color: var(--teal); }
.meter__v { font-weight: 600; font-size: 15px; color: var(--ink-2); }
.meter__track { height: 3px; background: var(--rule-2); border-radius: 3px; overflow: hidden; }
.meter__track span { display: block; height: 100%; width: 100%; background: var(--teal); transform-origin: left; transform: scaleX(0); }
.steps.is-done .meter--by { opacity: .35; }
.steps.is-done .meter--tool { opacity: 1; }

@media (max-width: 860px) {
  .steps__manual { grid-template-columns: 1fr 1fr; gap: 10px; }
  .steps__final { grid-template-columns: 1fr; gap: 26px; align-content: center; }
  .chip { min-height: 52px; padding: 10px 12px; font-size: 14.5px; gap: 10px; }
  .chip__n { width: 22px; height: 22px; font-size: 11px; }
  .chip--tool { min-height: 72px; font-size: 17px; }
  .steps__final .chip:not(:last-child)::after { top: auto; bottom: -20px; right: auto; left: 30px; width: 1.5px; height: 14px; }
  .steps__final .chip:not(:last-child)::before { top: auto; bottom: -21px; right: auto; left: 27px; transform: rotate(135deg); }
  .steps__meter { grid-template-columns: 1fr 1fr; gap: 14px; }
  .meter__track { grid-column: 1 / -1; grid-row: 2; }
  .meter__v { font-size: 13.5px; }
}
@media (max-height: 700px) and (max-width: 860px) {
  .steps__head .lede { display: none; }
}

/* Without scroll animation: show both states, stacked, statically */
.steps--static { height: auto; padding: 96px 0; }
.steps--static .steps__sticky { position: static; height: auto; }
.steps--static .steps__final { position: static; margin-top: 40px; }
.steps--static .steps__final .chip { opacity: 1; }
.steps--static .meter { opacity: 1; }
.steps--static .meter__track span { transform: none; }

/* ==================================================================
   WHAT I BUILD
   ================================================================== */
.build { padding: clamp(80px, 11vw, 150px) 0; }
.tiles {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.tile {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 22px 22px 26px;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--rule-2); }
.tile__art {
  width: 100%; height: auto; aspect-ratio: 2 / 1;
  background:
    linear-gradient(var(--rule) 1px, transparent 1px) 0 0 / 14px 14px,
    linear-gradient(90deg, var(--rule) 1px, transparent 1px) 0 0 / 14px 14px;
  background-color: var(--paper);
  border-radius: 10px;
  margin-bottom: 22px;
}
.tile h3 { font-size: 22px; font-weight: 700; letter-spacing: -.015em; }
.tile p { margin-top: 8px; color: var(--ink-2); font-size: 16px; line-height: 1.45; }

.a-box { fill: var(--card); stroke: var(--ink); stroke-width: 1.4; }
.a-box--on { fill: var(--navy); stroke: var(--navy); }
.a-wire { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.a-wire--thin { stroke-width: 1.2; stroke: var(--ink-3); }
.a-box--on + .a-wire--thin, .a-box--on ~ .a-wire--thin { stroke: rgba(255,255,255,.5); }
.a-mono { font: 500 14px/1 var(--mono); fill: var(--ink); }
.a-mono--on { fill: var(--cyan); font-size: 13px; }
.a-dot { fill: var(--teal); }
.a-bar { fill: var(--rule-2); }
.a-bar--on { fill: var(--teal); }

@media (max-width: 1020px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  {
  .tiles { grid-template-columns: 1fr; gap: 12px; }
  .tile { display: grid; grid-template-columns: 110px 1fr; column-gap: 16px; align-items: center; padding: 14px; }
  .tile__art { grid-row: span 2; margin: 0; }
  .tile h3 { font-size: 19px; align-self: end; }
  .tile p { margin-top: 4px; font-size: 15px; align-self: start; }
}

/* ==================================================================
   HOW IT WORKS
   ================================================================== */
.work { padding: 0 0 clamp(80px, 11vw, 150px); }
.plan {
  list-style: none; margin: clamp(40px, 6vw, 64px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1.5px solid var(--ink);
}
.plan__step { padding: 28px 28px 8px 0; position: relative; }
.plan__step + .plan__step { padding-left: 28px; border-left: 1px solid var(--rule); }
.plan__n { font: 500 13px/1 var(--mono); color: var(--teal); letter-spacing: .08em; }
.plan__step h3 { margin-top: 14px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.02em; }
.plan__step p { margin-top: 10px; color: var(--ink-2); max-width: 22em; }

.price {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r);
}
.price__k { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.price__v { margin-top: 10px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.price__plus { font: 300 44px/1 var(--sans); color: var(--ink-3); }
.price__note { grid-column: 1 / -1; padding-top: 18px; border-top: 1px dashed var(--rule-2); color: var(--ink-2); font-size: 15px; }

.promise {
  margin-top: clamp(48px, 7vw, 80px);
  font-size: clamp(24px, 3vw, 38px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15;
  max-width: 22em; text-wrap: balance;
}
.promise span { display: block; color: var(--ink-3); }

@media (max-width: 760px) {
  .plan { grid-template-columns: 1fr; }
  .plan__step, .plan__step + .plan__step { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 44px 1fr; }
  .plan__n { padding-top: 8px; grid-row: span 2; }
  .plan__step h3 { margin-top: 0; }
  .price { grid-template-columns: 1fr; gap: 14px; }
  .price__plus { font-size: 30px; }
}

/* ==================================================================
   FAQ
   ================================================================== */
.faq { padding: clamp(80px, 11vw, 140px) 0; border-top: 1px solid var(--rule); }
.faq__in { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq__list { border-top: 1.5px solid var(--ink); }
.qa { border-bottom: 1px solid var(--rule); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0;
  font-size: clamp(18px, 1.7vw, 21px); font-weight: 600; letter-spacing: -.01em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--rule-2);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 11px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 11px no-repeat;
  transition: transform .3s var(--ease), background-color .3s;
}
.qa[open] summary::after { transform: rotate(45deg); background-color: var(--card); }
.qa p { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 36em; }
@media (max-width: 860px) { .faq__in { grid-template-columns: 1fr; } }

/* ==================================================================
   CONTACT
   ================================================================== */
.contact {
  background:
    radial-gradient(70% 90% at 90% 0%, rgba(98,238,242,.1), transparent 60%),
    linear-gradient(180deg, var(--navy-2), var(--navy) 60%);
  color: #fff;
  padding-top: clamp(80px, 11vw, 140px);
}
.contact__in {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: clamp(40px, 6vw, 96px); align-items: center;
  padding-bottom: clamp(72px, 10vw, 120px);
}
.contact__ctas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.contact__alt { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; }
.contact__alt a { display: inline-flex; align-items: center; gap: 9px; color: #b9c9d1; font-size: 15px; transition: color .2s; }
.contact__alt a:hover { color: var(--cyan); }
.contact__alt svg { width: 18px; height: 18px; }

.me {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 28px;
  background: rgba(255,255,255,.03);
}
.me__logo { width: 170px; height: auto; margin: -10px 0 14px -14px; }
.me__q { font-size: 20px; line-height: 1.4; font-weight: 500; letter-spacing: -.01em; }
.me__who { margin-top: 20px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.me__who span { color: #8ea4ae; }

.foot { border-top: 1px solid rgba(255,255,255,.08); }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 26px; padding-bottom: 32px; }
.foot__meta { font-size: 13.5px; color: #7f96a0; }

@media (max-width: 860px) {
  .contact__in { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .contact__ctas .btn { flex: 1 1 100%; }
  .foot__in { padding-bottom: 104px; }
}

/* ==================================================================
   PHONE DOCK
   ================================================================== */
.dock { display: none; }
@media (max-width: 560px) {
  .dock {
    position: fixed; z-index: 60; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 6px;
    padding: 6px; border-radius: 18px;
    background: rgba(16,32,43,.94);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px -12px rgba(0,0,0,.5);
    transform: translateY(140%); transition: transform .4s var(--ease);
  }
  .dock.is-on { transform: none; }
  .dock a {
    height: 48px; border-radius: 13px;
    display: flex; align-items: center; justify-content: center; gap: 7px;
    color: #fff; font-weight: 600; font-size: 15px;
    background: rgba(255,255,255,.07);
  }
  .dock a svg { width: 17px; height: 17px; }
  .dock .dock__main { background: var(--cyan); color: var(--navy); }
}

/* ==================================================================
   REVEAL
   ================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.tiles .reveal:nth-child(2), .plan .reveal:nth-child(2) { transition-delay: .08s; }
.tiles .reveal:nth-child(3), .plan .reveal:nth-child(3) { transition-delay: .16s; }
.tiles .reveal:nth-child(4) { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal .pin { opacity: 1 !important; transform: none !important; transition: none !important; }
  .tile, .btn { transition: none; }
}
