:root {
  color-scheme: light;
  --ink: #1f2430;
  --muted: #626b7a;
  --line: #d8dde6;
  --paper: #ffffff;
  --surface: #f6f8fb;
  --brand: #f5b82e;
  --brand-dark: #6f4a00;
  --accent: #3f6fd9;
  --accent-dark: #214b9c;
  --shadow: 0 18px 45px rgba(31, 36, 48, 0.12);
}

* {
  box-sizing: border-box;
}

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

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

a {
  color: inherit;
}

.site-header {
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: var(--brand);
  color: #231600;
  font-size: 0.9rem;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.top-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.top-nav a:hover,
.top-nav a[aria-current="page"] {
  background: #eef3ff;
  color: var(--accent-dark);
}

main {
  flex: 1;
}

.hero {
  min-height: calc(100vh - 148px);
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(320px, 1.18fr);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(40px, 7vw, 96px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(245, 184, 46, 0.24), rgba(63, 111, 217, 0.12)),
    var(--surface);
}

.hero-media {
  display: grid;
  place-items: center;
}

.hero-media img {
  width: min(100%, 560px);
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 5.25rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.lead {
  margin: 24px 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.7;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

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

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
}

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

.summary-band > div {
  min-height: 160px;
  padding: 28px clamp(20px, 4vw, 44px);
  background: var(--paper);
}

.summary-band h2,
.command-row h2,
.screenshot-card h2,
.faq-list h2,
.legal-shell h2 {
  margin: 0 0 8px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.summary-band p,
.command-row p,
.screenshot-card p,
.faq-list p,
.legal-shell p,
.page-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.page-shell,
.legal-shell {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: clamp(44px, 7vw, 80px) 20px;
}

.page-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.page-heading h1,
.legal-shell h1 {
  margin-bottom: 16px;
}

.command-list,
.faq-list {
  display: grid;
  gap: 14px;
}

.command-row,
.faq-list article,
.screenshot-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 8px 22px rgba(31, 36, 48, 0.06);
}

.command-row {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: 20px;
  align-items: start;
  padding: 20px;
}

.command-row code {
  width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #eef3ff;
  color: var(--accent-dark);
  font-size: 0.95rem;
  font-weight: 800;
  white-space: normal;
}

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

.screenshot-card {
  padding: 16px;
}

.screenshot-image {
  width: 100%;
  height: 360px;
  display: block;
  object-fit: contain;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #eef1f6;
  border: 1px solid var(--line);
}

.faq-list article {
  padding: 22px;
}

.legal-shell {
  max-width: 820px;
}

.legal-shell h2 {
  margin-top: 32px;
}

.legal-shell p + p {
  margin-top: 16px;
}

.site-footer {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 20px clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: #ffffff;
}

.site-footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer a {
  color: #ffffff;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: -1;
  }

  .hero-media img {
    width: min(86vw, 320px);
  }

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

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

@media (max-width: 520px) {
  .site-header,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .top-nav a {
    padding: 0 10px;
    font-size: 0.9rem;
  }

  .hero,
  .page-shell,
  .legal-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: 2.35rem;
    line-height: 1;
  }

  .lead {
    font-size: 1.04rem;
  }

  .button {
    width: 100%;
  }
}
