/* VScripts Release 07 — a quiet, image-led software shelf after dark */
:root {
  color-scheme: dark;
  --bg: oklch(0.095 0.008 255);
  --bg-soft: oklch(0.12 0.009 255);
  --surface: oklch(0.145 0.009 255);
  --surface-raised: oklch(0.175 0.012 255);
  --text: oklch(0.965 0.006 255);
  --text-soft: oklch(0.75 0.015 255);
  --muted: oklch(0.59 0.018 255);
  --line: oklch(0.29 0.014 255 / 0.78);
  --line-bright: oklch(0.44 0.025 255 / 0.7);
  --blue: oklch(0.69 0.17 252);
  --blue-bright: oklch(0.76 0.15 248);
  --red: oklch(0.64 0.21 27);
  --mint: oklch(0.78 0.14 162);
  --shell: 1240px;
  --radius: 16px;
  --radius-sm: 11px;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
  --page-progress: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 88% -8%, oklch(0.42 0.11 253 / 0.15), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(oklch(1 0 0 / 0.018) 1px, transparent 1px), linear-gradient(90deg, oklch(1 0 0 / 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 56rem);
  content: "";
  pointer-events: none;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select { color: inherit; }
button { cursor: pointer; }
::selection { background: var(--blue); color: oklch(0.12 0.04 252); }
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 4px; }

.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 12px 16px; border-radius: 8px; background: var(--text); color: var(--bg); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.page-progress { position: fixed; z-index: 101; top: 0; left: 0; width: 100%; height: 2px; pointer-events: none; }
.page-progress span { display: block; width: calc(var(--page-progress) * 100%); height: 100%; background: var(--blue); box-shadow: 0 0 18px var(--blue); }

/* Navigation */
.site-header { position: sticky; z-index: 100; top: 0; padding: 16px 0 0; pointer-events: none; }
.nav-shell {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 64px;
  padding: 8px 10px 8px 14px;
  border: 1px solid oklch(0.32 0.016 255 / 0.62);
  border-radius: var(--radius);
  background: oklch(0.115 0.009 255 / 0.88);
  box-shadow: 0 18px 55px oklch(0.03 0.01 255 / 0.36);
  backdrop-filter: blur(24px) saturate(140%);
  pointer-events: auto;
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; letter-spacing: -0.02em; }
.brand-mark { width: 31px; height: 31px; }
.wordmark-name { white-space: nowrap; }
.wordmark-name em { color: var(--blue-bright); font-style: normal; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 3px; }
.desktop-nav a { padding: 10px 14px; border-radius: 9px; color: var(--text-soft); font-size: 14px; font-weight: 570; transition: color .2s, background .2s; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { background: oklch(1 0 0 / 0.055); color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-link-icon { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 12px; border-radius: 10px; color: var(--text-soft); font-size: 13px; font-weight: 650; transition: background .2s, color .2s; }
.nav-link-icon:hover { background: oklch(1 0 0 / 0.055); color: var(--text); }
.auth-trigger, .text-action {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid oklch(0.42 0.025 255 / 0.7);
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  font-size: 13px;
  font-weight: 720;
  transition: transform .2s var(--ease), background .2s;
}
.auth-trigger:hover, .text-action:hover { background: var(--blue-bright); transform: translateY(-1px); }
.menu-trigger { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: oklch(1 0 0 / 0.06); }
.menu-trigger span { display: block; width: 18px; height: 1px; margin: 5px auto; background: var(--text); }
.menu-trigger b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.mobile-nav { display: none; }

/* Shared type and controls */
.eyebrow { margin: 0 0 14px; color: var(--blue-bright); font-size: 12px; font-weight: 730; letter-spacing: .11em; text-transform: uppercase; }
.wordmark, .eyebrow, .display-title, .page-title, .section-title, .button,
.product-card h2, .detail-copy h1, .detail-block h2, .checkout-card h1,
.legal h1, .legal h2, .account-dialog h2, .notice-dialog h2 {
  font-family: "Archivo", "IBM Plex Sans", system-ui, sans-serif;
}
.display-title { margin: 0; max-width: 900px; font-size: clamp(3rem, 6.6vw, 5.5rem); font-variation-settings: "wdth" 86; font-weight: 670; letter-spacing: -.068em; line-height: .94; text-wrap: balance; }
.page-title { margin: 0; font-size: clamp(3rem, 6vw, 5.1rem); font-variation-settings: "wdth" 86; font-weight: 650; letter-spacing: -.064em; line-height: .95; }
.section-title { margin: 0; max-width: 700px; font-size: clamp(2rem, 4vw, 3.5rem); font-variation-settings: "wdth" 91; font-weight: 640; letter-spacing: -.052em; line-height: 1; text-wrap: balance; }
.lead { max-width: 660px; color: var(--text-soft); font-size: clamp(1.05rem, 1.7vw, 1.25rem); line-height: 1.62; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 52px; padding: 0 20px; border: 1px solid transparent; border-radius: 11px; font-size: 14px; font-weight: 720; transition: transform .22s var(--ease), border-color .22s, background .22s; }
.button b { font-size: 17px; font-weight: 500; }
.button:hover { transform: translateY(-2px); }
.button-primary { border-color: var(--blue); background: var(--blue); color: oklch(0.12 0.04 252); }
.button-primary:hover { background: var(--blue-bright); border-color: var(--blue-bright); }
.button-ghost { border-color: var(--line-bright); background: oklch(1 0 0 / .025); color: var(--text); }
.button-ghost:hover { border-color: oklch(0.61 0.04 255); background: oklch(1 0 0 / .055); }
.inline-link { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 4px; border-bottom: 1px solid var(--line-bright); font-size: 14px; font-weight: 680; }
.inline-link:hover { border-color: var(--blue); color: var(--blue-bright); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Homepage hero */
.store-hero { padding-top: clamp(78px, 10vw, 140px); }
.store-hero-copy { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .68fr); align-items: end; gap: 56px; }
.store-hero-copy .lead { margin: 0 0 4px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero-showcase {
  position: relative;
  display: block;
  aspect-ratio: 2 / .92;
  margin-top: 62px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  isolation: isolate;
}
.hero-showcase::before { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, oklch(0.06 0.01 255 / .72), transparent 50%, oklch(0.05 0.01 255 / .12)), linear-gradient(0deg, oklch(0.04 0.01 255 / .78), transparent 58%); content: ""; }
.hero-showcase img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .8s; }
.hero-showcase:hover img { transform: scale(1.025); filter: saturate(1.1); }
.hero-showcase-top, .hero-showcase-bottom { position: absolute; z-index: 2; right: 26px; left: 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hero-showcase-top { top: 24px; }
.hero-showcase-top span { padding: 7px 10px; border: 1px solid oklch(1 0 0 / .2); border-radius: 999px; background: oklch(0.08 0.01 255 / .58); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(8px); }
.hero-showcase-top b { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; background: var(--text); color: var(--bg); font-size: 20px; transition: transform .3s var(--ease); }
.hero-showcase:hover .hero-showcase-top b { transform: rotate(45deg); }
.hero-showcase-bottom { bottom: 26px; align-items: end; }
.hero-showcase-bottom div span { display: block; margin-bottom: 4px; color: var(--text-soft); font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; }
.hero-showcase-bottom strong { font-size: clamp(1.7rem, 3vw, 2.8rem); letter-spacing: -.045em; }
.hero-showcase-bottom > span { max-width: 280px; color: var(--text-soft); font-size: 13px; text-align: right; }
.proof-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 18px; border-block: 1px solid var(--line); }
.proof-strip div { min-height: 104px; padding: 24px 26px; border-right: 1px solid var(--line); }
.proof-strip div:last-child { border: 0; }
.proof-strip strong { display: block; margin-bottom: 5px; font-size: 14px; }
.proof-strip span { color: var(--muted); font-size: 12px; }

/* Sections */
.store-section { padding-block: clamp(92px, 11vw, 148px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.section-heading-copy { max-width: 600px; }
.section-heading-copy > p:last-child { margin: 16px 0 0; color: var(--text-soft); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: transform .35s var(--ease), border-color .35s, background .35s; }
.product-card:hover { transform: translateY(-5px); border-color: var(--line-bright); background: var(--surface-raised); }
.product-card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-soft); }
.product-card-media::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 56%, oklch(0.05 0.01 255 / .38)); content: ""; pointer-events: none; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s var(--ease), filter .5s; }
.product-card:hover .product-card-media img { transform: scale(1.045); filter: saturate(1.08) contrast(1.02); }
.product-card-badge { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 6px 9px; border: 1px solid oklch(1 0 0 / .22); border-radius: 999px; background: oklch(0.08 0.01 255 / .76); font-size: 10px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; backdrop-filter: blur(8px); }
.product-card-open { position: absolute; z-index: 2; right: 14px; bottom: 14px; display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: var(--text); color: var(--bg); font-size: 17px; opacity: 0; transform: translateY(6px) rotate(0); transition: opacity .25s, transform .35s var(--ease); }
.product-card:hover .product-card-open { opacity: 1; transform: translateY(0) rotate(45deg); }
.product-card-body { padding: 20px 20px 18px; }
.product-card-heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.product-card-code { display: block; margin-bottom: 5px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .09em; }
.product-card h2 { margin: 0; font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 630; letter-spacing: -.035em; line-height: 1.1; }
.product-card-heading > strong { padding-top: 17px; color: var(--text); font-size: 14px; white-space: nowrap; }
.product-card-body > p { min-height: 4.65em; margin: 16px 0 22px; color: var(--text-soft); font-size: 13px; line-height: 1.55; }
.product-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; font-weight: 650; letter-spacing: .025em; text-transform: uppercase; }
.product-card-meta span:last-child { overflow: hidden; text-align: right; text-overflow: ellipsis; white-space: nowrap; }

.world-feature { display: grid; grid-template-columns: 1.2fr .8fr; min-height: 560px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.world-feature-media { position: relative; min-height: 420px; overflow: hidden; }
.world-feature-media::after { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--surface)); content: ""; }
.world-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.world-feature-copy { align-self: center; padding: clamp(32px, 5vw, 72px); }
.world-feature-copy p:not(.eyebrow) { margin: 24px 0 30px; color: var(--text-soft); }
.world-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; }
.world-stats div { padding-top: 16px; border-top: 1px solid var(--line); }
.world-stats strong { display: block; font-size: 22px; }
.world-stats span { color: var(--muted); font-size: 11px; }

.creator-panel { display: grid; grid-template-columns: .82fr 1.18fr; min-height: 500px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.creator-panel-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(36px, 6vw, 80px); }
.creator-panel-copy .lead { margin: 24px 0 34px; font-size: 16px; }
.creator-panel-media { position: relative; min-height: 420px; }
.creator-panel-media::after { position: absolute; inset: 0; background: linear-gradient(90deg, var(--surface), transparent 35%); content: ""; }
.creator-panel-media img { width: 100%; height: 100%; object-fit: cover; }
.creator-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.creator-points div { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: oklch(1 0 0 / .018); }
.creator-points strong { display: block; margin-bottom: 7px; font-size: 13px; }
.creator-points span { color: var(--muted); font-size: 12px; }

.faq-list { max-width: 920px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; cursor: pointer; font-weight: 610; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { color: var(--blue-bright); content: "+"; font-size: 24px; font-weight: 350; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { max-width: 720px; margin: -4px 0 26px; color: var(--text-soft); }

/* Catalog */
.catalog-hero { padding: clamp(94px, 12vw, 154px) 0 54px; border-bottom: 1px solid var(--line); }
.catalog-hero .lead { margin: 26px 0 0; }
.catalog-area { padding: 34px 0 120px; }
.catalog-tools { display: grid; grid-template-columns: 1fr 250px; gap: 12px; margin-bottom: 18px; }
.search-field, .select-field { position: relative; }
.search-field svg { position: absolute; top: 50%; left: 17px; width: 19px; height: 19px; fill: none; stroke: var(--muted); stroke-width: 1.7; transform: translateY(-50%); pointer-events: none; }
.search-field input, .select-field select { width: 100%; min-height: 54px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); outline: 0; transition: border-color .2s, background .2s; }
.search-field input { padding: 0 48px; }
.search-field input::placeholder { color: var(--muted); }
.select-field select { appearance: none; padding: 0 44px 0 16px; cursor: pointer; }
.select-field::after { position: absolute; top: 50%; right: 17px; color: var(--muted); content: "↓"; transform: translateY(-50%); pointer-events: none; }
.search-field input:focus, .select-field select:focus { border-color: var(--blue); background: var(--surface-raised); }
.search-shortcut { position: absolute; top: 50%; right: 14px; padding: 2px 7px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: 10px; transform: translateY(-50%); }
.catalog-filter-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--text-soft); font-size: 12px; font-weight: 620; transition: border-color .2s, background .2s, color .2s; }
.filter-button small { display: grid; min-width: 20px; height: 20px; place-items: center; border-radius: 999px; background: oklch(1 0 0 / .06); color: var(--muted); font-size: 9px; }
.filter-button:hover { border-color: var(--line-bright); color: var(--text); }
.filter-button.is-active { border-color: var(--text); background: var(--text); color: var(--bg); }
.filter-button.is-active small { background: oklch(0.1 0.01 255 / .12); color: inherit; }
.catalog-count { margin: 0; color: var(--muted); font-size: 12px; white-space: nowrap; }
.catalog-empty { grid-column: 1 / -1; min-height: 260px; padding: 90px 24px; border: 1px dashed var(--line-bright); border-radius: var(--radius); color: var(--text-soft); text-align: center; }
.catalog-sell { position: relative; display: grid; grid-template-columns: 1fr 360px; align-items: center; min-height: 300px; margin-top: 90px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.catalog-sell-copy { position: relative; z-index: 2; padding: clamp(34px, 5vw, 64px); }
.catalog-sell-copy p:not(.eyebrow) { max-width: 580px; color: var(--text-soft); }
.catalog-sell-media { align-self: stretch; }
.catalog-sell-media img { width: 100%; height: 100%; object-fit: cover; mask-image: linear-gradient(90deg, transparent, black 24%); }

/* Product detail */
.detail-page { padding: 44px 0 120px; }
.breadcrumbs { display: flex; align-items: center; gap: 10px; padding: 30px 0; color: var(--muted); font-size: 12px; }
.breadcrumbs a:hover { color: var(--text); }
.product-detail-main { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(340px, .82fr); gap: 48px; align-items: center; }
.detail-media { position: relative; aspect-ratio: 16 / 10.2; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.detail-media::after { position: absolute; inset: 0; background: linear-gradient(0deg, oklch(0.04 0.01 255 / .7), transparent 42%); content: ""; pointer-events: none; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-media-label { position: absolute; z-index: 1; right: 18px; bottom: 16px; left: 18px; display: flex; align-items: center; justify-content: space-between; color: var(--text-soft); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.detail-media-label b { color: var(--text); }
.detail-copy h1 { margin: 0; font-size: clamp(3.2rem, 6.5vw, 6.2rem); font-variation-settings: "wdth" 82; font-weight: 650; letter-spacing: -.072em; line-height: .86; }
.detail-lead { margin: 26px 0; color: var(--text-soft); font-size: 17px; line-height: 1.65; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.detail-tags span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--text-soft); font-size: 10px; font-weight: 660; text-transform: uppercase; }
.detail-buy { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 32px; padding: 24px 0; border-block: 1px solid var(--line); }
.detail-price strong { display: block; font-size: 27px; letter-spacing: -.035em; }
.detail-price small { display: block; max-width: 220px; margin-top: 4px; color: var(--muted); font-size: 10px; }
.detail-assurance { display: flex; flex-wrap: wrap; gap: 12px 22px; margin: 22px 0 0; padding: 0; color: var(--text-soft); font-size: 11px; list-style: none; }
.detail-assurance li::before { margin-right: 7px; color: var(--mint); content: "✓"; }
.detail-content { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 90px; }
.detail-block { padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.detail-block h2 { margin: 0 0 28px; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 620; letter-spacing: -.045em; line-height: 1.08; }
.detail-install { grid-column: 1 / -1; }
.feature-list, .spec-list { margin: 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding: 14px 0 14px 25px; border-top: 1px solid var(--line); color: var(--text-soft); font-size: 13px; }
.feature-list li::before { position: absolute; top: 19px; left: 2px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); content: ""; }
.spec-list li { display: flex; align-items: start; justify-content: space-between; gap: 24px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 12px; }
.spec-list span { color: var(--muted); }
.spec-list b { max-width: 60%; text-align: right; }
.install-code { margin: 0; padding: 24px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); color: var(--text-soft); font: 12px/2 "SFMono-Regular", Consolas, monospace; white-space: pre-wrap; }
.install-code b { display: inline-block; width: 34px; color: var(--blue-bright); }
.related { padding: 0 0 120px; }
.not-found { max-width: 760px; padding: 110px 0; }
.not-found h1 { margin: 0; font-size: clamp(3rem, 8vw, 6rem); letter-spacing: -.07em; }
.not-found > p:not(.eyebrow) { color: var(--text-soft); }

/* Checkout and legal */
.checkout-return { display: grid; min-height: calc(100vh - 86px); place-items: center; padding-block: 80px; }
.checkout-card { width: min(100%, 720px); padding: clamp(34px, 6vw, 68px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-align: center; }
.checkout-mark { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 36px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.checkout-mark img { width: 38px; }
.checkout-card h1 { margin: 0; font-size: clamp(2.4rem, 6vw, 4.2rem); letter-spacing: -.06em; line-height: .98; }
.checkout-card > p:not(.eyebrow) { max-width: 560px; margin: 24px auto 34px; color: var(--text-soft); }
.checkout-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 22px; }
.legal { max-width: 850px; padding-top: 110px; padding-bottom: 130px; }
.legal h1 { margin: 0 0 44px; font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 650; letter-spacing: -.07em; line-height: .94; }
.legal h2 { margin: 58px 0 15px; font-size: 22px; letter-spacing: -.025em; }
.legal p, .legal li { color: var(--text-soft); }
.legal-warning { padding: 20px; border: 1px solid oklch(0.62 0.14 65 / .5); border-radius: var(--radius-sm); background: oklch(0.28 0.06 65 / .15); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: oklch(0.075 0.006 255); }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, .7fr); gap: 50px; padding: 70px 0 52px; }
.footer-brand p { max-width: 330px; margin: 20px 0 0; color: var(--muted); font-size: 13px; }
.footer-grid h3 { margin: 0 0 16px; color: var(--muted); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 10px; }
.footer-grid > div:not(.footer-brand) a { color: var(--text-soft); font-size: 13px; }
.footer-grid > div:not(.footer-brand) a:hover { color: var(--text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }

/* Dialogs */
dialog { color: var(--text); }
.account-dialog, .notice-dialog { width: min(calc(100% - 30px), 560px); padding: 38px; border: 1px solid var(--line-bright); border-radius: var(--radius); background: var(--surface); box-shadow: 0 35px 100px oklch(0.02 0.01 255 / .68); }
.account-dialog::backdrop, .notice-dialog::backdrop { background: oklch(0.035 0.01 255 / .75); backdrop-filter: blur(9px); }
.dialog-close { position: absolute; top: 14px; right: 14px; display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--text-soft); font-size: 23px; }
.dialog-close:hover { background: oklch(1 0 0 / .055); color: var(--text); }
.account-kicker { margin: 0 0 9px; color: var(--blue-bright); font-size: 10px; font-weight: 730; letter-spacing: .1em; text-transform: uppercase; }
.account-dialog h2, .notice-dialog h2 { margin: 0; padding-right: 38px; font-size: clamp(2rem, 6vw, 3.2rem); letter-spacing: -.06em; line-height: .97; }
.account-copy, .notice-dialog > p:not(.eyebrow) { color: var(--text-soft); font-size: 13px; }
.account-providers { display: grid; gap: 8px; margin-top: 24px; }
.account-provider { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; min-height: 64px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: oklch(1 0 0 / .018); }
.account-provider.is-action:hover { border-color: var(--blue); background: oklch(0.25 0.07 252 / .18); }
.account-provider span:nth-child(2) { display: grid; }
.account-provider small { color: var(--muted); font-size: 9px; }
.account-provider b { color: var(--text-soft); font-size: 10px; }
.provider-glyph { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 9px; background: oklch(0.36 0.12 268); font-size: 13px; font-weight: 800; }
.provider-glyph.cfx { background: oklch(0.3 0.08 55); }
.account-footnote { color: var(--muted); font-size: 10px; }
.account-status { padding: 11px; border-radius: 8px; background: oklch(0.35 0.1 155 / .16); color: var(--mint); font-size: 11px; }
.account-status.is-error { background: oklch(0.35 0.12 28 / .16); color: oklch(0.78 0.13 28); }
.account-identity { display: flex; align-items: center; gap: 14px; }
.account-avatar { display: grid; width: 58px; height: 58px; overflow: hidden; place-items: center; border-radius: 50%; background: var(--blue); font-weight: 800; }
.account-avatar img { width: 100%; height: 100%; object-fit: cover; }
.account-identity p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.account-logout { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 50px; margin-top: 18px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: transparent; color: var(--text-soft); }
.notice-dialog .button { margin-top: 16px; }

@media (max-width: 980px) {
  .desktop-nav, .nav-link-icon { display: none; }
  .nav-shell { grid-template-columns: 1fr auto; }
  .header-actions { gap: 6px; }
  .menu-trigger { display: block; }
  .mobile-nav { position: absolute; top: calc(100% + 8px); right: 0; left: 0; display: grid; gap: 4px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 25px 70px oklch(0.02 0.01 255 / .6); opacity: 0; transform: translateY(-7px); visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .mobile-nav.open { opacity: 1; transform: none; visibility: visible; }
  .mobile-nav a, .mobile-nav button { display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; color: var(--text); font-size: 14px; text-align: left; }
  .mobile-nav a:hover, .mobile-nav button:hover { background: oklch(1 0 0 / .05); }
  .store-hero-copy { grid-template-columns: 1fr; gap: 24px; }
  .hero-showcase { aspect-ratio: 16 / 8.5; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .world-feature { grid-template-columns: 1fr; }
  .world-feature-media::after { background: linear-gradient(0deg, var(--surface), transparent 35%); }
  .creator-panel { grid-template-columns: 1fr; }
  .creator-panel-media { order: -1; }
  .creator-panel-media::after { background: linear-gradient(0deg, var(--surface), transparent 35%); }
  .product-detail-main { grid-template-columns: 1fr; }
  .detail-copy { max-width: 680px; }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, .8fr); gap: 25px; }
}

@media (max-width: 700px) {
  .shell { width: min(calc(100% - 24px), var(--shell)); }
  .site-header { padding-top: 8px; }
  .nav-shell { min-height: 58px; padding: 6px 7px 6px 11px; }
  .brand-mark { width: 29px; height: 29px; }
  .auth-trigger { min-height: 44px; padding: 0 12px; }
  .store-hero { padding-top: 66px; }
  .display-title, .page-title { font-size: clamp(2.75rem, 14vw, 4.25rem); }
  .hero-actions { display: grid; }
  .hero-showcase { aspect-ratio: 4 / 4.3; margin-top: 42px; }
  .hero-showcase-top, .hero-showcase-bottom { right: 16px; left: 16px; }
  .hero-showcase-bottom { display: grid; }
  .hero-showcase-bottom > span { display: none; }
  .proof-strip { grid-template-columns: 1fr 1fr; }
  .proof-strip div:nth-child(2) { border-right: 0; }
  .proof-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .store-section { padding-block: 84px; }
  .section-heading { align-items: start; flex-direction: column; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card-body > p { min-height: 0; }
  .product-card-open { opacity: 1; transform: none; }
  .world-feature-media { min-height: 330px; }
  .creator-points { grid-template-columns: 1fr; }
  .catalog-hero { padding-top: 86px; }
  .catalog-tools { grid-template-columns: 1fr; }
  .catalog-filter-row { align-items: start; flex-direction: column-reverse; }
  .filters { flex-wrap: nowrap; width: calc(100vw - 12px); margin-left: -12px; padding: 0 12px 8px; overflow-x: auto; scrollbar-width: none; }
  .filter-button { flex: 0 0 auto; }
  .catalog-sell { grid-template-columns: 1fr; }
  .catalog-sell-media { height: 230px; order: -1; }
  .catalog-sell-media img { mask-image: linear-gradient(0deg, transparent, black 35%); }
  .detail-page { padding-top: 10px; }
  .breadcrumbs { padding-block: 22px; }
  .detail-copy h1 { font-size: clamp(3.5rem, 17vw, 5rem); }
  .detail-buy { align-items: stretch; flex-direction: column; }
  .detail-buy .button { width: 100%; }
  .detail-content { grid-template-columns: 1fr; margin-top: 64px; }
  .detail-install { grid-column: auto; }
  .spec-list li { flex-direction: column; gap: 4px; }
  .spec-list b { max-width: none; text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: start; flex-direction: column; }
  .account-dialog, .notice-dialog { padding: 32px 20px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
