@font-face {
  font-family: "Google Sans";
  src: url("fonts/google-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Google Sans Code";
  src: url("fonts/google-sans-code.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0f1012;
  --bg-soft: #141518;
  --surface: #1b1d20;
  --surface-2: #222428;
  --border: rgb(255 255 255 / 8%);
  --border-strong: rgb(255 255 255 / 14%);
  --text: #eeeff1;
  --text-muted: #a6aab2;
  --text-faint: #767b84;
  --brand: #91b4ef;
  --brand-strong: #b4cdf6;
  --indigo: #6366f1;
  --purple: #a855f7;
  --blue: #3b82f6;
  --teal: #2dd4bf;
  --pink: #f472b6;
  --amber: #fbbf24;
  --font: "Google Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Google Sans Code", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 32px);
  --max: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

p a,
li a {
  color: var(--brand);
  text-underline-offset: 3px;
}

p a:hover,
li a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

code {
  font-family: var(--mono);
  font-size: 0.9em;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--brand);
  color: #0f1012;
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgb(15 16 18 / 72%);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.brand img {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: flex;
  gap: 26px;
  margin-right: auto;
  color: var(--text-muted);
  font-size: 15px;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.button svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.button:hover {
  border-color: rgb(255 255 255 / 26%);
  background: rgb(255 255 255 / 5%);
}

.button:active {
  transform: translateY(1px);
}

.button-primary {
  border-color: transparent;
  background: var(--text);
  color: #111214;
}

.button-primary:hover {
  border-color: transparent;
  background: #ffffff;
}

.button-small {
  height: 36px;
  padding: 0 14px;
  font-size: 14px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(64px, 10vw, 112px) 0 0;
  text-align: center;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -80px 0 auto;
  height: 900px;
  z-index: -1;
  background:
    radial-gradient(40% 36% at 30% 30%, rgb(99 102 241 / 20%), transparent 70%),
    radial-gradient(34% 30% at 70% 26%, rgb(45 212 191 / 12%), transparent 70%),
    radial-gradient(30% 26% at 55% 62%, rgb(244 114 182 / 9%), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgb(255 255 255 / 3%);
  color: var(--text-muted);
  font-size: 14px;
}

.eyebrow-dot {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgb(145 180 239 / 14%);
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(40px, 7vw, 76px);
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.gradient-text {
  background: linear-gradient(100deg, var(--brand-strong) 0%, #a5b4fc 38%, #c4b5fd 62%, #f9a8d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  max-width: 680px;
  margin: 26px auto 0;
  color: var(--text-muted);
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.hero-actions .button {
  height: 50px;
  padding: 0 26px;
  font-size: 16px;
}

.hero-meta {
  margin-top: 20px;
  color: var(--text-faint);
  font-size: 14px;
}

.hero-shot {
  position: relative;
  margin-top: clamp(48px, 7vw, 80px);
}

.hero-shot::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 36%;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

/* ---------- Window frame ---------- */

.window {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow:
    0 0 0 1px rgb(0 0 0 / 40%),
    0 30px 80px -20px rgb(0 0 0 / 70%),
    0 0 120px -40px rgb(99 102 241 / 35%);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
  background: #17181b;
}

.window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #3a3c41;
}

.window-bar em {
  margin-left: auto;
  margin-right: auto;
  padding-right: 54px;
  color: var(--text-faint);
  font-family: var(--mono);
  font-size: 12px;
  font-style: normal;
}

.window img,
.window video {
  width: 100%;
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(72px, 11vw, 132px) 0 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section h2 {
  font-size: clamp(32px, 4.6vw, 50px);
}

.section-head p {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: clamp(17px, 2vw, 19px);
}

/* ---------- Audience ---------- */

.audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgb(255 255 255 / 3.5%), rgb(255 255 255 / 1%));
}

.card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 11px;
  background: rgb(255 255 255 / 5%);
  border: 1px solid var(--border);
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  font-size: 21px;
}

.card p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 16px;
}

.balance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.balance div {
  padding: 22px 28px;
}

.balance div + div {
  border-left: 1px solid var(--border);
}

.balance strong {
  display: block;
  font-weight: 600;
}

.balance span {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 15px;
}

/* ---------- Feature tour ---------- */

.tour {
  display: grid;
  gap: clamp(72px, 10vw, 120px);
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.feature.flip {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.feature.flip .feature-copy {
  order: 2;
}

.feature h3 {
  font-size: clamp(26px, 3.2vw, 34px);
}

.feature-copy > p {
  margin-top: 16px;
  color: var(--text-muted);
}

.ticks {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
}

.ticks li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2391b4ef' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 14px no-repeat,
    rgb(145 180 239 / 14%);
}

.feature-media {
  position: relative;
}

.feature-media::before {
  content: "";
  position: absolute;
  inset: 10% 8%;
  z-index: -1;
  border-radius: 50%;
  background: var(--glow, rgb(99 102 241 / 22%));
  filter: blur(70px);
}

.glow-teal {
  --glow: rgb(45 212 191 / 16%);
}

.glow-pink {
  --glow: rgb(244 114 182 / 14%);
}

.glow-amber {
  --glow: rgb(251 191 36 / 11%);
}

/* ---------- More in the box ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
  gap: 1px;
}

.grid-item {
  padding: 24px;
  background: var(--bg-soft);
}

.grid-item h3 {
  font-size: 17px;
  letter-spacing: -0.01em;
}

.grid-item p {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}

.grid-foot {
  margin-top: 22px;
  color: var(--text-muted);
  text-align: center;
}

/* ---------- Honest ---------- */

.honest {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.honest .card h3 {
  font-size: 19px;
}

.honest ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  font-size: 16px;
}

.honest li strong {
  color: var(--text);
  font-weight: 500;
}

.story {
  max-width: 760px;
  margin: 0 auto 44px;
  color: var(--text-muted);
  font-size: 18px;
  text-align: center;
}

/* ---------- Install ---------- */

.install {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.install-copy > p {
  margin-top: 16px;
  color: var(--text-muted);
}

.reqs {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  border-top: 1px solid var(--border);
}

.reqs div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.reqs dt {
  color: var(--text-muted);
}

.reqs dd {
  margin: 0;
  text-align: right;
}

.terminal {
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: #0b0c0e;
  box-shadow: 0 30px 80px -30px rgb(0 0 0 / 80%);
}

.terminal pre {
  margin: 0;
  padding: 22px 24px 26px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 14.5px;
  line-height: 1.85;
  color: #d4d7dc;
}

.terminal .prompt {
  color: var(--teal);
  user-select: none;
}

.terminal .comment {
  color: var(--text-faint);
}

.terminal .ok {
  color: var(--brand);
}

.install-note {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 15px;
}

/* ---------- CTA + footer ---------- */

.cta {
  position: relative;
  margin-top: clamp(80px, 12vw, 140px);
  padding: clamp(56px, 8vw, 88px) var(--gutter);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    radial-gradient(60% 90% at 15% 0%, rgb(99 102 241 / 22%), transparent 70%),
    radial-gradient(50% 80% at 90% 100%, rgb(45 212 191 / 14%), transparent 70%),
    var(--bg-soft);
  text-align: center;
}

.cta img {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
}

.cta h2 {
  font-size: clamp(30px, 4.4vw, 46px);
}

.cta p {
  max-width: 560px;
  margin: 16px auto 0;
  color: var(--text-muted);
  font-size: 18px;
}

.footer {
  margin-top: 72px;
  padding: 32px 0 48px;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

.footer .brand {
  color: var(--text-muted);
  font-size: 15px;
}

.footer .brand img {
  width: 22px;
  height: 22px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-links a:hover {
  color: var(--text);
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
  }

  .audience,
  .balance {
    grid-template-columns: 1fr;
  }

  .balance div + div {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .feature,
  .feature.flip,
  .install,
  .honest {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature.flip .feature-copy {
    order: 0;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .nav-github span {
    display: none;
  }

  .hero-actions .button {
    width: 100%;
  }

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

  .window-bar em {
    display: none;
  }

  .card,
  .grid-item {
    padding: 22px;
  }

  .reqs div {
    flex-direction: column;
    gap: 2px;
  }

  .reqs dd {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}

/* ---------- Real output ---------- */

.made {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.made-item {
  margin: 0;
}

.made-item img {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -30px rgb(0 0 0 / 80%);
}

.made-item figcaption {
  display: grid;
  gap: 6px;
  padding: 16px 4px 0;
}

.made-item q {
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}

.made-item span {
  color: var(--text-faint);
  font-size: 14px;
}

@media (max-width: 980px) {
  .made {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
}
