:root {
  color-scheme: dark;
  --bg: #06101c;
  --bg-2: #0a1625;
  --panel: #0d1b2c;
  --panel-2: #102237;
  --text: #f2f7fb;
  --muted: #a9b7c8;
  --subtle: #728195;
  --line: #24364d;
  --mint: #63ead9;
  --mint-strong: #8ff9ed;
  --mint-ink: #05211f;
  --amber: #f2b84b;
  --red: #ff796d;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--text);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(99, 234, 217, 0.08), transparent 360px),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, black, transparent 70%);
}

a {
  color: var(--mint-strong);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

main {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.page {
  padding: 32px 0;
}

.page.narrow {
  width: min(820px, calc(100% - 40px));
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 18px));
  display: grid;
  align-content: space-between;
  gap: 52px;
  padding: 28px 0 64px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.topbar,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hero-topbar {
  position: relative;
  z-index: 2;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(143, 249, 237, 0.22);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

nav a {
  color: var(--muted);
  font-weight: 700;
}

nav a:hover {
  color: var(--text);
}

.hero-stage {
  position: absolute;
  right: clamp(-120px, -5vw, -28px);
  bottom: 34px;
  z-index: 0;
  width: min(52vw, 560px);
  height: min(74vh, 690px);
  pointer-events: none;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 16% 4% 2% 16%;
  border: 1px solid rgba(99, 234, 217, 0.26);
  background:
    linear-gradient(135deg, rgba(99, 234, 217, 0.12), transparent 42%),
    rgba(13, 27, 44, 0.72);
}

.phone-shot {
  position: absolute;
  width: clamp(210px, 24vw, 330px);
  height: auto;
  border: 1px solid rgba(143, 249, 237, 0.2);
  border-radius: 34px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
}

.phone-shot-back {
  right: 0;
  top: 6%;
  opacity: 0.64;
  transform: rotate(5deg);
}

.phone-shot-front {
  left: 0;
  bottom: 1%;
  transform: rotate(-4deg);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 84px 0 20px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--mint);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(4rem, 11vw, 8.6rem);
  font-weight: 650;
  line-height: 0.88;
}

h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.12;
}

p,
li {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.lede {
  max-width: 610px;
  margin: 28px 0 0;
  color: #d7e1ea;
  font-size: clamp(1.15rem, 2vw, 1.36rem);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 27, 44, 0.72);
  color: var(--text);
  font-weight: 800;
}

.button.primary {
  border-color: var(--mint);
  background: var(--mint);
  color: var(--mint-ink);
}

.button:hover {
  border-color: var(--mint-strong);
  text-decoration: none;
}

.summary-band,
.showcase,
.note-band {
  padding: 68px 0;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.summary-grid article {
  min-height: 250px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(99, 234, 217, 0.06), transparent 70%),
    var(--panel);
}

.summary-grid span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--amber);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 800;
}

.summary-grid p {
  margin-bottom: 0;
}

.section-copy {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-copy p:not(.eyebrow) {
  margin: 0;
}

.screenshot-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
}

figure {
  margin: 0;
}

figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(143, 249, 237, 0.18);
  border-radius: 32px;
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.34);
}

figcaption {
  margin-top: 12px;
  color: var(--subtle);
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
}

.note-band {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 42px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.note-band p:last-child {
  margin: 0;
}

.content {
  padding: 86px 0 70px;
}

.content h1 {
  margin-bottom: 28px;
  font-size: clamp(3.1rem, 8vw, 5.8rem);
}

.content h2 {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 1.35rem;
}

.content ul {
  padding-left: 22px;
}

.content strong {
  color: var(--text);
}

.callout {
  margin: 42px 0 0;
  padding: 24px;
  border: 1px solid rgba(99, 234, 217, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(99, 234, 217, 0.1), transparent),
    var(--panel);
}

.callout h2 {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.todo-contact {
  display: inline-flex;
  max-width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(242, 184, 75, 0.34);
  border-radius: 8px;
  background: rgba(242, 184, 75, 0.08);
  color: #ffd88a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.94rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

footer {
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-bottom: 46px;
  }

  .hero-stage {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 560px);
    height: 500px;
    margin: 12px auto 0;
    order: 3;
  }

  .phone-shot-front {
    top: 0;
    bottom: auto;
    left: 8%;
  }

  .phone-shot-back {
    top: 96px;
    right: 6%;
  }

  .hero-copy {
    max-width: none;
    padding-top: 70px;
  }

  .summary-grid,
  .screenshot-row,
  .note-band {
    grid-template-columns: 1fr;
  }

  .summary-grid article {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  main,
  .page.narrow {
    width: min(100% - 28px, var(--max));
  }

  .page {
    padding: 22px 0;
  }

  .topbar,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    gap: 36px;
    padding-top: 22px;
  }

  .hero-copy {
    padding-top: 44px;
  }

  h1 {
    font-size: clamp(3.6rem, 22vw, 5rem);
  }

  .phone-shot {
    width: min(58vw, 250px);
    border-radius: 24px;
  }

  .hero-stage {
    height: 390px;
  }

  .summary-band,
  .showcase,
  .note-band {
    padding: 46px 0;
  }

  .screenshot-row {
    gap: 28px;
  }

  figure img {
    border-radius: 26px;
  }

  .content {
    padding: 62px 0 54px;
  }

  .callout {
    padding: 20px;
  }
}
