:root {
  --green-900: #075b36;
  --green-800: #087443;
  --green-700: #0f8f4e;
  --green-600: #16a35b;
  --green-500: #22c55e;
  --green-200: #bbf7d0;
  --green-100: #dcfce7;
  --green-50: #f0fdf4;
  --ink: #111b17;
  --ink-soft: #34443d;
  --muted: #64736c;
  --line: #dce6e0;
  --surface: #ffffff;
  --surface-soft: #f7faf8;
  --warning: #9a6700;
  --warning-bg: #fff8df;
  --shadow-sm: 0 1px 2px rgb(10 48 31 / 6%);
  --shadow-md: 0 18px 50px rgb(10 48 31 / 10%);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --content-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 5%, rgb(187 247 208 / 45%), transparent 30rem),
    linear-gradient(180deg, #fbfefc 0, #fff 34rem);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--green-900);
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  width: min(calc(100% - 40px), var(--content-width));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand,
.footer-brand {
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -0.06em;
  text-decoration: none;
}

.brand span span,
.footer-brand span {
  color: var(--green-600);
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.status-dot {
  width: 9px;
  height: 9px;
  background: var(--green-500);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgb(34 197 94 / 13%);
}

main {
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
}

.hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
  padding: 70px 0 100px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--green-700);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(46px, 7vw, 78px);
  font-weight: 780;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 760;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.copy-button:focus-visible,
[role="tab"]:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid rgb(34 197 94 / 35%);
  outline-offset: 3px;
}

.button-primary {
  color: #fff;
  background: var(--green-800);
  box-shadow: 0 10px 24px rgb(8 116 67 / 20%);
}

.button-primary:hover {
  background: var(--green-900);
  box-shadow: 0 14px 32px rgb(8 116 67 / 25%);
}

.button-secondary {
  color: var(--ink);
  background: rgb(255 255 255 / 75%);
  border-color: var(--line);
}

.official-source {
  margin: 15px 0 0 4px;
  color: var(--muted);
  font-size: 13px;
}

.download-section {
  padding: clamp(32px, 5vw, 58px);
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
  background: var(--ink);
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.download-section .section-kicker {
  color: #86efac;
}

.download-section h2 {
  color: #fff;
}

.download-version {
  width: fit-content;
  margin-bottom: 28px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green-100);
  background: rgb(34 197 94 / 12%);
  border: 1px solid rgb(134 239 172 / 25%);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.download-description {
  max-width: 540px;
  margin: 18px 0 10px;
  color: #c8d5cf;
}

.device-detection {
  margin: 0;
  color: #86efac;
  font-size: 13px;
  font-weight: 760;
}

.download-options {
  display: grid;
  gap: 10px;
}

.download-option {
  min-height: 72px;
  padding: 14px 18px;
  display: grid;
  align-content: center;
  gap: 2px;
  color: #eef6f1;
  background: rgb(255 255 255 / 6%);
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.download-option:hover {
  background: rgb(255 255 255 / 11%);
  border-color: rgb(134 239 172 / 45%);
  transform: translateY(-2px);
}

.download-option:focus-visible,
.release-link:focus-visible {
  outline: 3px solid rgb(134 239 172 / 55%);
  outline-offset: 3px;
}

.download-option-primary {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.download-option-primary:hover {
  background: var(--green-50);
  border-color: var(--green-200);
}

.download-option strong {
  font-size: 15px;
}

.download-option span {
  color: #aebdb6;
  font-size: 12px;
}

.download-option-primary span {
  color: var(--muted);
}

.download-privacy {
  margin: 15px 0 8px;
  color: #91a29a;
  font-size: 12px;
}

.release-link {
  color: #bbf7d0;
  font-size: 12px;
  font-weight: 720;
  text-underline-offset: 3px;
}

.session-card {
  padding: 30px;
  background: rgb(255 255 255 / 86%);
  border: 1px solid rgb(187 247 208 / 75%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

.session-card-top {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 23px;
  border-bottom: 1px solid var(--line);
}

.session-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--green-900);
  background: var(--green-100);
  border-radius: 14px;
  font-size: 20px;
  font-weight: 900;
}

.session-label,
.session-title {
  margin: 0;
}

.session-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.session-title {
  font-weight: 780;
}

.mini-steps {
  margin: 24px 0;
  padding: 0;
  display: grid;
  gap: 15px;
  list-style: none;
}

.mini-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
  font-weight: 650;
}

.mini-steps span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: var(--green-800);
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 850;
}

.server-pill {
  padding: 13px 15px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.server-pill code {
  color: var(--ink);
  font-weight: 750;
}

.section {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  max-width: 700px;
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 760;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.section-heading {
  margin-bottom: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  gap: 48px;
  align-items: end;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(42px, 7vw, 96px);
}

.requirement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.requirement-grid article {
  padding-top: 18px;
  border-top: 2px solid var(--green-500);
}

.requirement-number {
  color: var(--green-700);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
}

.requirement-grid h3 {
  margin: 18px 0 8px;
  font-size: 17px;
}

.requirement-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.config-panel {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.config-row {
  min-height: 92px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.config-row > div {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.field-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.config-row code {
  overflow-wrap: anywhere;
  font-size: clamp(14px, 2vw, 17px);
  font-weight: 700;
}

.copy-button {
  min-width: 94px;
  min-height: 40px;
  padding: 0 14px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--green-900);
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.copy-button:hover {
  background: var(--green-100);
}

.empty-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.empty-fields > div {
  min-height: 80px;
  padding: 18px 24px;
  display: grid;
  align-content: center;
  gap: 5px;
}

.empty-fields > div + div {
  border-left: 1px solid var(--line);
}

.empty-fields strong {
  font-size: 15px;
}

.info-note,
.warning-note {
  margin-top: 18px;
  padding: 16px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-radius: var(--radius-sm);
}

.info-note {
  color: var(--green-900);
  background: var(--green-50);
  border: 1px solid var(--green-200);
}

.info-note > span {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green-700);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 850;
}

.info-note p,
.warning-note {
  margin-bottom: 0;
  font-size: 14px;
}

.copy-feedback {
  min-height: 22px;
  margin: 7px 0 0;
  color: var(--green-800);
  font-size: 13px;
  font-weight: 750;
}

.tabs {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.tab-list {
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
}

[role="tab"] {
  min-height: 46px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}

[role="tab"][aria-selected="true"] {
  color: var(--green-900);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

[role="tabpanel"] {
  padding: 34px;
}

.platform-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
}

.platform-header h3,
.platform-header p {
  margin: 0;
}

.platform-header p {
  color: var(--muted);
  font-size: 14px;
}

.platform-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 14px;
  font-weight: 850;
}

.platform-steps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  list-style: none;
}

.platform-steps li {
  padding: 18px;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  color: var(--ink-soft);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.platform-steps li > span {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--green-800);
  background: var(--green-100);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 850;
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.access-card {
  position: relative;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.access-card-recommended {
  border-color: var(--green-200);
  box-shadow: inset 0 3px 0 var(--green-500);
}

.access-badge {
  width: fit-content;
  margin-bottom: 24px;
  padding: 5px 9px;
  color: var(--green-900);
  background: var(--green-100);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.access-badge-neutral {
  color: var(--ink-soft);
  background: #eef2f0;
}

.access-card h3 {
  margin-bottom: 8px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.access-card > p {
  color: var(--muted);
}

.check-list {
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 13px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  font-size: 14px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.15em;
  content: "✓";
  color: var(--green-700);
  font-weight: 900;
}

.warning-note {
  color: #654600;
  background: var(--warning-bg);
  border: 1px solid #f2d77e;
}

.checklist-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(50px, 8vw, 110px);
}

.checklist-copy > p:not(.section-kicker) {
  color: var(--muted);
}

.progress-block {
  margin-top: 30px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.progress-track {
  height: 8px;
  margin: 10px 0;
  overflow: hidden;
  background: #e7efea;
  border-radius: 999px;
}

.progress-track span {
  width: 0;
  height: 100%;
  display: block;
  background: var(--green-500);
  border-radius: inherit;
  transition: width 220ms ease;
}

.progress-message {
  font-size: 13px;
}

.ready-checklist {
  display: grid;
  gap: 10px;
}

.ready-checklist label {
  min-height: 64px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.ready-checklist label:has(input:checked) {
  background: var(--green-50);
  border-color: var(--green-200);
}

.ready-checklist input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  accent-color: var(--green-700);
}

.ready-checklist span {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 620;
}

.handoff-section {
  padding-right: clamp(24px, 5vw, 70px);
  padding-left: clamp(24px, 5vw, 70px);
  color: #fff;
  background: var(--green-900);
  border: 0;
  border-radius: var(--radius-lg);
}

.handoff-section .section-kicker {
  color: var(--green-200);
}

.handoff-section > p {
  max-width: 720px;
  margin: 30px 0 0;
  color: rgb(255 255 255 / 72%);
}

.handoff-items {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgb(255 255 255 / 20%);
  border-bottom: 1px solid rgb(255 255 255 / 20%);
}

.handoff-items div {
  min-height: 132px;
  padding: 22px;
  display: grid;
  align-content: space-between;
  gap: 20px;
}

.handoff-items div + div {
  border-left: 1px solid rgb(255 255 255 / 20%);
}

.handoff-items span {
  color: var(--green-200);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.handoff-items strong {
  line-height: 1.35;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(50px, 8vw, 110px);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 21px 36px 21px 0;
  position: relative;
  cursor: pointer;
  font-weight: 730;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  right: 4px;
  content: "+";
  color: var(--green-700);
  font-size: 22px;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: -5px 40px 22px 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  width: min(calc(100% - 40px), var(--content-width));
  margin: 30px auto 0;
  padding: 38px 0 46px;
  display: grid;
  grid-template-columns: 0.5fr 1fr auto;
  gap: 30px;
  align-items: center;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.site-footer > div:last-child {
  display: flex;
  gap: 20px;
}

.site-footer a {
  color: var(--ink-soft);
  font-weight: 700;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--green-700);
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 54px 0 82px;
  }

  .session-card {
    max-width: 580px;
  }

  .section-intro,
  .download-section,
  .checklist-section,
  .faq-section {
    grid-template-columns: 1fr;
  }

  .requirement-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .handoff-items {
    grid-template-columns: 1fr 1fr;
  }

  .handoff-items div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgb(255 255 255 / 20%);
  }

  .handoff-items div:nth-child(4) {
    border-top: 1px solid rgb(255 255 255 / 20%);
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header,
  main,
  .site-footer {
    width: min(calc(100% - 28px), var(--content-width));
  }

  .site-header {
    min-height: 66px;
  }

  .header-status {
    font-size: 11px;
  }

  .hero {
    padding: 42px 0 70px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .session-card {
    padding: 24px;
  }

  .section {
    padding: 72px 0;
  }

  .download-section {
    padding: 34px 22px;
  }

  .config-row {
    align-items: flex-start;
  }

  .config-row-key {
    flex-direction: column;
  }

  .config-row-key .copy-button {
    width: 100%;
  }

  .empty-fields,
  .access-grid,
  .platform-steps {
    grid-template-columns: 1fr;
  }

  .empty-fields > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  [role="tabpanel"] {
    padding: 24px 18px;
  }

  .platform-header {
    align-items: flex-start;
  }

  .access-card {
    padding: 24px;
  }

  .handoff-section {
    padding: 70px 22px;
    border-radius: var(--radius-md);
  }

  .handoff-items {
    grid-template-columns: 1fr;
  }

  .handoff-items div + div,
  .handoff-items div:nth-child(3) {
    border-top: 1px solid rgb(255 255 255 / 20%);
    border-left: 0;
  }

  .handoff-items div {
    min-height: 105px;
  }

  .site-footer > div:last-child {
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
