:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #5a6670;
  --subtle: #eef3f5;
  --surface: #ffffff;
  --surface-strong: #f7fafb;
  --line: #d8e2e7;
  --accent: #206a73;
  --accent-strong: #124c55;
  --accent-soft: #e2f3f1;
  --warm: #f7b955;
  --shadow: 0 24px 60px rgba(23, 32, 38, 0.14);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 40px;
  border-bottom: 1px solid rgba(216, 226, 231, 0.75);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.hero-actions,
.oss-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 760;
}

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

.nav-links {
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

main {
  overflow: hidden;
}

.hero,
.audience,
.positioning,
.feature-stack,
.authoring,
.scope,
.oss,
.support,
.download {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 56px;
  min-height: min(calc(100vh - 72px), 820px);
  padding: 54px 0 42px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 10ch;
  font-size: clamp(4.2rem, 8vw, 7rem);
}

h2 {
  font-size: clamp(2.1rem, 4.5vw, 4rem);
}

h3 {
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
}

.hero-subtitle {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.34rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 720;
  white-space: nowrap;
}

.button.primary {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: #fff;
}

.button.secondary {
  background: var(--surface);
  color: var(--ink);
}

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

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 0;
}

.hero-facts div {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
}

.hero-facts dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 3px 0 0;
  font-weight: 750;
}

.hero-shot,
.feature figure {
  margin: 0;
}

.hero-shot {
  position: relative;
}

.hero-shot::before {
  position: absolute;
  inset: -24px -24px auto auto;
  width: 42%;
  height: 46%;
  border-radius: 8px;
  background: var(--warm);
  content: "";
}

.hero-shot img,
.feature img {
  position: relative;
  border: 1px solid rgba(23, 32, 38, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.positioning,
.feature-stack,
.audience,
.authoring,
.scope,
.oss,
.support,
.download {
  padding: 78px 0;
}

.audience {
  border-top: 1px solid var(--line);
}

.section-heading p:last-child {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

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

.audience-grid article {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.audience-grid span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.audience-grid h3 {
  margin-top: 18px;
}

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

.positioning-grid article {
  min-height: 240px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
}

.positioning-grid p,
.audience-grid p,
.feature-copy p,
.authoring-note,
.oss p,
.download p,
.scope-list p {
  color: var(--muted);
}

.positioning-grid p {
  margin: 18px 0 0;
}

.feature-stack {
  display: grid;
  gap: 34px;
}

.feature {
  display: grid;
  gap: 34px;
  align-items: center;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
}

.feature-large {
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
}

.feature.split {
  grid-template-columns: minmax(420px, 1fr) minmax(0, 0.72fr);
}

.feature.reverse figure {
  order: 2;
}

.feature-copy p:last-child {
  margin-bottom: 0;
}

.authoring {
  border-top: 1px solid var(--line);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.tool-grid a {
  min-height: 178px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
}

.tool-grid a:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.tool-grid span {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 820;
}

.tool-grid p {
  margin: 16px 0 0;
  color: var(--muted);
}

.authoring-note {
  max-width: 760px;
  margin: 24px 0 0;
  font-weight: 650;
}

.scope {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.scope-list div {
  padding: 24px;
  border-radius: 8px;
  background: var(--accent-soft);
}

.scope-list span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--accent-strong);
  font-size: 0.83rem;
  font-weight: 800;
}

.scope-list p {
  margin: 18px 0 0;
  font-weight: 650;
}

.oss {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 34px;
}

.oss p {
  max-width: 720px;
  margin: 20px 0 0;
  font-size: 1.1rem;
}

.oss-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  align-items: center;
  gap: 42px;
  border-top: 1px solid var(--line);
}

.support-copy p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.store-links {
  display: grid;
  gap: 14px;
  justify-content: end;
}

.store-coming-soon {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.store-coming-soon span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.store-link {
  display: block;
  border-radius: 8px;
}

.store-link:hover {
  transform: translateY(-1px);
}

.store-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.store-links img {
  width: min(252px, 100%);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(23, 32, 38, 0.18);
}

.download {
  margin-bottom: 42px;
  padding: 56px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

.download .eyebrow,
.download p {
  color: #b7c9cf;
}

.download p {
  max-width: 680px;
  margin: 18px 0 28px;
}

.download .button.primary {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 42px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer span {
  font-weight: 760;
  color: var(--ink);
}

.policy-page {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 84px;
}

.policy-hero {
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.policy-hero h1 {
  max-width: 12ch;
}

.policy-content {
  display: grid;
  gap: 34px;
  padding-top: 42px;
}

.policy-content section {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.policy-content section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.policy-content h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
}

.policy-content p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.policy-content a {
  color: var(--accent-strong);
  font-weight: 720;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (max-width: 920px) {
  .site-header {
    position: static;
    padding: 18px 20px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 42px;
  }

  h1 {
    max-width: none;
    font-size: clamp(3.2rem, 14vw, 5.4rem);
  }

  .feature-large,
  .feature.split,
  .tool-grid,
  .support,
  .oss {
    grid-template-columns: 1fr;
  }

  .feature.reverse figure {
    order: 0;
  }

  .oss-actions {
    justify-content: flex-start;
  }

  .store-links {
    justify-content: start;
  }
}

@media (max-width: 720px) {
  .hero,
  .audience,
  .positioning,
  .feature-stack,
  .authoring,
  .scope,
  .oss,
  .support,
  .download,
  .policy-page,
  .site-footer {
    width: min(100% - 28px, 1160px);
  }

  .hero-facts,
  .audience-grid,
  .positioning-grid,
  .scope-list {
    grid-template-columns: 1fr;
  }

  .feature,
  .download {
    padding: 22px;
  }

  .positioning,
  .feature-stack,
  .audience,
  .authoring,
  .scope,
  .oss,
  .support,
  .download {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .site-footer {
    flex-direction: column;
  }

  .policy-page {
    padding-top: 54px;
    padding-bottom: 54px;
  }
}
