:root {
  color-scheme: dark light;
  --bg: light-dark(#0b0b0f, #fbfaf7);
  --bg2: light-dark(#111117, #f1eee7);
  --ink: light-dark(#f4f2ee, #17161a);
  --mut: light-dark(#a6a39b, #5d5a53);
  --line: light-dark(#26262e, #dedad0);
  --gold: light-dark(#c8a96e, #8a6a22);
  --gold-ink: light-dark(#14110a, #fffdf6);
  --ok: light-dark(#6fcf97, #1a7f43);
  --bad: light-dark(#ff7b72, #b3261e);
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gold-hover: color-mix(in oklch, var(--gold) 82%, var(--ink));
  --r: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
@view-transition { navigation: auto; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1120px, 100% - 2rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 1rem; top: 1rem; background: var(--gold); color: var(--gold-ink); padding: .5rem .8rem; z-index: 9; }

.top { position: sticky; top: 0; z-index: 5; background: color-mix(in oklch, var(--bg) 92%, transparent); border-bottom: 1px solid var(--line); }
.bar { display: flex; justify-content: space-between; align-items: center; min-height: 60px; gap: 1rem; }
.brand { text-decoration: none; font-weight: 500; letter-spacing: -0.01em; } .brand b { color: var(--gold); font-weight: 700; }
.bar nav { display: flex; gap: 1.25rem; align-items: center; font-size: .95rem; color: var(--mut); }
.bar nav a { text-decoration: none; padding: .6rem 0; min-height: 44px; display: inline-flex; align-items: center; transition: color .2s; }
.bar nav a:hover { color: var(--ink); }
.bar .lang { border: 1px solid var(--line); border-radius: 99px; padding: 0 .9rem; min-height: 36px; }
@media (max-width: 640px) { .bar nav a:not(.lang) { display: none; } }

.eyebrow { font: 500 .8rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.hero { padding: clamp(2.5rem, 7vw, 6rem) 0 2rem; }
.hero .grid { display: grid; gap: 3rem; grid-template-columns: 1.1fr .9fr; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 700; }
.lead { color: var(--mut); font-size: 1.2rem; max-width: 34em; margin: 1.4rem 0 2rem; }
.row { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1.3rem; border-radius: 10px; background: var(--gold); color: var(--gold-ink); font-weight: 700; text-decoration: none; transition: background-color .2s, transform .2s; }
.btn:hover { background: var(--gold-hover); transform: translateY(-1px); }
.btn.big { min-height: 50px; padding: 0 1.6rem; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); } .btn.ghost:hover { background: var(--bg2); }
.sec { color: var(--mut); font-size: .92rem; padding: .7rem .2rem; }

.stack { position: relative; aspect-ratio: 1 / 1.05; max-width: 440px; margin-inline: auto; width: 100%; }
.stack img { position: absolute; width: 62%; height: auto; border-radius: 6px; box-shadow: 0 24px 60px -20px #000a; border: 1px solid var(--line); }
.stack .c1 { left: 19%; top: 6%; z-index: 3; } .stack .c2 { left: 0; top: 26%; transform: rotate(-6deg); z-index: 2; } .stack .c3 { right: 0; top: 24%; transform: rotate(6deg); z-index: 1; }
@media (max-width: 860px) { .hero .grid { grid-template-columns: 1fr; } .stack { max-width: 340px; } }

.strip { list-style: none; padding: 1.2rem 0; margin: 2.5rem auto; display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: center; border-block: 1px solid var(--line); font: 500 .85rem var(--mono); color: var(--mut); }
.strip li::before { content: "▸ "; color: var(--gold); }

.head { max-width: 40rem; margin-bottom: 2.2rem; } .head h2, .faq h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); } .head p { color: var(--mut); margin-top: .8rem; }
section.wrap { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.steps { list-style: none; padding: 0; margin: 0 0 2.5rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.steps li { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem; }
.steps .n { font: 700 .8rem var(--mono); color: var(--gold); } .steps h3 { font-size: 1.1rem; margin: .4rem 0; } .steps p { color: var(--mut); font-size: .95rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } } @media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.term { margin: 0; max-width: 40rem; }
.term figcaption { font: 500 .85rem var(--mono); color: var(--mut); margin-bottom: .6rem; }
.term pre { margin: 0; background: light-dark(#06060a, #17161a); color: #e9e6df; border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem 1.3rem; overflow-x: auto; font: .95rem/1.7 var(--mono); }
.term .c { color: #8a877e; } .term .p { color: var(--gold); } .term .ok { color: #6fcf97; font-weight: 700; } .term .bad { color: #ff7b72; font-weight: 700; }
.term .note { color: var(--mut); font-size: .95rem; margin-top: .8rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.4rem; container-type: inline-size; }
.card { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.card:hover { border-color: color-mix(in oklch, var(--gold) 60%, var(--line)); transform: translateY(-2px); }
.card img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; display: block; background: #0b0b0f; }
.card .body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card h3 { font-size: 1.2rem; } .card .sub { color: var(--mut); font-size: .96rem; flex: 1; }
.price { margin-top: .4rem; } .price strong { font-size: 1.4rem; } .price span { color: var(--mut); font-size: .85rem; }
.soonrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1.4rem; margin-top: 1.4rem; }
.soon { border: 1px dashed var(--line); border-radius: var(--r); padding: 1.4rem; } .soon h3 { font-size: 1.15rem; margin: .7rem 0 .4rem; } .soon p { color: var(--mut); font-size: .96rem; }
.tag { font: 600 .72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold); border-radius: 99px; padding: .2rem .6rem; }

.faq { max-width: 46rem; } .faq h2 { margin-bottom: 1.4rem; }
details { border-top: 1px solid var(--line); padding: 1rem 0; } details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; list-style: none; } summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; margin-left: auto; color: var(--gold); font: 400 1.4rem var(--mono); } details[open] summary::after { content: "−"; }
details p { color: var(--mut); padding: .2rem 0 .4rem; }
footer { border-top: 1px solid var(--line); padding: 2rem 0 3rem; color: var(--mut); font-size: .92rem; } .foot { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.foot a { text-underline-offset: 3px; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .card, .steps li { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
    @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  }
}
