@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('./fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --night: #1c1521;
  --stage: #282032;
  --handoff-stage: #473656;
  --light: #fff2e9;
  --muted: #cfc0cc;
  --accent: #c9b2ff;
  --ink: #2d2030;
  --line: #5a4b60;
  --heading: 'Bricolage Grotesque', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  font-family:
    -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  color: var(--light);
  background: var(--night);
  font-synthesis: none;
  line-height: 1.55;
}

* {
  box-sizing: border-box;
}

body,
h1,
h2,
p,
dl,
dd,
figure,
ol {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

:where(a):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  color: var(--ink);
  background: var(--accent);
}

.wrap {
  width: min(1160px, 100% - 72px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 5;
  inset: 12px auto auto 12px;
  padding: 12px 18px;
  clip-path: inset(50%);
  background: var(--accent);
  color: var(--ink);
  border-radius: 8px;
}

.skip-link:focus {
  clip-path: none;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-inner {
  min-height: 73px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font: 750 1.48rem/1.15 var(--heading);
  letter-spacing: -0.03em;
}

.brand-mark {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.9rem;
}

.nav-section {
  color: var(--muted);
}

.nav-section:hover {
  color: var(--light);
}

.locale {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  white-space: nowrap;
}

.locale:hover {
  border-color: var(--accent);
}

.hero {
  padding-block: clamp(34px, 5.5vw, 72px) clamp(44px, 6vw, 78px);
  text-align: center;
}

.hero h1 {
  font: 760 clamp(2.65rem, 5.9vw, 5.45rem) / 1.08 var(--heading);
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero-lead-featured {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(24px, 4.5vw, 62px);
  max-width: 1060px;
  margin-inline: auto;
  text-align: start;
}

.hero-lead-featured h1 {
  font-size: clamp(2.75rem, 5vw, 4.15rem);
}

.hero-lead-featured h1 em {
  display: block;
}

.hero-artwork {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 17px;
}

:lang(zh-Hans) .hero h1 {
  letter-spacing: -0.042em;
}

.hero-description {
  max-width: 40rem;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.19rem);
  text-wrap: pretty;
}

.release {
  margin-top: 12px;
  color: var(--accent);
  font-size: 0.9rem;
}

.showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 30px);
  max-width: 1010px;
  margin: clamp(26px, 4vw, 50px) auto 0;
  text-align: start;
}

.workflow {
  max-width: 1060px;
  margin: clamp(30px, 5vw, 60px) auto 0;
  text-align: start;
}

.workflow h2 {
  font: 740 clamp(1.55rem, 3.1vw, 2.6rem) / 1.16 var(--heading);
  letter-spacing: -0.035em;
}

.workflow-description {
  margin-top: 8px;
  color: var(--muted);
  text-wrap: pretty;
}

.capture-pair {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 2fr);
  gap: clamp(14px, 2.5vw, 26px);
  margin-top: 18px;
}

.capture-stage {
  display: grid;
  place-items: center;
  height: 100%;
  overflow: hidden;
  padding: clamp(10px, 2vw, 22px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--stage);
}

.capture {
  display: grid;
  grid-template-rows: 1fr auto;
  min-width: 0;
  gap: 9px;
}

.capture img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 440px;
  border-radius: 7px;
}

.capture figcaption {
  color: var(--muted);
  font-size: 0.84rem;
  text-align: center;
}

.edit-workflow {
  margin-top: clamp(32px, 5vw, 63px);
}

.edit-workflow .capture {
  margin-top: 18px;
}

.edit-workflow .capture-stage {
  background: var(--handoff-stage);
}

.edit-workflow img {
  max-height: 560px;
}

.showcase-card {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  gap: 12px;
  padding: clamp(12px, 2.1vw, 22px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--stage);
}

.showcase-card h2 {
  font: 730 clamp(1.3rem, 2.2vw, 1.88rem) / 1.18 var(--heading);
  letter-spacing: -0.027em;
  text-wrap: balance;
}

.showcase-card figcaption p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.visual-stage {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: clamp(290px, 30vw, 404px);
  padding: clamp(10px, 1.6vw, 21px);
  border-radius: 12px;
}

.recording-stage {
  background: var(--night);
}

.recording-visual {
  width: 100%;
  max-width: 390px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--stage);
}

.recording-visual img,
.handoff-crop img {
  display: block;
  width: 100%;
  height: auto;
}

.recording-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  color: var(--light);
  font-size: clamp(0.69rem, 1.25vw, 0.93rem);
  text-align: center;
  list-style: none;
}

.recording-flow li {
  display: grid;
  place-items: center;
  padding: 9px 4px;
}

.recording-flow li + li {
  border-inline-start: 1px solid var(--line);
}

.recording-flow li:last-child {
  color: var(--accent);
  font-weight: 650;
}

.handoff-stage {
  background: var(--handoff-stage);
}

.handoff-crop {
  position: relative;
  width: min(100%, 288px);
  aspect-ratio: 345 / 430;
  overflow: hidden;
  border-radius: 12px;
}

.handoff-crop img {
  position: absolute;
  inset: auto 0 0;
}

.image-note {
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.editing-note {
  max-width: 43rem;
  margin: 21px auto 0;
  color: var(--muted);
  font-size: 0.91rem;
  text-wrap: pretty;
}

.site-footer {
  padding-block: 24px;
}

.devices {
  display: flex;
  gap: 25px;
  font-size: 0.85rem;
}

.devices dt {
  font-weight: 700;
}

.devices dd {
  margin-top: 2px;
  color: var(--muted);
}

@media (max-width: 650px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .header-inner,
  .footer-inner {
    gap: 16px;
  }

  .header-inner {
    min-height: 60px;
  }

  .hero-lead-featured {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }

  .hero-artwork {
    border-radius: 12px;
  }

  .brand {
    font-size: 1.18rem;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .nav-section {
    display: none;
  }

  .showcase {
    grid-template-columns: minmax(0, 1fr);
    max-width: 408px;
  }

  .capture-pair {
    grid-template-columns: minmax(0, 1fr);
  }

  .capture-portrait img {
    max-height: min(400px, 105vw);
  }

  .showcase-card {
    grid-template-rows: auto;
    grid-row: auto;
  }

  .recording-stage {
    min-height: 0;
  }

  .handoff-crop {
    width: min(100%, 270px);
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

.footer-info,
.information-nav {
  flex-wrap: wrap;
  gap: 10px 20px;
}

.footer-info a,
.information-nav > a:not(.locale) {
  color: var(--muted);
}

.footer-info a:hover,
.information-nav a:hover {
  color: var(--accent);
}

.information-main {
  width: min(760px, 100% - 44px);
  padding-block: clamp(42px, 8vw, 94px);
}

.information-intro {
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}

.information-intro h1 {
  font: 750 clamp(2.4rem, 6vw, 4.15rem) / 1.05 var(--heading);
  letter-spacing: -0.035em;
}

.information-intro p {
  max-width: 58ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.information-notice {
  border-inline-start: 3px solid var(--accent);
  margin-block: 26px 36px;
  padding: 12px 16px;
  color: var(--accent);
  background: var(--stage);
}

.information-intro + .information-section,
.information-section + .information-section {
  margin-top: 32px;
}

.information-section h2 {
  font: 740 1.35rem / 1.25 var(--heading);
}

.information-section p {
  margin-top: 10px;
  color: var(--muted);
}

.information-section a[href^='mailto:'] {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (max-width: 480px) {
  .information-page .brand {
    font-size: 1.15rem;
  }

  .information-page .header-inner,
  .information-page .footer-inner {
    gap: 12px;
  }

  .information-page .wrap:not(.information-main) {
    width: calc(100% - 32px);
  }

  .information-page .information-nav {
    gap: 10px;
  }
}

.recording-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 52px);
  align-items: center;
}

.hero-phone {
  max-width: 420px;
  width: 100%;
  justify-self: center;
}

.hero-phone .capture-stage {
  background: var(--handoff-stage);
}

.recording-showcase img,
.hero-phone img {
  max-height: min(590px, 85vh);
}

@media (max-width: 650px) {
  .recording-showcase {
    grid-template-columns: minmax(0, 1fr);
  }

  .recording-showcase img,
  .hero-phone img {
    max-height: min(620px, 85vh);
  }
}
