:root {
  --bg0: #f7fbff;
  --bg1: #eef6ff;
  --ink: #0b1220;
  --muted: rgba(11, 18, 32, 0.7);
  --muted-strong: rgba(11, 18, 32, 0.82);
  --hairline: rgba(11, 18, 32, 0.12);
  --card: rgba(255, 255, 255, 0.92);
  --blue: #0b74b5;
  --teal: #0aa0a8;
  --accent: #1b7f3a;
  --accent-strong: #0f6b31;
  --on-accent: #ffffff;
  --radius: 20px;
  --radius-sm: 14px;
  --radius-lg: 26px;
  --shadow: 0 22px 60px rgba(9, 20, 40, 0.12);
  --shadow-soft: 0 12px 34px rgba(9, 20, 40, 0.08);
  --max: 1160px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Segoe UI Variable Text", "Segoe UI", Aptos, Candara, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: linear-gradient(180deg, var(--bg0) 0%, #ffffff 58%, #f7fbff 100%);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  background: transparent;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 80;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow);
}
.skip:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 251, 255, 0.86);
  border-bottom: 1px solid rgba(11, 18, 32, 0.08);
  backdrop-filter: blur(14px);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f172a, #1e3a5f 55%, #0b74b5);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.04em;
  box-shadow: 0 10px 22px rgba(11, 18, 32, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.brand-mark.small { width: 34px; height: 34px; flex-basis: 34px; border-radius: 10px; font-size: 13px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-name {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: #0f172a;
  white-space: nowrap;
}
.brand-tagline { color: var(--muted); font-size: 11px; letter-spacing: 0.06em; white-space: nowrap; }

nav.primary { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.navlink {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(11, 18, 32, 0.78);
  font-weight: 650;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.navlink:hover { background: rgba(255, 255, 255, 0.9); border-color: rgba(11, 18, 32, 0.1); color: var(--ink); }
.navlink:focus-visible { outline: 3px solid rgba(11, 116, 181, 0.45); outline-offset: 2px; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span { display: block; height: 2px; margin: 4px 0; border-radius: 2px; background: var(--ink); transition: transform 0.18s ease, opacity 0.18s ease; }

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px 22px 12px;
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 34px;
  align-items: center;
  padding: 38px 38px 34px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(620px 360px at 8% 0%, rgba(11, 116, 181, 0.16), transparent 62%),
    radial-gradient(520px 360px at 96% 14%, rgba(10, 160, 168, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78));
  border: 1px solid rgba(11, 18, 32, 0.1);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(11, 18, 32, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 18, 32, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%);
  pointer-events: none;
  opacity: 0.55;
}
.hero > * { position: relative; z-index: 1; }

.crumbs { margin: 0 0 14px; color: rgba(11, 18, 32, 0.6); font-size: 12px; font-weight: 650; letter-spacing: 0.02em; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

h1 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: #0b1220;
}

.lead {
  margin: 0 0 20px;
  max-width: 62ch;
  color: var(--muted-strong);
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.7;
}

.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(236, 245, 239, 0.92);
  border: 1px solid rgba(27, 127, 58, 0.18);
  color: rgba(33, 92, 50, 0.95);
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.hero-release { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 22px; font-size: 13px; }
.hero-version { font-weight: 800; color: var(--ink); }
.hero-date { color: #b42318; font-weight: 700; }
.hero-whatsnew { color: var(--ink); font-weight: 700; text-decoration-color: rgba(11, 18, 32, 0.35); }
.hero-whatsnew:hover { text-decoration-color: var(--ink); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* Primary download CTA */
[data-node-id="download.primary"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 62px;
  padding: 0 38px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: var(--on-accent);
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 44px -12px color-mix(in srgb, var(--accent) 76%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  animation: download-cta-glow 3.2s ease-in-out infinite;
}
[data-node-id="download.primary"] svg { flex: 0 0 auto; }
[data-node-id="download.primary"]:hover {
  transform: translateY(-2px) scale(1.02);
  filter: saturate(1.05);
  box-shadow: 0 24px 58px -12px color-mix(in srgb, var(--accent) 86%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}
[data-node-id="download.primary"]:active { transform: translateY(0) scale(0.995); }
[data-node-id="download.primary"]:focus-visible { outline: 3px solid #0b74b5; outline-offset: 3px; }

@keyframes download-cta-glow {
  0%, 100% { box-shadow: 0 16px 40px -12px color-mix(in srgb, var(--accent) 62%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.28); }
  50% { box-shadow: 0 22px 58px -8px color-mix(in srgb, var(--accent) 88%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.34); }
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid rgba(11, 18, 32, 0.16);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-weight: 750;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.16s ease, transform 0.16s ease, border-color 0.16s ease;
}
.button-secondary:hover { background: #fff; transform: translateY(-1px); border-color: rgba(11, 18, 32, 0.26); }
.button-secondary:focus-visible { outline: 3px solid rgba(11, 116, 181, 0.45); outline-offset: 2px; }

.cta-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; font-weight: 600; }

/* Hero visual */
.hero-visual { position: relative; min-width: 0; }
.visual-glow {
  position: absolute;
  inset: 12% 4% 6% 4%;
  background: radial-gradient(closest-side, rgba(11, 116, 181, 0.22), rgba(10, 160, 168, 0.12), transparent 72%);
  filter: blur(26px);
}
.visual-frame {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #ffffff, #f4f9ff);
  border: 1px solid rgba(11, 18, 32, 0.14);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(9, 20, 40, 0.2);
  overflow: hidden;
  transform: rotate(-0.6deg);
}
.visual-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: rgba(247, 251, 255, 0.92);
  border-bottom: 1px solid rgba(11, 18, 32, 0.08);
}
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-red { background: #ff6159; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }
.visual-title { margin-left: 6px; font-size: 11px; font-weight: 650; color: rgba(11, 18, 32, 0.58); letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.visual-frame img { width: 100%; background: #f8fafc; }

.floating-badge {
  position: absolute;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(11, 18, 32, 0.1);
  box-shadow: 0 12px 28px rgba(9, 20, 40, 0.14);
  font-size: 12px;
  font-weight: 750;
  color: rgba(11, 18, 32, 0.82);
  backdrop-filter: blur(8px);
}
.badge-a { top: 12px; left: -14px; }
.badge-b { right: -10px; top: 46%; }
.badge-c { bottom: 18px; left: 8%; }

/* Sections */
section { scroll-margin-top: 82px; }
.overview, .features, .updates, .faq { margin-top: 58px; }

.section-heading { max-width: 780px; margin-bottom: 26px; }
.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(26px, 3.1vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 800;
}
.section-lead { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; max-width: 70ch; }

.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stat-card {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-soft);
}
.stat-value { display: block; font-family: var(--serif); font-size: 28px; font-weight: 800; color: var(--blue); line-height: 1.1; }
.stat-label { display: block; margin-top: 2px; font-size: 13px; font-weight: 800; letter-spacing: 0.02em; }
.stat-card p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 20px 46px rgba(9, 20, 40, 0.12); border-color: rgba(11, 116, 181, 0.28); }
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(11, 116, 181, 0.14), rgba(10, 160, 168, 0.12));
  border: 1px solid rgba(11, 116, 181, 0.16);
  color: var(--blue);
  margin-bottom: 14px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.65; }

/* Showcase */
.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 36px;
  align-items: center;
  margin-top: 58px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 251, 255, 0.86));
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-soft);
}
.showcase.reverse { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
.showcase-media { min-width: 0; }
.media-frame {
  padding: 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f4f9ff);
  border: 1px solid rgba(11, 18, 32, 0.12);
  box-shadow: 0 24px 58px rgba(9, 20, 40, 0.14);
}
.media-frame img { border-radius: 10px; width: 100%; }
.showcase-copy h2 { font-size: clamp(24px, 2.6vw, 34px); }
.showcase-copy > p:not(.eyebrow) { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; line-height: 1.75; }
.check-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; color: var(--muted-strong); font-size: 13.5px; line-height: 1.55; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(27, 127, 58, 0.12);
  border: 1px solid rgba(27, 127, 58, 0.25);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.6em;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* Compatibility */
.compat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 58px; }
.compat-card {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-soft);
}
.compat-card h2 { font-size: clamp(22px, 2.2vw, 30px); }
.compat-card p:not(.eyebrow) { margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-row span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(11, 116, 181, 0.08);
  border: 1px solid rgba(11, 116, 181, 0.14);
  color: rgba(9, 74, 116, 0.92);
  font-size: 12px;
  font-weight: 700;
}

/* Updates */
.update-list { display: grid; gap: 12px; }
.update-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-soft);
}
.update-version { display: flex; flex-direction: column; gap: 2px; }
.version-number { font-family: var(--serif); font-size: 26px; font-weight: 800; line-height: 1.1; color: var(--ink); }
.version-date { font-size: 12px; font-weight: 700; color: #b42318; }
.update-item ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.update-item li { color: var(--muted-strong); font-size: 13.5px; line-height: 1.6; }

/* FAQ */
.faq-list { display: grid; gap: 10px; }
.faq-item {
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid var(--hairline);
  box-shadow: 0 8px 22px rgba(9, 20, 40, 0.05);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 17px 20px;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(11, 116, 181, 0.08);
  color: var(--blue);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  transition: transform 0.18s ease;
}
.faq-item[open] summary::after { content: "−"; transform: rotate(180deg); }
.faq-item p { margin: 0; padding: 0 20px 18px; color: var(--muted); font-size: 14px; line-height: 1.72; }
.faq-item summary:focus-visible { outline: 3px solid rgba(11, 116, 181, 0.4); outline-offset: -3px; }

/* Footer */
footer {
  margin-top: 58px;
  border-top: 1px solid rgba(11, 18, 32, 0.1);
  background: rgba(247, 251, 255, 0.7);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 22px 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 28px;
  align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-name { font-family: var(--serif); font-size: 17px; font-weight: 800; }
.footer-brand p { margin: 0; color: var(--muted); font-size: 12px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-nav a { color: var(--muted-strong); font-size: 13px; font-weight: 650; text-decoration: none; }
.footer-nav a:hover { color: var(--ink); text-decoration: underline; }
.copyright { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 12px; }

/* Responsive */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding: 30px 26px; gap: 28px; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .badge-a { left: 4px; }
  .badge-b { right: 0; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .showcase, .showcase.reverse { grid-template-columns: 1fr; gap: 26px; }
  .showcase.reverse .showcase-media { order: 2; }
  .showcase.reverse .showcase-copy { order: 1; }
  .compat { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .header-inner { padding: 10px 16px; }
  .brand-tagline { display: none; }
  .nav-toggle { display: inline-block; }
  nav.primary {
    display: none;
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--hairline);
    box-shadow: 0 24px 54px rgba(9, 20, 40, 0.18);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  nav.primary.open { display: flex; }
  .navlink { padding: 12px 14px; border-radius: 10px; font-size: 14px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  main { padding: 16px 16px 8px; }
  .hero { padding: 24px 20px; border-radius: 22px; }
  h1 { font-size: clamp(32px, 10vw, 44px); }
  .actions { align-items: stretch; }
  [data-node-id="download.primary"] { width: 100%; min-height: 56px; padding: 0 24px; font-size: 1.0625rem; }
  .button-secondary { width: 100%; }
  .feature-grid, .stat-grid { grid-template-columns: 1fr; }
  .update-item { grid-template-columns: 1fr; gap: 8px; }
  .showcase { padding: 20px; }
  .compat-card { padding: 22px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { gap: 12px; }
}

@media (max-width: 420px) {
  .hero-pill { font-size: 11px; padding: 6px 10px; }
  .hero-release { gap: 9px; }
  .floating-badge { font-size: 11px; padding: 7px 10px; }
  .badge-c { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-node-id="download.primary"] { animation: none; transition: none; }
  .feature-card, .button-secondary, .navlink, .faq-item summary::after { transition: none; }
  .feature-card:hover { transform: none; }
}
