:root {
  color-scheme: light;
  --navy: #152b3d;
  --navy-deep: #0d1f2d;
  --blue: #185b87;
  --teal: #0c969b;
  --teal-dark: #08767b;
  --aqua: #e5f7f6;
  --ink: #142433;
  --muted: #5f7180;
  --line: #d9e3e9;
  --surface: #ffffff;
  --background: #f2f6f8;
  --shadow: 0 18px 45px rgba(21, 43, 61, 0.12);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--background); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 7%, rgba(12, 150, 155, 0.16), transparent 28rem),
    linear-gradient(180deg, #fbfdfe 0%, var(--background) 100%);
}

a { color: inherit; }

.shell { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem clamp(1.25rem, 5vw, 5rem);
  border-bottom: 1px solid rgba(21, 43, 61, 0.1);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
}

.brand { display: flex; align-items: center; gap: 0.9rem; text-decoration: none; }
.brand img { width: 3.25rem; height: 3.25rem; object-fit: contain; }
.brand strong { display: block; font-size: 1.5rem; letter-spacing: -0.03em; }
.brand span { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 0.1rem; }

.topnav { display: flex; align-items: center; gap: 0.75rem; }
.topnav a { text-decoration: none; font-weight: 700; padding: 0.75rem 1rem; border-radius: 0.75rem; }
.topnav a:hover, .topnav a:focus-visible { background: var(--aqua); outline: none; }

main { width: min(1180px, calc(100% - 2.5rem)); margin: 0 auto; padding: clamp(3rem, 8vw, 7rem) 0; }

.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: clamp(2rem, 6vw, 5rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(12, 150, 155, 0.25);
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--aqua);
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--teal); }

h1 { margin: 1.35rem 0 1.25rem; max-width: 780px; font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 0.98; letter-spacing: -0.055em; color: var(--navy-deep); }
.lead { max-width: 690px; margin: 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.65; }

.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: var(--surface);
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 7px 18px rgba(21, 43, 61, 0.07);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 11px 24px rgba(21, 43, 61, 0.13); outline: none; }
.button.primary { color: #fff; border-color: var(--teal); background: var(--teal); }
.button.primary:hover, .button.primary:focus-visible { background: var(--teal-dark); }

.panel { border: 1px solid rgba(21, 43, 61, 0.1); border-radius: 1.5rem; background: rgba(255,255,255,0.92); box-shadow: var(--shadow); overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.4rem; color: #fff; background: var(--navy); }
.panel-head strong { font-size: 1.05rem; }
.window-dots { display: flex; gap: 0.4rem; }
.window-dots i { display: block; width: 0.65rem; height: 0.65rem; border-radius: 50%; background: rgba(255,255,255,0.5); }
.panel-body { padding: 1.4rem; }
.module { display: grid; grid-template-columns: 2.4rem 1fr auto; align-items: center; gap: 0.9rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.module:last-child { border-bottom: 0; }
.module-icon { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 0.75rem; color: #fff; background: var(--teal); font-weight: 900; }
.module strong { display: block; }
.module small { display: block; margin-top: 0.2rem; color: var(--muted); font-size: 0.82rem; }
.module b { color: var(--teal-dark); font-size: 0.82rem; }

.section-head { max-width: 760px; margin-bottom: 2rem; }
.section-head h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.section-head p { color: var(--muted); font-size: 1.1rem; line-height: 1.6; }

.release-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin: 1.5rem 0 2rem; padding: 1rem 1.15rem; border: 1px solid rgba(12,150,155,.22); border-radius: 1rem; background: var(--aqua); }
.release-bar strong { color: var(--teal-dark); }
.release-bar span { color: var(--muted); }

.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.25rem; }
.download-card { display: flex; flex-direction: column; min-height: 22rem; padding: clamp(1.35rem, 3vw, 2rem); border: 1px solid rgba(21,43,61,.11); border-radius: 1.35rem; background: var(--surface); box-shadow: 0 14px 34px rgba(21,43,61,.09); }
.download-card .tag { align-self: flex-start; padding: .38rem .65rem; border-radius: 999px; color: var(--blue); background: #e9f3fa; font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.download-card h2 { margin: 1.1rem 0 .65rem; font-size: 1.65rem; letter-spacing: -.025em; }
.download-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.download-card ul { margin: 1.15rem 0 1.5rem; padding-left: 1.2rem; color: var(--muted); line-height: 1.75; }
.download-card .button { margin-top: auto; }

.integrity { margin-top: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: #fff; overflow: hidden; }
.integrity summary { cursor: pointer; padding: 1rem 1.15rem; font-weight: 800; }
.integrity div { padding: 0 1.15rem 1.15rem; color: var(--muted); }
.integrity code { display: block; margin-top: .5rem; padding: .75rem; border-radius: .65rem; overflow-wrap: anywhere; color: var(--navy); background: #f0f4f6; font-size: .78rem; }

.notice { margin-top: 1.5rem; padding: 1rem 1.15rem; border-left: .3rem solid #efa62d; border-radius: .75rem; color: #65501f; background: #fff7e6; line-height: 1.55; }

footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.4rem clamp(1.25rem, 5vw, 5rem); border-top: 1px solid rgba(21,43,61,.1); color: var(--muted); font-size: .9rem; background: #fff; }

@media (max-width: 820px) {
  .topbar { align-items: flex-start; }
  .brand span { display: none; }
  .topnav { align-self: center; }
  .hero, .download-grid { grid-template-columns: 1fr; }
  .hero { gap: 2.5rem; }
  main { width: min(100% - 1.5rem, 700px); padding: 2.5rem 0 4rem; }
}

@media (max-width: 520px) {
  .topbar { padding: 1rem; }
  .brand img { width: 2.7rem; height: 2.7rem; }
  .brand strong { font-size: 1.25rem; }
  .topnav a { padding: .65rem .7rem; font-size: .9rem; }
  h1 { font-size: 2.65rem; }
  .actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
