:root {
  color-scheme: dark;
  --primary: #26385b;
  --accent: #78a8ff;
  --success: #62e5aa;
  --ink: #f6f7fb;
  --muted: #9aa8c2;
  --copy: #c8d0df;
  --background: #090b10;
  --surface: #0c1017;
  --panel: #11161e;
  --raised: #151a24;
  --line: #263247;
  --content: 1120px;
  --reading: 720px;
}

html[data-theme="light"] {
  color-scheme: light;
  --primary: #315d9f;
  --accent: #2459a6;
  --success: #087b55;
  --ink: #172033;
  --muted: #61708a;
  --copy: #3e4b62;
  --background: #f7f9fc;
  --surface: #eef2f7;
  --panel: #ffffff;
  --raised: #e7edf5;
  --line: #d2dce9;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 12%, rgba(120, 168, 255, .11), transparent 27rem),
    radial-gradient(circle at 15% 42%, rgba(98, 229, 170, .045), transparent 25rem),
    var(--background);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  padding: .7rem 1rem;
  color: var(--background);
  background: var(--accent);
  border-radius: .4rem;
}

.skip-link:focus { top: 1rem; }

.site-header {
  width: min(calc(100% - 2rem), var(--content));
  min-height: 4.5rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(39, 50, 68, .72);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: .94rem;
  font-weight: 740;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-icon {
  width: 2rem;
  height: 2rem;
  aspect-ratio: 1;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 .7rem rgba(120, 168, 255, .22));
}

.site-header nav,
footer nav { display: flex; gap: 1.4rem; }

.site-header nav a,
footer nav a {
  color: var(--muted);
  font-size: .88rem;
  text-decoration: none;
}

.site-header nav a {
  padding: .45rem 0;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}

.site-header nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }

.site-header nav a:hover,
.site-header nav a:focus-visible,
footer nav a:hover,
footer nav a:focus-visible { color: var(--accent); }

.theme-control { display: inline-flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .72rem; }
.theme-options { display: inline-flex; overflow: hidden; border: 1px solid var(--line); border-radius: .42rem; background: var(--panel); }
.theme-options button { min-height: 2rem; padding: .28rem .58rem; border: 0; border-right: 1px solid var(--line); color: var(--muted); background: transparent; font: inherit; cursor: pointer; }
.theme-options button:last-child { border-right: 0; }
.theme-options button[aria-pressed="true"] { color: var(--ink); background: var(--raised); box-shadow: inset 0 -2px 0 var(--accent); }
.theme-options button:hover,
.theme-options button:focus-visible { color: var(--ink); }
.theme-options button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.hero {
  width: min(calc(100% - 2rem), var(--content));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6.25rem) 0 clamp(5rem, 9vw, 7rem);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(20rem, .96fr);
  gap: clamp(3rem, 7vw, 5.5rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 .85rem;
  color: var(--accent);
  font-size: .7rem;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 30ch;
  margin-bottom: 1.35rem;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -.048em;
}

h1 span { color: var(--accent); }

.hero-lede {
  max-width: 36rem;
  color: var(--copy);
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  line-height: 1.62;
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.button {
  min-height: 3rem;
  padding: .72rem 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: .62rem;
  font-size: .9rem;
  font-weight: 720;
  text-decoration: none;
}

.button-primary { background: var(--primary); border-color: #517bb8; }
.button-primary:hover, .button-primary:focus-visible { background: #314a76; border-color: var(--accent); }
.button-secondary { background: rgba(17, 24, 34, .68); }
.button-secondary:hover, .button-secondary:focus-visible { border-color: var(--accent); }

.availability {
  max-width: 36rem;
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: .78rem;
}

.device-stage { position: relative; padding: 1rem; }
.glow { position: absolute; border-radius: 50%; filter: blur(45px); opacity: .26; }
.glow-one { width: 13rem; height: 13rem; top: 5%; right: 2%; background: #151a87; }
.glow-two { width: 11rem; height: 11rem; left: 0; bottom: 14%; background: var(--success); }

.device {
  position: relative;
  width: min(100%, 23rem);
  margin: 0 auto;
  padding: .8rem .85rem 1rem;
  overflow: hidden;
  border: 1px solid #353e4d;
  border-radius: 2.1rem;
  background: var(--background);
  box-shadow: 0 2.2rem 6rem rgba(0, 0, 0, .62), inset 0 0 0 5px #07090d;
  transform: rotate(1.5deg);
}

.device-bar {
  padding: .4rem .5rem .8rem;
  display: flex;
  justify-content: space-between;
  color: #d7ddeb;
  font-size: .58rem;
}

.app-heading { display: flex; justify-content: space-between; gap: .6rem; align-items: start; }
.app-heading strong { display: block; font-size: 1.26rem; line-height: 1.1; }
.app-heading small { display: block; margin-top: .25rem; color: var(--muted); font-size: .62rem; }
.app-actions { display: flex; gap: .35rem; }
.app-actions span { width: 2.1rem; height: 2rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: .5rem; background: var(--surface); color: var(--accent); font-size: .7rem; }

.prompt,
.model-panel,
.preview-panel,
.app-tabs {
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: var(--panel);
}

.prompt { min-height: 5.2rem; margin-top: .9rem; padding: .85rem; font-size: .72rem; color: #e9edf6; }
.model-panel { margin-top: .6rem; padding: .75rem; }
.model-panel small { display: block; color: var(--muted); font-size: .46rem; font-weight: 800; letter-spacing: .12em; }
.model-panel strong { display: block; margin-top: .35rem; padding: .6rem; border: 1px solid var(--line); border-radius: .42rem; background: var(--raised); font-size: .69rem; }
.model-settings { margin-top: .55rem; padding: .55rem .6rem; border: 1px solid var(--line); border-radius: .42rem; color: #e2e7f2; font-size: .58rem; }
.model-settings span { float: right; color: var(--muted); }
.runtime { margin: .55rem 0; color: var(--muted); font-size: .54rem; }
.preview-panel { height: 7.2rem; display: grid; place-items: center; position: relative; overflow: hidden; }
.preview-panel > span { position: absolute; top: .6rem; left: .65rem; color: var(--muted); font-size: .44rem; letter-spacing: .12em; }
.preview-icon { width: 5.4rem; height: 5.4rem; object-fit: contain; filter: drop-shadow(0 0 1.4rem rgba(120, 168, 255, .28)); }
.create-row { margin-top: .6rem; display: grid; grid-template-columns: 1.5fr .7fr; gap: .5rem; }
.create-row span { min-height: 2.6rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: .5rem; background: var(--primary); font-size: .62rem; }
.create-row span:last-child { background: var(--panel); }
.app-tabs { margin-top: .6rem; padding: .22rem; display: grid; grid-template-columns: repeat(3, 1fr); }
.app-tabs > * { padding: .62rem .25rem; color: var(--muted); font-size: .55rem; text-align: center; }
.app-tabs strong { color: var(--ink); background: var(--raised); border-radius: .38rem; }
.preview-label { position: relative; margin: 1rem 0 0; color: var(--muted); font-size: .68rem; text-align: center; }

.feature-section,
.platform-section,
.model-section,
footer {
  width: min(calc(100% - 2rem), var(--content));
  margin: 0 auto;
}

.platform-section { padding: clamp(4.5rem, 8vw, 6rem) 0; border-top: 1px solid var(--line); }
.feature-section { padding: clamp(4.5rem, 8vw, 6rem) 0; border-top: 1px solid var(--line); }
.section-intro { max-width: 46rem; }
h2 { max-width: 34ch; margin-bottom: 1.25rem; font-size: clamp(1.45rem, 2.2vw, 1.85rem); line-height: 1.2; letter-spacing: -.028em; }
.platform-summary { max-width: 46rem; margin: 0 0 2.25rem; color: var(--copy); }
.platform-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.platform-grid article { min-height: 13rem; padding: 1.6rem; border: 1px solid var(--line); border-radius: .8rem; background: rgba(12, 16, 23, .92); }
.platform-grid h3 { max-width: 23rem; margin: 2.25rem 0 .6rem; font-size: 1.2rem; line-height: 1.28; }
.platform-grid p { max-width: 32rem; color: var(--muted); font-size: .9rem; }
.platform-grid code { color: var(--ink); font: inherit; }
.platform-status { color: var(--accent); font-size: .67rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.platform-status-live { color: var(--success); }
.platform-status-roadmap { color: #f0c587; }
.platform-note { max-width: 60rem; margin: 1.25rem 0 0; color: var(--muted); font-size: .75rem; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.feature-grid article { min-height: 13rem; padding: 1.6rem; border: 1px solid var(--line); border-radius: .8rem; background: rgba(12, 17, 25, .94); }
.feature-number { color: var(--accent); font-size: .68rem; letter-spacing: .12em; }
.feature-grid h3 { margin: 2.75rem 0 .6rem; font-size: 1.2rem; }
.feature-grid p { max-width: 30rem; color: var(--muted); font-size: .9rem; }
code { color: var(--accent); font: inherit; }

.model-section {
  padding: clamp(4.5rem, 8vw, 6rem) 0;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2.5rem, 7vw, 5rem);
  border-top: 1px solid var(--line);
}

.model-copy { padding-top: 1.65rem; color: var(--copy); font-size: 1.02rem; }

footer {
  padding: 2rem 0;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2rem;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
}

footer strong, footer span { display: block; }
footer strong { color: var(--ink); }
footer p { margin: 0; white-space: nowrap; }

.page-shell {
  width: min(calc(100% - 2rem), 900px);
  min-height: calc(100vh - 14rem);
  margin: 0 auto;
  padding: clamp(3.75rem, 7vw, 5.5rem) 0 clamp(5rem, 9vw, 7rem);
}

.page-shell h1 {
  max-width: 30ch;
  margin-bottom: 1.2rem;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -.042em;
}

.page-intro {
  max-width: var(--reading);
  margin-bottom: 2.75rem;
  color: var(--copy);
  font-size: 1.08rem;
  line-height: 1.7;
}

.page-meta { margin: -.35rem 0 1rem; color: var(--muted); font-size: .78rem; }

.notice {
  max-width: var(--reading);
  margin: 0 0 2.75rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(98, 229, 170, .42);
  border-radius: .7rem;
  background: rgba(98, 229, 170, .055);
  color: var(--copy);
}

.content-section {
  padding: 2.5rem 0;
  display: grid;
  grid-template-columns: minmax(17rem, .72fr) minmax(0, 1.28fr);
  column-gap: clamp(2rem, 5vw, 3rem);
  row-gap: .8rem;
  border-top: 1px solid var(--line);
}

.content-section h2 {
  grid-column: 1;
  max-width: none;
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.28;
  letter-spacing: -.015em;
}

.content-section > :not(h2) { grid-column: 2; }
.content-section h3 { margin: 1rem 0 0; }
.content-section p,
.content-section li { color: var(--copy); }
.content-section p { margin-bottom: .25rem; }
.content-section ul,
.content-section ol { margin: .15rem 0 .35rem; padding-left: 1.25rem; }
.content-section li + li { margin-top: .6rem; }
.content-section a { color: var(--accent); }

.contact-card {
  max-width: var(--reading);
  margin-bottom: 2.75rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: var(--panel);
}

.contact-card strong { display: block; margin-bottom: .3rem; font-size: 1.15rem; }
.contact-card a { color: var(--accent); text-underline-offset: .2em; }

.status-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--copy);
}

.status-table th,
.status-table td {
  padding: .85rem .7rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.status-table th { color: var(--ink); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.status-pill { color: var(--success); font-weight: 720; }

/* Windows launch experience */
.launch-hero,
.workflow-section,
.free-access-callout,
.value-strip {
  width: min(calc(100% - 2rem), var(--content));
  margin: 0 auto;
}

.launch-hero {
  min-height: 0;
  padding: clamp(4rem, 7vw, 5.5rem) 0 clamp(3rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.launch-copy { min-width: 0; max-width: 54rem; }
.launch-copy h1 { max-width: none; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1.02; white-space: nowrap; }
.launch-proof { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .55rem; }
.launch-proof span { padding: .48rem .7rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(12, 16, 23, .7); font-size: .72rem; }
.launch-proof strong { color: var(--ink); }

.creator-showcase-section {
  width: min(calc(100% - 2rem), var(--content));
  margin: 0 auto;
  padding: 0 0 clamp(3.5rem, 7vw, 6rem);
}
.creator-showcase-intro { max-width: 54rem; }
.creator-showcase-intro > p:last-child { max-width: 48rem; color: var(--copy); }
.creator-showcase {
  margin: 2.25rem 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #071322;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .24);
}
.creator-showcase img { display: block; width: 100%; height: auto; }
.creator-showcase figcaption { padding: .7rem 1rem; color: #9caec8; background: #071322; font-size: .72rem; letter-spacing: .04em; }

.value-strip { padding: 2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value-strip p { max-width: 49rem; margin: 0 auto; color: var(--copy); font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.5; text-align: center; }

.workflow-section { padding: clamp(3.5rem, 5vw, 4.5rem) 0 clamp(5rem, 9vw, 7.5rem); }
.workflow-section .section-intro > p:last-child { max-width: 40rem; color: var(--copy); }
.workflow-grid { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: workflow; }
.workflow-grid article { min-height: 13rem; padding: 1.6rem; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: .8rem; background: linear-gradient(145deg, rgba(21, 27, 38, .96), rgba(10, 14, 20, .96)); }
.workflow-grid article > span { color: var(--accent); font-size: .68rem; letter-spacing: .14em; }
.workflow-grid h3 { margin: 3rem 0 .6rem; font-size: 1.25rem; }
.workflow-grid p { margin-bottom: 0; color: var(--muted); font-size: .88rem; }

.free-access-callout { padding: clamp(3rem, 6vw, 4.5rem); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 7vw, 5rem); border: 1px solid #34445f; border-radius: 1rem; background: radial-gradient(circle at 15% 20%, rgba(120, 168, 255, .11), transparent 20rem), var(--panel); }
.free-access-callout h2 { max-width: 30ch; margin-bottom: 0; font-size: clamp(1.45rem, 2.2vw, 1.75rem); }
.free-access-callout > div:last-child { color: var(--copy); }
.text-link { display: inline-flex; gap: .5rem; align-items: center; color: var(--accent); font-size: .9rem; font-weight: 700; text-decoration: none; }
.text-link:hover span { transform: translateX(.2rem); }
.text-link span { transition: transform .15s ease; }
.platform-grid-compact { grid-template-columns: repeat(3, 1fr); }
.platform-grid-compact article { min-height: 12rem; }


.catalog-preview { margin-top: 2rem; padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 1rem; align-items: stretch; border: 1px solid var(--line); border-radius: 1rem; background: rgba(12, 16, 23, .9); }
.catalog-preview > div:first-child { padding-right: 2rem; }
.catalog-preview h2 { max-width: none; font-size: clamp(1.35rem, 1.8vw, 1.5rem); white-space: nowrap; }
.catalog-preview p { color: var(--muted); }
.catalog-placeholder { padding: 1.25rem; display: flex; flex-direction: column; justify-content: end; border: 1px dashed #3a4962; border-radius: .7rem; background: rgba(17, 22, 30, .76); }
.catalog-placeholder span { margin-bottom: auto; color: var(--accent); font-size: .65rem; font-weight: 720; letter-spacing: .08em; text-transform: uppercase; }
.catalog-placeholder strong { margin-top: 3rem; font-size: .9rem; }
.catalog-placeholder small { margin-top: .35rem; color: var(--muted); font-size: .72rem; }

.model-catalog-shell { width: min(calc(100% - 2rem), var(--content)); }
.catalog-section { padding: 3.5rem 0; border-top: 1px solid var(--line); }
.catalog-section-heading { margin-bottom: 1.6rem; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 7vw, 5rem); align-items: end; }
.catalog-section-heading h2 { max-width: 30ch; margin-bottom: 0; font-size: clamp(1.4rem, 2vw, 1.65rem); }
.catalog-section-heading > p { margin-bottom: 0; color: var(--copy); }
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.download-card { min-height: 15rem; padding: 1.5rem; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: .8rem; background: linear-gradient(145deg, rgba(20, 26, 36, .96), rgba(10, 14, 20, .96)); }
.download-card > span { color: var(--accent); font-size: .65rem; font-weight: 720; letter-spacing: .09em; text-transform: uppercase; }
.download-card h3 { margin: 2.6rem 0 .55rem; font-size: 1.2rem; }
.download-card p { color: var(--muted); font-size: .86rem; }
.download-card > strong { margin-top: auto; color: #7f8ca2; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.pending-card { border-style: dashed; }
.model-release { min-width: 0; }
.model-release h3 { margin-top: 1.2rem; }
.model-release-details { margin: .4rem 0 1.5rem; }
.model-release-details dt { margin-top: .85rem; color: var(--muted); font-size: .75rem; }
.model-release-details dd { margin: .25rem 0 0; font-size: .86rem; overflow-wrap: anywhere; }
.model-release-details code { font-size: .75rem; }
.model-release .button { margin-top: auto; }
.model-family { border: 1px solid var(--line); border-radius: .8rem; background: rgba(12, 16, 23, .9); }
.model-family > summary { padding: 1.1rem 1.3rem; cursor: pointer; }
.model-family > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: .8rem; }
.model-family > summary h2 { display: inline; margin: 0; font-size: 1.1rem; }
.model-family-icon { display: inline-grid; place-items: center; width: 2rem; height: 2rem; margin: 0 .65rem; border-radius: .65rem; background: #53427e; color: #fff; font-size: .85rem; vertical-align: middle; }
.model-family-count { display: inline-block; margin-left: .7rem; color: var(--muted); font-size: .75rem; font-weight: 400; }
.model-family > .download-grid { padding: 1rem; border-top: 1px solid var(--line); }
.catalog-license-note { max-width: var(--reading); margin: 2rem 0 0; color: var(--muted); font-size: .78rem; }



/* Subscription plans */
.plan-shell { width: min(calc(100% - 2rem), var(--content)); }
.plan-shell > h1 { max-width: 30ch; font-size: clamp(2rem, 3.2vw, 2.75rem); }
.plan-shell .section-intro h2 { max-width: 30ch; font-size: clamp(1.4rem, 2vw, 1.65rem); }
.plan-hero { margin: .75rem 0 4.5rem; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(20rem, .85fr); overflow: hidden; border: 1px solid #34445f; border-radius: 1rem; background: radial-gradient(circle at 82% 8%, rgba(120, 168, 255, .13), transparent 24rem), rgba(12, 16, 23, .94); }
.plan-hero-copy { padding: clamp(2rem, 5vw, 3.5rem); }
.plan-status { color: var(--success); font-size: .67rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.plan-hero h2 { max-width: 26ch; margin: 1.2rem 0 1rem; font-size: clamp(1.45rem, 2.2vw, 1.75rem); }
.plan-hero-copy > p { max-width: 38rem; color: var(--copy); }
.plan-checks { margin: 2rem 0 0; padding: 1.4rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.2rem; border-top: 1px solid var(--line); list-style: none; }
.plan-checks li { position: relative; padding-left: 1.2rem; color: var(--copy); font-size: .82rem; }
.plan-checks li::before { position: absolute; left: 0; color: var(--success); content: "●"; font-size: .55rem; }
.plan-price { padding: clamp(2rem, 5vw, 3rem); display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--line); background: linear-gradient(145deg, rgba(25, 33, 47, .88), rgba(11, 15, 22, .95)); }
.plan-price > span:first-child { color: var(--accent); font-size: .68rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.plan-price > strong { margin: .9rem 0 .75rem; display: flex; gap: .55rem; align-items: baseline; }
.plan-price > strong b { font-size: clamp(2.45rem, 4.4vw, 3.45rem); line-height: .98; letter-spacing: -.045em; }
.plan-price > strong small { color: var(--muted); font-size: .74rem; font-weight: 620; }
.plan-price p > strong { color: var(--ink); font-weight: 720; }
.plan-price p { color: var(--copy); font-size: .86rem; }
.plan-price .price-note { color: var(--success); font-size: .78rem; font-weight: 700; }
.plan-price .offer-status { margin-top: .55rem; padding: .85rem 1rem; border: 1px solid rgba(120, 168, 255, .28); border-radius: .55rem; color: #b8c5d9; background: rgba(120, 168, 255, .055); font-size: .68rem; font-weight: 720; letter-spacing: .06em; text-transform: uppercase; }
.plan-process { padding: 4.5rem 0; border-top: 1px solid var(--line); }
.process-grid { margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; list-style: none; }
.process-grid li { min-height: 15rem; padding: 1.4rem; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: .8rem; background: linear-gradient(145deg, rgba(20, 26, 36, .96), rgba(10, 14, 20, .96)); }
.process-grid li > span { color: var(--accent); font-size: .68rem; font-weight: 720; letter-spacing: .12em; }
.process-grid h3 { margin: auto 0 .55rem; font-size: 1.08rem; }
.process-grid p { margin: 0; color: var(--muted); font-size: .82rem; }
.plan-assurance { padding: 4.5rem 0; border-top: 1px solid var(--line); }
.plan-assurance .section-intro { max-width: 48rem; }
.plan-assurance .section-intro > p:last-child { color: var(--copy); }
.assurance-grid { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.assurance-grid article { min-height: 18rem; padding: 1.5rem; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: .8rem; background: linear-gradient(145deg, rgba(19, 25, 35, .97), rgba(10, 14, 20, .97)); }
.assurance-grid article > span { color: var(--success); font-size: .67rem; font-weight: 740; letter-spacing: .1em; text-transform: uppercase; }
.assurance-grid h3 { margin: 2.5rem 0 .65rem; font-size: 1.12rem; }
.assurance-grid p { margin: 0; color: var(--muted); font-size: .8rem; }
.assurance-grid nav { margin-top: auto; padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .55rem 1rem; border-top: 1px solid var(--line); }
.assurance-grid nav a { color: var(--accent); font-size: .75rem; text-decoration: none; }
.assurance-grid nav a:hover,
.assurance-grid nav a:focus-visible { text-decoration: underline; }
.plan-clarity { margin-bottom: 2rem; }

/* Customer account */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

[hidden] { display: none !important; }

.account-shell { width: min(calc(100% - 2rem), var(--content)); }
.account-shell > h1 { max-width: none; font-size: clamp(1.75rem, 2.5vw, 2.15rem); white-space: nowrap; }
.account-shell > .page-intro { max-width: 46rem; }

.account-state-card {
  max-width: 50rem;
  min-height: 17rem;
  margin: 3rem 0 2rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  border: 1px solid #34445f;
  border-radius: 1rem;
  background: radial-gradient(circle at 92% 8%, rgba(120, 168, 255, .12), transparent 22rem), rgba(12, 16, 23, .94);
}

.account-state-card h2 { max-width: none; margin-bottom: .65rem; font-size: clamp(1.35rem, 1.8vw, 1.55rem); }
.account-state-card p:not(.eyebrow) { max-width: 41rem; color: var(--copy); }
.account-state-card .button { margin-top: .5rem; }
.account-state-icon { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); background: var(--panel); font-size: 1rem; }
.account-spinner { width: 2.5rem; height: 2.5rem; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: account-spin .8s linear infinite; }

.account-summary,
.account-devices { margin: 3rem 0 2rem; padding: clamp(2rem, 5vw, 3.5rem); border: 1px solid var(--line); border-radius: 1rem; background: rgba(12, 16, 23, .92); }
.account-summary-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: start; }
.account-summary-heading h2 { max-width: none; margin-bottom: 0; font-size: 1.35rem; }
.account-metrics { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.account-metrics article { min-height: 10.5rem; padding: 1.25rem; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: .75rem; background: linear-gradient(145deg, rgba(21, 27, 38, .96), rgba(10, 14, 20, .96)); }
.account-metrics article > span { color: var(--muted); font-size: .68rem; font-weight: 720; letter-spacing: .08em; text-transform: uppercase; }
.account-metrics article > strong { margin: auto 0 .35rem; color: var(--ink); font-size: 1.05rem; line-height: 1.35; }
.account-metrics article > strong b { font-size: 1.65rem; font-weight: 760; }
.account-metrics article > small { color: var(--muted); font-size: .72rem; }
.account-metrics .text-link { margin-top: .35rem; font-size: .74rem; }
.account-status { display: inline-flex; align-items: center; gap: .45rem; }
.account-status::before { width: .55rem; height: .55rem; border-radius: 50%; background: #7f8ca2; content: ""; }
.account-status.is-active::before { background: var(--success); box-shadow: 0 0 .7rem rgba(98, 229, 170, .5); }
.account-status.is-warning::before { background: #f1c86d; }
.account-status.is-expired::before { background: #ff7e86; }

.account-devices { display: grid; grid-template-columns: minmax(0, .85fr) minmax(24rem, 1.15fr); gap: clamp(2rem, 6vw, 5rem); }
.account-devices > div > p:last-child { color: var(--copy); font-size: .85rem; }
.account-devices ul { margin: 0; padding: 0; display: grid; gap: .7rem; list-style: none; }
.device-slot { padding: 1rem 1.1rem; display: flex; justify-content: space-between; gap: 1rem; border: 1px solid var(--line); border-radius: .65rem; background: var(--panel); }
.device-slot strong { color: var(--ink); font-size: .86rem; }
.device-slot span { color: var(--muted); font-size: .75rem; text-align: right; }
.device-slot.is-registered { border-color: rgba(98, 229, 170, .36); }

@keyframes account-spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .site-header { flex-wrap: wrap; row-gap: .65rem; padding: .85rem 0; }
  .site-header nav { order: 3; flex-basis: 100%; justify-content: flex-end; }
  .theme-control { order: 2; margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 4rem; }
  .launch-hero { grid-template-columns: minmax(0, 1fr); }
  .launch-copy { max-width: 42rem; }
  .launch-copy h1,
  .release-card h2 { white-space: normal; }
  .studio-preview { width: 100%; }
  .platform-grid-compact { grid-template-columns: 1fr; }
  .release-card { max-width: 30rem; }
  .requirements-panel { grid-template-columns: 1fr; }
  .catalog-preview { grid-template-columns: 1fr 1fr; }
  .catalog-preview > div:first-child { grid-column: 1 / -1; }
  .plan-hero { grid-template-columns: 1fr; }
  .plan-price { border-top: 1px solid var(--line); border-left: 0; }
  .catalog-section-heading { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .assurance-grid { grid-template-columns: 1fr; }
  .assurance-grid article { min-height: 0; }
  .account-metrics { grid-template-columns: 1fr; }
  .account-metrics article { min-height: 8.5rem; }
  .account-devices { grid-template-columns: 1fr; }
  .device-stage { width: min(100%, 30rem); margin: 0 auto; }
  .model-section { gap: 2rem; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer nav { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .site-header { min-height: 0; padding: .85rem 0 .75rem; flex-direction: column; align-items: flex-start; gap: .55rem; }
  .site-header nav { order: initial; width: 100%; justify-content: space-between; gap: .45rem; flex-wrap: nowrap; }
  .site-header nav a { padding: .2rem 0; font-size: .68rem; }
  .theme-control { order: initial; width: 100%; justify-content: space-between; margin-left: 0; }
  .hero { padding: 3.5rem 0 4.75rem; }
  .launch-hero { min-height: 0; padding: 3.5rem 0 4.5rem; grid-template-columns: minmax(0, 1fr); }
  .launch-copy h1 { font-size: clamp(1.65rem, 7vw, 2rem); }
  .launch-copy .hero-actions { flex-direction: column; align-items: stretch; }
  .launch-copy .button { width: 100%; max-width: 100%; padding-inline: .8rem; text-align: center; overflow-wrap: anywhere; }
  .studio-preview { display: none; }
  .launch-proof { gap: .4rem; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-grid article { min-height: 13rem; }
  .free-access-callout { padding: 2rem; grid-template-columns: 1fr; }
  .plan-checks { grid-template-columns: 1fr; }
  .requirements-grid { grid-template-columns: 1fr; }
  .catalog-preview { padding: 1.5rem; grid-template-columns: 1fr; }
  .catalog-preview > div:first-child { grid-column: 1; padding-right: 0; }
  .catalog-preview h2 { white-space: normal; }
  .download-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li { min-height: 12rem; }
  h1 { font-size: clamp(1.65rem, 7vw, 2rem); }
  .device-stage { padding: .5rem 0; }
  .device { transform: none; }
  .model-section { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article, .platform-grid article { min-height: 0; }
  .feature-grid h3, .platform-grid h3 { margin-top: 2rem; }
  .page-shell { padding-top: 3.5rem; }
  .page-shell h1 { font-size: clamp(1.65rem, 7vw, 2rem); }
  .plan-shell > h1,
  .account-shell > h1 { font-size: clamp(1.65rem, 7vw, 2rem); white-space: normal; }
  .account-state-card { grid-template-columns: 1fr; }
  .account-summary-heading { flex-direction: column; gap: .75rem; }
  .device-slot { flex-direction: column; }
  .device-slot span { text-align: left; }
  .content-section { grid-template-columns: 1fr; row-gap: .75rem; }
  .content-section h2,
  .content-section > :not(h2) { grid-column: 1; }
  .content-section h2 { margin-bottom: .35rem; }
  .status-table, .status-table tbody, .status-table tr, .status-table td { display: block; }
  .status-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .status-table tr { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .status-table td { padding: .15rem 0; border: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .account-spinner { animation: none; }
}

/* Light mode keeps the same hierarchy while lifting the page surfaces. */
html[data-theme="light"] body {
  background:
    radial-gradient(circle at 78% 12%, rgba(83, 132, 220, .12), transparent 27rem),
    radial-gradient(circle at 15% 42%, rgba(24, 159, 111, .055), transparent 25rem),
    var(--background);
}

html[data-theme="light"] .site-header { border-bottom-color: var(--line); }
html[data-theme="light"] .button-primary { border-color: #4778bd; color: #fff; }
html[data-theme="light"] .button-primary:hover,
html[data-theme="light"] .button-primary:focus-visible { background: #244d88; border-color: #244d88; }
html[data-theme="light"] .button-secondary { background: rgba(255, 255, 255, .82); }
html[data-theme="light"] .platform-grid article,
html[data-theme="light"] .feature-grid article,
html[data-theme="light"] .workflow-grid article,
html[data-theme="light"] .download-card,
html[data-theme="light"] .model-family,
html[data-theme="light"] .catalog-preview,
html[data-theme="light"] .catalog-placeholder,
html[data-theme="light"] .plan-hero,
html[data-theme="light"] .plan-price,
html[data-theme="light"] .process-grid li,
html[data-theme="light"] .assurance-grid article,
html[data-theme="light"] .account-state-card,
html[data-theme="light"] .account-summary,
html[data-theme="light"] .account-devices,
html[data-theme="light"] .account-metrics article {
  background: var(--panel);
}
html[data-theme="light"] .platform-grid article,
html[data-theme="light"] .feature-grid article,
html[data-theme="light"] .workflow-grid article,
html[data-theme="light"] .download-card,
html[data-theme="light"] .model-family,
html[data-theme="light"] .catalog-preview,
html[data-theme="light"] .plan-hero,
html[data-theme="light"] .account-state-card,
html[data-theme="light"] .account-summary,
html[data-theme="light"] .account-devices {
  border-color: var(--line);
}
html[data-theme="light"] .free-access-callout { border-color: var(--line); }
html[data-theme="light"] .plan-price { border-left-color: var(--line); }
html[data-theme="light"] .plan-price .offer-status { color: var(--copy); background: rgba(36, 89, 166, .07); }
html[data-theme="light"] .launch-proof span { background: rgba(255, 255, 255, .72); }
html[data-theme="light"] .model-family-icon { color: #fff; }
/* The homepage preview follows the selected page mode. */
html[data-theme="light"] .studio-preview {
  color: var(--ink);
  --ink: #172033;
  --muted: #61708a;
  --copy: #3e4b62;
  --accent: #2459a6;
  --success: #087b55;
  --panel: #ffffff;
  --raised: #e7edf5;
  --line: #d2dce9;
}
html[data-theme="light"] .studio-window { border-color: var(--line); background: #fff; box-shadow: 0 2rem 6rem rgba(27, 49, 82, .2), 0 0 4rem rgba(73, 121, 211, .08); }
html[data-theme="light"] .studio-topbar { background: #eef2f7; }
html[data-theme="light"] .studio-toolbar small { color: var(--copy); }
html[data-theme="light"] .preview-card { background: #f7f9fc; }
html[data-theme="light"] .preview-field { color: var(--copy); }
html[data-theme="light"] .preview-canvas { background: radial-gradient(circle, rgba(83, 132, 220, .1), transparent 35%), #f5f7fb; }
html[data-theme="light"] .preview-actions span,
html[data-theme="light"] .preview-queue div { color: var(--copy); }
