:root {
  --bg: #0a0a0c; --surface: #16161a; --surface2: #1f1f25; --line: #2b2b33;
  --text: #f5f5f7; --muted: #a3a3ad; --accent: #e8173f; --accent-deep: #c8102e; --accent-text: #ff5c7a;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.top { padding: 20px 0; }
.top .wrap, .foot .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.brand img { display: block; }
nav a { color: var(--muted); text-decoration: none; font-size: 15px; margin-left: 20px; }
nav a:hover, nav a[aria-current] { color: var(--text); }

.hero { padding-top: 56px; padding-bottom: 24px; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6.4vw, 68px); line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 18px; font-weight: 800; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--accent-text); }
.hero p { color: var(--muted); font-size: 19px; max-width: 30em; margin: 0 0 28px; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep)); box-shadow: 0 12px 40px rgba(232, 23, 63, 0.35); }
.note { color: var(--muted); font-size: 14px; margin-top: 14px; }

.stack { position: relative; height: 520px; }
.stack figure { position: absolute; margin: 0; width: 46%; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); background: var(--surface); }
.stack img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stack figure:nth-child(1) { left: 0; top: 46px; transform: rotate(-6deg); }
.stack figure:nth-child(2) { left: 27%; top: 0; z-index: 2; }
.stack figure:nth-child(3) { right: 0; top: 58px; transform: rotate(6deg); }
.stack figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 14px; font-weight: 700; font-size: 15px; line-height: 1.2; text-align: center;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)); }

section { padding: 56px 0; }
h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 8px; font-weight: 800; }
.lede { color: var(--muted); margin: 0 0 32px; max-width: 38em; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; display: block; }
.card div { padding: 18px 20px 22px; }
.card h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-weight: 700; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep)); }
.steps h3 { margin: 0 0 6px; font-size: 18px; }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 32px; padding: 0; margin: 0; list-style: none; }
.facts li { padding: 16px 0; border-top: 1px solid var(--line); }
.facts strong { display: block; }
.facts span { color: var(--muted); font-size: 15.5px; }

.legal { max-width: 720px; padding-top: 32px; padding-bottom: 72px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); letter-spacing: -0.03em; line-height: 1.05; margin: 6px 0 20px; }
.legal h2 { font-size: 21px; letter-spacing: -0.01em; margin: 34px 0 8px; }
.legal p, .legal li { color: #d6d6dc; }
.legal a { color: var(--accent-text); }
.label { color: var(--muted); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin: 0; }

.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.foot nav a { margin: 0 0 0 18px; font-size: 14px; }
.foot nav a:first-child { margin-left: 0; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 28px; gap: 36px; }
  .stack figcaption { font-size: 12px; padding: 30px 8px 10px; }
  .stack { height: min(118vw, 520px); }
  .cards, .steps, .facts { grid-template-columns: 1fr; }
  nav a { margin-left: 14px; }
}
