/* ============================================================
   Tailscale — Download edition
   Design system mirrored from tailscale.com
   ============================================================ */

@font-face {
  font-family: inter;
  src: url("../fonts/Inter-var.woff2") format("woff2");
  font-display: swap;
  font-weight: 400 700;
  font-style: normal;
}
@font-face {
  font-family: inter;
  src: url("../fonts/Inter-italic.woff2") format("woff2");
  font-display: swap;
  font-weight: 400 700;
  font-style: italic;
}
@font-face {
  font-family: mdio;
  src: url("../fonts/MDIO-var.woff2") format("woff2");
  font-display: swap;
  font-weight: 400 600;
  font-style: normal;
}

:root {
  --bg: #f9f7f6;
  --bg-alt: #f3f0ee;
  --ink: #232222;
  --ink-80: rgba(35, 34, 34, 0.8);
  --ink-60: rgba(35, 34, 34, 0.74);
  --ink-50: rgba(35, 34, 34, 0.64);
  --ink-40: rgba(35, 34, 34, 0.56);
  --border: #dbd7d4;
  --border-strong: #c9c4c0;
  --card: #ffffff;
  --white: #fff;
  --dark: #232222;
  --dark-2: #2e2d2d;
  --blue: #4b70cc;
  --blue-deep: #253570;
  --blue-50: #cedefd;
  --red: #b22d30;
  --purple: #8052a1;
  --green: #0e6245;
  --orange: #f97316;
  --orange-soft: #ffb86b;
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 8px;
  --radius-xl: 16px;
  --shadow-2: 0 4px 8px rgba(24, 23, 23, 0.02);
  --shadow-4: 0 4px 8px rgba(24, 23, 23, 0.08);
  --shadow-8: 0 4px 10px rgba(0, 0, 0, 0.1);
  --shadow-pop: 0 18px 40px rgba(24, 23, 23, 0.1);
  --font-sans: inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: mdio, ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0, 0, 0.2, 1);
  --header-h: 75px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
hr { border: 0; height: 1px; background: var(--border); width: 100%; margin: 0; }

::selection { background: var(--ink); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 500;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- layout ---------- */

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 64px;
}

.container-narrow {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px;
}

main { display: block; }

section { position: relative; }

.stack-sm > * + * { margin-top: 8px; }
.stack-md > * + * { margin-top: 16px; }
.stack-lg > * + * { margin-top: 32px; }

/* ---------- type ---------- */

.display-lg,
.display-md,
.display-sm {
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
.display-lg { font-size: 96px; line-height: 1; }
.display-md { font-size: 72px; line-height: 1.02; }
.display-sm { font-size: 56px; line-height: 1.08; }

.title-2xl { font-size: 48px; line-height: 1.1; font-weight: 500; letter-spacing: -0.01em; margin: 0; }
.title-xl { font-size: 36px; line-height: 1.1; font-weight: 500; letter-spacing: -0.01em; margin: 0; }
.title-lg { font-size: 32px; line-height: 1.1; font-weight: 500; letter-spacing: -0.01em; margin: 0; }
.title-md { font-size: 24px; line-height: 1.2; font-weight: 500; letter-spacing: -0.01em; margin: 0; }
.title-sm { font-size: 20px; line-height: 1.2; font-weight: 500; letter-spacing: -0.01em; margin: 0; }
.title-xs { font-size: 16px; line-height: 1.5; font-weight: 500; letter-spacing: -0.01em; margin: 0; }

.body-lg { font-size: 20px; line-height: 1.5; }
.body-md { font-size: 16px; line-height: 1.5; }
.body-sm { font-size: 14px; line-height: 1.5; }
.body-xs { font-size: 12px; line-height: 1.5; }

.muted { color: var(--ink-80); }
.muted-60 { color: var(--ink-60); }
.mono {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  line-height: 1;
}
.mono-xs { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.05em; font-size: 12px; font-weight: 500; line-height: 1; }
.mono-sm { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.05em; font-size: 14px; font-weight: 500; line-height: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-60ch { max-width: 60ch; }
.max-70ch { max-width: 70ch; }
.text-balance { text-wrap: balance; }
.opacity-60 { opacity: 0.6; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: var(--ink);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover { background: rgba(35, 34, 34, 0.82); }
.btn svg { flex: none; }

.btn-lg { min-height: 48px; padding: 14px 22px; font-size: 16px; border-radius: var(--radius-lg); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-secondary:hover { background: rgba(35, 34, 34, 0.05); }

.btn-white {
  background: var(--white);
  color: var(--ink);
  border-color: transparent;
}
.btn-white:hover { background: rgba(255, 255, 255, 0.85); }

.btn-on-dark {
  background: var(--white);
  color: var(--ink);
}
.btn-on-dark:hover { background: rgba(255, 255, 255, 0.85); }

.btn-ghost-on-dark {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-ghost-on-dark:hover { background: rgba(255, 255, 255, 0.1); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}
.link-arrow:hover { color: var(--ink-60); }
.link-arrow svg { transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(2px); }

.link-plain { color: inherit; text-underline-offset: 4px; text-decoration-color: rgba(35, 34, 34, 0.3); }
.link-plain:hover { text-decoration-color: currentColor; }

/* ---------- badges / pills ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-alt);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.badge-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.badge-blue { background: var(--blue-50); border-color: #a9c1f3; color: #1f3364; }
.badge-green { background: #d6f2e3; border-color: #a5dfc1; color: #08402c; }
.badge-orange { background: #ffe6cc; border-color: #ffc794; color: #6d2e00; }
.dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1ea672;
  box-shadow: 0 0 0 3px rgba(30, 166, 114, 0.16);
}

/* ---------- announcement + header ---------- */

.announce {
  background: var(--dark);
  color: var(--white);
}
.announce .announce-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 64px;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.announce a { color: inherit; }
.announce .announce-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}
.announce .announce-main:hover .announce-hint { text-decoration: none; }
.announce-hint { color: rgba(255, 255, 255, 0.62); text-decoration: underline; text-underline-offset: 3px; }
.announce-main:hover .announce-hint { color: var(--white); }
.announce-links { display: flex; gap: 24px; }
.announce-links a { color: rgba(255, 255, 255, 0.62); text-decoration: none; padding: 14px 0; }
.announce-links a:hover { color: var(--white); text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02); }

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 64px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}
.brand svg { flex: none; }
.brand:hover .brand-word { opacity: 0.7; }
.brand-word { transition: opacity 0.2s var(--ease); }

.main-nav { margin: 0 auto; }
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item { position: relative; }
.nav-trigger,
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
  transition: background-color 0.15s var(--ease);
}
.nav-trigger:hover,
.nav-link:hover,
.nav-item.is-open .nav-trigger { background: #eeeae7; }
.nav-trigger .plus { transition: transform 0.15s var(--ease); color: var(--ink-60); }
.nav-item.is-open .nav-trigger .plus { transform: rotate(45deg); }

.nav-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 6px);
  padding-top: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s var(--ease), transform 0.15s var(--ease);
  z-index: 30;
}
.nav-item.is-open .nav-panel,
.nav-item:hover .nav-panel,
.nav-item:focus-within .nav-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-panel-inner {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-pop);
  overflow: hidden;
  display: flex;
}
.nav-col {
  padding: 32px;
  min-width: 268px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.nav-col:last-child { border-right: 0; }
.nav-col-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-60);
  padding: 0 12px;
  white-space: nowrap;
}
.nav-col-title hr { flex: 1; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.nav-list a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  transition: background-color 0.15s var(--ease);
}
.nav-list a:hover { background: #eeeae7; }
.nav-list .nav-sub { display: block; font-size: 12px; font-weight: 400; color: var(--ink-60); margin-top: 2px; }
.nav-promo {
  width: 300px;
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
}
.nav-promo img { width: 100%; height: 168px; object-fit: cover; border-bottom: 1px solid var(--border); }
.nav-promo-body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 6px; }
.nav-promo-body .mono-xs { color: var(--ink-60); }
.nav-promo-body .title-xs { font-size: 15px; }
.nav-promo-body p { margin: 0; font-size: 13px; color: var(--ink-60); }
.nav-promo-body .btn { margin-top: 12px; align-self: flex-start; }

.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.header-login {
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
}
.header-login:hover { background: #eeeae7; }

.burger {
  display: none;
  width: 38px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
}
.burger:hover { background: rgba(35, 34, 34, 0.82); }

/* mobile drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--white);
  padding: 16px 20px 40px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}
.mobile-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
.mobile-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mobile-close {
  width: 38px;
  height: 36px;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mobile-nav details { border-bottom: 1px solid var(--border); }
.mobile-nav summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 4px;
  font-weight: 500;
  cursor: pointer;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav details[open] summary svg { transform: rotate(45deg); }
.mobile-nav summary svg { color: var(--ink-60); transition: transform 0.15s var(--ease); }
.mobile-nav details .nav-list { padding-bottom: 12px; }
.mobile-nav .mobile-cta { display: grid; gap: 8px; margin: 24px 0; }
.mobile-nav .mobile-meta { display: grid; gap: 2px; margin-top: 8px; }
.mobile-nav .mobile-meta a { padding: 10px 4px; text-decoration: none; font-size: 14px; color: var(--ink-80); }

/* floating mobile download bar */
.mobile-download-bar {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 150;
  background: var(--ink);
  color: var(--white);
  border-radius: 12px;
  padding: 10px 10px 10px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.mobile-download-bar .mono-xs { color: rgba(255, 255, 255, 0.6); }
.mobile-download-bar .btn { min-height: 34px; }
body.has-mobile-bar { padding-bottom: 78px; }

/* ---------- hero ---------- */

.hero { padding: 72px 0 64px; text-align: center; }
.hero .eyebrow { color: var(--ink-60); margin-bottom: 20px; }
.hero h1 { max-width: 1000px; margin: 0 auto 24px; }
.hero h1 .soft { color: var(--ink-40); }
.hero .hero-sub { max-width: 780px; margin: 0 auto; color: var(--ink-80); font-size: 20px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-60);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }

/* platform picker */
.platform-picker {
  margin-top: 48px;
  padding: 8px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-2);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  text-align: left;
}
.platform-choice {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 16px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: var(--ink);
  transition: background-color 0.15s var(--ease);
  position: relative;
}
.platform-choice:hover { background: var(--bg-alt); }
.platform-choice.is-active { background: var(--bg-alt); outline: 1px solid var(--border); }
.platform-choice .pc-icon { color: var(--ink); }
.platform-choice .pc-icon svg { width: 26px; height: 26px; }
.platform-choice strong { font-size: 14px; font-weight: 500; display: block; }
.platform-choice span { font-size: 12px; color: var(--ink-60); display: block; }
.platform-choice .detected {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--white);
  padding: 3px 5px;
  border-radius: 3px;
}
.platform-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding: 16px 8px 8px;
  border-top: 1px solid var(--border);
  text-align: left;
}
.platform-detail .pd-name { font-weight: 500; }
.platform-detail .pd-meta { font-size: 12px; color: var(--ink-60); margin-top: 2px; }
.platform-detail .pd-checksum { font-family: var(--font-mono); font-size: 11px; color: var(--ink-50); letter-spacing: 0; }
.platform-detail .pd-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* product tabs (hero bottom) */
.product-switch { margin-top: 64px; }
.product-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  text-align: left;
}
.product-tab {
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
}
.product-tab-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  height: 100%;
  width: 100%;
  padding: 22px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  border-color: transparent;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.product-tab:hover .product-tab-inner { border-color: transparent; background: var(--white); }
.product-tab-inner .pt-icon { color: var(--tab-color, var(--ink)); }
.product-tab-inner .pt-icon svg { width: 24px; height: 24px; }
.product-tab-inner strong { font-size: 16px; font-weight: 600; display: block; }
.product-tab-inner span { font-size: 13px; color: var(--ink-80); display: block; }
.product-tab.is-active .product-tab-inner { border-color: transparent; }
.product-tab.is-active .product-tab-inner .pt-icon,
.product-tab.is-active .product-tab-inner strong,
.product-tab.is-active .product-tab-inner span { color: var(--white); }

.product-panels { margin-top: 24px; }
.product-panel {
  display: none;
  text-align: left;
  padding: 0 0 32px;
}
.product-panel.is-active { display: block; }
.product-panel-inner { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 48px; align-items: center; }
.product-copy .mono-sm { display: block; margin-bottom: 12px; }
.product-copy h3 { font-size: 32px; line-height: 1.1; font-weight: 500; margin: 0 0 20px; letter-spacing: -0.01em; }
.feature-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.feature-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; color: var(--ink-80); }
.feature-list .shape { margin-top: 6px; flex: none; }
.feature-list .shape[data-shape="tri"] {
  width: 10px; height: 10px; background: currentColor;
  clip-path: polygon(0 100%, 0 0, 100% 100%);
}
.feature-list .shape[data-shape="circle"] { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.feature-list .shape[data-shape="square"] { width: 9px; height: 9px; background: currentColor; }

.product-media { position: relative; }
.product-media img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--white);
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: var(--white);
}
.product-media.img-contain img { object-fit: contain; aspect-ratio: auto; }
.product-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ---------- logo wall ---------- */

.logo-wall { padding: 64px 0 32px; text-align: center; }
.logo-wall h2 { max-width: 760px; margin: 0 auto 40px; }
.logo-wall h2 .soft { opacity: 0.6; }
.logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.logos li {
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.logos img { max-height: 30px; width: auto; opacity: 0.65; filter: grayscale(1); }
.logos li:hover img { opacity: 1; filter: none; }

/* ---------- stats ---------- */

.stats { padding: 64px 0; }
.stats h2 { margin-bottom: 40px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-2);
}
.stat-card { padding: 32px; display: flex; flex-direction: column; gap: 16px; min-height: 280px; }
.stat-card .stat-logo { height: 32px; display: flex; align-items: center; }
.stat-card .stat-logo img { max-height: 28px; width: auto; }
.stat-card .stat-num { font-size: 56px; font-weight: 500; line-height: 1; margin: 0; letter-spacing: -0.01em; }
.stat-card .stat-text { margin: 0; font-size: 19px; line-height: 1.35; color: var(--ink-80); max-width: 292px; }
.stat-card .link-arrow { margin-top: auto; font-size: 15px; }
.stat-card .stat-src { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-50); }

/* ---------- gradient feature panel ---------- */

.feature-panel { padding: 32px 0; }
.feature-panel-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.feature-panel-top {
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: var(--white);
  text-align: center;
  padding: 64px;
  padding-bottom: 0;
}
.feature-panel-top h2 { max-width: 900px; margin: 0 auto 16px; }
.feature-panel-top p { max-width: 760px; margin: 0 auto; color: rgba(255, 255, 255, 0.9); font-size: 20px; }
.tab-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding-top: 32px; }
.pill-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(35, 34, 34, 0.1);
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.pill-tab:hover { background: #f2eeee; }
.pill-tab.is-active { background: var(--ink); border-color: transparent; color: var(--white); }
.feature-panel-media { padding-top: 32px; }
.feature-panel-media img { width: 100%; }

.feature-panel-bottom {
  background: var(--white);
  padding: 56px 84px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-mini { display: flex; flex-direction: column; gap: 10px; }
.feature-mini svg { color: var(--blue); }
.feature-mini h3 { font-size: 20px; font-weight: 500; margin: 0; }

/* ---------- download matrix ---------- */

.matrix { padding: 64px 0; }
.matrix-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.matrix-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dl-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.dl-card:hover { border-color: var(--border-strong); }
.dl-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.dl-card-icon { color: var(--ink); }
.dl-card-icon svg { width: 26px; height: 26px; }
.dl-card h3 { font-size: 18px; font-weight: 500; margin: 0; }
.dl-card .dl-meta { font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-50); }
.dl-card .dl-desc { font-size: 13px; color: var(--ink-80); margin: 0; }
.dl-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- section generic ---------- */

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-head { max-width: 820px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { color: var(--ink-60); margin-bottom: 14px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--ink-80); font-size: 18px; margin: 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }

.tile { padding: 28px; border: 1px solid var(--border); background: var(--white); border-radius: 8px; }
.tile h3 { margin-bottom: 8px; }
.tile p { margin: 0; color: var(--ink-80); font-size: 14px; }
.tile .tile-icon { color: var(--blue); margin-bottom: 16px; }

/* ---------- install / code blocks ---------- */

.installer {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}
.installer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.installer-head .mono-xs { color: var(--ink-60); }
.installer-body { padding: 18px 16px; }
.installer pre {
  margin: 0;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink);
}
.installer pre .c { color: var(--ink-50); }
.installer pre .s { color: #0e6245; }
.installer + .installer { margin-top: 8px; }
.copy-btn {
  border: 1px solid var(--border-strong);
  background: var(--white);
  border-radius: var(--radius-sm);
  min-height: 28px;
  padding: 5px 9px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink-80);
}
.copy-btn:hover { background: var(--bg); color: var(--ink); }
.copy-btn.is-copied { background: #d6f2e3; border-color: #a5dfc1; color: #08402c; }

/* checksum table */
.check-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.check-table th,
.check-table td { text-align: left; padding: 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.check-table th { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-60); font-weight: 500; }
.check-table td.sha { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0; color: var(--ink-60); word-break: break-all; }

/* ---------- quotes ---------- */

.quotes { padding: 64px 0; text-align: center; overflow: hidden; }
.quotes h2 { margin-bottom: 32px; }
.quotes h2 .soft { opacity: 0.6; }
.quote-track-wrap { position: relative; width: 100%; overflow: hidden; }
.quote-track-wrap::before,
.quote-track-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.quote-track-wrap::before { left: 0; background: linear-gradient(90deg, var(--bg), rgba(249, 247, 246, 0)); }
.quote-track-wrap::after { right: 0; background: linear-gradient(270deg, var(--bg), rgba(249, 247, 246, 0)); }
.quote-track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  width: max-content;
  animation: quote-scroll 80s linear infinite;
}
.quote-track:hover { animation-play-state: paused; }
@keyframes quote-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.quote-card {
  width: 400px;
  flex: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-2);
  padding: 32px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.quote-top { display: flex; justify-content: space-between; gap: 12px; }
.quote-user { display: flex; gap: 8px; align-items: center; }
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--white);
  flex: none;
  background: var(--bg-alt);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 0.3s var(--ease); }
.quote-card:hover .avatar img { filter: none; }
.quote-name { font-size: 16px; font-weight: 500; }
.quote-handle { font-size: 15px; color: var(--ink-80); }
.quote-card p { margin: 0; font-size: 15px; color: var(--ink-80); }
.x-logo { flex: none; width: 40px; height: 40px; color: var(--ink); }

/* ---------- release cards ---------- */

.release-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.release-card { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.release-card .mono-xs { color: var(--ink-60); }
.release-card h3 { margin: 0; font-size: 20px; font-weight: 500; }
.release-card p { margin: 0; color: var(--ink-80); font-size: 14px; }
.release-card ul { margin: 0; padding-left: 18px; color: var(--ink-80); font-size: 14px; }
.release-card .link-arrow { margin-top: auto; font-size: 14px; }

/* ---------- CTA ---------- */

.cta {
  background: var(--dark);
  color: var(--white);
  border-radius: 16px;
  padding: 64px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta h2 { max-width: 25ch; color: var(--white); }
.cta p { color: rgba(255, 255, 255, 0.7); margin: 8px 0 0; }
.cta .cta-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- page hero (inner pages) ---------- */

.page-hero { padding: 64px 0 48px; }
.page-hero .eyebrow { color: var(--ink-60); margin-bottom: 18px; }
.page-hero h1 { max-width: 22ch; margin-bottom: 20px; }
.page-hero .lead { max-width: 70ch; font-size: 20px; color: var(--ink-80); margin: 0 0 28px; }
.page-hero.center { text-align: center; }
.page-hero.center h1,
.page-hero.center .lead { margin-left: auto; margin-right: auto; }
.page-hero.center .hero-actions { justify-content: center; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--ink-40); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.split-wide { grid-template-columns: 1.15fr 0.85fr; }
.sticky { position: sticky; top: 120px; }

.hero-download-box {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow-2);
  padding: 24px;
}
.hero-download-box .mono-xs { color: var(--ink-60); }
.hero-download-box h2 { font-size: 24px; font-weight: 500; margin: 8px 0 4px; }
.hero-download-box .dl-info { font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-50); }
.hero-download-box .btn { width: 100%; margin-top: 16px; }
.hero-download-box .alt-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; font-size: 13px; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 24px; }
.steps li { position: relative; padding-left: 52px; }
.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-60);
}
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0 0 12px; color: var(--ink-80); }

/* FAQ */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; transition: transform 0.2s var(--ease); color: var(--ink-60); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .faq-body { padding: 0 0 24px; color: var(--ink-80); max-width: 78ch; }
.faq .faq-body p { margin: 0 0 12px; }

/* spec list */
.spec-list { display: grid; grid-template-columns: 160px 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.spec-list dt, .spec-list dd { background: var(--white); padding: 12px 16px; margin: 0; font-size: 14px; }
.spec-list dt { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-60); }

.notice {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  font-size: 14px;
  color: var(--ink-80);
}
.notice svg { flex: none; color: var(--ink-60); margin-top: 2px; }
.notice-blue { background: #eef3fd; border-color: #cadbfa; }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.price-card { padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.price-card.featured { background: var(--dark); color: var(--white); border-color: var(--dark); }
.price-card.featured .muted, .price-card.featured .body-sm { color: rgba(255, 255, 255, 0.7); }
.price-card .price { font-size: 48px; font-weight: 500; line-height: 1; letter-spacing: -0.01em; }
.price-card .price small { font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--ink-60); }
.price-card.featured .price small { color: rgba(255, 255, 255, 0.6); }
.price-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.price-card ul li { display: flex; gap: 8px; align-items: flex-start; }
.price-card ul svg { flex: none; margin-top: 2px; }
.price-card .btn { margin-top: auto; }
.price-card.featured .btn { background: var(--white); color: var(--ink); }

/* compare table */
.compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 8px; background: var(--white); }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 14px; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; }
.compare thead th { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.05em; font-size: 10px; color: var(--ink-60); }
.compare td.yes { color: var(--green); font-weight: 500; }
.compare td.no { color: var(--ink-50); }
.compare tbody tr:hover { background: var(--bg); }

/* blog list */
.post-list { display: grid; gap: 8px; }
.post-card { padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.post-card h3 { margin: 0 0 4px; font-size: 20px; }
.post-card .body-sm { color: var(--ink-60); margin: 0; }

/* changelog */
.change-entry { padding: 32px 0; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 200px 1fr; gap: 32px; }
.change-entry .mono-sm { color: var(--ink-60); }
.change-entry h2 { margin: 0 0 12px; font-size: 28px; font-weight: 500; }
.change-entry ul { margin: 0; padding-left: 20px; color: var(--ink-80); }

/* docs sidebar */
.docs-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
.docs-nav { position: sticky; top: 110px; display: grid; gap: 24px; }
.docs-nav h3 { font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-60); margin: 0 0 8px; }
.docs-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.docs-nav a { display: block; padding: 7px 10px; border-radius: var(--radius); font-size: 14px; text-decoration: none; color: var(--ink-80); }
.docs-nav a:hover { background: var(--bg-alt); color: var(--ink); }
.docs-nav a.is-active { background: var(--ink); color: var(--white); }
.prose h2 { margin: 40px 0 12px; font-size: 30px; font-weight: 500; letter-spacing: -0.01em; }
.prose h3 { margin: 28px 0 8px; font-size: 20px; font-weight: 500; }
.prose p { color: var(--ink-80); margin: 0 0 14px; max-width: 78ch; }
.prose ul, .prose ol { color: var(--ink-80); padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.prose code { font-family: var(--font-mono); font-size: 12.5px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 4px; padding: 1px 5px; }
.prose .installer code { background: none; border: 0; padding: 0; }

/* footer */
.site-footer { background: var(--white); margin-top: 64px; padding: 48px 0 32px; }
.footer-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.footer-brand { grid-column: span 4; padding: 32px; }
.footer-col { grid-column: span 2; padding: 32px 12px; }
.footer-col.wide { grid-column: span 2; }
.footer-col h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-60);
  font-weight: 500;
  margin: 0 0 12px;
  padding: 0 12px;
  white-space: nowrap;
}
.footer-col h2::after { content: ""; display: block; height: 1px; width: 100%; background: var(--border); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer-col a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius);
  font-size: 14px;
  text-decoration: none;
  color: var(--ink);
  transition: background-color 0.15s var(--ease);
}
.footer-col a:hover { background: #eeeae7; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 24px 12px 0;
  color: var(--ink-60);
  font-size: 12px;
}
.footer-bottom hr { flex: 1; }
.footer-note { display: flex; flex-wrap: wrap; gap: 6px; }

/* toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  box-shadow: var(--shadow-pop);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .quote-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1280px) {
  .container, .header-inner, .announce .announce-inner { padding-left: 32px; padding-right: 32px; }
  .main-nav { display: none; }
  .burger { display: inline-flex; }
  .mobile-nav { display: block; }
  .header-actions .header-login { display: none; }
  .platform-picker { grid-template-columns: repeat(3, 1fr); }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .product-tabs { grid-template-columns: repeat(3, 1fr); }
  .product-panel-inner { gap: 32px; }
}

@media (max-width: 1080px) {
  .display-lg { font-size: 72px; }
  .display-md { font-size: 56px; }
  .display-sm { font-size: 44px; }
  .title-2xl { font-size: 36px; }
  .stat-grid, .matrix-grid, .release-grid, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: span 12; padding: 12px 12px 24px; }
  .footer-col { grid-column: span 4; }
  .feature-panel-bottom { padding: 40px; gap: 20px; }
  .split, .docs-layout { grid-template-columns: 1fr; }
  .docs-nav { position: static; }
  .sticky { position: static; }
}

@media (max-width: 768px) {
  body { font-size: 15px; }
  .container, .header-inner, .announce .announce-inner { padding-left: 20px; padding-right: 20px; }
  .container-narrow { padding: 0 20px; }
  .header-inner { height: 64px; }
  .brand-word { display: none; }
  .display-lg { font-size: 46px; }
  .display-md { font-size: 38px; }
  .display-sm { font-size: 34px; }
  .title-2xl { font-size: 30px; }
  .title-xl { font-size: 28px; }
  .hero { padding: 40px 0 32px; }
  .hero .hero-sub, .page-hero .lead, .feature-panel-top p { font-size: 17px; }
  .hero-trust { font-size: 12px; }
  .platform-picker { grid-template-columns: repeat(2, 1fr); }
  .product-tabs { grid-template-columns: repeat(2, 1fr); }
  .product-panel-inner { grid-template-columns: 1fr; }
  .product-media { order: -1; }
  .product-copy h3 { font-size: 26px; }
  .logo-wall { padding-top: 40px; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .logos li { min-height: 60px; padding: 12px; }
  .stat-grid, .matrix-grid, .release-grid, .price-grid, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stat-card { min-height: 0; }
  .section, .matrix, .stats, .quotes { padding: 48px 0; }
  .section-sm { padding: 32px 0; }
  .feature-panel-top { padding: 32px 20px 0; }
  .feature-panel-bottom { grid-template-columns: 1fr; padding: 28px 20px; }
  .quote-card { width: 300px; padding: 24px; }
  .cta { padding: 40px 24px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-col { grid-column: span 1; }
  .footer-bottom { font-size: 11px; }
  .footer-bottom hr { display: none; }
  .docs-layout { gap: 24px; }
  .change-entry { grid-template-columns: 1fr; gap: 8px; }
  .spec-list { grid-template-columns: 120px 1fr; }
  .btn { min-height: 38px; }
  .hero-actions .btn, .hero-actions .link-arrow { width: 100%; justify-content: center; }
  .hero-actions .link-arrow { min-height: 40px; }
  .mobile-download-bar { display: flex; }
  .post-card { flex-direction: column; align-items: flex-start; }
  .check-table th:nth-child(2), .check-table td:nth-child(2) { display: none; }
}

@media (max-width: 480px) {
  .announce-links { display: none; }
  .announce .announce-inner { justify-content: flex-start; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col { grid-column: span 1; }
}

/* ---------- fixes / additions ---------- */
[hidden] { display: none !important; }
body { overflow-x: hidden; }
.nav-link.is-active { background: #eeeae7; }
.page-hero.center .breadcrumbs { justify-content: center; }
.product-tab.is-active .product-tab-inner { background: var(--tab-color); border-color: transparent; }
.product-tab.is-active .product-tab-inner .pt-icon,
.product-tab.is-active .product-tab-inner strong,
.product-tab.is-active .product-tab-inner span { color: var(--white); }
.platform-choice.is-active { box-shadow: inset 0 0 0 1px var(--ink); }
.platform-choice:focus-visible { outline-offset: 1px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.dl-card .btn { min-height: 34px; }
.price-card.featured .btn:hover { background: rgba(255, 255, 255, 0.88); }
.quote-card { break-inside: avoid; }
.section-head p a { color: inherit; }
.check-table code, .prose code { white-space: nowrap; }
@media (max-width: 768px) {
  .hero h1 br { display: none; }
  .product-tab.is-active .product-tab-inner { background: var(--tab-color); }
}

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.product-media img { height: auto; }
.product-media.img-contain img { height: auto; }

.docs-nav .docs-nav-title { font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-60); margin: 0 0 8px; }

@media (max-width: 768px) {
  .announce-main { white-space: normal; text-align: left; }
  .announce-hint { display: none; }
  .hero h1 { font-size: 42px; }
  .hero h1 .soft { display: block; }
  .pd-checksum { overflow-wrap: anywhere; }
  .platform-detail > div { min-width: 0; max-width: 100%; }
  .pd-actions { width: 100%; }
  .pd-actions .btn, .pd-actions .copy-btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 38px; }
}

@media (max-width: 768px) {
  body { padding-bottom: 82px; }
  .toast { bottom: 92px; }
}
