:root {
  color-scheme: dark;
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: #111412;
  color: #f4f1eb;
  --muted: #babdb3;
  --gold: #f5cc79;
  --line: #383c34;
  --surface: #191d18;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.15; }
.wrap { max-width: 76rem; width: calc(100% - 3rem); margin-inline: auto; }

.site-header, .site-footer {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header { border-bottom: 1px solid var(--line); }
.wordmark { font-size: 1.28rem; font-weight: 760; letter-spacing: -.035em; text-decoration: none; }
nav { display: flex; gap: clamp(.85rem, 3vw, 2.4rem); align-items: center; }
nav a { text-decoration: none; color: var(--muted); font-size: .94rem; }
nav a:hover { color: var(--gold); }
.language { border: 1px solid var(--line); padding: .4rem .7rem; border-radius: .32rem; color: #f4f1eb; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  padding-block: clamp(4rem, 9vw, 8rem);
}

.eyebrow { color: var(--gold); font-size: .94rem; font-weight: 660; margin-bottom: 1rem; }
h1 { font-size: clamp(2.55rem, 5.6vw, 5.1rem); letter-spacing: -.068em; max-width: 12ch; }
h1 em { color: var(--gold); font-style: normal; }
.intro { color: var(--muted); max-width: 42ch; font-size: clamp(1rem, 1.45vw, 1.18rem); margin: 1.5rem 0 1.8rem; }
.button {
  display: inline-block;
  text-decoration: none;
  background: var(--gold);
  color: #211a0f;
  font-weight: 720;
  border-radius: .38rem;
  padding: .82rem 1.16rem;
}

.button:hover { background: #ffe1a1; }
.hero-art {
  display: grid;
  align-items: center;
  isolation: isolate;
  border-radius: .65rem;
  aspect-ratio: 1.26;
  padding: .7rem;
  border: 1px solid #453a26;
  background: radial-gradient(ellipse at 51% 46%, #604525 0%, #2c281c 49%, #161915 77%);
}

.hero-art img { width: 100%; filter: drop-shadow(0 1.4rem 1.25rem #0a0c09a8); }
.workflow { background: var(--surface); border-block: 1px solid var(--line); }
.workflow-inner { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 7vw, 7rem); align-items: center; padding-block: 4.6rem; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3.15rem); letter-spacing: -.045em; }
h3 { font-size: 1.15rem; }
.steps { padding-inline-start: 1.25rem; margin-block: 1.5rem 0; }
.steps li { padding-inline-start: .5rem; }
.steps li + li { margin-top: 1rem; }
.steps li::marker { color: var(--gold); font-weight: 700; }
.steps p, .features p, .timeline p, .questions p { color: var(--muted); margin-top: .4rem; }

.timeline { background: #111511; border: 1px solid var(--line); border-radius: .65rem; padding: clamp(.9rem, 3vw, 1.65rem); }
.timeline figcaption { font-size: 1.06rem; font-weight: 700; margin-bottom: 1.1rem; }
.track { display: flex; align-items: center; gap: .6rem; min-height: 3rem; }
.track + .track { border-top: 1px solid var(--line); }
.track-label { font-size: .875rem; color: var(--muted); width: 5.2rem; flex: none; }
.clips, .waveform { flex: 1; display: flex; gap: .24rem; align-items: center; min-width: 0; }
.clips span { flex: 1; min-width: 0; text-align: center; border-radius: .22rem; padding-block: .35rem; font-size: .875rem; color: #fcdf9d; background: #3c3120; border-inline-start: 2px solid var(--gold); }
.clips span:nth-child(2) { background: #2f3b2d; color: #f4f1eb; }
.waveform { height: 2.25rem; }
.waveform i { background: #98aa86; width: 100%; height: 28%; border-radius: .15rem; }
.waveform i:nth-child(3n + 1) { height: 55%; }
.waveform i:nth-child(5n + 2) { height: 87%; }
.waveform i:nth-child(7n + 3) { height: 69%; }
.timeline p { font-size: .94rem; margin-top: .8rem; }

.details, .questions { padding-block: 4.1rem; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 1.65rem; }
.features article { border-top: 1px solid var(--line); padding-top: 1rem; }
.questions { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 2rem; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding-block: .85rem; }
details:first-child { padding-top: 0; }
summary { cursor: pointer; font-weight: 650; }
summary::marker { color: var(--gold); }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .94rem; }
.site-footer .wordmark { color: #f4f1eb; }

[dir="rtl"] { font-family: Tahoma, 'Segoe UI', system-ui, sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2 { letter-spacing: normal; line-height: 1.35; }
[dir="rtl"] h1 { max-width: 16ch; }
[dir="rtl"] .intro { line-height: 1.9; }
[dir="rtl"] .track-label { width: 6.45rem; }

@media (max-width: 48rem) {
  .hero, .workflow-inner, .questions { grid-template-columns: 1fr; }
  .hero { gap: 1.8rem; padding-block: 3.7rem; }
  .hero-art { aspect-ratio: 1.6; max-width: 34rem; }
  .workflow-inner { gap: 1.8rem; padding-block: 3.3rem; }
  .details, .questions { padding-block: 3rem; }
}

@media (max-width: 34rem) {
  .wrap { width: calc(100% - 2rem); }
  .site-header { min-height: 4.2rem; }
  nav { gap: .7rem; }
  nav a { font-size: .875rem; }
  nav a[href='#questions'] { display: none; }
  .hero { padding-block: 3rem; }
  .features { grid-template-columns: 1fr; gap: 1.1rem; }
}
