:root {
  --black: #121414;
  --ink: #1f2322;
  --muted: #64706d;
  --line: #d7dfdc;
  --field: #f2f6f4;
  --surface: #ffffff;
  --surface-cool: #e8f0ee;
  --viridian: #007a70;
  --viridian-dark: #005f57;
  --mint: #6fd1c6;
  --blue: #315f9f;
  --rose: #994866;
  --shadow: 0 30px 80px rgba(4, 13, 12, 0.22);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--field);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    "Helvetica Neue",
    Arial,
    sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
  width: min(1180px, calc(100vw - 40px));
  min-height: 72px;
  margin: 14px auto 0;
  padding: 0 18px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(18, 20, 20, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.18);
}

.site-header.is-scrolled {
  color: var(--ink);
  border-color: rgba(31, 35, 34, 0.1);
  background: rgba(255, 255, 255, 0.88);
}

.brand-lockup,
.site-footer > div {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 820;
}

.brand-lockup img,
.site-footer img {
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 760;
}

.site-nav a {
  padding: 10px 12px;
}

.site-nav a:hover {
  color: var(--mint);
}

.language-link {
  color: var(--mint);
}

.site-header.is-scrolled .site-nav a:hover {
  color: var(--viridian-dark);
}

.site-header.is-scrolled .language-link {
  color: var(--viridian-dark);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 128px max(24px, calc((100vw - 1180px) / 2)) 70px;
  color: #fff;
  background: var(--black);
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      rgba(18, 20, 20, 0.86) 0%,
      rgba(18, 20, 20, 0.56) 44%,
      rgba(18, 20, 20, 0.1) 100%
    ),
    linear-gradient(0deg, rgba(18, 20, 20, 0.08), rgba(18, 20, 20, 0.08));
}

.hero-oil {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 1;
  filter: saturate(1.02) contrast(1.03);
}

.hero-plate {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(111, 209, 198, 0.14), transparent 38%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 0 1px,
      transparent 1px 96px
    );
  opacity: 0.9;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(690px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--viridian);
  font-size: 12px;
  font-weight: 860;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--mint);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(72px, 13vw, 168px);
  line-height: 0.88;
  font-weight: 880;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5.6vw, 76px);
  line-height: 0.96;
  font-weight: 830;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 740px;
  margin-bottom: 18px;
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1;
  font-weight: 780;
}

.hero-body {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 790;
}

.button-primary {
  color: #061412;
  background: var(--mint);
}

.button-primary:hover {
  background: #8ce3da;
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.72);
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 26px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.scroll-cue span {
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) translate(-1px, -3px);
}

.positioning,
.workflow,
.showcase,
.tools,
.principles,
.plans,
.release-note {
  padding: 108px max(24px, calc((100vw - 1180px) / 2));
}

.positioning {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.68fr);
  gap: 70px;
  background: var(--surface);
}

.positioning h2 {
  grid-column: 1;
}

.positioning .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -36px;
}

.positioning-grid {
  display: grid;
  gap: 30px;
  align-content: end;
  font-size: 17px;
  line-height: 1.72;
  color: var(--muted);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.55fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 58px;
}

.section-heading p,
.showcase-copy p,
.principle-copy p,
.release-note p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.workflow {
  background: var(--field);
}

.workflow-steps {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.workflow-steps li {
  display: grid;
  grid-template-columns: 90px minmax(160px, 0.35fr) minmax(0, 1fr);
  gap: 30px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.workflow-steps span {
  color: var(--viridian);
  font-size: 13px;
  font-weight: 850;
}

.workflow-steps strong {
  font-size: 20px;
  line-height: 1.2;
}

.workflow-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: 58px;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--black);
}

.showcase .section-kicker {
  color: var(--mint);
}

.showcase h2 {
  max-width: 470px;
}

.showcase-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.device-line {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 28px);
  min-height: 540px;
}

.device-line img {
  width: min(28vw, 290px);
  min-width: 190px;
  border: 8px solid #090a0a;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.device-line img:nth-child(2) {
  transform: translateY(-34px);
}

.tools {
  background: var(--surface);
}

.tool-table {
  border-top: 2px solid var(--black);
}

.tool-table > div {
  display: grid;
  grid-template-columns: minmax(210px, 0.34fr) minmax(0, 1fr);
  gap: 48px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.tool-table span:first-child {
  font-size: 18px;
  font-weight: 820;
}

.tool-table span:last-child {
  color: var(--muted);
  line-height: 1.64;
}

.principles {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(340px, 1fr);
  gap: 78px;
  background: var(--surface-cool);
}

.principle-list {
  border-left: 2px solid var(--black);
}

.principle-list > div {
  padding: 0 0 26px 34px;
}

.principle-list > div:not(:last-child) {
  border-bottom: 1px solid rgba(31, 35, 34, 0.14);
  margin-bottom: 26px;
}

.principle-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.principle-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.64;
}

.plans {
  color: #fff;
  background: #172122;
}

.plans .section-kicker {
  color: var(--mint);
}

.plans .section-heading p {
  color: rgba(255, 255, 255, 0.7);
}

.plan-rows {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.plan-rows > div {
  display: grid;
  grid-template-columns: 140px minmax(190px, 0.33fr) minmax(0, 1fr);
  gap: 34px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.plan-rows span {
  color: var(--mint);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.plan-rows strong {
  font-size: 25px;
}

.plan-rows p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.62;
}

.release-note {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(300px, 0.68fr);
  gap: 56px;
  align-items: end;
  background: var(--surface);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(190px, 0.3fr) minmax(220px, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px max(24px, calc((100vw - 1180px) / 2));
  color: #fff;
  background: var(--black);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
  font-size: 13px;
  font-weight: 760;
}

.site-footer a:hover {
  color: var(--mint);
}

.art-credit {
  grid-column: 1 / -1;
  max-width: 760px;
  font-size: 12px;
  line-height: 1.5;
}

.legal-header {
  color: var(--ink);
  border-color: rgba(31, 35, 34, 0.1);
  background: rgba(255, 255, 255, 0.9);
}

.legal-page {
  background: var(--surface);
}

.legal-hero {
  padding: 154px max(24px, calc((100vw - 1180px) / 2)) 74px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(18, 20, 20, 0.96), rgba(18, 20, 20, 0.84)),
    repeating-linear-gradient(
      90deg,
      rgba(111, 209, 198, 0.18) 0 1px,
      transparent 1px 104px
    ),
    var(--black);
}

.legal-hero .eyebrow {
  color: var(--mint);
}

.legal-hero h1 {
  max-width: 920px;
  font-size: clamp(54px, 9vw, 118px);
}

.legal-hero p:not(.eyebrow) {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.legal-document {
  width: min(900px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 74px 0 104px;
}

.legal-document h2 {
  margin: 48px 0 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.08;
}

.legal-document p,
.legal-document li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.76;
}

.legal-document p {
  margin-bottom: 18px;
}

.legal-document ul {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding-left: 22px;
}

.legal-note {
  padding: 18px 0;
  border-top: 2px solid var(--black);
  border-bottom: 1px solid var(--line);
  color: var(--ink) !important;
  font-weight: 680;
}

@media (max-width: 920px) {
  .site-header {
    width: min(100vw - 24px, 720px);
    min-height: 62px;
  }

  .nav-toggle {
    display: block;
    color: currentColor;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    padding: 10px;
    color: var(--ink);
    border: 1px solid rgba(31, 35, 34, 0.12);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
  }

  .site-header.nav-open .site-nav {
    display: grid;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .hero {
    min-height: 88svh;
    padding-top: 112px;
  }

  .hero-media::before {
    background:
      linear-gradient(
        180deg,
        rgba(18, 20, 20, 0.84) 0%,
        rgba(18, 20, 20, 0.58) 52%,
        rgba(18, 20, 20, 0.24) 100%
      ),
      linear-gradient(0deg, rgba(18, 20, 20, 0.08), rgba(18, 20, 20, 0.08));
  }

  h1 {
    font-size: clamp(68px, 18vw, 116px);
  }

  .positioning,
  .section-heading,
  .showcase,
  .principles,
  .release-note,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .positioning .section-kicker,
  .positioning h2 {
    grid-column: auto;
  }

  .positioning .section-kicker {
    margin-bottom: 0;
  }

  .workflow-steps li,
  .tool-table > div,
  .plan-rows > div {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .device-line {
    min-height: 420px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 20px;
  }

  .device-line img {
    width: 220px;
    min-width: 220px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header {
    margin-top: 10px;
  }

  .hero,
  .positioning,
  .workflow,
  .showcase,
  .tools,
  .principles,
  .plans,
  .release-note,
  .legal-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    padding-bottom: 58px;
  }

  .hero-subtitle {
    font-size: 31px;
  }

  .hero-body,
  .section-heading p,
  .showcase-copy p,
  .principle-copy p,
  .release-note p,
  .positioning-grid {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .scroll-cue {
    display: none;
  }

  .principle-list {
    border-left: 0;
    border-top: 2px solid var(--black);
  }

  .principle-list > div {
    padding: 24px 0;
  }

  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .legal-document {
    width: calc(100vw - 36px);
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
