/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
    margin: 0;
    background: #0e0e10;
    color: #ececec;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100dvh;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

/* ---------- layout ---------- */
.page {
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: clamp(24px, 6vw, 64px);
}

/* ---------- reveal-on-load ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .5s ease, transform .5s ease;
}
[data-reveal].is-in {
    opacity: 1;
    transform: none;
}

/* ---------- hero ---------- */
.hero {
    text-align: center;
    max-width: 680px;
}
.hero__title {
    margin: 0 0 20px;
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, #ffffff 0%, #6a6a74 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero__sub {
    margin: 0 auto 36px;
    max-width: 460px;
    color: #a0a0a8;
    font-size: clamp(15px, 1.6vw, 17px);
    line-height: 1.55;
}

/* ---------- CTA button ---------- */
.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    color: #0e0e10;
    background: linear-gradient(180deg, #ffffff 0%, #9a9aa6 100%);
    border-radius: 6px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 4px 14px rgba(0,0,0,0.3);
    transition: filter .15s ease, transform .15s ease;
}
.cta__arrow { display: inline-flex; }
.cta:hover {
    filter: brightness(1.06);
}
.cta:active {
    transform: translateY(1px);
}
.cta--full { width: 100%; }

/* ---------- product page ---------- */
.product {
    width: 100%;
    max-width: 540px;
}
.back {
    display: inline-block;
    margin-bottom: 24px;
    font-size: 14px;
    color: #8a8a92;
    transition: color .15s ease;
}
.back:hover { color: #ececec; }

.card {
    padding: clamp(24px, 4vw, 36px);
    background: linear-gradient(180deg, #1c1c20 0%, #141417 100%);
    border: 1px solid #2a2a2f;
    border-radius: 10px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.tag {
    display: inline-block;
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #d0d0d6;
    padding: 5px 10px;
    border: 1px solid #2a2a2f;
    border-radius: 4px;
    background: linear-gradient(180deg, #232328 0%, #1a1a1e 100%);
}
.card__title {
    margin: 16px 0 10px;
    font-size: clamp(24px, 3.4vw, 32px);
    line-height: 1.15;
    letter-spacing: -0.01em;
    background: linear-gradient(180deg, #ffffff 0%, #6a6a74 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.card__desc {
    margin: 0 0 24px;
    color: #a0a0a8;
    line-height: 1.55;
}
.steps__lead {
    margin: 0 0 12px;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #76767e;
}
.steps {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
    counter-reset: step;
    display: grid;
    gap: 10px;
}
.steps li {
    counter-increment: step;
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    color: #d0d0d6;
    font-size: 14px;
    line-height: 1.5;
}
.steps li::before {
    content: counter(step);
    color: #76767e;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    padding-top: 2px;
}
.steps b { color: #ffffff; font-weight: 600; }
.steps__notes {
    margin: 0 0 24px;
    padding: 12px 14px;
    border: 1px solid #2a2a2f;
    border-radius: 8px;
    background: linear-gradient(180deg, #18181b 0%, #111114 100%);
    font-size: 13px;
    color: #9a9aa2;
    line-height: 1.5;
}
.steps__notes p { margin: 0; }
.steps__notes p + p { margin-top: 6px; }
.steps__notes b { color: #d0d0d6; font-weight: 600; }
.card__manual {
    margin: 6px 0 0;
    font-size: 11px;
    color: #76767e;
    text-align: center;
}
.card__manual a {
    color: #9a9aa2;
    border-bottom: 1px dotted #4a4a4f;
    transition: color .15s ease, border-color .15s ease;
}
.card__manual a:hover {
    color: #ececec;
    border-bottom-color: #ececec;
}
.card__meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin: 0 0 24px;
    padding: 16px;
    border: 1px solid #2a2a2f;
    border-radius: 8px;
    background: linear-gradient(180deg, #18181b 0%, #111114 100%);
}
.card__meta div { display: flex; flex-direction: column; gap: 4px; }
.card__meta dt {
    margin: 0;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #76767e;
}
.card__meta dd {
    margin: 0;
    font-size: 14px;
    color: #ececec;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mono {
    font-family: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;
    font-size: 13px;
}
.card__hint {
    margin: 16px 0 0;
    font-size: 12px;
    color: #76767e;
    text-align: center;
}

/* ---------- motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    [data-reveal] { opacity: 1; transform: none; }
}
