@font-face {
  font-family: Cairo;
  src: url("../media/cairo.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #25241c;
  --paper: #f9f4ea;
  --muted: #655d4e;
  --accent: #b64b24;
  --line: #ded2bb;
  --dark: #151713;
  --green: #234234;
  --gold: #efc083;
  font-family: Cairo, Tahoma, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }
button, video { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #b24b29; outline-offset: 3px; }
.shell { width: min(1160px, calc(100% - 56px)); margin-inline: auto; }
.topbar, .footer {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-bottom: 1px solid var(--line); padding-block: 15px;
}
.topbar p, .footer p { color: var(--muted); margin: 0; font-size: .85rem; }
.brand { font: 800 26px/1 Georgia, serif; letter-spacing: -.085em; text-decoration: none; direction: ltr; }
.brand span { color: var(--accent); }
.intro { padding: clamp(52px, 10vw, 118px) 0 clamp(42px, 8vw, 88px); }
.eyebrow { margin: 0 0 9px; color: var(--accent); font-size: .82rem; font-weight: 820; letter-spacing: .07em; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(2.35rem, 7vw, 5.9rem); line-height: 1.25; letter-spacing: -.043em; font-weight: 860; }
.intro-copy { color: var(--muted); margin-block: 19px 24px; max-width: 48ch; font-size: clamp(1rem, 1.8vw, 1.25rem); }
.round-link {
  display: inline-flex; align-items: center; gap: 12px; border: 1px solid currentColor; border-radius: 99px;
  padding: .45rem .95rem; font-weight: 750; text-decoration: none; line-height: 1.6;
}
.round-link:hover { color: var(--accent); }
.walkthrough { border-top: 1px solid var(--line); padding-block: 28px 42px; }
.walkthrough-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
h2 { font-size: clamp(1.38rem, 3.6vw, 2.18rem); line-height: 1.45; }
.reset { border: 0; background: transparent; color: var(--green); text-decoration: underline; padding: .35rem; font-size: .9rem; }
.walkthrough-grid { display: grid; grid-template-columns: minmax(230px, .34fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 36px); }
.steps { min-width: 0; display: grid; grid-template-columns: 1fr; gap: 6px; align-content: start; }
.step {
  display: flex; flex-direction: column; align-items: start; width: 100%; gap: 1px; color: var(--ink);
  background: transparent; border: 1px solid transparent; border-bottom-color: var(--line);
  text-align: start; padding: 11px 15px; border-radius: 7px;
}
.step strong { font-size: 1rem; }
.step small { color: var(--muted); font-size: .8rem; line-height: 1.45; }
.step:hover { border-color: #b58a5e; }
.step[aria-pressed="true"] { background: var(--green); color: #fff4df; border-color: var(--green); }
.step[aria-pressed="true"] small { color: #e9dec5; }
.stage { margin: 0; overflow: hidden; border-radius: 16px; color: #fff4df; background: var(--dark); }
.stage-screen {
  position: relative; min-width: 0; min-height: 0; background: #232720;
  aspect-ratio: 8 / 5; overflow: hidden;
}
.stage video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: contain; }
.stage[data-format="phone"] video { inset-inline: auto; left: 50%; width: 35.15625%; transform: translateX(-50%); }
.stage figcaption { padding: 17px 21px 22px; }
.scene-title { color: var(--gold); font-size: 1.14rem; font-weight: 800; }
#scene-note { color: #f9e8cb; font-size: .94rem; }
.scope { padding-top: 19px; color: var(--muted); font-size: .85rem; max-width: 86ch; }
.next { padding-block: 30px 40px; border-top: 1px solid var(--line); }
.next h2 { margin-block-end: 12px; }
.footer { border-top: 1px solid var(--line); border-bottom: none; }

@media (max-width: 780px) {
  .shell { width: calc(100% - 32px); }
  .walkthrough-grid { display: flex; flex-direction: column-reverse; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step { padding-inline: 9px; }
  .stage[data-format="phone"] .stage-screen { aspect-ratio: 4 / 5; }
  .stage[data-format="phone"] video { width: 70.3125%; }
  .stage .stage-screen, .stage video { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.brand img{display:block;width:96px;height:auto}.scene-alternative{margin-top:.65rem;padding:.32rem .65rem;color:#fff4df;background:transparent;border:1px solid #b5a17f;border-radius:.4rem;font:inherit;font-size:.82rem}
