:root {
  --ink: #111712;
  --ink-soft: #19211b;
  --surface: #f3f5f1;
  --paper: #ffffff;
  --text: #172019;
  --text-on-dark: #f4f7f2;
  --muted: #687269;
  --muted-on-dark: #b8c2b9;
  --line: #d9dfd8;
  --line-dark: #344038;
  --green: #78c98d;
  --green-strong: #377b4b;
  --amber: #e5bb59;
  --blue: #8eb8c5;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--surface);
  font-family: "Manrope", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.dark-page {
  color: var(--text-on-dark);
  background: var(--ink);
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 64px;
  background: rgba(17, 23, 18, 0.96);
  border-bottom: 1px solid var(--line-dark);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-name {
  color: var(--text-on-dark);
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
}

.brand-name span {
  color: var(--green);
}

.brand-subtitle {
  color: var(--muted-on-dark);
  font-size: 10px;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  color: var(--muted-on-dark);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text-on-dark);
}

.nav-download {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  color: #0d2112;
  background: var(--green);
  border-radius: 6px;
  font-weight: 800;
  white-space: nowrap;
}

.hero {
  position: relative;
  isolation: isolate;
  height: calc(100svh - 108px);
  min-height: 560px;
  max-height: 720px;
  overflow: hidden;
  background: #172019;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 47%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(7, 14, 9, 0.68);
}

.hero-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 760px;
  padding: 44px 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: #ffffff;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 720px;
  margin: 18px 0 0;
  color: #ffffff;
  font-size: 29px;
  font-weight: 700;
  line-height: 1.25;
}

.hero-copy {
  max-width: 680px;
  margin: 18px 0 0;
  color: #dfe7df;
  font-size: 17px;
  line-height: 1.65;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.action-primary {
  color: #0d2112;
  background: var(--green);
}

.action-secondary {
  color: #ffffff;
  background: rgba(9, 17, 11, 0.84);
  border-color: rgba(255, 255, 255, 0.3);
}

.action-light {
  color: #0d2112;
  background: #ffffff;
  border-color: var(--line);
}

.action:hover,
.action:focus-visible,
.nav-download:hover,
.nav-download:focus-visible {
  filter: brightness(1.08);
}

.guarantee-band {
  color: #201a0d;
  background: var(--amber);
}

.guarantee-inner {
  min-height: 116px;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: center;
  gap: 54px;
  padding: 24px 0;
}

.guarantee-inner strong {
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: 0;
}

.guarantee-inner p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
}

.section {
  padding: 84px 0;
}

.section-dark {
  color: var(--text-on-dark);
  background: var(--ink);
}

.section-cool {
  color: var(--text-on-dark);
  background: #182026;
}

.section-paper {
  color: var(--text);
  background: var(--paper);
}

.section-head {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 46px;
}

.section-label {
  margin: 0 0 10px;
  color: var(--green-strong);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.section-dark .section-label,
.section-cool .section-label {
  color: var(--green);
}

.section-title {
  margin: 0;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: 0;
}

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

.section-dark .section-intro,
.section-cool .section-intro {
  color: var(--muted-on-dark);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.capability {
  min-height: 238px;
  padding: 30px 24px;
  border-right: 1px solid var(--line-dark);
}

.capability:first-child {
  padding-left: 0;
}

.capability:last-child {
  padding-right: 0;
  border-right: 0;
}

.capability-number {
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
}

.capability h3 {
  margin: 44px 0 12px;
  font-size: 21px;
  line-height: 1.3;
}

.capability p {
  margin: 0;
  color: var(--muted-on-dark);
  font-size: 15px;
  line-height: 1.65;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 2px solid var(--text);
}

.workflow-step {
  position: relative;
  min-height: 170px;
  padding: 24px 18px 0 0;
}

.workflow-step::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--green-strong);
  border-radius: 50%;
}

.workflow-step span {
  color: var(--green-strong);
  font-size: 13px;
  font-weight: 800;
}

.workflow-step strong {
  display: block;
  margin-top: 34px;
  font-size: 16px;
  line-height: 1.45;
}

.condition {
  margin-top: 26px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.reliability-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}

.reliability-list {
  border-top: 1px solid #46525a;
}

.reliability-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid #46525a;
}

.reliability-item span {
  color: var(--blue);
  font-weight: 800;
}

.reliability-item strong {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
}

.reliability-item p {
  margin: 0;
  color: #bec8cc;
  font-size: 14px;
  line-height: 1.6;
}

.channel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 38px;
  background: var(--line);
  border: 1px solid var(--line);
}

.channel {
  min-height: 220px;
  padding: 28px;
  background: var(--paper);
}

.channel-label {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--green-strong);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.channel-beta .channel-label {
  color: #8a6510;
}

.channel h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.channel p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.journal-preview {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.journal-preview h2 {
  margin: 0;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 34px;
  line-height: 1.25;
  letter-spacing: 0;
}

.journal-preview p {
  margin: 16px 0 0;
  color: var(--muted-on-dark);
  font-size: 16px;
  line-height: 1.7;
}

.site-footer {
  color: var(--muted-on-dark);
  background: #0c110d;
  border-top: 1px solid var(--line-dark);
}

.footer-inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
}

.journal-header {
  padding: 72px 0 54px;
  background: var(--ink-soft);
  border-bottom: 1px solid var(--line-dark);
}

.journal-header h1 {
  max-width: 820px;
  margin: 0;
  color: var(--text-on-dark);
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 52px;
  line-height: 1.15;
  letter-spacing: 0;
}

.journal-header p {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted-on-dark);
  font-size: 17px;
  line-height: 1.7;
}

.feature-story {
  padding: 76px 0;
  background: var(--paper);
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--green-strong);
  font-size: 13px;
  font-weight: 800;
}

.feature-story h2 {
  max-width: 940px;
  margin: 0;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 42px;
  line-height: 1.2;
  letter-spacing: 0;
}

.story-deck {
  max-width: 860px;
  margin: 24px 0 38px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.story-media {
  position: relative;
  height: 380px;
  overflow: hidden;
  background: var(--ink-soft);
}

.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}

.story-body {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 64px;
  margin-top: 48px;
}

.story-aside {
  align-self: start;
  padding-top: 18px;
  border-top: 3px solid var(--amber);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.6;
}

.story-content h3 {
  margin: 34px 0 12px;
  font-size: 23px;
  line-height: 1.35;
}

.story-content h3:first-child {
  margin-top: 0;
}

.story-content p,
.story-content li {
  color: #3d493f;
  font-size: 16px;
  line-height: 1.75;
}

.story-content p {
  margin: 0 0 18px;
}

.story-content ul {
  margin: 0 0 24px;
  padding-left: 22px;
}

.story-callout {
  margin: 30px 0;
  padding: 22px 24px;
  color: #201a0d;
  background: #f3d98f;
  border-left: 5px solid #b78516;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.65;
}

.archive {
  padding: 76px 0 90px;
  background: var(--surface);
}

.archive-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 32px;
}

.archive-head h2 {
  margin: 0;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 34px;
  letter-spacing: 0;
}

.archive-head p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.archive-entry {
  min-height: 228px;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.archive-entry time {
  color: var(--green-strong);
  font-size: 13px;
  font-weight: 800;
}

.archive-entry h3 {
  margin: 24px 0 10px;
  font-size: 21px;
  line-height: 1.35;
}

.archive-entry p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .nav-links a:not(.nav-download) {
    display: none;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-lead {
    font-size: 25px;
  }

  .guarantee-inner,
  .section-head,
  .reliability-layout,
  .journal-preview,
  .story-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .capability:nth-child(2) {
    border-right: 0;
  }

  .capability:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-dark);
  }

  .capability:nth-child(3) {
    padding-left: 0;
  }

  .workflow {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 20px;
  }

  .workflow-step {
    min-height: 138px;
  }

  .story-media {
    height: 320px;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .site-nav,
  .nav-inner {
    height: 60px;
  }

  .brand-subtitle {
    display: none;
  }

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

  .brand-name {
    font-size: 14px;
  }

  .nav-download {
    min-height: 38px;
    padding: 0 13px;
    font-size: 13px;
  }

  .hero {
    height: calc(100svh - 102px);
    min-height: 545px;
    max-height: 680px;
  }

  .hero::after {
    background: rgba(7, 14, 9, 0.72);
  }

  .hero-inner {
    justify-content: flex-end;
    padding-bottom: 44px;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 11px;
  }

  .hero h1 {
    font-size: 39px;
  }

  .hero-lead {
    margin-top: 13px;
    font-size: 21px;
  }

  .hero-copy {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.55;
  }

  .action-row {
    width: 100%;
    margin-top: 20px;
  }

  .action {
    flex: 1 1 100%;
    min-height: 46px;
  }

  .guarantee-inner {
    min-height: 0;
    gap: 10px;
    padding: 22px 0;
  }

  .guarantee-inner strong {
    font-size: 17px;
  }

  .guarantee-inner p {
    font-size: 14px;
  }

  .section,
  .feature-story,
  .archive {
    padding: 58px 0;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .section-title,
  .journal-preview h2,
  .archive-head h2 {
    font-size: 29px;
  }

  .section-intro {
    font-size: 15px;
  }

  .capability-grid,
  .workflow,
  .channel-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .capability {
    min-height: 0;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .capability:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line-dark);
  }

  .capability:last-child {
    border-bottom: 0;
  }

  .capability h3 {
    margin-top: 20px;
  }

  .workflow {
    border-top: 0;
    row-gap: 0;
  }

  .workflow-step {
    min-height: 0;
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
  }

  .workflow-step::before {
    display: none;
  }

  .workflow-step strong {
    margin: 0;
  }

  .reliability-layout {
    gap: 34px;
  }

  .channel-grid {
    gap: 1px;
  }

  .channel {
    min-height: 0;
    padding: 22px;
  }

  .journal-preview {
    gap: 28px;
  }

  .footer-inner,
  .archive-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    padding: 28px 0;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .journal-header {
    padding: 52px 0 42px;
  }

  .journal-header h1 {
    font-size: 38px;
  }

  .feature-story h2 {
    font-size: 31px;
  }

  .story-deck {
    font-size: 17px;
  }

  .story-media {
    height: 280px;
  }

  .story-aside {
    font-size: 15px;
  }

  .story-callout {
    padding: 18px;
  }
}

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