:root { --ink:var(--slate-900); --muted:var(--slate-500); --blue:var(--navy-700); --line:rgba(148,163,184,.25); --pale:var(--navy-100); --paper:var(--slate-50); --navy:var(--navy-700); }
.section {
  padding:82px 0;
  border-bottom:1px solid var(--line);
  scroll-margin-top:20px;
}
.home-section {
  padding-top:72px;
}
.eyebrow {
  text-transform:uppercase;
  letter-spacing:.16em;
  font-weight:650;
  color:var(--blue);
  font-size:.72rem;
  margin:0 0 16px;
}
h1,h2,h3,h4 {
  line-height:1.2;
  letter-spacing:-.025em;
  margin:0 0 16px;
}
h1 {
  font-size:clamp(2.7rem,4.2vw,4.3rem);
  max-width:600px;
}
h2 {
  font-size:2.3rem;
}
h3 {
  font-size:1.2rem;
}
p {
  margin:0 0 18px;
}
.lead {
  font-size:1.15rem;
  color:var(--muted);
  line-height:1.7;
}
.quiet {
  font-size:.85rem;
  color:var(--muted);
}
.actions {
  display:flex;
  align-items:center;
  gap:22px;
  flex-wrap:wrap;
  margin:24px 0;
}
.text-link {
  font-weight:600;
  text-decoration:none;
}
figcaption {
  font-size:.75rem;
  color:var(--muted);
  text-align:center;
  margin:12px 0 0;
}
.capabilities {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:38px;
  padding:64px 0 54px;
}
.capabilities h2 {
  font-size:1.2rem;
  margin-top:12px;
}
.capabilities p {
  color:var(--muted);
  font-size:.94rem;
}
.feature-number {
  color:#6487a7;
  font-size:.75rem;
}
.section-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:50px;
  margin-bottom:35px;
}
.section-heading .eyebrow {
  margin-bottom:12px;
}
.section-heading h2 {
  margin:0;
}
.section-heading>p {
  max-width:460px;
  color:var(--muted);
  font-size:.95rem;
  margin:0;
}
.download-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.download-card {
  padding:24px;
  background:var(--pale);
  border-radius:12px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.download-card h3 {
  font-size:1.1rem;
}
.download-card p {
  font-size:.86rem;
  color:var(--muted);
}
.download-card .button {
  font-size:.84rem;
  padding:9px 12px;
  margin-top:auto;
}
.download-card .source-link {
  font-size:.8rem;
  margin-top:12px;
}
.release-note {
  margin-top:23px;
}
.steps {
  list-style:none;
  counter-reset:steps;
  margin:0;
  padding:0;
  max-width:820px;
}
.steps>li {
  counter-increment:steps;
  display:flex;
  gap:25px;
  padding:22px 0;
}
.steps>li:before {
  content:counter(steps,decimal-leading-zero);
  font-size:.85rem;
  color:var(--blue);
  padding-top:4px;
  flex:0 0 32px;
}
.steps p {
  color:var(--muted);
  margin:0;
}
.installation-permissions {
  max-width:820px;
  margin:34px 0;
}
.installation-permissions h3 {
  margin-bottom:22px;
}
details {
  padding:16px 0;
}
summary {
  cursor:pointer;
  font-weight:600;
}
details p {
  margin:16px 0 0;
  color:var(--muted);
}
label {
  display:block;
  font-size:.9rem;
  font-weight:550;
  margin:0 0 17px;
}
input,textarea,select {
  display:block;
  margin-top:7px;
  width:100%;
  padding:10px 12px;
  color:var(--ink);
  background:white;
  border:1px solid #bbccd9;
  border-radius:6px;
  min-width:0;
}
input[type=file] {
  background:transparent;
  border:0;
  padding:0;
  font-size:.85rem;
}
textarea {
  resize:vertical;
}
.feedback {
  font-size:.9rem;
  margin:15px 0 0;
  white-space:pre-wrap;
}
.feedback.is-error {
  color:#a23131;
}
.feedback.is-success {
  color:#285e48;
}
.reference-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 46px; max-width:850px; }
.reference-links button { text-align:left; color:var(--slate-600); }
.reference-links button[aria-pressed=true] { color:var(--navy); text-decoration:underline; }
.document-toolbar {
  display:flex;
  align-items:center;
  gap:18px;
  margin:30px 0;
}
.document-toolbar h3 {
  margin:0 auto 0 0;
}
.document-toolbar a {
  font-size:.83rem;
}
.prose {
  max-width:850px;
  overflow-wrap:anywhere;
  margin:35px 0;
}
.prose h1 {
  font-size:2rem;
}
.prose h2 {
  font-size:1.5rem;
  margin-top:35px;
}
.prose h3 {
  margin-top:28px;
}
.prose pre {
  overflow:auto;
  padding:16px;
  background:var(--pale);
}
.prose table {
  display:block;
  max-width:100%;
  overflow:auto;
  border-collapse:collapse;
}
.prose td,.prose th {
  padding:10px;
  border:1px solid var(--line);
}
.source-links {
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  margin:28px 0 0;
  font-size:.85rem;
}
.history-products { display:flex; gap:28px; flex-wrap:wrap; margin:36px 0; }
.history-products button { color:var(--slate-600); }
.history-products button[aria-pressed=true] { color:var(--navy); text-decoration:underline; text-decoration-thickness:2px; }
.history-lane h3 {
  margin-bottom:8px;
}
.history-release {
  padding:28px 20px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:30px;
}
.history-release:nth-of-type(odd) { background:linear-gradient(90deg,#eaf3ff,transparent); }
.release-title {
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
}
.release-title strong {
  font-size:1.15rem;
}
.badge {
  font-size:.7rem;
  padding:0;
  color:var(--muted);
}
.badge.is-alpha {
  color:#8f3737;
}
.badge.is-beta {
  color:#776327;
}
.badge.is-release {
  color:#306148;
}
.release-meta {
  color:var(--muted);
  font-size:.85rem;
  margin:8px 0;
}
.release-actions {
  display:flex;
  align-items:flex-start;
  gap:10px;
  flex-wrap:wrap;
  max-width:300px;
}
.release-actions a {
  font-size:.84rem;
}
.history-release details {
  border:0;
  padding:0;
}
.history-release summary {
  font-size:.85rem;
}
.history-release li {
  font-size:.9rem;
  color:var(--muted);
  margin-bottom:8px;
}
.checksum {
  font-family:ui-monospace,monospace;
  font-size:.72rem;
  overflow-wrap:anywhere;
}
.site-footer {
  max-width:1200px;
  margin:auto;
  padding:35px 32px 50px;
  display:flex;
  gap:25px;
  align-items:center;
  font-size:.8rem;
  color:var(--muted);
}
.site-footer p {
  margin:0;
  flex:1;
}
.site-footer .brand {
  font-size:.9rem;
}
@media(max-width:1000px) {
  .download-grid {
    grid-template-columns:repeat(2,1fr);
  }
  html {
    scroll-padding-top:140px;
  }
}
@media(max-width:650px) {
  main {
    padding:0 22px;
  }
  .section {
    padding:52px 0;
  }
  h1 {
    font-size:2.7rem;
  }
  .capabilities {
    grid-template-columns:1fr;
    gap:22px;
    padding:40px 0;
  }
  .capabilities p {
    margin:0;
  }
  .section-heading {
    display:block;
    margin-bottom:27px;
  }
  .section-heading h2 {
    font-size:2rem;
  }
  .section-heading>p {
    margin-top:18px;
  }
  .download-grid {
    gap:12px;
  }
  .download-card {
    padding:18px;
  }
  .download-card h3 {
    font-size:1rem;
  }
  .steps>li {
    gap:14px;
  }
  .document-toolbar {
    flex-wrap:wrap;
  }
  .history-release {
    grid-template-columns:1fr;
    gap:16px;
  }
  .site-footer {
    padding:30px 22px;
    flex-wrap:wrap;
  }
  .site-footer p {
    flex-basis:100%;
    order:3;
  }
  button,.button {
    min-height:44px;
  }
  .reference-links button,.history-products button {
    font-size:.8rem;
    padding:9px 12px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
}

/* Existing visual shell. Content panels keep its surfaces, type and scale. */
[hidden] { display:none!important; }
:root { --cb-bolt:url('../assets/branding/canvas-bolt.svg?v=20261002canvas'); }
.site-chrome .brand { color:var(--slate-900); text-decoration:none; }
.site-chrome .brand-name { margin:0; font-size:18px; font-weight:700; }
.site-chrome .lang-select { width:143px; margin:0; }
.zoom-controls button { min-height:0; }
.skip-link { position:fixed; z-index:150; top:0; left:16px; padding:8px; background:white; transform:translateY(-120%); }
.skip-link:focus { transform:none; }
a { color:var(--navy-700); text-underline-offset:3px; }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible { outline:3px solid var(--navy-ring); outline-offset:3px; }
.button { display:inline-flex; align-items:center; justify-content:center; padding:8px 0; font-size:14px; font-weight:600; color:var(--navy-700); text-decoration:underline; }
/* Website controls remain keyboard-accessible without filled button surfaces.
   Shadow-root charts and sandboxed app UI keep their authentic styles. */
#world button { background:transparent; border:0; border-radius:0; box-shadow:none; padding:8px 0; font-size:16px; font-weight:600; color:var(--navy-700); }
#world button:hover { filter:none; text-decoration:underline; }
#world button:focus-visible { outline:3px solid var(--navy-ring); outline-offset:4px; }
#world .feed-switch button { color:#d5dfed; padding:8px; font-size:13px; }
#world .feed-switch button[aria-pressed="true"] { color:white; }
#world #resetDemo { color:var(--slate-500); font-size:14px; }
.plane-card.section:not(.home-card) { background:linear-gradient(180deg,#fff,#edf5ff); }
.section-heading { display:block; max-width:820px; margin-bottom:46px; }
.section-heading > p { max-width:720px; margin-top:20px; font-size:16px; line-height:1.7; }
#world .site-footer { display:block; width:min(1180px,100%); padding:60px 0 12px; }
.site-footer > p { margin:16px 0 24px; }
.footer-contact .actions { margin:0; gap:24px; }
#world #copySupportEmail { font-size:14px; }
@media(max-width:600px) { .reference-links { grid-template-columns:1fr; gap:8px; } }

.plane-card.section { width:min(1280px,92vw); padding:68px 60px 54px; left:0; border:0; line-height:1.6; user-select:text; }
.plane-card.home-card { width:min(1680px,92vw); padding:72px 60px 36px; text-align:center; background:radial-gradient(circle at 50% 20%,rgba(86,168,242,.16),transparent 32%),linear-gradient(180deg,#fff 0%,#f7faff 100%); }
.home-card > h1 { max-width:100%; margin:0 auto 12px; font-size:44px; line-height:1; font-weight:850; letter-spacing:0; }
.home-card .subtitle { margin:0 auto 14px; }
.home-download-section { width:100%; margin-top:28px; padding:28px 0 0; border-top:1px solid rgba(148,163,184,.2); }
.home-download-section .dl-title { margin:0; font-size:34px; line-height:1.05; font-weight:800; letter-spacing:0; }
/* Original compact download tiles; release facts remain in their descriptions. */
.home-download-section .download-card { background:transparent; border-radius:0; }
.home-download-section {
  width: min(1180px, 92vw);
  padding: 30px 40px 34px;
  background: linear-gradient(160deg, #ffffff 0%, #e9f1ff 100%);
  color: var(--slate-700);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.plane-card.download-card-archive,
.plane-card.free-card-archive {
  display: none;
}

.home-download-section {
  width: 100%;
  margin-top: 28px;
  padding: 28px 0 0;
  background: transparent;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.download-card .card-spot {
  display: none;
}
.download-card .dl-title,
.home-download-section .dl-title {
  margin: 0;
  font-size: 34px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
  text-align: center;
  color: var(--slate-900);
}
.download-card .dl-grid,
.home-download-section .dl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
/* No box-inside-the-box: the apps sit directly on the light banner. */
.download-card .dl-app,
.home-download-section .dl-app {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  padding: 28px 12px 0;
  color: inherit;
}
.download-card .dl-app-main,
.home-download-section .dl-app-main {
  display: flex;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
.download-card .dl-app-main .dl-ico,
.home-download-section .dl-app-main .dl-ico,
.download-card .dl-app-main strong,
.home-download-section .dl-app-main strong {
  transition: transform 160ms ease, color 160ms ease;
}
.download-card .dl-app-main:hover .dl-ico,
.home-download-section .dl-app-main:hover .dl-ico {
  transform: translateY(-3px);
}
.download-card .dl-app-main:hover strong,
.home-download-section .dl-app-main:hover strong {
  color: #244d87;
}
.download-card .dl-app-main:focus-visible,
.home-download-section .dl-app-main:focus-visible,
.download-card .dl-source:focus-visible,
.home-download-section .dl-source:focus-visible {
  outline: 3px solid rgba(47, 98, 173, 0.32);
  outline-offset: 3px;
  border-radius: 4px;
}
.download-card .dl-recommendation,
.home-download-section .dl-recommendation {
  position: absolute;
  top: 0;
  left: 8px;
  z-index: 1;
  color: #244d87;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.15;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.download-card .dl-recommendation[hidden],
.home-download-section .dl-recommendation[hidden] {
  display: none;
}
.download-card .dl-ico,
.home-download-section .dl-ico {
  display: block;
}
.download-card .dl-ico svg,
.home-download-section .dl-ico svg {
  width: 86px;
  height: 86px;
  filter: drop-shadow(0 10px 20px rgba(20, 40, 80, 0.22));
}
.download-card .dl-app strong,
.home-download-section .dl-app strong {
  font-size: 17px;
  font-weight: 700;
  color: var(--slate-900);
}
.download-card .dl-app-description,
.home-download-section .dl-app-description {
  font-size: 12px;
  line-height: 1.45;
  color: var(--slate-500);
}
.download-card .dl-source,
.home-download-section .dl-source {
  margin-top: 7px;
  color: #536987;
  font-size: 10.5px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration-line: underline;
  text-decoration-color: rgba(83, 105, 135, 0.55);
  text-underline-offset: 2px;
}
.download-card .dl-source::after,
.home-download-section .dl-source::after {
  content: " \2197";
}
.download-card .dl-source:hover,
.home-download-section .dl-source:hover {
  color: #244d87;
  text-decoration-color: currentColor;
}

.home-card .capabilities { text-align:left; }
.product-shot { margin:44px 0 0; }
.product-shot img { width:100%; max-width:1120px; height:auto; border-radius:var(--radius-card); border:1px solid var(--line); box-shadow:var(--shadow-panel); }
.site-footer { padding:35px 0 0; text-align:left; }
@media(max-width:720px) {
  .site-chrome .brand-name { display:none; }
  .plane-card.section { padding:42px 22px 32px; }
  .plane-card.home-card { padding:46px 22px 30px; }
  .home-stage { height:315px; margin-bottom:14px; }
  .home-logo,.home-logo svg { width:83px; height:83px; }
  .home-card > h1 { font-size:30px; }
  .home-card .subtitle { max-width:320px; font-size:13px; }
  .home-download-section .dl-title { font-size:28px; }
  .download-card { padding:25px 4px 0; }
  .download-card .dl-ico svg { width:52px; height:52px; }
  .download-card h3 { font-size:13px; }
}

/* Preserve the original download layout at the original 600px breakpoint. */
@media(max-width:600px) {
  .home-download-section { margin-top:22px; padding-top:22px; }
  .home-download-section .dl-grid { grid-template-columns:repeat(2,1fr); gap:12px 10px; }
  .home-download-section .dl-app { padding:25px 4px 0; }
  .home-download-section .dl-app-main { gap:6px; }
  .home-download-section .dl-ico svg { width:52px; height:52px; }
  .home-download-section .dl-app strong { font-size:13px; }
  .home-download-section .dl-app-description { font-size:10px; line-height:1.25; }
  .home-download-section .dl-recommendation { left:2px; font-size:11.5px; }
  .home-download-section .dl-source { margin-top:5px; font-size:9.5px; }
}

/* Direct contact in the existing Home footer. */
.footer-contact { min-width:0; max-width:100%; }
.support-email { display:inline-block; overflow-wrap:anywhere; margin-bottom:12px; }
.footer-contact .actions { flex-wrap:wrap; }
