:root {
  color-scheme: light;
  --paper: #fbf5e9;
  --canvas: #f9f3e8;
  --cream: #f1e5d1;
  --ink: #261c17;
  --muted: #65584d;
  --red: #a52223;
  --dark-red: #7c1a1c;
  --line: #cfc0a9;
  --serif: Georgia, "Songti SC", "Noto Serif CJK SC", "STSong", SimSun, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible, summary:focus-visible, [tabindex="0"]:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 5px;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 750; line-height: 1.22; }
section[id], article[id] { scroll-margin-top: 1.5rem; }
.shell { width: min(100% - 6rem, 73rem); margin-inline: auto; }
.skip-link {
  position: absolute;
  z-index: 4;
  top: .5rem;
  left: .5rem;
  transform: translateY(-150%);
  padding: .5rem .8rem;
  background: var(--paper);
}
.skip-link:focus { transform: none; }

.masthead { border-bottom: 1px solid var(--line); }
.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.75rem;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  flex: none;
  text-decoration: none;
}
.brand img { width: 5.6rem; }
.brand span {
  color: var(--dark-red);
  border-left: 1px solid var(--line);
  font: 700 .92rem/1 Georgia, serif;
  padding-left: .45rem;
}
.navigation, .footer-nav { display: flex; align-items: center; gap: 2rem; }
.navigation > a:not(.button), .footer-nav a {
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
}
.navigation > a:not(.button):hover, .footer-nav a:hover { color: var(--red); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.125rem;
  padding: .58rem 1.4rem;
  border: 1px solid transparent;
  border-radius: .2rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}
.button-primary { color: #fff9ee; background: var(--red); }
.button-primary:hover { background: var(--dark-red); }
.button-secondary { color: var(--ink); border-color: #b6a58d; }
.button-secondary:hover { color: var(--dark-red); border-color: var(--red); background: #f1e5d0; }
.button-small { min-height: 2.55rem; padding-inline: 1.05rem; font-size: .9375rem; }

.hero {
  display: grid;
  grid-template-columns: 1fr .96fr;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  padding-block: 3.25rem 3.5rem;
}
.hero-copy { padding-block: 1.25rem 2.15rem; }
.kicker, .section-marker {
  color: var(--dark-red);
  font-size: .875rem;
  font-weight: 720;
  letter-spacing: .10em;
}
.kicker { display: flex; align-items: center; gap: .62rem; margin-bottom: 1.2rem; }
.kicker span { width: 1.35rem; height: 2px; flex: none; background: var(--red); }
.hero h1 {
  font-size: clamp(2.4rem, 4.25vw, 4.05rem);
  letter-spacing: -.055em;
  white-space: nowrap;
  line-height: 1.22;
}
.hero h1 strong { color: var(--red); font-weight: inherit; }
.hero-description { max-width: 25.5rem; margin-top: 1.35rem; font-size: 1.0625rem; line-height: 1.9; color: var(--muted); }
.hero-actions { display: flex; gap: .72rem; margin-top: 1.65rem; }
.hero-platforms { margin-top: .72rem; color: var(--muted); font-size: .875rem; }
.hero-art { min-width: 0; }
.hero-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1.08;
  background:
    radial-gradient(ellipse at 73% 68%, #ab332a, transparent 66%),
    linear-gradient(142deg, #831d22, #67161a 82%);
  border-radius: .3rem;
}
.hero-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("assets/paper.jpg") repeat;
  mix-blend-mode: soft-light;
  opacity: .38;
}
.press-outline {
  position: absolute;
  inset: 5.5%;
  border: 1px solid #f9dba56b;
  outline: 1px solid #f9dba53d;
  outline-offset: 4px;
  z-index: -1;
}
.hero-watermark {
  position: absolute;
  z-index: -1;
  bottom: 4%;
  right: 5.7%;
  color: #ffe4ae26;
  font: 800 clamp(4rem, 10.7vw, 10rem)/.94 var(--serif);
  letter-spacing: -.085em;
  white-space: nowrap;
  writing-mode: vertical-rl;
}
.device {
  position: absolute;
  top: 8%;
  width: 44%;
  overflow: hidden;
  border: clamp(3px, .45vw, 6px) solid #241915;
  border-radius: clamp(.85rem, 2.4vw, 2.3rem);
  background: #f8efdc;
  box-shadow: 0 15px 30px #2309086b, 0 0 0 1px #f1b5a579;
}
.device img { width: 100%; }
.device-front { left: 21%; transform: rotate(-8.5deg); }
.device-back { top: 15%; left: 49%; width: 38%; transform: rotate(11deg); }
.hero-art > figcaption { margin-top: .53rem; text-align: right; font-size: .8125rem; color: var(--muted); }

.features { padding-block: 2.5rem 4.7rem; border-top: 3px double var(--line); }
.section-heading { margin-bottom: 1.6rem; }
.section-heading h2, .download-intro h2 {
  margin-top: .4rem;
  font-size: clamp(1.95rem, 3.5vw, 3.1rem);
  letter-spacing: -.035em;
}
.feature-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.feature-tabs a {
  position: relative;
  display: grid;
  gap: .12rem;
  padding: 1rem 1.35rem;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}
.feature-tabs a + a { border-left: 1px solid var(--line); }
.feature-tabs a:hover, .feature-tabs a[aria-selected="true"] { color: var(--dark-red); background: #efe2ce; }
.feature-tabs a[aria-selected="true"] { border-bottom-color: var(--red); }
.feature-tabs a:focus-visible { z-index: 1; outline-offset: -3px; }
.tab-title { font-size: 1.08rem; font-weight: 730; }
.tab-subtitle { color: var(--muted); font-size: .875rem; }
.feature-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 23rem;
  margin-top: 1.15rem;
  background: #f3e9d7;
  border: 1px solid var(--line);
}
.feature-copy { align-self: center; padding: clamp(1.5rem, 4vw, 3.75rem); }
.feature-copy h3 { font-size: clamp(1.75rem, 3.1vw, 2.8rem); letter-spacing: -.04em; }
.feature-copy p { max-width: 27rem; margin-top: 1rem; color: var(--muted); }
.broadcast-steps {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  padding: 0;
  margin: 1.15rem 0 0;
  list-style: none;
}
.broadcast-steps li { padding: .22rem .6rem; border: 1px solid #b89775; font-size: .875rem; color: var(--dark-red); }
.feature-points { margin: 1.15rem 0 0; padding-left: 1.25rem; }
.feature-points li + li { margin-top: .3rem; }
.feature-points li::marker { color: var(--red); }
.feature-art {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  min-height: 23rem;
  display: grid;
  place-items: center;
  padding: 2rem 1.4rem 2.8rem;
  background: #e8dac0;
}
.feature-art::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("assets/paper.jpg") repeat;
  mix-blend-mode: multiply;
  opacity: .37;
}
.feature-art::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 1.15rem;
  border: 1px solid #a78c6d77;
}
.sample-sheet {
  width: min(18.2rem, 80%);
  max-height: 19rem;
  overflow: hidden;
  border: 1px solid #bda88e;
  border-radius: .22rem;
  box-shadow: 0 .65rem 1.45rem #50391d33;
  transform: rotate(-4deg);
}
.sample-sheet img { width: 100%; }
.sample-recording img { margin-top: -16%; }
.sample-works img { margin-top: 0; }
.feature-art figcaption {
  position: absolute;
  bottom: .48rem;
  right: 1.15rem;
  font-size: .8125rem;
  color: #514235;
}
.download-section { background: #f0e4d1; border-block: 1px solid var(--line); }
.download-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: start;
  gap: clamp(1.6rem, 4vw, 3.9rem);
  padding-block: 3.2rem;
}
.download-intro { display: flex; align-items: center; gap: .9rem; }
.download-intro img { flex: none; width: clamp(3rem, 6.5vw, 5.65rem); }
.download-intro p { margin-top: .54rem; color: var(--muted); }
.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.platform-card { background: var(--paper); border: 1px solid var(--line); padding: 1.05rem; }
.platform-card h3 { font: 720 1.1rem/1.25 var(--sans); }
.platform-download { width: 100%; margin-top: .8rem; padding-inline: .55rem; }
summary { cursor: pointer; }
summary:hover { color: var(--red); }

.support {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(1.6rem, 4vw, 3.9rem);
  padding-block: 3.8rem 4.4rem;
}
.support .section-heading { margin: 0; }
.support-list { border-top: 1px solid var(--line); }
.support-list details { padding-block: .92rem; border-bottom: 1px solid var(--line); }
.support-list summary { font-weight: 650; }
.support-list p { margin-top: .52rem; padding-left: 1.15rem; color: var(--muted); }
.footer { border-top: 3px double var(--line); }
.footer-inner { display: flex; align-items: center; gap: 1rem 1.7rem; min-height: 5.65rem; }
.footer p { color: var(--muted); font-size: .875rem; }
.footer-nav { margin-left: auto; }

@media (max-width: 64rem) {
  .shell { width: calc(100% - 4rem); }
  .hero { gap: 1.8rem; }
}

@media (max-width: 47rem) {
  .shell { width: calc(100% - 2.25rem); }
  .masthead-inner { min-height: 3.95rem; }
  .navigation, .footer-nav { gap: .92rem; }
  .navigation > a:not(.button) { font-size: .875rem; }
  .button-small { font-size: .875rem; padding-inline: .7rem; }
  .hero { grid-template-columns: 1fr; gap: 1.6rem; padding-block: 2.3rem 2rem; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(2.2rem, 7.9vw, 3.7rem); }
  .hero-description { margin-top: .92rem; }
  .hero-actions { margin-top: 1.2rem; }
  .hero-stage { max-height: 27rem; }
  .hero-watermark { font-size: clamp(4.8rem, 20vw, 8rem); }
  .device-front { top: 9%; }
  .features { padding-block: 2.15rem 2.8rem; }
  .feature-tabs a { padding: .78rem .54rem; }
  .feature-panel { grid-template-columns: 1fr; }
  .feature-art { min-height: 19.6rem; padding-top: 1.5rem; }
  .sample-sheet { max-height: 16.5rem; }
  .download-inner, .support { grid-template-columns: 1fr; padding-block: 2.3rem; }
  .footer-inner { flex-wrap: wrap; padding-block: 1rem; }
  .footer p { order: 1; width: 100%; }
}

@media (max-width: 25rem) {
  .brand img { width: 4.2rem; }
  .brand span { font-size: .8125rem; }
  .navigation { gap: .62rem; }
  .navigation > a:not(.button) { font-size: .8125rem; }
  .section-heading h2 { font-size: 1.85rem; }
  .tab-title { font-size: 1rem; }
  .tab-subtitle { font-size: .8125rem; }
  .platform-card { padding: .82rem; }
}

@media (max-width: 21rem) {
  .navigation > a[href="#support"] { display: none; }
  .hero h1 { font-size: 2.05rem; }
  .tab-subtitle { display: none; }
  .platform-grid { grid-template-columns: 1fr; }
}

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