@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Variable.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/JetBrainsMono-Variable.ttf") format("truetype-variations");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --brand: #0F6E56;
  --brand-soft: #E1F5EE;
  --canvas: #FAFAF7;
  --card: #FFFFFF;
  --ink: #14201C;
  --ink-muted: #5A6B66;
  --hairline: #E6E5DF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #1D9E75;
    --brand-soft: #0F2D26;
    --canvas: #0E0E0C;
    --card: #1A1A17;
    --ink: #ECECE8;
    --ink-muted: #A0A8A4;
    --hairline: #25251F;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
  flex: 1;
}

.topbar {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.brand img {
  border-radius: 7px;
  display: block;
}

.hero {
  padding: 72px 0 48px;
}

.pill {
  display: inline-block;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 28px;
}

h1 {
  font-size: clamp(32px, 5.5vw, 44px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.lede {
  font-size: 19px;
  color: var(--ink-muted);
  margin: 0 0 32px;
  max-width: 56ch;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 500;
  font-size: 16px;
  transition: transform 120ms ease, opacity 120ms ease;
}

@media (prefers-color-scheme: dark) {
  .cta { color: #06120E; }
}

.cta:hover { opacity: 0.92; }
.cta:active { transform: translateY(1px); }

@media (prefers-reduced-motion: reduce) {
  .cta { transition: none; }
}

.props {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 24px 0 56px;
  border-top: 1px solid var(--hairline);
  margin-top: 24px;
  padding-top: 48px;
}

@media (min-width: 640px) {
  .props { grid-template-columns: repeat(3, 1fr); }
}

.props article {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 20px;
}

.props h2 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--brand);
  letter-spacing: -0.005em;
}

.props p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.5;
}

.mockup {
  padding: 24px 0 80px;
  display: flex;
  justify-content: center;
}

.mockup img {
  max-width: 320px;
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.25);
}

footer {
  border-top: 1px solid var(--hairline);
  padding: 28px 24px;
  color: var(--ink-muted);
  font-size: 14px;
  text-align: center;
}

footer a {
  color: var(--ink-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer a:hover { color: var(--brand); }

::selection {
  background: var(--brand-soft);
  color: var(--brand);
}
