:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f4f7f9;
  color: #111827;
  line-height: 1.7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(244, 247, 249, 0.1), #f4f7f9 34rem),
    #f4f7f9;
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(12, 18, 28, 0.92);
  color: #f8fafc;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #16a34a, #06b6d4);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(6, 182, 212, 0.18);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 1.08rem;
  font-weight: 800;
}

.brand-tag {
  color: #a9b7c7;
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: #dbe5ef;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(rgba(8, 13, 23, 0.78), rgba(8, 13, 23, 0.9)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px),
    linear-gradient(135deg, #0c121c 0%, #123133 45%, #2d2412 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 10rem;
  background: linear-gradient(180deg, transparent, #f4f7f9);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 76px);
  display: grid;
  align-content: center;
  gap: 2rem;
  padding: 5rem 0 6rem;
}

.hero-copy {
  max-width: 820px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  color: #9eead2;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  max-width: 690px;
  margin: 1.35rem 0 0;
  color: #d5dee8;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  border: 0;
  border-radius: 0.75rem;
  background: #16a34a;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(22, 163, 74, 0.24);
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #15803d;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero-visual {
  max-width: 860px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0.9rem;
  overflow: hidden;
  background: rgba(6, 10, 18, 0.82);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.35);
}

.visual-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-dots {
  display: flex;
  gap: 0.38rem;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f97316;
}

.window-dots span:nth-child(2) {
  background: #eab308;
}

.window-dots span:nth-child(3) {
  background: #22c55e;
}

.visual-status {
  color: #a9b7c7;
  font-size: 0.85rem;
}

.code-window {
  margin: 0;
  padding: 1.2rem;
  color: #d1fae5;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: clamp(0.82rem, 2vw, 0.98rem);
  line-height: 1.75;
  white-space: pre-wrap;
}

.section {
  padding: 5rem 0;
}

.section.alt {
  background: #ffffff;
}

.section-header {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-header.center {
  margin-inline: auto;
  text-align: center;
}

.section h2,
.content-card h2 {
  margin: 0 0 1rem;
  color: #111827;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section p,
.section li,
.content-card p,
.content-card li {
  color: #4b5563;
  font-size: 1rem;
}

.section p {
  margin: 0 0 1rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

.two-column {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}

.card,
.content-card,
.faq-item {
  background: #ffffff;
  border: 1px solid #dce4ec;
  border-radius: 0.5rem;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.06);
}

.card {
  padding: 1.45rem;
}

.card h3,
.faq-item h3 {
  margin: 0 0 0.65rem;
  color: #111827;
  font-size: 1.08rem;
}

.card p,
.faq-item p {
  margin: 0;
}

.card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 0.7rem;
  background: #e7f8f0;
  color: #087f5b;
  font-weight: 900;
}

.panel {
  padding: 2rem;
  border-radius: 0.6rem;
  background: #0f172a;
  color: #f8fafc;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.18);
}

.panel h2,
.panel h3,
.panel p,
.panel li {
  color: inherit;
}

.panel p,
.panel li {
  color: #cbd5e1;
}

.check-list,
.plain-list {
  padding: 0;
  margin: 1.25rem 0 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.8rem;
}

.check-list li::before,
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #16a34a;
}

.plain-list li::before {
  background: #06b6d4;
}

.executor-highlight {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1.25rem;
  align-items: stretch;
  padding: 1rem;
  border: 1px solid #d7e3ec;
  border-radius: 0.8rem;
  background:
    linear-gradient(135deg, rgba(8, 127, 91, 0.08), transparent 42%),
    #f8fbfc;
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.09);
}

.highlight-copy,
.release-console {
  border-radius: 0.6rem;
}

.highlight-copy {
  padding: clamp(1.5rem, 4vw, 2.75rem);
}

.highlight-copy h2 {
  margin: 0 0 1rem;
  color: #0f172a;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.02;
}

.highlight-copy p {
  max-width: 620px;
}

.highlight-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.section a.highlight-download,
.highlight-download {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
}

.section a.highlight-download:hover,
.highlight-download:hover {
  background: #1e293b;
  color: #ffffff;
}

.release-console {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  background: #0f172a;
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.console-header,
.release-version,
.release-specs div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.console-header {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.console-header span,
.release-version span,
.release-specs dt {
  color: #9fb0c4;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.console-header strong {
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.14);
  color: #86efac;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.release-version {
  min-height: 128px;
  padding: 1rem;
  border-radius: 0.55rem;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 14px),
    linear-gradient(135deg, rgba(6, 182, 212, 0.22), rgba(22, 163, 74, 0.18));
}

.release-version strong {
  color: #ffffff;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 1;
}

.release-specs {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.release-specs div {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.release-specs dd {
  margin: 0;
  color: #f8fafc;
  font-weight: 900;
  text-align: right;
}

.release-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.release-tags span {
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(158, 234, 210, 0.28);
  border-radius: 999px;
  color: #9eead2;
  font-size: 0.82rem;
  font-weight: 900;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stat {
  padding: 1.35rem;
  border-radius: 0.5rem;
  background: #ffffff;
  border: 1px solid #dce4ec;
}

.stat strong {
  display: block;
  color: #111827;
  font-size: 1.6rem;
  line-height: 1.1;
}

.stat span {
  color: #64748b;
  font-weight: 700;
  font-size: 0.88rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  padding: 1.35rem;
}

.download-band {
  background: #102023;
  color: #ffffff;
}

.download-band h2,
.download-band p {
  color: inherit;
}

.download-band p {
  color: #d7e5e2;
}

.page-hero {
  background:
    linear-gradient(rgba(8, 13, 23, 0.8), rgba(8, 13, 23, 0.9)),
    linear-gradient(135deg, #0c121c, #123133 54%, #2d2412);
  color: #ffffff;
  padding: 5.5rem 0 4.5rem;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.3rem);
}

.changelog-hero {
  background:
    linear-gradient(rgba(8, 13, 23, 0.82), rgba(8, 13, 23, 0.9)),
    radial-gradient(circle at top right, rgba(6, 182, 212, 0.22), transparent 34rem),
    linear-gradient(135deg, #0c121c, #163033 62%, #111827);
  color: #ffffff;
  padding: 5.5rem 0;
}

.changelog-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 2rem;
  align-items: end;
}

.changelog-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.96;
}

.changelog-hero p {
  max-width: 660px;
  color: #d5dee8;
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.release-summary {
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
}

.release-summary span {
  color: #9eead2;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.release-summary strong {
  display: block;
  margin: 0.2rem 0 0.7rem;
  color: #ffffff;
  font-size: 3rem;
  line-height: 1;
}

.release-summary p {
  margin: 0 0 1rem;
  color: #d5dee8;
  font-size: 0.95rem;
}

.changelog-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.version-index {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 0.8rem;
}

.version-index div {
  padding: 1rem;
  border: 1px solid #dce4ec;
  border-radius: 0.5rem;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.06);
}

.version-index strong,
.version-index span {
  display: block;
}

.version-index strong {
  color: #0f172a;
  font-size: 1.45rem;
  line-height: 1.15;
}

.version-index span {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 800;
}

.timeline {
  position: relative;
  display: grid;
  gap: 1rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0.6rem;
  bottom: 0.6rem;
  left: 0.55rem;
  width: 2px;
  background: #d7e3ec;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1.1rem minmax(0, 1fr);
  gap: 1rem;
}

.timeline-marker {
  position: relative;
  z-index: 1;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 1.35rem;
  border: 3px solid #f4f7f9;
  border-radius: 50%;
  background: #06b6d4;
  box-shadow: 0 0 0 2px #06b6d4;
}

.timeline-item.latest .timeline-marker {
  background: #16a34a;
  box-shadow: 0 0 0 2px #16a34a, 0 0 0 8px rgba(22, 163, 74, 0.12);
}

.timeline-card {
  padding: 1.35rem;
  border: 1px solid #dce4ec;
  border-radius: 0.55rem;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.06);
}

.timeline-item.latest .timeline-card {
  border-color: rgba(22, 163, 74, 0.35);
  background:
    linear-gradient(135deg, rgba(22, 163, 74, 0.08), transparent 46%),
    #ffffff;
}

.timeline-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 0.7rem;
}

.timeline-top h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1.35rem;
}

.timeline-top span {
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 900;
  white-space: nowrap;
}

.release-label {
  display: inline-flex;
  margin: 0 0 0.8rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: #e7f8f0;
  color: #087f5b;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.timeline-card li {
  margin-bottom: 0.35rem;
}

.timeline-item.compact .timeline-card {
  background: #fbfdfe;
}

.content-shell {
  display: grid;
  gap: 1rem;
}

.content-card {
  padding: 2rem;
}

.content-card h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.content-card ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.content-card a,
.section a {
  color: #087f5b;
  font-weight: 800;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.form-row {
  display: grid;
  gap: 0.42rem;
}

.form-row label {
  color: #1f2937;
  font-weight: 800;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid #cfd9e3;
  border-radius: 0.5rem;
  background: #ffffff;
  color: #111827;
  padding: 0.85rem 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row textarea {
  min-height: 12rem;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: #06b6d4;
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.14);
}

.form-note,
.contact-email {
  margin-top: 1rem;
  color: #64748b;
}

.site-footer {
  background: #0c121c;
  color: #cbd5e1;
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #9eead2;
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 900px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem 0;
  }

  .feature-grid,
  .two-column,
  .contact-layout,
  .executor-highlight,
  .changelog-hero-inner,
  .changelog-layout,
  .stat-strip {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .version-index {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.25rem, 1120px);
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a {
    padding: 0.45rem 0.55rem;
  }

  .hero-inner,
  .page-hero,
  .changelog-hero {
    padding-top: 3.5rem;
    padding-bottom: 4rem;
  }

  .hero h1,
  .page-hero h1,
  .changelog-hero h1 {
    font-size: 2.8rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .content-card,
  .panel,
  .executor-highlight {
    padding: 1.35rem;
  }

  .highlight-copy,
  .release-console {
    padding: 1rem;
  }

  .release-version {
    min-height: 104px;
    align-items: flex-start;
    flex-direction: column;
  }

  .release-version strong {
    font-size: 2.5rem;
  }

  .version-index {
    grid-template-columns: 1fr;
  }

  .timeline-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

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