:root {
  color-scheme: light;
  --ink: #13161f;
  --muted: #5d6472;
  --subtle: #8a919d;
  --line: #e4e7ec;
  --paper: #ffffff;
  --wash: #f6f7f9;
  --deep: #182033;
  --blue: #4669ee;
  --green: #43a86a;
  --orange: #df8b2f;
  --red: #d85b4a;
  --violet: #855bd9;
  --radius: 8px;
  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(--paper);
  color: var(--ink);
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(228, 231, 236, 0.72);
}

.site-header.compact {
  position: sticky;
}

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

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
}

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

.nav-download {
  color: #ffffff !important;
  background: var(--ink);
  padding: 10px 14px;
  border-radius: 8px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 120px clamp(20px, 5vw, 72px) 80px;
  overflow: hidden;
  background: #f3f5f8;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(243, 245, 248, 0), #ffffff);
}

.hero-background {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 104px clamp(18px, 5vw, 72px) 60px;
  opacity: 0.94;
}

.app-window {
  width: min(760px, 58vw);
  min-height: 480px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(184, 191, 205, 0.7);
  border-radius: 18px;
  box-shadow: 0 42px 120px rgba(25, 35, 57, 0.18);
  overflow: hidden;
  transform: rotate(-2deg) translateX(30px);
}

.window-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d7dbe2;
}

.window-bar span:first-child {
  background: #eb6a5f;
}

.window-bar span:nth-child(2) {
  background: #f2be55;
}

.window-bar span:nth-child(3) {
  background: #62c554;
}

.app-shell {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 438px;
}

.sidebar-preview {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 18px;
  background: #f7f8fa;
  border-right: 1px solid var(--line);
}

.sidebar-preview strong {
  font-size: 12px;
  color: var(--subtle);
  letter-spacing: 0.12em;
}

.sidebar-preview span {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #3f4652;
}

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

.dashboard-preview {
  display: grid;
  grid-template-columns: 132px 1fr;
  align-content: center;
  gap: 28px;
  padding: 42px;
}

.score-ring {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--green) 0 72%, #edf0f5 72% 100%);
  font-size: 36px;
  font-weight: 850;
  color: var(--ink);
}

.score-ring::after {
  content: "";
  position: absolute;
}

.preview-copy span,
.signal-grid span,
.release-row span {
  color: var(--subtle);
  font-weight: 750;
  font-size: 12px;
  text-transform: uppercase;
}

.preview-copy strong {
  display: block;
  margin-top: 8px;
  font-size: 34px;
}

.preview-copy p {
  max-width: 380px;
  color: var(--muted);
  line-height: 1.55;
}

.signal-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.signal-grid div {
  min-height: 100px;
  padding: 18px;
  border-radius: 8px;
  background: var(--wash);
}

.signal-grid strong {
  display: block;
  margin-top: 12px;
  font-size: 25px;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(72px, 11vw, 142px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.hero-subtitle {
  max-width: 620px;
  font-size: clamp(20px, 2.3vw, 28px);
  line-height: 1.28;
  color: #333a48;
}

.hero-actions,
.site-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

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

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

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  border-color: rgba(19, 22, 31, 0.14);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0 0;
}

.hero-facts div {
  min-width: 126px;
  padding-top: 14px;
  border-top: 2px solid rgba(19, 22, 31, 0.14);
}

.hero-facts dt {
  font-size: 12px;
  color: var(--subtle);
  font-weight: 800;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 6px 0 0;
  font-size: 18px;
  font-weight: 800;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.trust-strip div {
  padding: 30px clamp(20px, 5vw, 72px);
  background: #ffffff;
}

.trust-strip strong {
  display: block;
  margin-bottom: 6px;
}

.trust-strip span,
.feature-card p,
.split-section p,
.final-cta p,
.release-intro,
.release-details p,
.release-details li,
.legal-page p {
  color: var(--muted);
  line-height: 1.6;
}

.section {
  padding: 92px clamp(20px, 5vw, 72px);
}

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

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

.feature-card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.feature-icon {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.feature-icon.green { background: var(--green); }
.feature-icon.blue { background: var(--blue); }
.feature-icon.orange { background: var(--orange); }
.feature-icon.violet { background: var(--violet); }
.feature-icon.red { background: var(--red); }
.feature-icon.slate { background: var(--deep); }

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
  gap: 44px;
  align-items: center;
  background: var(--wash);
}

.text-link {
  font-weight: 850;
  color: var(--blue);
  text-decoration: none;
}

.release-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.release-row {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.release-row:last-child {
  border-bottom: 0;
}

.release-row code,
.checksum {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.5;
  color: #2d3441;
}

.final-cta {
  text-align: center;
  padding: 96px 20px 110px;
}

.final-icon,
.release-icon,
.simple-icon {
  width: 82px;
  height: 82px;
  border-radius: 18px;
}

.final-cta h2,
.final-cta p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer a {
  text-decoration: none;
}

.release-page,
.legal-page {
  padding: 72px clamp(20px, 5vw, 72px) 100px;
}

.release-hero {
  max-width: 860px;
  padding: 64px 0;
}

.release-hero h1 {
  font-size: clamp(56px, 8vw, 104px);
}

.release-details {
  display: grid;
  gap: 20px;
  max-width: 920px;
}

.release-details > div,
.legal-page {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.legal-page {
  max-width: 860px;
  margin: 48px auto 100px;
}

.legal-page h1 {
  font-size: clamp(46px, 8vw, 82px);
}

.simple-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--wash);
  padding: 20px;
}

.simple-card {
  max-width: 480px;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .hero-background {
    position: relative;
    order: 2;
    padding: 26px 0 0;
  }

  .hero-content {
    width: 100%;
  }

  .app-window {
    width: 100%;
    transform: none;
  }

  .trust-strip,
  .feature-grid,
  .split-section {
    grid-template-columns: 1fr;
  }
}

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

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  h1 {
    font-size: clamp(58px, 20vw, 88px);
  }

  .app-shell,
  .dashboard-preview,
  .signal-grid {
    grid-template-columns: 1fr;
  }

  .sidebar-preview {
    display: none;
  }

  .dashboard-preview {
    padding: 28px;
  }

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