:root {
  color-scheme: light;
  --paper: #f4efe5;
  --paper-2: #ebe4d7;
  --ink: #11110f;
  --muted: #736d63;
  --line: #11110f;
  --orange: #ff6a00;
  --orange-soft: #ffb36b;
  --green: #1d8f57;
  --red: #c7432f;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(17, 17, 15, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(17, 17, 15, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 24px 24px;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  line-height: 1.45;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

::selection {
  background: var(--orange);
  color: var(--paper);
}

.section-shell {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 0 14px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
}

.brand,
.site-header nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: var(--orange);
  color: var(--paper);
  font-size: 0.76rem;
  letter-spacing: -0.08em;
}

.site-header nav a {
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
  text-transform: lowercase;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: var(--ink);
}

.hero {
  min-height: calc(100svh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  align-items: center;
  gap: clamp(32px, 6vw, 76px);
  padding: clamp(38px, 6vw, 76px) 0 clamp(34px, 5vw, 62px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  max-width: 820px;
  margin-bottom: 22px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-weight: 560;
  letter-spacing: -0.075em;
  line-height: 0.96;
}

h1 {
  font-size: clamp(3.3rem, 6.8vw, 7rem);
}

h2 {
  font-size: clamp(2.5rem, 6vw, 5.8rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: lowercase;
}

.lede {
  max-width: 590px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.signup {
  width: min(100%, 520px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.signup > label:first-child {
  display: block;
  margin-bottom: 10px;
  font-size: 0.76rem;
  text-transform: uppercase;
  color: var(--muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.form-row input {
  min-width: 0;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.34);
  color: var(--ink);
  padding: 0 14px;
  outline: none;
}

.form-row input:focus {
  box-shadow: inset 0 0 0 2px var(--orange);
}

.form-row button,
.pixel-button {
  display: inline-grid;
  place-items: center;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0 18px;
  text-decoration: none;
  text-transform: lowercase;
  cursor: pointer;
}

.form-row button:hover,
.form-row button:focus-visible,
.pixel-button:hover,
.pixel-button:focus-visible {
  background: var(--orange);
  color: var(--paper);
}

.form-row button[disabled] {
  cursor: wait;
  opacity: 0.62;
}

.consent-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.74rem;
}

.consent-row input {
  margin-top: 3px;
  accent-color: var(--orange);
}

.turnstile-slot {
  margin-top: 12px;
}

.form-status {
  min-height: 1.3em;
  margin: 9px 0 0;
  color: var(--green);
  font-size: 0.78rem;
}

.form-status[data-tone="error"] {
  color: var(--red);
}

.bot-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.product-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.28);
  padding: 14px;
  transform: rotate(1deg);
}

.product-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.iphone-frame-stage {
  position: relative;
  isolation: isolate;
  aspect-ratio: 2760 / 1350;
  width: 100%;
  overflow: hidden;
  background: transparent;
}

.iphone-frame-stage::before {
  content: "";
  position: absolute;
  inset: 4.75% 2.1%;
  z-index: 0;
  border-radius: 5.5% / 11.5%;
  background: #fff;
}

.iphone-screen-shot {
  position: absolute;
  top: 4.75%;
  right: 2.1%;
  bottom: 4.75%;
  left: 2.1%;
  z-index: 1;
  width: 95.8%;
  height: 90.5%;
  max-width: none;
  object-fit: cover;
  border-radius: 5.5% / 11.5%;
}

.iphone-frame-art {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.hero-device {
  filter: drop-shadow(0 18px 24px rgba(17, 17, 15, 0.12));
}

.product-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.product-caption p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.product-icon {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  object-fit: cover;
  image-rendering: pixelated;
}

.phone-frame {
  min-height: 150px;
  border: 10px solid var(--ink);
  border-radius: 28px;
  background: #1a1a18;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
}

.pad i {
  display: grid;
  place-items: center;
  border: 1px solid #000;
  background: var(--paper);
  color: var(--ink);
  font-style: normal;
  font-size: 0.68rem;
  text-transform: lowercase;
}

.dpad {
  display: grid;
  grid-template-columns: repeat(3, 22px);
  grid-template-rows: repeat(3, 22px);
  justify-content: center;
}

.dpad i:nth-child(1) { grid-column: 2; grid-row: 1; }
.dpad i:nth-child(2) { grid-column: 1; grid-row: 2; }
.dpad i:nth-child(3) { grid-column: 2; grid-row: 2; background: #2d2d2a; }
.dpad i:nth-child(4) { grid-column: 3; grid-row: 2; }
.dpad i:nth-child(5) { grid-column: 2; grid-row: 3; }

.keys {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.keys i {
  min-height: 30px;
}

.buttons {
  display: grid;
  grid-template-columns: repeat(2, 36px);
  grid-template-rows: repeat(2, 36px);
  justify-content: center;
  gap: 8px;
}

.buttons i {
  border-radius: 50%;
  background: var(--orange);
  color: var(--paper);
}

.spec-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}

.spec-strip div {
  min-height: 94px;
  padding: 16px;
  border-right: 1px solid var(--line);
}

.spec-strip div:last-child {
  border-right: 0;
}

.spec-strip span,
.feature-list article > span,
.workflow-line span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.spec-strip strong {
  display: block;
  margin-top: 18px;
  font-size: 0.95rem;
  font-weight: 700;
}

.screens,
.details,
.workflow,
.use-cases,
.final-cta,
.privacy-copy {
  padding-block: clamp(72px, 11vw, 132px);
}

.section-heading {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 34px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.feature-list article {
  min-height: 260px;
  padding: 22px 18px 26px;
  border-right: 1px solid var(--line);
}

.feature-list article:last-child {
  border-right: 0;
}

.feature-list p {
  color: var(--muted);
  font-size: 0.92rem;
}

.screen-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(220px, 0.45fr);
  gap: 16px;
  padding-top: 16px;
}

.screen-card {
  margin: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.26);
  overflow: hidden;
}

.screen-card.wide {
  grid-column: 1 / -1;
}

.screen-card.editor {
  grid-column: span 1;
}

.screen-card > img {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.device-frame-card .iphone-frame-stage {
  width: calc(100% - 28px);
  margin: 14px;
}

.screen-card.wide > img {
  aspect-ratio: 2.175 / 1;
  object-fit: cover;
}

.screen-card.portrait > img {
  aspect-ratio: 0.46 / 1;
  object-fit: cover;
  object-position: top center;
}

.screen-card.editor > img {
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
}

.screen-card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: lowercase;
}

.screen-card figcaption span {
  color: var(--ink);
}

.workflow-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}

.workflow-line div {
  min-height: 160px;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.workflow-line div:last-child {
  border-right: 0;
}

.workflow-line strong {
  display: block;
  margin-bottom: 60px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.9rem, 4vw, 3.6rem);
  font-weight: 560;
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.use-cases {
  padding-top: 0;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.tags span {
  padding: 13px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.18);
  color: var(--muted);
  text-transform: lowercase;
}

.final-cta {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 520px);
  align-items: start;
  gap: clamp(28px, 8vw, 86px);
  border-top: 1px solid var(--line);
}

.final-cta .signup {
  padding-top: 0;
  border-top: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: lowercase;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
}

.pixel-panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.25);
  padding: clamp(22px, 4vw, 42px);
}

.privacy-page {
  min-height: 100vh;
}

.privacy-copy {
  max-width: 880px;
}

.privacy-copy h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
}

.privacy-copy h2 {
  margin-top: 34px;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
}

.privacy-copy p,
.privacy-copy li {
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero,
  .section-heading,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .product-card {
    max-width: 520px;
  }

  .screen-gallery {
    grid-template-columns: 1fr;
  }

  .screen-card.wide,
  .screen-card.editor {
    grid-column: auto;
  }

  .screen-card.portrait img {
    aspect-ratio: 3 / 4;
    object-position: top center;
  }

  .screen-card.editor img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .spec-strip,
  .feature-list,
  .workflow-line {
    grid-template-columns: repeat(2, 1fr);
  }

  .spec-strip div:nth-child(2),
  .feature-list article:nth-child(2),
  .workflow-line div:nth-child(2) {
    border-right: 0;
  }

  .feature-list article:nth-child(-n + 2),
  .workflow-line div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .section-shell,
  .site-header {
    width: min(100% - 24px, var(--max));
  }

  .site-header nav a:first-child {
    display: none;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 5.7rem);
  }

  .form-row,
  .spec-strip,
  .feature-list,
  .workflow-line {
    grid-template-columns: 1fr;
  }

  .spec-strip div,
  .feature-list article,
  .workflow-line div {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }

  .spec-strip div:last-child,
  .feature-list article:last-child,
  .workflow-line div:last-child {
    border-bottom: 0;
  }

  .phone-frame {
    min-height: 154px;
    grid-template-columns: 1fr 1fr;
  }

  .keys {
    display: none;
  }
}
