@font-face {
  font-family: "Geist";
  src: url("./fonts/Geist_400Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("./fonts/Geist_500Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("./fonts/Geist_600SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("./fonts/Geist_700Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("./fonts/GeistMono_500Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f6f5f0;
  --panel: #ffffff;
  --panel-soft: #fbfaf6;
  --ink: #161713;
  --muted: #676960;
  --muted-strong: #45483f;
  --line: #deddd4;
  --accent: #5be63f;
  --accent-deep: #287a22;
  --rose: #b96262;
  --blue: #406f8b;
  --shadow: 0 28px 70px rgba(44, 46, 36, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    "Geist",
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent-deep);
}

.site-shell {
  min-height: 100dvh;
  overflow-x: hidden;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 245, 240, 0.86);
  border-bottom: 1px solid rgba(222, 221, 212, 0.72);
  backdrop-filter: blur(18px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 500;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: #ffffff;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.nav-cta:hover {
  background: #2b2d25;
  color: #ffffff;
}

.nav-cta:active,
.button:active {
  transform: translateY(1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 64px;
  align-items: center;
  min-height: min(calc(100dvh - 140px), 720px);
  padding: 64px 0 30px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--muted-strong);
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 30px;
  color: var(--muted-strong);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button.primary {
  background: var(--ink);
  color: #ffffff;
}

.button.primary:hover {
  background: #2b2d25;
  color: #ffffff;
}

.hero-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 580px;
}

.phone {
  position: relative;
  width: min(320px, 42vw);
  aspect-ratio: 390 / 844;
  border: 9px solid #171813;
  border-radius: 42px;
  background: #171813;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: translateZ(0);
}

.phone img {
  width: 100%;
  height: 100%;
  border-radius: 31px;
  object-fit: contain;
  object-position: top center;
}

.hero-phone-full {
  transform: rotate(2deg);
}

.section {
  padding: 76px 0;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

.section-title {
  margin-bottom: 0;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-kicker {
  margin: 0;
  color: var(--muted-strong);
  font-size: 17px;
  line-height: 1.45;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.screenshot-card {
  display: grid;
  grid-column: span 4;
  gap: 14px;
  align-content: start;
}

.screen-frame {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 430px;
  padding: 22px 18px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}

.screenshot-card:nth-child(2) .screen-frame {
  background: #eef6f8;
}

.screenshot-card:nth-child(3) .screen-frame {
  background: #f8f1f0;
}

.screenshot-card:nth-child(4) .screen-frame {
  background: #f3f1e8;
}

.screenshot-card:nth-child(5) .screen-frame {
  background: #edfbe9;
}

.screenshot-card:nth-child(6) .screen-frame {
  background: #fbfaf6;
}

.screen-frame img {
  width: min(230px, 100%);
  aspect-ratio: 390 / 650;
  border: 8px solid #171813;
  border-bottom: 0;
  border-radius: 38px 38px 0 0;
  background: #171813;
  box-shadow: 0 20px 46px rgba(44, 46, 36, 0.14);
  object-fit: cover;
  object-position: top center;
}

.feature-text {
  padding: 0 4px;
}

.feature-text h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: 0;
}

.feature-text p {
  margin-bottom: 0;
  color: var(--muted-strong);
  line-height: 1.52;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  background: #efeee7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 52px;
}

.footer small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
}

.footer-title {
  margin-bottom: 12px;
  color: var(--muted);
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 500;
}

.legal-hero {
  padding: 74px 0 38px;
}

.legal-hero h1 {
  max-width: 920px;
  margin-bottom: 14px;
  font-size: clamp(42px, 6vw, 78px);
}

.legal-hero p {
  max-width: 760px;
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.5;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 42px;
  align-items: start;
  padding-bottom: 88px;
}

.legal-doc {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.legal-doc h2 {
  margin: 34px 0 12px;
  font-size: 24px;
  line-height: 1.12;
}

.legal-doc h2:first-child {
  margin-top: 0;
}

.legal-doc h3 {
  margin: 26px 0 8px;
  font-size: 18px;
}

.legal-doc p,
.legal-doc li {
  color: var(--muted-strong);
  line-height: 1.62;
}

.legal-doc ul,
.legal-doc ol {
  padding-left: 22px;
}

.legal-doc a {
  color: var(--accent-deep);
  font-weight: 600;
}

.side-note {
  position: sticky;
  top: 102px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-soft);
}

.side-note p {
  margin-bottom: 14px;
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.5;
}

.side-note a {
  display: block;
  margin-top: 10px;
  color: var(--accent-deep);
  font-weight: 700;
}

.meta-line {
  color: var(--muted);
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .hero,
  .section-header,
  .legal-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 30px;
    padding: 48px 0 24px;
  }

  .hero-stage {
    min-height: 500px;
  }

  .section {
    padding: 62px 0;
  }

  .screenshot-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .screenshot-card {
    grid-column: span 3;
  }

  .screen-frame {
    min-height: 410px;
  }

  .side-note {
    position: static;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .nav-inner {
    min-height: 64px;
  }

  .nav-links {
    display: none;
  }

  h1 {
    font-size: 40px;
    line-height: 1.03;
  }

  .hero h1,
  .hero-copy,
  .button-row {
    max-width: 340px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .hero-stage {
    min-height: 500px;
  }

  .phone {
    width: min(230px, 72vw);
    border-width: 7px;
    border-radius: 34px;
  }

  .phone img {
    border-radius: 25px;
  }

  .section-title {
    font-size: 38px;
  }

  .screenshot-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .screenshot-card {
    grid-column: 1;
  }

  .screen-frame {
    min-height: 390px;
    padding: 22px 16px 0;
  }

  .screen-frame img {
    width: min(220px, 100%);
    border-width: 7px;
    border-radius: 34px 34px 0 0;
  }

  .legal-doc {
    padding: 22px;
  }

  .footer-grid {
    gap: 26px;
  }
}
