@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("./outfit-latin.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --page: #f8f9fa;
  --white: #fff;
  --soft: #eef0f3;
  --ink: #121720;
  --muted: #4e5969;
  --line: #d9dee5;
  --red: #be182e;
  --red-hover: #9e1024;
  --dark: #161921;
  --on-dark: #f7f8fa;
  --muted-on-dark: #d1d5df;
  --focus: #1857aa;
  --display: Outfit, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --body: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  font-family: var(--body);
  background: var(--page);
  color: var(--ink);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--display); }
img { display: block; max-width: 100%; }
section[id] { scroll-margin-top: 24px; }
.wide { width: min(1440px, calc(100% - 56px)); margin-inline: auto; }
.wrap { width: min(1240px, calc(100% - 104px)); margin-inline: auto; }
.narrow { max-width: 840px; }
.skip { position: fixed; inset: 10px auto auto 10px; z-index: 2; padding: 10px 16px; background: var(--white); color: var(--ink); clip-path: inset(50%); }
.skip:focus { clip-path: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.site-header { background: var(--page); }
.header-inner { min-height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.brand { display: inline-flex; width: max-content; align-items: center; gap: 10px; font: 760 1.43rem/1 Outfit, system-ui, sans-serif; letter-spacing: -.042em; }
.brand b { color: var(--red); font-weight: inherit; }
.brand-mark { display: flex; gap: 3px; align-items: end; height: 19px; padding-inline: 3px; transform: skew(-17deg); }
.brand-mark i { background: var(--red); width: 4px; border-radius: 1px; }
.brand-mark i:nth-child(1) { height: 8px; }
.brand-mark i:nth-child(2) { height: 13px; }
.brand-mark i:nth-child(3) { height: 19px; }
.site-header nav, .site-footer nav { display: flex; align-items: center; gap: clamp(13px, 4vw, 52px); }
.site-header nav a, .site-footer nav a { display: grid; min-height: 44px; place-items: center; font-size: .9375rem; font-weight: 650; }
.site-header nav a { color: var(--muted); }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--red); }
.header-inner .nav-trial { justify-self: end; min-height: 42px; padding: 8px 17px; border-color: var(--line); }
.header-inner .nav-trial:hover { color: var(--red); border-color: var(--red); }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(475px, 42vw, 635px);
  padding: clamp(42px, 6.5vw, 96px);
  overflow: hidden;
  color: var(--on-dark);
  background: var(--dark);
  border-radius: 12px;
}
.hero-art { position: absolute; z-index: -2; inset: 0; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 59%; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(14, 16, 21, .94) 0%, rgba(14, 16, 21, .83) 24%, rgba(14, 16, 21, .48) 46%, transparent 71%); }
.hero-copy { width: min(540px, 58%); }
.eyebrow { display: flex; gap: 10px; align-items: center; color: var(--red); font-size: .875rem; font-weight: 720; letter-spacing: .035em; }
.accent-line { width: 19px; height: 2px; flex: none; background: currentColor; }
.hero .eyebrow { color: #ffd4d9; }
h1 { font-size: clamp(2.65rem, 5.7vw, 5.7rem); line-height: 1.06; font-weight: 760; letter-spacing: -.062em; }
h1 span, .app-card h3 span { color: var(--red); }
.hero h1 { font-size: clamp(3.6rem, 7.45vw, 7rem); margin: 14px 0 17px; white-space: nowrap; }
.hero h1 span { color: #fa5369; }
.hero-lead { font-size: clamp(1.26rem, 2.2vw, 1.95rem); line-height: 1.35; font-weight: 720; }
.hero-detail { margin-top: 10px; font-size: clamp(1rem, 1.3vw, 1.125rem); color: var(--muted-on-dark); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 29px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 20px; border: 1px solid transparent; border-radius: 6px; font-size: .9375rem; font-weight: 720; line-height: 1.4; transition: color .16s ease, background-color .16s ease, border-color .16s ease; }
.button-primary { color: var(--white); background: var(--red); }
.button-primary:hover { background: var(--red-hover); }
.button-hero { color: var(--white); border-color: #a3a8b3; background: #171a22a8; }
.button-hero:hover { background: var(--white); color: var(--ink); }
.button-secondary { color: var(--ink); border-color: #a9b1bd; background: var(--white); }
.button-secondary:hover { border-color: var(--red); color: var(--red); }
.hero :focus-visible, .site-footer :focus-visible { outline-color: #ffd4d9; }
.play-symbol { display: block; flex: none; width: 0; height: 0; margin-left: 2px; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid currentColor; }

.sound-section { padding-block: clamp(50px, 6vw, 93px); }
.section-title { margin-bottom: 25px; }
h2 { font-size: clamp(1.95rem, 3.25vw, 3.35rem); line-height: 1.16; font-weight: 750; letter-spacing: -.046em; text-wrap: balance; }
.section-title .eyebrow + h2, .section-intro .eyebrow + h2, .release-layout .eyebrow + h2 { margin-top: 10px; }
.sound-title { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 8px 26px; }
.sound-title > p, .section-intro > p:last-child { color: var(--muted); }
.tracks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.75vw, 25px); }
.track { min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--white); overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.track.selected { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.track-art { display: grid; align-items: end; position: relative; isolation: isolate; min-height: 165px; aspect-ratio: 2.05; padding: 40px 18px 8px; overflow: hidden; background: radial-gradient(ellipse at 55% 82%, #fafbfc, #e9edf1 77%); }
.track-art img { width: 100%; height: auto; max-height: 147px; object-fit: contain; object-position: bottom center; filter: drop-shadow(0 8px 7px #131a2940); }
.engine-type { position: absolute; top: 12px; left: 17px; color: var(--ink); font: 750 1.55rem/1 Outfit, system-ui, sans-serif; }
.track-body { padding: 16px 18px 18px; }
.track-body h3 { font-size: 1.125rem; font-weight: 730; line-height: 1.4; }
.track-body p { margin-top: 4px; color: var(--muted); font-size: .9375rem; }
.track-player { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 11px; margin-top: 14px; }
.track-toggle { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--dark); color: var(--white); transition: background-color .16s ease; }
.track-toggle:hover, .track-toggle[aria-pressed="true"] { background: var(--red); }
.track-toggle[aria-pressed="true"] .play-symbol { border: 0; width: 10px; height: 12px; margin: 0; background: linear-gradient(90deg, currentColor 0 35%, transparent 35% 65%, currentColor 65%); }
.wave-shape { display: flex; align-items: center; gap: 2px; height: 31px; background: linear-gradient(90deg, var(--red) var(--progress, 0%), #a5afbd var(--progress, 0%)); }
.wave-shape i { position: relative; height: 100%; flex: 1 1 2px; }
.wave-shape i::before, .wave-shape i::after { content: ""; position: absolute; inset: 0 0 auto; height: calc((100% - var(--bar)) / 2); background: var(--white); }
.wave-shape i::after { inset: auto 0 0; }
.wave-shape i + i { box-shadow: -2px 0 var(--white); }
.track-clock { color: var(--muted); font: 600 .875rem/1 Outfit, system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.sound-error { color: var(--red); padding-top: 14px; }

.apps-section, .details-section { background: var(--soft); border-block: 1px solid var(--line); }
.apps-section, .feature-section, .details-section, .release-section { padding-block: clamp(48px, 6.6vw, 92px); }
.app-card { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(24px, 4vw, 64px); padding: clamp(24px, 4vw, 54px); border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.app-card h3 { font-size: clamp(2.45rem, 4.9vw, 4.5rem); line-height: 1.06; font-weight: 760; letter-spacing: -.057em; margin-block: 8px 14px; }
.app-card-info > p:not(.eyebrow) { color: var(--muted); max-width: 370px; }
.app-card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-top: 22px; }
.app-card-actions .text-link { display: inline-flex; align-items: center; min-height: 44px; }
.app-card-art { padding: clamp(12px, 2.75vw, 33px); background: radial-gradient(ellipse at 56% 0%, #333c4a, #171b24 74%); border-radius: 8px; color: var(--muted-on-dark); }
.app-card-art img, .product-image img { width: 100%; height: auto; border-radius: 6px; border: 1px solid #526072; }
.app-card-art figcaption, .product-image figcaption { font-size: .875rem; margin-top: 11px; text-align: right; }

.details-layout, .release-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(22px, 5vw, 72px); align-items: center; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.simple-hero h1 + p { max-width: 590px; margin-top: 16px; color: var(--muted); font-size: clamp(1rem, 1.32vw, 1.125rem); }
.product-image { min-width: 0; margin-top: 14px; border-radius: 8px; padding: clamp(9px, 1.4vw, 16px); background: var(--dark); color: var(--muted-on-dark); }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature { padding: clamp(22px, 3vw, 39px); border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.feature h3 { font-size: 1.35rem; margin-bottom: 8px; }
.feature p, .release-layout p:not(.eyebrow) { color: var(--muted); }
.details-layout { align-items: start; }
.section-intro > p:last-child { max-width: 330px; margin-top: 15px; }
.compatibility dl { border-top: 1px solid #c4cbd5; }
.compatibility dl div { display: grid; grid-template-columns: minmax(110px, .42fr) minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid #c4cbd5; }
.compatibility dt { font-weight: 730; }
.compatibility dd { color: var(--muted); }
.release-layout .text-link { display: inline-flex; align-items: center; min-height: 44px; }
.text-link { color: var(--red); font-weight: 650; }

.simple-hero { padding-block: clamp(55px, 9vw, 115px) clamp(45px, 6vw, 79px); background: var(--soft); border-block: 1px solid var(--line); }
.simple-hero h1 { font-size: clamp(2.55rem, 7vw, 5.8rem); }
.simple-content { padding-block: clamp(40px, 6vw, 82px); }
.simple-content h2 { font-size: clamp(1.7rem, 2.65vw, 2.6rem); margin-bottom: 20px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; cursor: pointer; padding: 16px 0; list-style: none; font-weight: 720; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { flex: none; content: "+"; color: var(--red); font: 620 1.35rem/1 Outfit, system-ui, sans-serif; }
.faq details[open] summary::after { content: "−"; }
.faq details p, .about-content p { color: var(--muted); max-width: 670px; }
.faq details p { padding-bottom: 17px; }
.about-content p { margin-bottom: 12px; }
.support-actions .text-link { padding: 10px 8px; }

.site-footer { color: var(--on-dark); background: var(--dark); padding-block: 43px 25px; }
.site-footer .brand b, .site-footer .brand-mark i { color: #ff7083; }
.site-footer .brand-mark i { background: currentColor; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 15px 32px; flex-wrap: wrap; }
.footer-main p { color: var(--muted-on-dark); margin-top: 8px; font: 510 .9375rem/1.5 Outfit, system-ui, sans-serif; }
.site-footer nav a { color: var(--muted-on-dark); }
.site-footer nav a:hover { color: #ff9eaa; }
.affiliation { color: var(--muted-on-dark); border-top: 1px solid #414653; margin-top: 24px; padding-top: 17px; font-size: .875rem; }

.demo-section { padding-block: clamp(38px, 5vw, 66px); background: var(--soft); border-bottom: 1px solid var(--line); }
.demo-layout { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: center; gap: clamp(22px, 5vw, 65px); }
.demo-layout h2 { text-wrap: wrap; }
.demo-layout p { max-width: 32rem; margin-top: 12px; color: var(--muted); }
.demo-layout .demo-note { margin-top: 17px; font-size: .875rem; }
.demo-layout video { display: block; width: 100%; height: auto; border: 1px solid #454e5c; border-radius: 10px; background: var(--dark); }
.unlock-section { padding-block: clamp(40px, 6vw, 76px); border-block: 1px solid var(--line); background: var(--soft); }
.unlock-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(24px, 5vw, 72px); }
.unlock-layout h2 { margin-block: 10px 14px; }
.unlock-layout p:not(.eyebrow) { max-width: 33rem; color: var(--muted); }
.unlock-card { padding: clamp(22px, 3vw, 40px); border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.unlock-card h3 { margin-block: 7px 10px; font-size: clamp(1.35rem, 2.35vw, 2rem); line-height: 1.2; }
.unlock-card .button { margin-top: 19px; }
.comfort-section { padding-block: clamp(36px, 5vw, 72px); }
.comfort-section + .sound-section { padding-block-start: 0; }
.comfort-panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 5vw, 68px); align-items: center; padding: clamp(24px, 4vw, 52px); border-radius: 12px; color: var(--on-dark); background: var(--dark); }
.comfort-panel .eyebrow { color: #ff9eaa; }
.comfort-panel h2 { margin-block: 10px 13px; }
.comfort-panel p:not(.eyebrow) { color: var(--muted-on-dark); }
.comfort-evidence { padding-left: clamp(18px, 3.2vw, 44px); border-left: 1px solid #545966; }
.comfort-evidence h3 { font-size: 1.15rem; margin-bottom: 8px; }
.comfort-research { margin-top: 20px; padding-top: 17px; border-top: 1px solid #545966; }
.comfort-panel .text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 5px; color: #ff9eaa; }
.comfort-panel :focus-visible { outline-color: #ffd4d9; }

/* Supercar++ feature overview and catalogs */
.feature-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.feature-links a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding-inline: 11px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: var(--white); font-size: .875rem; }
.feature-links a:hover { border-color: var(--red); color: var(--red); }
.feature-links strong { color: var(--red); font: 720 1rem/1 var(--display); }
.product-nav { margin-top: 14px; background: var(--white); border-block: 1px solid var(--line); }
.product-nav .wrap { display: flex; flex-wrap: wrap; gap: 2px clamp(12px, 3vw, 34px); padding-block: 3px; }
.product-nav a { display: inline-flex; align-items: center; min-height: 46px; padding-inline: 3px; color: var(--muted); font-size: .9375rem; font-weight: 680; }
.product-nav a:hover { color: var(--red); }

.feature-section .section-title > p { max-width: 690px; margin-top: 12px; color: var(--muted); }

.catalog-section, .dashboard-section { background: var(--soft); border-block: 1px solid var(--line); }
.preset-grid, .style-grid { display: grid; list-style: none; margin: 0; padding: 0; }
.preset-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.5vw, 21px); }
.preset-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--white); }
.preset-art { display: grid; place-items: center; min-width: 0; aspect-ratio: 2.12; padding: 10px 14px; background: radial-gradient(ellipse at 54% 80%, #f8f9fb, #e6eaef); }
.preset-art img { width: 100%; height: 100%; max-height: 116px; object-fit: contain; filter: drop-shadow(0 5px 4px #12172038); }
.preset-body { padding: 13px 15px 15px; }
.preset-body h3 { font-size: 1.03rem; line-height: 1.4; overflow-wrap: anywhere; }
.preset-body p { color: var(--muted); font-size: .875rem; }
.preset-body p:first-of-type { margin-top: 4px; }
.preset-body p:last-child { font-variant-numeric: tabular-nums; }

.mode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mode-grid .feature { display: flex; flex-direction: column; align-items: start; }
.mode-grid .feature .feature-meta { margin-top: auto; padding-top: 18px; color: var(--red); font-size: .875rem; font-weight: 650; }
.dashboard-content { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 18px; align-items: start; }
.feature-list { margin-top: 12px; }
.feature-list > div { padding-block: 11px; border-top: 1px solid var(--line); }
.feature-list dt { font-weight: 720; }
.feature-list dd { margin-top: 3px; color: var(--muted); }
.style-catalog { margin-top: 16px; border-top: 1px solid var(--line); }
.style-catalog summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding-block: 9px; list-style: none; color: var(--red); cursor: pointer; font-weight: 700; }
.style-catalog summary::-webkit-details-marker { display: none; }
.style-catalog summary::after { content: "+"; font: 650 1.35rem/1 var(--display); }
.style-catalog[open] summary::after { content: "−"; }
.style-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 5px; }
.style-preview { margin-top: 16px; }
.style-grid li { display: flex; align-items: center; gap: 7px; min-width: 0; padding: 7px 8px; border: 1px solid var(--line); border-radius: 6px; font-size: .875rem; }
.style-swatch { display: block; flex: 0 0 23px; height: 18px; border: 1px solid #6f7783; border-radius: 4px; background: linear-gradient(145deg, var(--style-top) 0 45%, var(--style-accent) 45% 58%, var(--style-bottom) 58%); }
.settings-help { display: inline-flex; min-height: 44px; align-items: center; }

@media (max-width: 1024px) {
  .tracks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preset-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .style-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wide { width: calc(100% - 40px); }
  .wrap { width: calc(100% - 64px); }
  .hero { min-height: 470px; }
  .hero-copy { width: min(540px, 66%); }
  .track-art { min-height: 140px; }
  .track-body { padding-inline: 13px; }
  .track-player { gap: 8px; }
  .wave-shape { gap: 1px; }
  .wave-shape i + i { box-shadow: -1px 0 var(--white); }
}

@media (max-width: 740px) {
  .demo-layout { grid-template-columns: 1fr; }
  .comfort-panel, .unlock-layout { grid-template-columns: 1fr; }
  .comfort-evidence { padding: 17px 0 0; border-top: 1px solid #545966; border-left: 0; }
  .mode-grid, .dashboard-content, .settings-section .feature-grid { grid-template-columns: 1fr; }
  .mode-grid .feature .feature-meta { padding-top: 10px; }
  .preset-art img { max-height: 95px; }
  .wide, .wrap { width: calc(100% - 36px); }
  .header-inner { grid-template-columns: 1fr auto; min-height: 64px; gap: 8px; }
  .header-inner .nav-trial { display: none; }
  .hero { min-height: 0; grid-template-rows: auto auto; align-items: start; padding: 0; }
  .hero-art { position: relative; inset: auto; grid-row: 2; aspect-ratio: 1.62; }
  .hero-art img { object-position: 86% 68%; }
  .hero::after { display: none; }
  .hero-copy { grid-row: 1; width: 100%; padding: 30px 24px 21px; }
  .hero h1 { font-size: clamp(3.05rem, 10vw, 4.6rem); margin-block: 10px 12px; }
  .hero .actions { margin-top: 20px; }
  .tracks { grid-template-columns: 1fr; }
  .track { display: grid; grid-template-columns: minmax(107px, .68fr) minmax(0, 1fr); }
  .track-art { min-height: 0; aspect-ratio: auto; padding: 32px 9px 15px; align-items: center; }
  .engine-type { left: 10px; top: 10px; font-size: 1.2rem; }
  .track-body { padding: 11px 13px; }
  .track-body p { margin-top: 2px; font-size: .875rem; }
  .track-player { grid-template-columns: 44px minmax(0, 1fr) auto; margin-top: 8px; }
  .track-toggle { width: 44px; height: 44px; }
  .wave-shape { height: 26px; }
  .wave-shape i:nth-child(even) { display: none; }
  .app-card, .details-layout, .release-layout { grid-template-columns: 1fr; }
  .app-card { padding: 22px; }
  .feature-grid { gap: 12px; }
  .site-footer { padding-top: 29px; }
}

@media (max-width: 540px) {
  .preset-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preset-art { padding-inline: 9px; }
  .preset-body { padding-inline: 10px; }
}

@media (max-width: 390px) {
  .hero-copy { padding-inline: 18px; }
  .hero h1 { font-size: clamp(2.65rem, 12vw, 3.05rem); }
  .header-inner .brand { font-size: 1.18rem; gap: 6px; }
  .site-header nav { gap: 8px; }
  .feature-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
