:root {
  color-scheme: light;
  --ink: #102b38;
  --ink-soft: #264552;
  --muted: #5f747d;
  --green: #087b68;
  --green-dark: #086252;
  --gold: #f4d978;
  --canvas: #f4f8f7;
  --paper: #fff;
  --line: #dce8e5;
  --shadow-card: 0 14px 38px #183a3210;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f7faf9 0%, var(--canvas) 42rem);
  line-height: 1.55;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
a { color: inherit; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #f0c94f;
  outline-offset: 3px;
}
.header {
  position: sticky;
  z-index: 5;
  top: 0;
  color: #fff;
  background: #102b38f5;
  box-shadow: 0 8px 28px #10263120;
  backdrop-filter: blur(14px);
}
.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand strong { font-size: 13px; letter-spacing: .14em; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  border-radius: 11px;
  color: #e6efed;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}
.nav a svg, .button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav a:hover, .nav a[aria-current="page"] { background: #ffffff18; color: #fff; }
.nav .nav-cta { margin-left: 4px; color: var(--ink); background: var(--gold); }
.nav .nav-cta:hover { color: var(--ink); background: #ffe895; transform: translateY(-1px); }
.eyebrow { color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.hero {
  overflow: hidden;
  position: relative;
  isolation: isolate;
  padding: clamp(58px, 8vw, 104px) 0;
  color: #fff;
  background:
    radial-gradient(ellipse at 88% 18%, #42bb9550 0, transparent 34%),
    radial-gradient(ellipse at 12% 100%, #1d6a6145 0, transparent 42%),
    linear-gradient(120deg, #102633, #173b49 58%, #125245);
}
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000 60%, #000);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); gap: 52px; align-items: center; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { max-width: 720px; margin: 14px 0 20px; font-size: clamp(40px, 6vw, 70px); letter-spacing: -.045em; line-height: 1; }
.hero p { max-width: 640px; color: #d3e2e0; font-size: 18px; line-height: 1.7; }
.hero-mark {
  display: grid;
  min-height: 300px;
  place-items: center;
  border: 1px solid #ffffff30;
  border-radius: 32px;
  background: linear-gradient(145deg, #ffffff16, #ffffff08);
  box-shadow: inset 0 1px #ffffff20, 0 24px 60px #061a2340;
}
.hero-mark img { width: min(230px, 66%); filter: drop-shadow(0 16px 26px #07171e66); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 5px 16px #0a453b20;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); background: var(--green-dark); box-shadow: 0 10px 22px #0a453b2b; }
.button.light { color: var(--ink); background: #fff; }
.button.light:hover { background: #f0f8f5; }
.button.outline { border-color: #ffffff66; color: #fff; background: #ffffff08; box-shadow: none; }
.button.outline:hover { background: #ffffff18; }
.section { padding: clamp(52px, 7vw, 76px) 0; }
.section-head { max-width: 720px; margin-bottom: 30px; }
.section h2 { margin: 8px 0; font-size: clamp(28px, 4vw, 40px); letter-spacing: -.025em; line-height: 1.12; }
.section-head p, .muted { color: var(--muted); font-size: 16px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.grid > .card:hover, .download-grid > .card:hover {
  transform: translateY(-4px);
  border-color: #b9d7cf;
  box-shadow: 0 20px 44px #183a3218;
}
.grid > .card { display: flex; min-height: 206px; flex-direction: column; align-items: flex-start; }
.card h3 { margin: 10px 0 8px; font-size: 20px; letter-spacing: -.015em; line-height: 1.3; }
.card p { margin: 0; color: var(--muted); }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--green-dark); font-weight: 750; text-decoration: none; }
.card-link:hover { color: #064b40; text-decoration: underline; text-underline-offset: 3px; }
.icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid #d4eae3;
  border-radius: 15px;
  background: linear-gradient(145deg, #e8f5f0, #f2f8f6);
  color: var(--green-dark);
  font-size: 20px;
  font-weight: 800;
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.band {
  padding: clamp(26px, 5vw, 42px);
  border: 1px solid #d8e8e3;
  border-radius: 24px;
  background: linear-gradient(130deg, #e7f3ef, #f2f7f5);
  box-shadow: inset 0 1px #fff, 0 16px 42px #183a320a;
}
.band h2 { margin: 9px 0; font-size: clamp(26px, 4vw, 36px); letter-spacing: -.03em; line-height: 1.15; }
.band p { color: var(--muted); }
.page-hero { padding: clamp(44px, 6vw, 66px) 0 42px; border-bottom: 1px solid #e1ebe8; background: radial-gradient(ellipse at 90% 0, #dceee8, transparent 44%), linear-gradient(120deg, #eaf3f0, #f7f9f8); }
.page-hero h1 { margin: 8px 0; font-size: clamp(34px, 5vw, 52px); letter-spacing: -.035em; }
.page-hero p { max-width: 690px; color: var(--muted); font-size: 17px; }
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.application-release { margin-top: 28px; }
.application-release h3 { margin: 0; font-size: 22px; }
.application-release > p { color: var(--muted); }
.download-card { display: flex; flex-direction: column; min-height: 215px; }
.download-card .button { align-self: flex-start; margin-top: auto; }
.checksum { margin-top: 12px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.checksum summary { cursor: pointer; font-weight: 700; }
.status { min-height: 28px; color: var(--muted); font-weight: 650; }
.status.error { color: #a4352c; }
.footer { margin-top: 20px; padding: 30px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; background: #ffffff80; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer a { color: var(--green-dark); font-weight: 650; text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.notice { margin: 18px 0; padding: 13px 16px; border-left: 4px solid #bd8121; border-radius: 8px; background: #fff6e4; color: #684617; }
.account-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-stack { display: grid; gap: 14px; margin-top: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-stack label, .form-grid > label { display: grid; gap: 6px; color: var(--ink-soft); font-size: 14px; font-weight: 700; }
.form-stack input, .form-grid input, .form-grid select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cbd8d5;
  border-radius: 9px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}
.form-stack input:focus, .form-grid input:focus, .form-grid select:focus { outline: 3px solid #16705e2b; border-color: var(--green); }
.span-all { grid-column: 1 / -1; }
.form-grid fieldset { min-width: 0; border: 1px solid var(--line); border-radius: 11px; }
.form-grid legend { padding-inline: 6px; color: var(--ink-soft); font-weight: 750; }
.module-list { display: flex; flex-wrap: wrap; gap: 14px 22px; padding: 10px; }
.module-list label { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; }
.module-list input { width: 18px; min-height: 18px; accent-color: var(--green); }
.button:disabled { cursor: wait; opacity: .65; transform: none; }
.status.success { color: var(--green-dark); }
.license-list { display: grid; gap: 14px; }
.license-card { display: grid; gap: 12px; }
.license-heading { display: flex; align-items: center; gap: 12px; }
.license-heading h3, .license-heading p { margin: 0; }
.license-heading h3 { font-size: 19px; }
.license-editor { padding-top: 8px; border-top: 1px solid var(--line); }
.license-editor > summary { padding: 5px 0; color: var(--green-dark); cursor: pointer; font-weight: 750; }
.license-editor .form-grid { margin-top: 12px; padding: 14px; border-radius: 12px; background: #f7faf9; }
.code-result { margin-top: 18px; padding: 18px; border: 1px solid #b8d6cc; border-radius: 12px; background: #f0faf6; }
.code-result h3, .code-result p { margin: 0 0 8px; }
.code-list { display: grid; max-height: 380px; gap: 8px; margin: 12px 0; overflow: auto; }
.selectable-code { display: block; padding: 14px; border: 1px dashed #85aa9f; border-radius: 8px; background: #fff; font-size: 17px; font-weight: 800; user-select: all; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .header { position: static; }
  .container { width: min(100% - 32px, 560px); }
  .header-inner { align-items: flex-start; flex-direction: column; padding-block: 13px; gap: 10px; }
  .nav { width: 100%; gap: 4px; }
  .nav a { padding: 8px 9px; font-size: 13px; }
  .nav .nav-cta { margin-left: 0; }
  .hero { padding-block: 52px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-mark { min-height: 200px; border-radius: 24px; }
  .hero-mark img { width: 145px; }
  .grid, .download-grid { grid-template-columns: 1fr; gap: 14px; }
  .grid > .card { min-height: 0; }
  .card { padding: 21px; }
  .account-layout, .form-grid { grid-template-columns: 1fr; }
  .span-all { grid-column: auto; }
  .section { padding: 44px 0; }
  .page-hero { padding: 42px 0 30px; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
