:root {
  color-scheme: light;
  --bg: #f6f7f8;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --text: #20242a;
  --muted: #68707d;
  --line: rgba(24, 31, 38, 0.12);
  --blue: #0a84ff;
  --blue-strong: #0065d3;
  --green: #1f9d68;
  --red: #ff3b48;
  --amber: #b7791f;
  --shadow: 0 24px 70px rgba(24, 31, 38, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111418;
  --surface: rgba(25, 29, 35, 0.84);
  --surface-strong: #191d23;
  --text: #f4f7fb;
  --muted: #a5adba;
  --line: rgba(236, 241, 247, 0.14);
  --blue: #42a5ff;
  --blue-strong: #68b8ff;
  --green: #52c998;
  --red: #ff6670;
  --amber: #e6b45e;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(10, 132, 255, 0.18);
}

.brand span {
  display: grid;
  line-height: 1.05;
}

.brand strong {
  font-size: 16px;
  letter-spacing: 0;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.nav-links a,
.chip-button {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  background: transparent;
  cursor: pointer;
}

.nav-links a:hover,
.chip-button:hover {
  color: var(--text);
  background: var(--surface);
  border-color: var(--line);
}

.toolbar {
  display: inline-flex;
  gap: 8px;
}

.chip-button {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--bg) 96%, transparent), color-mix(in srgb, var(--bg) 70%, transparent)),
    url("assets/icon.png") right 8vw center / min(46vw, 620px) no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 92px);
}

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

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(58px, 9vw, 126px);
  line-height: 0.92;
  font-weight: 850;
}

.hero-text {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.22;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 750;
}

.primary-action {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(10, 132, 255, 0.24);
}

.primary-action:hover {
  background: var(--blue-strong);
}

.secondary-action {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
}

.hero-status {
  position: absolute;
  z-index: 2;
  left: clamp(20px, 7vw, 92px);
  right: clamp(20px, 7vw, 92px);
  bottom: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-status span {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  backdrop-filter: blur(16px);
}

.hero-status b {
  font-size: 18px;
}

.hero-status small {
  color: var(--muted);
  font-size: 13px;
}

.product-strip,
.section,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.product-strip {
  margin-top: -54px;
  position: relative;
  z-index: 3;
}

.window-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.window-top {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 90%, var(--blue) 10%);
}

.window-top span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.window-top span:nth-child(1) { background: #ff5f57; }
.window-top span:nth-child(2) { background: #ffbd2e; }
.window-top span:nth-child(3) { background: #28c840; }

.window-top p {
  margin: 0 auto;
  color: var(--muted);
  font-weight: 700;
}

.window-body {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 430px;
}

.mock-sidebar {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  border-right: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 86%, var(--blue) 4%);
}

.mock-sidebar button {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--muted);
  background: transparent;
  text-align: left;
  font: inherit;
  font-weight: 650;
}

.mock-sidebar .active {
  color: #ffffff;
  background: var(--blue);
}

.mock-content {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 20px;
}

.mock-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  font-weight: 750;
}

.score-pill,
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 34px;
  border-radius: 999px;
  font-weight: 850;
}

.score-pill {
  background: color-mix(in srgb, var(--green) 18%, transparent);
  color: var(--green);
}

.status-pill {
  margin-left: auto;
  padding: 0 12px;
  background: color-mix(in srgb, var(--blue) 14%, transparent);
  color: var(--blue);
}

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

.workflow-row div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 66px;
  padding: 14px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 750;
}

.workflow-row b {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--blue);
  flex: 0 0 auto;
}

.mock-grid,
.module-grid,
.safety-grid,
.timeline {
  display: grid;
  gap: 16px;
}

.mock-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mock-grid article,
.module-grid article,
.timeline article,
.safety-grid article {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.mock-grid article {
  min-height: 142px;
  padding: 18px;
}

.mock-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.section {
  padding: 92px 0 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
}

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

.timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline article {
  padding: 20px;
}

.timeline span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: 850;
  font-size: 13px;
}

.timeline p,
.module-grid p,
.safety-grid p,
.version p {
  color: var(--muted);
  line-height: 1.55;
}

.band {
  width: 100%;
  max-width: none;
  padding: 92px max(20px, calc((100vw - 1180px) / 2)) 78px;
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 52%, transparent);
}

.band .section-heading,
.band .module-grid {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.module-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.module-grid article {
  min-height: 190px;
  padding: 22px;
}

.module-grid article:nth-child(1) { border-top: 4px solid var(--blue); }
.module-grid article:nth-child(2) { border-top: 4px solid var(--green); }
.module-grid article:nth-child(3) { border-top: 4px solid var(--amber); }
.module-grid article:nth-child(4) { border-top: 4px solid var(--red); }
.module-grid article:nth-child(5) { border-top: 4px solid var(--blue-strong); }
.module-grid article:nth-child(6) { border-top: 4px solid var(--green); }

.safety-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.safety-grid article {
  padding: 22px;
}

.safety-grid strong {
  display: block;
  font-size: 20px;
}

.version {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding-bottom: 92px;
}

.version h2 {
  color: var(--blue);
}

.version p {
  max-width: 720px;
}

.history {
  padding-top: 0;
  padding-bottom: 92px;
}

.history .section-heading p:not(.eyebrow) {
  max-width: 840px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 18px;
}

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

.milestone-grid article {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.milestone-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 7px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--blue) 12%, transparent);
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
}

.milestone-grid p {
  color: var(--muted);
  line-height: 1.5;
}

.release-panel {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.release-panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.release-panel-heading h3,
.release-panel-heading p {
  margin: 0;
}

.release-panel-heading p {
  color: var(--muted);
}

.release-log {
  max-height: 720px;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.release-item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.release-item:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.release-item span {
  color: var(--blue);
  font-weight: 850;
  font-size: 14px;
}

.release-item h4 {
  margin: 0;
  font-size: 16px;
}

.release-item p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.4;
  font-size: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 24px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nav-links {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .toolbar {
    position: absolute;
    right: 18px;
    top: 14px;
  }

  .hero {
    min-height: 720px;
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--bg) 92%, transparent), color-mix(in srgb, var(--bg) 78%, transparent)),
      url("assets/icon.png") center 64px / 420px no-repeat;
  }

  .hero-copy {
    margin-inline: 20px;
    padding-top: 210px;
  }

  .hero-status,
  .workflow-row,
  .mock-grid,
  .timeline,
  .module-grid,
  .safety-grid,
  .milestone-grid,
  .version {
    grid-template-columns: 1fr;
  }

  .release-panel-heading {
    display: grid;
  }

  .release-log {
    grid-template-columns: 1fr;
    max-height: 860px;
  }

  .release-item:nth-child(odd) {
    border-right: 0;
  }

  .hero-status {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 34px 20px 0;
  }

  .product-strip {
    margin-top: 28px;
  }

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

  .mock-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .brand small {
    display: none;
  }

  .toolbar {
    position: static;
  }

  .site-header {
    padding-inline: 14px;
  }

  .hero {
    min-height: auto;
    padding: 38px 0 28px;
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--bg) 94%, transparent), color-mix(in srgb, var(--bg) 84%, transparent)),
      url("assets/icon.png") center 34px / 280px no-repeat;
  }

  .hero-copy {
    padding-top: 160px;
  }

  h1 {
    font-size: clamp(44px, 14vw, 56px);
    line-height: 0.98;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

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