:root {
  --bg: 12 17 27;
  --bg-elevated: 19 27 41;
  --bg-subtle: 28 38 56;
  --fg: 239 244 255;
  --fg-muted: 169 184 205;
  --border: 45 60 81;
  --brand-400: 142 187 255;
  --brand-500: 69 129 244;
  --brand-600: 44 94 199;
  --metal: 142 187 255;
  --paper: 242 247 255;
  --paper-muted: 79 99 127;
  --ink: 17 34 60;
}
.navbar { border-bottom: none; background: rgb(var(--bg) / .9); }
.navbar > .container { height: 76px; }
.nav-brand-text { letter-spacing: -.04em; }
.nav-links { gap: 7px; }
.nav-link { padding: 10px 13px; border-radius: 10px; }
.nav-link:hover, .nav-link.active { background: rgb(var(--fg) / .06); color: rgb(var(--brand-400)); }
.hero-section { padding-top: 112px; background: rgb(var(--paper)); }
.hero-poster { display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1.25fr); gap: 24px 40px; }
.hero-kicker { grid-column: 1 / -1; margin-bottom: 10px; align-items: center; border-bottom-color: rgb(var(--ink) / .13); }
.hero-edition { border: 1px solid rgb(var(--ink) / .18); border-radius: 8px; padding: 8px 11px; }
.hero-title { grid-column: 1; grid-row: 2; font-size: clamp(68px,7.5vw,112px); line-height: .96; margin: 0; letter-spacing: -.025em; }
.hero-title > span { display: block; }
.hero-title > span + span { padding-left: 0; color: rgb(var(--brand-600)); margin-top: 6px; }
.hero-product { display: contents; }
.hero-copy { grid-column: 1; grid-row: 3; padding: 0 0 10px; }
.hero-copy > p { max-width: 400px; font-size: 15px; line-height: 1.85; }
.hero-actions { margin-top: 24px; gap: 17px; }
.hero-actions .btn-primary { background: rgb(var(--ink)); border-color: rgb(var(--ink)); color: rgb(var(--paper)); border-radius: 12px; min-height: 56px; font-size: 13px; }
.hero-actions .btn-primary:hover { background: rgb(var(--brand-600)); border-color: rgb(var(--brand-600)); }
.hero-actions .button-arrow { color: rgb(var(--paper)); background: rgb(var(--paper) / .12); border-radius: 8px; }
.hero-meta { margin-top: 22px; }
.hero-capture { grid-column: 2; grid-row: 2 / 4; align-self: center; margin: 0; padding: 10px; background: rgb(var(--bg)); border: 1px solid rgb(var(--ink) / .16); border-radius: 22px; box-shadow: 0 22px 60px rgb(var(--ink) / .13); }
.hero-capture img { display: block; border-radius: 13px; width: 100%; height: auto; }
.hero-capture img, .product-image-wrap img { aspect-ratio: 16 / 8.4; object-fit: cover; object-position: top; }
.product-stage { position: sticky; top: 100px; align-self: start; }
.product-image-wrap { overflow: hidden; }
.product-window { box-shadow: 0 20px 60px rgb(var(--ink) / .12); }
.product-step button[aria-pressed="true"] { border-color: rgb(var(--brand-400) / .6); }
@media (max-width: 767px) { .product-stage { position: static; } }
.hero-capture figcaption { border-top: none; padding: 15px 9px 5px; }
.hero-bottom { grid-column: 1 / -1; margin-top: 18px; border-top-color: rgb(var(--ink) / .13); }
.section-heading { gap: 40px; }
.section-heading h2, .diagnostic-copy h2, .social-copy h2 { letter-spacing: -.025em; }
.product-steps { gap: 12px; border-top: none; }
.product-step, .product-step + .product-step { border: 1px solid rgb(var(--border)); border-radius: 16px; background: rgb(var(--bg-elevated)); padding: 22px; }
.product-step:has(button[aria-pressed="true"]) { border-color: rgb(var(--brand-400) / .7); background: rgb(var(--brand-500) / .08); }
.product-step p { font-size: 13px; line-height: 1.75; }
.product-window, .diagnostic-window, .project-card, .studio-config { border-radius: 18px; }
.project-card { border-color: rgb(var(--border)); }
.project-card:hover { border-color: rgb(var(--brand-400) / .55); }
.feature-strip { margin-top: 32px; border-top: 1px solid rgb(var(--border)); }
.btn-primary, .btn-secondary, .btn-download-main, .btn-download-mod, .btn-primary-nav { border-radius: 11px; font-weight: 600; }
.btn-primary-nav { min-height: 44px; }
.account-story h2 { font-size: clamp(60px,6.7vw,90px); }
.account-card-lux { border-radius: 22px; background: rgb(var(--bg-elevated)); }
.account-portal-section { gap: 65px; }
.social-card { border-radius: 18px; }
.download-section { padding-block: 88px; }
.download-card { border-radius: 18px; padding: 24px; margin-top: 12px; border: 1px solid rgb(var(--border)); }
.download-card.is-detected { border-color: rgb(var(--brand-400) / .7); }
.site-footer { border-top-color: rgb(var(--border)); }
@media (max-width: 1100px) {
  .hero-poster { grid-template-columns: minmax(0,.85fr) minmax(0,1fr); gap: 22px 28px; }
  .hero-title { font-size: clamp(62px,8vw,88px); }
  .hero-copy > p { font-size: 14px; }
  .hero-actions { flex-wrap: wrap; }
}
@media (max-width: 767px) {
  .container { width: calc(100% - 36px); }
  .hero-section { padding-top: 100px; }
  .hero-poster { display: flex; flex-direction: column; gap: 24px; }
  .hero-kicker { font-size: 9px; margin: 0; gap: 12px; }
  .hero-edition { font-size: 8px; flex-shrink: 0; }
  .hero-title { font-size: clamp(64px,16vw,88px); }
  .hero-copy { padding: 0; }
  .hero-copy > p { max-width: none; }
  .hero-capture { width: 100%; padding: 7px; border-radius: 16px; }
  .hero-bottom { margin-top: 0; flex-wrap: wrap; }
  .product-steps { grid-template-columns: 1fr; }
  .product-step, .product-step + .product-step { padding: 18px; }
  .section-heading { gap: 22px; }
  .account-portal-section { width: calc(100% - 36px); }
  .download-card { padding: 20px; }
}

.hero-title { color: rgb(var(--ink)); }
.hero-kicker, .hero-copy > p, .hero-actions .text-link, .hero-meta, .hero-bottom { color: rgb(var(--paper-muted)); }
.hero-meta b, .hero-bottom .scroll-cue, .hero-bottom .scroll-cue span { color: rgb(var(--ink)); }
.hero-actions .btn-primary .button-arrow { background: rgb(var(--paper) / .12); color: rgb(var(--paper)); }

.hero-section { position: relative; overflow: hidden; }
.hero-section::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35; background-image: linear-gradient(rgb(var(--ink) / .065) 1px,transparent 1px),linear-gradient(90deg,rgb(var(--ink) / .065) 1px,transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to right,transparent 35%,black); }
.hero-poster { position: relative; }
.hero-capture { transform: perspective(1800px) rotateY(-3deg); transition: transform 240ms ease; }
.hero-capture:hover { transform: perspective(1800px) rotateY(0); }
.hero-capture figcaption { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: rgb(var(--fg-muted)); }
.section-heading > div:first-child { max-width: 640px; }
.product-step { position: relative; transition: border-color 180ms ease,background-color 180ms ease,transform 180ms ease; }
.product-step:hover { transform: translateY(-3px); border-color: rgb(var(--brand-400) / .45); }
.download-card { position: relative; overflow: hidden; transition: border-color 180ms ease,transform 180ms ease; }
.download-card:hover { transform: translateY(-3px); border-color: rgb(var(--brand-400) / .55); }
.download-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg,transparent,rgb(var(--brand-400) / .75),transparent); }
.project-icon { object-fit: contain; padding: 4px; background: rgb(var(--bg-subtle)); border: 1px solid rgb(var(--border)); }
.project-card { border-radius: 18px; background: rgb(var(--bg-elevated)); }
.project-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
@media (max-width: 900px) { .hero-capture { transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-capture,.product-step,.download-card { transform: none !important; transition: none !important; } }
.performance-readout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-block: 26px;
}
.performance-readout article {
  border: 1px solid rgb(var(--border));
  border-radius: 14px;
  padding: 26px;
  background: rgb(var(--bg-elevated));
}
.performance-readout strong {
  display: block;
  margin-block: 12px;
  font-size: clamp(28px, 4vw, 46px);
  color: rgb(var(--fg));
}
.performance-readout p, .performance-readout span, .performance-method {
  color: rgb(var(--fg-muted));
  font-size: 13px;
  line-height: 1.7;
}
.performance-method { max-width: 850px; margin-bottom: 20px; }
@media (max-width: 600px) { .performance-readout { grid-template-columns: 1fr; } }

.motion-item { transition: opacity 650ms ease, translate 650ms cubic-bezier(.16,1,.3,1); transition-delay: var(--motion-delay, 0ms); }
.motion-item:not(.motion-entered) { opacity: 0; translate: 0 30px; }
.motion-item.motion-entered { opacity: 1; translate: 0 0; }
.hero-capture.motion-entered { translate: var(--capture-x, 0px) var(--capture-y, 0px); transition-duration: 650ms, 360ms; }
.feature-strip article, .party-card, .performance-readout article { transition: border-color 240ms ease, box-shadow 240ms ease, opacity 650ms ease, translate 650ms cubic-bezier(.16,1,.3,1); }
.feature-strip article:hover, .party-card:hover, .performance-readout article:hover { border-color: rgb(var(--brand-400) / .4); box-shadow: 0 12px 28px rgb(var(--fg) / .04); }
.motion-paused .hero-capture, .motion-paused .hero-capture:hover, .motion-paused .product-step, .motion-paused .download-card { transform: none; }
.motion-paused .motion-item { opacity: 1; translate: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
  .motion-item { opacity: 1 !important; translate: none !important; transition: none !important; }
}

:root { --design-radius: 24px; }
.navbar { border-bottom: 1px solid rgb(var(--border) / .5); backdrop-filter: blur(18px); }
.navbar .nav-link { border-radius: 12px; font-weight: 500; }
.nav-brand { gap: 12px; }
.hero-section { padding-bottom: 38px; background: radial-gradient(ellipse at 85% 15%, rgb(var(--brand-400) / .2), transparent 58%), rgb(var(--paper)); }
.hero-title { letter-spacing: -.065em; font-weight: 700; }
.hero-copy > p { font-size: 16px; line-height: 1.85; }
.hero-kicker { letter-spacing: .13em; }
.hero-capture { padding: 9px; border-radius: 24px; box-shadow: 0 35px 75px rgb(var(--ink) / .2), 0 2px 8px rgb(var(--ink) / .15); }
.hero-capture figcaption a { display: grid; place-items: center; height: 32px; width: 32px; border: 1px solid rgb(var(--border)); border-radius: 10px; color: rgb(var(--brand-400)); }
.hero-edition { border-radius: 100px; background: rgb(var(--paper) / .6); }
.section-tag { display: inline-flex; align-items: center; gap: 10px; color: rgb(var(--brand-400)); letter-spacing: .13em; }
.section-tag::before { content: ''; width: 20px; height: 2px; border-radius: 2px; background: currentColor; }
.section-heading h2 { letter-spacing: -.05em; line-height: 1.08; }
.section-heading > p { line-height: 1.9; }
.product-window { border-radius: 24px; box-shadow: 0 20px 70px rgb(var(--brand-500) / .08); }
.product-steps { gap: 14px; }
.product-step { border-radius: 20px; }
.product-step button > span { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgb(var(--border)); border-radius: 12px; color: rgb(var(--fg-muted)); }
.product-step:has(button[aria-pressed='true']) { box-shadow: inset 3px 0 0 rgb(var(--brand-400)); background: linear-gradient(120deg, rgb(var(--brand-500) / .08), transparent), rgb(var(--bg-elevated)); }
.product-step button[aria-pressed='true'] > span { color: rgb(var(--brand-400)); border-color: rgb(var(--brand-400) / .4); }
.feature-strip { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; border: none; }
.feature-strip article, .feature-strip article + article { padding: 26px; border: 1px solid rgb(var(--border)); border-radius: 22px; background: rgb(var(--bg-elevated)); }
.feature-strip article h3 { margin-top: 24px; font-size: 19px; letter-spacing: -.035em; }
.feature-strip article p { font-size: 13px; line-height: 1.8; }
.catalog-section .search-input-wrapper { padding: 16px 20px; border: 1px solid rgb(var(--border)); border-radius: 18px; background: rgb(var(--bg-elevated)); margin-bottom: 20px; }
.catalog-filter-row { gap: 16px; }
.search-pills { gap: 6px; padding: 5px; border: 1px solid rgb(var(--border)); border-radius: 16px; background: rgb(var(--bg-elevated)); }
.search-pill { border-radius: 11px; padding: 10px 14px; }
.search-pill.active { color: rgb(var(--brand-400)); background: rgb(var(--brand-500) / .12); }
.catalog-filters select { border-radius: 10px; min-height: 38px; background: rgb(var(--bg-elevated)); }
.mod-grid { gap: 18px; }
.project-card { padding: 0; border-radius: 22px; overflow: hidden; border: 1px solid rgb(var(--border)); background: rgb(var(--bg-elevated)); }
.project-cover { height: 155px; position: relative; overflow: hidden; background: radial-gradient(ellipse at 20% 0, rgb(var(--brand-400) / .16), transparent), rgb(var(--bg-subtle)); }
.project-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms cubic-bezier(.16,1,.3,1); }
.project-cover.has-icon img { object-fit: contain; padding: 28px; }
.project-provider { position: absolute; right: 12px; top: 12px; padding: 7px 10px; border: 1px solid rgb(var(--border)); border-radius: 9px; background: rgb(var(--bg) / .9); color: rgb(var(--fg)); font-size: 9px; font-weight: 600; }
.project-body { flex: 1; padding: 20px; }
.project-card .project-icon { width: 44px; height: 44px; border-radius: 12px; }
.project-card .project-title { font-size: 15px; font-weight: 600; }
.project-card .project-desc { font-size: 12px; line-height: 1.7; min-height: 40px; }
.project-card .project-tag { border-radius: 8px; padding: 5px 7px; background: rgb(var(--bg-subtle)); }
.project-card .project-footer { padding: 15px 20px; margin: 0; background: rgb(var(--bg) / .25); }
.project-footer .btn-download-mod { font-size: 10px; border-radius: 10px; }
.privacy-band { border-block: 1px solid rgb(var(--border)); background: linear-gradient(110deg, rgb(var(--brand-500) / .08), transparent); }
.social-card, .party-card, .account-card-lux, .account-summary-card { border-radius: 24px; border-color: rgb(var(--border)); box-shadow: inset 0 1px 0 rgb(var(--fg) / .04); }
.download-card { border-radius: 24px; padding: 28px; background: linear-gradient(145deg, rgb(var(--brand-500) / .035), transparent 65%), rgb(var(--bg-elevated)); }
.download-card.is-detected { box-shadow: 0 0 0 1px rgb(var(--brand-400) / .2), 0 20px 45px rgb(var(--brand-500) / .06); }
.download-card .btn-download-main { min-height: 48px; border-radius: 13px; }
.faq-item, .faq-item:last-child { margin-bottom: 10px; padding: 0 22px; border: 1px solid rgb(var(--border)); border-radius: 18px; background: rgb(var(--bg-elevated)); }
.faq-item[open] { border-color: rgb(var(--brand-400) / .45); }
.faq-item p { padding-bottom: 20px; }
.legal-content, .auth-feedback, .security-panel { border-radius: 22px; }
:is(a, button, input, select, summary):focus-visible { outline: 2px solid rgb(var(--brand-400)); outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
    .project-card:hover .project-cover img { transform: scale(1.045); }
    .btn-primary, .btn-download-main, .btn-primary-nav { transition: background-color 200ms ease, box-shadow 200ms ease, translate 200ms ease; }
    .btn-primary:hover, .btn-download-main:hover, .btn-primary-nav:hover { translate: 0 -2px; box-shadow: 0 8px 25px rgb(var(--brand-500) / .14); }
}
.motion-paused .project-card img, .motion-paused :is(.btn-primary, .btn-download-main, .btn-primary-nav) { transform: none; translate: none; transition: none; }
@media (max-width: 900px) { .feature-strip { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .hero-copy > p { font-size: 14px; } .hero-capture { padding: 7px; border-radius: 18px; } .project-cover { height: 170px; } .feature-strip article { padding: 22px; } }
