:root {
  color-scheme: light;
  --ink: #191c1a;
  --muted: #606561;
  --paper: #f5f5f1;
  --surface: #ffffff;
  --surface-muted: #eceee9;
  --lime: #d7ef64;
  --orange: #f0784b;
  --line: rgba(25, 28, 26, 0.16);
  --line-strong: rgba(25, 28, 26, 0.3);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}
a { color: inherit; }
button, input { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: white;
  background: var(--ink);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.site-header,
main,
.site-footer {
  width: min(1220px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.wordmark-mark {
  width: 22px;
  height: 22px;
  display: inline-block;
  border-radius: 6px 6px 6px 2px;
  background: var(--ink);
  box-shadow: inset -7px -7px 0 var(--lime);
  transform: rotate(-4deg);
}
.footer-preview-unlock {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
  text-align: left;
  cursor: default;
}
.footer-preview-unlock:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(390px, 0.9fr) minmax(520px, 1.1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
  padding: 72px 0 80px;
}
.hero-copy { max-width: 550px; }
.availability {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -0.05em; line-height: 1.03; }
h1 {
  max-width: 620px;
  margin-bottom: 24px;
  font-size: clamp(52px, 6.4vw, 84px);
  font-weight: 650;
}
h2 { font-size: clamp(35px, 4vw, 54px); font-weight: 650; }
.hero-lead {
  max-width: 560px;
  margin-bottom: 30px;
  color: #444945;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.55;
}

.interest-form {
  position: relative;
  max-width: 550px;
  padding-top: 4px;
}
.interest-form > label:first-child {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}
.email-row { display: grid; grid-template-columns: 1fr auto; }
.email-row input {
  min-width: 0;
  height: 52px;
  padding: 0 15px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  outline: none;
}
.email-row input::placeholder { color: #8b908c; }
.email-row input:focus { box-shadow: inset 0 0 0 2px var(--ink); }
.email-row button,
.download-action {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  color: var(--ink);
  background: var(--lime);
  border: 1px solid var(--ink);
  border-radius: 0 8px 8px 0;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease;
}
.email-row button:hover,
.download-action:hover { background: #e3f58c; }
.email-row button:disabled { color: var(--muted); background: var(--surface-muted); cursor: wait; }
.email-row button:focus-visible,
.download-action:focus-visible,
a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
.consent-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 9px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.consent-row input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--ink); }
.consent-row a { text-underline-offset: 2px; }
.form-status {
  min-height: 20px;
  margin: 10px 0 0;
  color: #9a2f1d;
  font-size: 13px;
}
.form-status[data-state="working"] { color: var(--muted); }
.website-field {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip-path: inset(50%);
}
.interest-success {
  max-width: 550px;
  padding: 16px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.interest-success strong { font-size: 17px; }
.interest-success p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

.studio-preview {
  min-width: 0;
  overflow: hidden;
  color: #e9ece9;
  background: #222625;
  border: 1px solid #111312;
  border-radius: 12px;
  box-shadow: 16px 18px 0 var(--lime);
}
.studio-toolbar {
  height: 45px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 13px;
  border-bottom: 1px solid #3a3f3d;
  font-size: 11px;
}
.traffic-lights { display: flex; gap: 6px; }
.traffic-lights i {
  width: 9px;
  height: 9px;
  display: block;
  border-radius: 50%;
  background: #fb6a5f;
}
.traffic-lights i:nth-child(2) { background: #f7bd4f; }
.traffic-lights i:nth-child(3) { background: #5bcf65; }
.project-name { color: #b7bcb9; }
.run-control {
  justify-self: end;
  padding: 4px 9px;
  border: 1px solid #505653;
  border-radius: 5px;
}
.studio-body { min-height: 500px; display: grid; grid-template-columns: 148px 1fr; }
.page-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 10px;
  color: #9da29f;
  background: #292d2c;
  border-right: 1px solid #3a3f3d;
  font-size: 10px;
}
.page-list b,
.page-list small {
  padding: 5px 8px;
  color: #707673;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.page-list small { margin-top: 16px; }
.page-list span {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 8px;
  border-radius: 5px;
}
.page-list span.selected { color: white; background: #414745; }
.page-list i { width: 9px; height: 11px; border: 1px solid currentColor; border-radius: 2px; }
.canvas {
  position: relative;
  display: grid;
  place-items: center;
  padding: 29px 20px 84px;
  background-color: #353a38;
  background-image: radial-gradient(#565c59 0.7px, transparent 0.7px);
  background-size: 11px 11px;
}
.phone {
  width: 221px;
  min-height: 410px;
  position: relative;
  overflow: hidden;
  padding: 20px 15px 42px;
  color: #1c231f;
  background: #f6f0df;
  border: 5px solid #171a19;
  border-radius: 27px;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.36);
}
.phone-status { display: flex; justify-content: space-between; margin-bottom: 28px; font-size: 7px; font-weight: 700; }
.phone-kicker { margin-bottom: 7px; color: #667067; font-size: 7px; font-weight: 800; letter-spacing: 0.18em; }
.phone h2 { margin-bottom: 19px; font-family: Iowan Old Style, Palatino, serif; font-size: 28px; }
.note-card { margin-top: 9px; padding: 13px; border: 1px solid rgba(28, 35, 31, 0.18); border-radius: 9px; }
.note-card small, .note-card b { display: block; }
.note-card small { margin-bottom: 8px; font-size: 7px; text-transform: uppercase; }
.note-card b { font-family: Iowan Old Style, Palatino, serif; font-size: 13px; line-height: 1.2; }
.note-card.orange { background: #ff8e66; }
.note-card.pale { background: #e8e3d3; }
.phone-nav {
  height: 34px;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: #1c231f;
}
.phone-nav i { width: 8px; height: 8px; border: 1px solid #bdc4bf; border-radius: 50%; }
.ai-prompt {
  min-width: 290px;
  position: absolute;
  right: 17px;
  bottom: 17px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  color: #ebefec;
  background: #1f2322;
  border: 1px solid #5a625e;
  border-radius: 8px;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.28);
  font-size: 10px;
}
.ai-prompt p, .ai-prompt small { display: block; margin: 0; }
.ai-prompt small { margin-bottom: 2px; color: #8f9893; font-size: 8px; }
.spark { color: var(--lime); font-size: 16px; }
.send { width: 25px; height: 25px; display: grid; place-items: center; color: #17201c; background: var(--lime); border-radius: 6px; font-weight: 800; }

.product-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.product-summary > div { padding: 24px 26px 24px 0; }
.product-summary > div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.product-summary strong, .product-summary span { display: block; }
.product-summary strong { margin-bottom: 4px; font-size: 14px; }
.product-summary span { color: var(--muted); font-size: 14px; }

.preview-process {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(60px, 10vw, 140px);
  padding: 112px 0;
}
.preview-process h2 { max-width: 520px; margin-bottom: 22px; }
.preview-process > div > p { max-width: 480px; color: var(--muted); }
.preview-process ol { margin: 0; padding: 0; list-style: none; }
.preview-process li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.preview-process li:last-child { border-bottom: 1px solid var(--line); }
.preview-process li > span { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.preview-process li p { margin: 0; color: var(--muted); }
.preview-process li strong { display: block; margin-bottom: 3px; color: var(--ink); }

.download-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 96px;
  padding: 46px;
  color: #f4f5f2;
  background: #222625;
  border: 1px solid #111312;
  border-radius: 10px;
}
.download-preview h2 { margin-bottom: 16px; font-size: clamp(32px, 4vw, 48px); }
.download-copy > p { max-width: 520px; color: #b8beb9; }
.download-action { margin-top: 8px; border-radius: 8px; }
.download-action svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.download-action.is-disabled { color: #8e948f; background: #383d3a; border-color: #59605c; pointer-events: none; }
.release-status { margin: 12px 0 0; color: #aeb4b0; font-size: 13px; }
.download-preview dl { margin: 0; }
.download-preview dl > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid #484e4a; }
.download-preview dl > div:last-child { border-bottom: 1px solid #484e4a; }
.download-preview dt { color: #aeb4b0; font-size: 13px; }
.download-preview dd { min-width: 0; margin: 0; font-weight: 600; }
.download-preview code { display: block; overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; font-weight: 400; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 32px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a:hover { color: var(--ink); }

.legal-page main { max-width: 780px; padding: 70px 0 110px; }
.legal-page .site-header, .legal-page .site-footer { width: min(960px, calc(100% - 48px)); }
.legal-page h1 { max-width: 760px; margin-bottom: 16px; font-size: clamp(42px, 6vw, 66px); }
.legal-page h2 { margin: 48px 0 14px; font-size: 26px; letter-spacing: -0.025em; }
.legal-page h3 { margin: 28px 0 8px; font-size: 18px; }
.legal-page p, .legal-page li { color: #444945; }
.legal-page .updated { margin-bottom: 44px; color: var(--muted); font-size: 14px; }
.legal-page .summary { padding: 18px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); font-size: 18px; }
.legal-page ul { padding-left: 22px; }
.legal-page li + li { margin-top: 8px; }
.legal-page address { font-style: normal; }
.legal-page .site-footer { max-width: none; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 62px; }
  .hero-copy { max-width: 720px; }
  .studio-preview { width: min(720px, calc(100% - 18px)); }
  .preview-process, .download-preview { grid-template-columns: 1fr; gap: 48px; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer p { display: none; }
}

@media (max-width: 680px) {
  .site-header, main, .site-footer { width: min(100% - 28px, 1220px); }
  .site-header { min-height: 68px; }
  .hero { min-height: 0; gap: 52px; padding: 48px 0 66px; }
  h1 { font-size: clamp(48px, 15vw, 68px); }
  .email-row { grid-template-columns: 1fr; gap: 9px; }
  .email-row input { border-right: 1px solid var(--line-strong); border-radius: 8px; }
  .email-row button { border-radius: 8px; }
  .studio-preview { width: calc(100% - 9px); box-shadow: 9px 10px 0 var(--lime); }
  .studio-body { min-height: 450px; grid-template-columns: 1fr; }
  .page-list { display: none; }
  .canvas { padding-inline: 10px; }
  .phone { width: 205px; }
  .ai-prompt { min-width: 0; right: 9px; left: 9px; }
  .product-summary { grid-template-columns: 1fr; }
  .product-summary > div { padding: 18px 0; }
  .product-summary > div + div { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .preview-process { padding: 82px 0; }
  .download-preview { margin-inline: -14px; padding: 34px 24px; border-radius: 0; }
  .download-preview dl > div { grid-template-columns: 1fr; gap: 4px; }
  .site-footer { grid-template-columns: 1fr; align-items: start; }
  .legal-page main { padding: 52px 0 80px; }
  .legal-page .site-header, .legal-page .site-footer { width: min(100% - 28px, 960px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
