/* IsolaDesk marketing site — single shared stylesheet */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/inter-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0B1120;
  --bg-elev: #111a2e;
  --surface: #1E293B;
  --surface-2: #26344b;
  --text: #F8FAFC;
  --text-2: #CBD5E1;   /* body copy on dark: ~12:1 */
  --text-3: #A5B4C8;   /* secondary small text: ~8:1, AA safe */
  --accent: #3B82F6;
  --accent-strong: #2563EB;
  --accent-text: #93C5FD; /* links on dark: ~9:1 */
  --accent-glow: rgba(59, 130, 246, 0.45);
  --success: #4ADE80;
  --warning: #FBBF24;
  --danger: #F87171;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);
  --radius: 12px;
  --radius-lg: 18px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
  --container: 1120px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-2);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: #BFDBFE; }
ul, ol { padding-left: 1.4em; }
strong { color: var(--text); font-weight: 600; }
h1, h2, h3, h4 { color: var(--text); line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
code, kbd { font-family: var(--mono); font-size: 0.92em; }
kbd {
  background: var(--surface); border: 1px solid var(--border-strong); border-bottom-width: 2px;
  border-radius: 6px; padding: 0.05em 0.4em; color: var(--text);
}

:focus { outline: none; }
:focus-visible {
  outline: 3px solid #60A5FA;
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--accent); color: #fff; padding: 0.75rem 1.25rem; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 820px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: 0.8rem 1.4rem; border-radius: 10px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent-strong); color: #fff; box-shadow: 0 0 18px var(--accent-glow); border-color: rgba(255, 255, 255, 0.12); }
.btn-primary:hover { background: #1D4ED8; color: #fff; box-shadow: 0 0 28px var(--accent-glow); }
.btn-secondary { background: rgba(255, 255, 255, 0.06); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.11); color: var(--text); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.92rem; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
button.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 17, 32, 0.88);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: var(--text); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; text-decoration: none;
}
.brand:hover { color: var(--text); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.75rem; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 1.75rem; padding: 0; }
.nav-list a { color: var(--text-2); text-decoration: none; font-weight: 500; font-size: 0.97rem; }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--text); }
.nav-list a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 0.5em; text-decoration-thickness: 2px; }
.lang-switch {
  color: var(--text-2); text-decoration: none; font-weight: 600; font-size: 0.85rem;
  border: 1px solid var(--border-strong); border-radius: 999px; padding: 0.3rem 0.7rem;
  letter-spacing: 0.04em;
}
.lang-switch:hover { color: var(--text); border-color: var(--accent); }

.nav-toggle {
  display: none; margin-left: auto;
  background: transparent; border: 1px solid var(--border-strong); border-radius: 10px;
  color: var(--text); width: 44px; height: 44px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }

@media (max-width: 860px) {
  .js .nav-toggle { display: inline-flex; }
  .site-nav { gap: 1rem; flex-wrap: wrap; justify-content: flex-end; }
  .nav-list { gap: 1rem; flex-wrap: wrap; }
  .js .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-elev); border-bottom: 1px solid var(--border);
    padding: 0.75rem 1.5rem 1.5rem; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  }
  .js .site-nav.is-open { display: flex; }
  .js .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .js .nav-list a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--border); font-size: 1.05rem; }
  .js .site-nav .lang-switch { align-self: flex-start; margin: 1rem 0; }
  .js .site-nav .btn { width: 100%; }
}
@media (max-width: 520px) {
  .header-inner { flex-wrap: wrap; padding-top: 0.5rem; padding-bottom: 0.5rem; }
}

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section-alt { background: linear-gradient(180deg, rgba(30, 41, 59, 0.35), rgba(30, 41, 59, 0.12)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.25rem; }
.section-head p { margin-top: 0.9rem; font-size: 1.12rem; color: var(--text-3); }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 0.9rem;
}

/* ---------- Hero ---------- */
.hero {
  padding: 5rem 0 4.5rem;
  background: radial-gradient(1100px 520px at 75% 0%, rgba(59, 130, 246, 0.16), transparent 60%),
              radial-gradient(800px 400px at 0% 20%, rgba(30, 41, 59, 0.7), transparent 70%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: center; }
.hero h1 .accent { color: transparent; background: linear-gradient(90deg, #93C5FD, #3B82F6); -webkit-background-clip: text; background-clip: text; }
.hero-lead { font-size: 1.2rem; color: var(--text-2); margin: 1.4rem 0 1.6rem; max-width: 36rem; }
.hero-points { list-style: none; padding: 0; display: grid; gap: 0.55rem; margin-bottom: 2rem; }
.hero-points li { display: flex; gap: 0.6rem; align-items: flex-start; }
.hero-points svg { width: 20px; height: 20px; color: var(--success); flex: none; margin-top: 0.2rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.cta-note { margin-top: 1rem; font-size: 0.95rem; color: var(--text-3); }
.cta-note a { color: var(--accent-text); }
.rec-badge {
  display: inline-block; margin-left: 0.4rem; font-size: 0.75rem; font-weight: 700;
  color: #052e16; background: var(--success); border-radius: 999px; padding: 0.1rem 0.55rem; vertical-align: middle;
}
.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: 10% 5%; background: var(--accent); filter: blur(90px); opacity: 0.22; z-index: 0;
}
.hero-visual picture, .hero-visual img { position: relative; z-index: 1; border-radius: var(--radius-lg); }
.hero-visual img { box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55); border: 1px solid var(--border); }
.figure-caption { position: relative; z-index: 1; margin-top: 0.75rem; font-size: 0.85rem; color: var(--text-3); text-align: center; }

.disclaimer-pill {
  display: inline-flex; align-items: center; gap: 0.45rem; margin-bottom: 1.4rem;
  font-size: 0.85rem; color: var(--text-2); background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border); border-radius: 999px; padding: 0.35rem 0.85rem;
}

/* ---------- Trust strip ---------- */
.trust-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(17, 26, 46, 0.6); }
.trust-list { list-style: none; padding: 1.25rem 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 2.25rem; }
.trust-list li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; color: var(--text-2); font-weight: 500; }
.trust-list svg { width: 18px; height: 18px; color: var(--accent-text); flex: none; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: rgba(30, 41, 59, 0.45); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.card h3 { margin-bottom: 0.55rem; }
.card p { color: var(--text-3); font-size: 1rem; }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1.1rem;
  background: rgba(59, 130, 246, 0.14); border: 1px solid rgba(59, 130, 246, 0.3); color: var(--accent-text);
}
.card-icon svg { width: 22px; height: 22px; }

.steps { list-style: none; padding: 0; counter-reset: step; }
.steps > li { counter-increment: step; position: relative; }
.steps.grid > li { padding-top: 4.2rem; }
.steps.grid > li::before {
  content: counter(step); position: absolute; top: 1.6rem; left: 1.75rem;
  width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-strong); color: #fff; font-weight: 700; font-size: 1rem;
}

.usecase-tag { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 0.6rem; }

/* Numbered list (instructions) */
.numbered { list-style: none; padding: 0; counter-reset: n; display: grid; gap: 0.9rem; margin: 1.25rem 0; }
.numbered > li { counter-increment: n; position: relative; padding-left: 2.8rem; min-height: 2rem; }
.numbered > li::before {
  content: counter(n); position: absolute; left: 0; top: 0.05rem;
  width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center;
  background: rgba(59, 130, 246, 0.16); border: 1px solid rgba(59, 130, 246, 0.4); color: var(--accent-text);
  font-weight: 700; font-size: 0.9rem;
}

/* ---------- Showcase ---------- */
.showcase { max-width: 980px; margin: 0 auto; }
.showcase img { border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 0.75rem; }
.faq details { background: rgba(30, 41, 59, 0.45); border: 1px solid var(--border); border-radius: var(--radius); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 3rem 1.15rem 1.35rem; position: relative;
  color: var(--text); font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.35rem; top: 50%; width: 0.6rem; height: 0.6rem;
  border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 1.35rem 1.25rem; color: var(--text-3); }
.faq details > div p + p { margin-top: 0.75rem; }
.faq-more { text-align: center; margin-top: 2rem; }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center; border-radius: 24px; padding: 3.5rem 2rem;
  background: radial-gradient(600px 260px at 50% 0%, rgba(59, 130, 246, 0.28), transparent 70%), var(--surface);
  border: 1px solid rgba(59, 130, 246, 0.35);
}
.cta-band p { max-width: 36rem; margin: 1rem auto 2rem; color: var(--text-2); font-size: 1.1rem; }
.cta-band .cta-row { justify-content: center; }

/* ---------- Download pair ---------- */
.dl-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.dl-card {
  background: rgba(30, 41, 59, 0.5); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; text-align: left;
}
.dl-card .dl-name { color: var(--text); font-weight: 700; font-size: 1.05rem; }
.dl-card .dl-desc { color: var(--text-3); font-size: 0.92rem; margin-bottom: 0.75rem; }
.dl-card .btn { margin-top: auto; }
.dl-card.is-recommended { border-color: rgba(59, 130, 246, 0.7); box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.4), 0 0 30px rgba(59, 130, 246, 0.15); }
.dl-card:not(.is-recommended) .btn-primary.dl-dim { background: rgba(255, 255, 255, 0.06); box-shadow: none; border-color: var(--border-strong); color: var(--text); }
.dl-help { font-size: 0.92rem; color: var(--text-3); }

/* ---------- Pricing ---------- */
.price-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: start; }
.price-card {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.14), rgba(30, 41, 59, 0.6) 40%);
  border: 1px solid rgba(59, 130, 246, 0.5); border-radius: 22px; padding: 2.25rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}
.price-card h2 { font-size: 1.5rem; }
.price { display: flex; align-items: baseline; gap: 0.6rem; margin: 1rem 0 0.25rem; }
.price .amount { font-size: 3.6rem; font-weight: 800; color: var(--text); letter-spacing: -0.04em; line-height: 1; }
.price .period { color: var(--text-3); font-weight: 500; }
.price-sub { color: var(--text-3); font-size: 0.92rem; margin-bottom: 1.5rem; }
.check-list { list-style: none; padding: 0; display: grid; gap: 0.7rem; margin: 1.5rem 0 1.75rem; }
.check-list li { display: flex; gap: 0.65rem; align-items: flex-start; }
.check-list svg { width: 20px; height: 20px; color: var(--success); flex: none; margin-top: 0.22rem; }
.price-card .btn + .btn { margin-top: 0.75rem; }
.price-badge {
  display: inline-flex; align-items: center; gap: 0.45rem; margin-bottom: 1.1rem;
  font-size: 0.85rem; font-weight: 600; color: #BBF7D0;
  background: rgba(74, 222, 128, 0.12); border: 1px solid rgba(74, 222, 128, 0.35);
  border-radius: 999px; padding: 0.3rem 0.8rem;
}
.price-badge svg { width: 16px; height: 16px; flex: none; color: var(--success); }
.price .period { font-size: 1.35rem; }
.price-billing { color: var(--text); font-weight: 600; font-size: 1.02rem; margin: 0.6rem 0 0.35rem; }
.price-side { display: grid; gap: 1.25rem; }
.manage-card .btn { margin-top: 1.1rem; }
.section-tight { padding-top: 4rem; }
.license-email + .license-email { margin-top: 0.35rem; }
.prose .btn { text-decoration: none; }
.fine { font-size: 0.9rem; color: var(--text-3); margin-top: 1rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 4.5rem 0 3rem; text-align: center; border-bottom: 1px solid var(--border);
  background: radial-gradient(900px 300px at 50% 0%, rgba(59, 130, 246, 0.14), transparent 70%);
}
.page-hero p { color: var(--text-3); font-size: 1.12rem; max-width: 640px; margin: 1rem auto 0; }
.updated { display: inline-block; margin-top: 1.25rem; font-size: 0.88rem; font-weight: 600; color: var(--accent-text); background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.25); border-radius: 6px; padding: 0.35rem 0.8rem; }

/* ---------- Prose (legal + support) ---------- */
.prose { padding: 3.5rem 0 5rem; }
.prose h2 { font-size: 1.55rem; margin: 3rem 0 1rem; padding-top: 0.5rem; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 1.75rem 0 0.6rem; scroll-margin-top: 90px; }
.prose p, .prose ul, .prose ol, .prose table, .prose dl { margin-bottom: 1rem; }
.prose li { margin-bottom: 0.45rem; }
.prose li::marker { color: var(--accent-text); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.75rem; border-bottom: 1px solid var(--border); }
.prose th { color: var(--text); background: rgba(255, 255, 255, 0.04); font-weight: 600; }
.table-scroll { overflow-x: auto; margin-bottom: 1rem; }
.table-scroll table { min-width: 560px; margin-bottom: 0; }
.toc { background: rgba(30, 41, 59, 0.45); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 2.5rem; }
.toc h2 { font-size: 1rem; margin: 0 0 0.6rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); }
.toc ol { columns: 2; column-gap: 2rem; margin: 0; }
.toc li { break-inside: avoid; }

.callout {
  background: rgba(59, 130, 246, 0.08); border: 1px solid rgba(59, 130, 246, 0.3); border-left: 4px solid var(--accent);
  border-radius: 10px; padding: 1.1rem 1.25rem; margin: 1.5rem 0; color: var(--text-2);
}
.callout-warn { background: rgba(251, 191, 36, 0.07); border-color: rgba(251, 191, 36, 0.35); border-left-color: var(--warning); }
.callout > :last-child { margin-bottom: 0; }
.callout strong:first-child { display: block; margin-bottom: 0.25rem; }

.placeholder { background: rgba(251, 191, 36, 0.16); color: #FDE68A; border: 1px dashed rgba(251, 191, 36, 0.6); border-radius: 4px; padding: 0 0.3em; font-weight: 600; }

.entity-box { background: rgba(30, 41, 59, 0.5); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 2rem; }
.entity-box dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.5rem 1.25rem; margin: 0; }
.entity-box dt { color: var(--text-3); font-weight: 500; }
.entity-box dd { color: var(--text); }

/* ---------- Forms ---------- */
.form-card { background: rgba(30, 41, 59, 0.5); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: 1.75rem; margin: 1.5rem 0; }
.form-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.form-row input { flex: 1 1 260px; }
label { display: block; color: var(--text); font-weight: 600; margin-bottom: 0.5rem; }
input[type="email"] {
  font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--border-strong);
  border-radius: 10px; padding: 0.8rem 1rem; min-height: 48px;
}
input[type="email"]:focus-visible { border-color: var(--accent); outline-offset: 1px; }
.form-hint { font-size: 0.9rem; color: var(--text-3); margin-top: 0.6rem; }
.form-status { margin-top: 1rem; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--danger); }

/* ---------- Thank you ---------- */
.ty-wrap { max-width: 760px; margin: 0 auto; text-align: center; }
.ty-icon { width: 64px; height: 64px; margin: 0 auto 1.5rem; border-radius: 50%; display: grid; place-items: center; background: rgba(74, 222, 128, 0.12); border: 1px solid rgba(74, 222, 128, 0.4); color: var(--success); }
.ty-icon svg { width: 30px; height: 30px; }
.ty-state { margin: 2rem 0; }
.ty-state[hidden] { display: none; }
.license-box {
  background: var(--bg-elev); border: 1px solid rgba(59, 130, 246, 0.55); border-radius: var(--radius-lg);
  padding: 1.75rem; margin: 1.5rem 0;
}
.license-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); font-weight: 700; }
.license-code {
  display: block; font-family: var(--mono); font-size: clamp(1.3rem, 4.6vw, 2.1rem); font-weight: 700;
  color: var(--text); letter-spacing: 0.06em; margin: 0.75rem 0 1.25rem; word-break: break-all; user-select: all;
}
.license-email { margin-top: 1rem; font-size: 0.95rem; color: var(--text-3); }
.spinner {
  width: 36px; height: 36px; margin: 0 auto 1rem; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.15); border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.ty-section { text-align: left; margin-top: 3rem; }
.ty-section h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 7rem 0; }
.notfound .code { font-size: 5rem; font-weight: 800; color: var(--accent-text); line-height: 1; }
.notfound p { margin: 1rem auto 2rem; max-width: 32rem; color: var(--text-3); }
.notfound .cta-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: #080d19; padding: 3rem 0 2.5rem; margin-top: auto; font-size: 0.93rem; color: var(--text-3); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-grid h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-2); margin-bottom: 0.8rem; }
.footer-grid ul { list-style: none; padding: 0; display: grid; gap: 0.45rem; }
.footer-grid a { color: var(--text-3); text-decoration: none; }
.footer-grid a:hover { color: var(--text); text-decoration: underline; }
.footer-brand p { margin-top: 0.85rem; max-width: 26rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: grid; gap: 0.4rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .price-wrap { grid-template-columns: 1fr; }
  .hero { padding-top: 3.5rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .section { padding: 4rem 0; }
  .grid-3, .grid-2, .dl-pair, .footer-grid { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .cta-row .btn { width: 100%; }
  .price-card { padding: 1.6rem; }
  .entity-box dl { grid-template-columns: 1fr; gap: 0.15rem; }
  .entity-box dd { margin-bottom: 0.6rem; }
}

/* Centered home hero */
.hero .section-head { margin-bottom: 1.75rem; }
.hero .hero-lead { margin-left: auto; margin-right: auto; }
.hero .hero-points { width: fit-content; max-width: 100%; margin: 0 auto 2rem; }
.hero-cta { text-align: center; }
.hero-cta .cta-row, .cta-band .cta-row { justify-content: center; }
.hero .hero-visual { max-width: 1000px; margin: 3.5rem auto 0; }
.h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.card > p + p, .card > p + .dl-pair { margin-top: 0.75rem; }
.disclaimer-pill svg { width: 16px; height: 16px; flex: none; color: var(--accent-text); }
.grid > *, .price-wrap > *, .dl-pair > * { min-width: 0; }
@media (max-width: 960px) { .price-wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .btn { white-space: normal; text-align: center; } }

/* Download cards: keep buttons inside narrow cards, badge on one line */
.dl-card .btn { white-space: normal; text-align: center; padding-left: 1rem; padding-right: 1rem; }
.rec-badge { white-space: nowrap; margin: 0.2rem 0 0; }
.dl-name .rec-badge { margin-left: 0.4rem; }

/* Typographic polish */
h1, h2, h3, .faq summary { text-wrap: balance; }
p, li { text-wrap: pretty; }
.figure-caption { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.5rem; margin-top: 1rem; }
.caption-tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-2); border: 1px solid var(--border-strong); border-radius: 6px; padding: 0.1rem 0.45rem;
}
@media (max-width: 640px) {
  .disclaimer-pill { font-size: 0.8rem; border-radius: 12px; padding: 0.4rem 0.75rem; text-align: left; }
  .page-hero { padding: 3rem 0 2.25rem; }
  .section-tight { padding-top: 2.5rem; }
  .price .amount { font-size: 3.1rem; }
  .cta-band { padding: 2.5rem 1.25rem; }
}
@media (max-width: 960px) { .price-wrap { max-width: 640px; margin: 0 auto; } }
/* Headings focused by script (thank-you states, skip link target) don't need a ring */
h1[tabindex="-1"]:focus-visible, h2[tabindex="-1"]:focus-visible, main[tabindex="-1"]:focus-visible { outline: none; }
.ty-state h2 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.ty-state p + p { margin-top: 0.75rem; }
.ty-section p + p { margin-top: 0.75rem; }
.dl-card .btn { min-height: 3rem; }
.callout li strong:first-child { display: inline; margin-bottom: 0; }
.callout ul { margin-top: 0.5rem; }
.dl-name .rec-badge { display: table; margin: 0.35rem 0 0; }
.dl-card .btn { width: 100%; }
@media (min-width: 961px) { .price-side .dl-pair { grid-template-columns: minmax(0, 1fr); } .price-side .dl-card .btn { width: auto; align-self: flex-start; } }
