:root {
    --accent: #50f2a5;
    --accent-dim: #31c985;
    --bg-deep: #07110d;
    --bg-card: #0d1c16;
    --bg-elevated: #13271e;
    --border: #264338;
    --glow: rgba(80, 242, 165, 0.18);
}

body {
    background:
        radial-gradient(circle at 82% 8%, rgba(80, 242, 165, 0.12), transparent 30rem),
        var(--bg-deep);
}

.anki-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem clamp(1rem, 5vw, 4rem);
}

.anki-nav .brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--text);
    font-size: 1rem;
    font-weight: 700;
}

.anki-nav .brand img {
    border-radius: 9px;
}

.nav-links {
    display: flex;
    gap: 0.3rem;
}

.anki-hero {
    min-height: auto;
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(5rem, 10vw, 8rem) 2rem 5rem;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(3rem, 7vw, 6rem);
    text-align: left;
}

.hero-copy {
    align-self: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 1.1rem;
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.anki-hero h1 {
    max-width: 720px;
    font-size: clamp(2.7rem, 6vw, 5.6rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.anki-hero h1 span {
    color: var(--accent);
}

.anki-hero p {
    max-width: 650px;
    margin: 1.6rem 0 2rem;
    font-size: clamp(1.03rem, 2vw, 1.2rem);
}

.anki-hero .cta-group {
    justify-content: flex-start;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.5rem;
    margin-top: 1.4rem;
    color: var(--text-dim);
    font-size: 0.82rem;
}

.trust-row span::before {
    content: '✓';
    margin-right: 0.45rem;
    color: var(--accent);
}

.review-console {
    align-self: center;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(13, 28, 22, 0.9);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45), 0 0 80px var(--glow);
    transform: rotate(1.5deg);
}

.console-topline {
    display: flex;
    justify-content: space-between;
    padding: 0.35rem 0.4rem 1rem;
    color: var(--text-dim);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
}

.live-dot {
    color: var(--accent);
}

.live-dot::before {
    content: '';
    display: inline-block;
    width: 0.45rem;
    height: 0.45rem;
    margin-right: 0.4rem;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
}

.card-preview {
    min-height: 230px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #f1ead7;
    color: #102019;
    text-align: center;
}

.card-counter {
    margin-bottom: 1.2rem;
    color: #64736b;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
}

.card-preview p {
    margin: 0;
    color: #102019;
    font-family: Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
}

.answer-reveal {
    margin-top: 1.4rem;
    padding-top: 1.2rem;
    border-top: 1px solid #bdc7bf;
    color: #1c6e4c;
    font-weight: 700;
}

.answer-pad {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
    padding: 1rem 0 0.4rem;
}

.answer-pad div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-dim);
    font-size: 0.72rem;
}

.button {
    width: 2.6rem;
    height: 2.6rem;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: white;
    font: 700 0.85rem 'Space Grotesk', sans-serif;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 4px 0 rgba(0, 0, 0, 0.35);
}

.button.x { background: #317ad9; }
.button.b { background: #d94a4a; }
.button.a { background: #47a850; }
.button.y { background: #d7a82b; }

.console-note {
    margin: 0.8rem 0 0;
    padding: 0 0.5rem 0.35rem;
    color: var(--text-dim);
    font-size: 0.78rem;
    text-align: center;
}

.proof-strip {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.6rem 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-block: 1px solid var(--border);
}

.proof-strip div {
    padding: 0.3rem 2rem;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border);
}

.proof-strip div:last-child {
    border-right: 0;
}

.proof-strip strong {
    color: var(--accent);
    font-size: 1.3rem;
}

.proof-strip span {
    color: var(--text-dim);
    font-size: 0.82rem;
}

.demo-section,
.setup-section,
.mapping-section,
.faq-section,
.final-cta {
    max-width: 1100px;
    margin: 0 auto;
    padding-inline: 2rem;
}

.demo-section {
    display: grid;
    grid-template-columns: 1fr 0.72fr;
    align-items: center;
    gap: clamp(3rem, 8vw, 7rem);
}

.section-copy h2 {
    max-width: 700px;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.05;
}

.section-copy > p {
    margin-top: 1.25rem;
    color: var(--text-dim);
}

.check-list {
    margin-top: 1.5rem;
    list-style: none;
}

.check-list li {
    padding: 0.55rem 0 0.55rem 1.7rem;
    position: relative;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.video-shell {
    width: min(100%, 330px);
    margin: 0 auto;
    aspect-ratio: 9 / 16;
    padding: 0.55rem;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--bg-card);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.video-shell iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 17px;
}

.layer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.layer-card {
    min-height: 390px;
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(155deg, var(--bg-elevated), var(--bg-card));
}

.layer-number {
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
}

.layer-card h3 {
    margin: 1.2rem 0 0.8rem;
    font-size: 1.6rem;
}

.layer-card p {
    min-height: 4.8rem;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.layer-card ul {
    margin-top: 1.2rem;
    list-style: none;
}

.layer-card li {
    padding: 0.7rem 0;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
}

.layer-card li span {
    min-width: 4.7rem;
    display: inline-block;
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.76rem;
}

.red-layer { border-top: 3px solid #ff625f; }
.red-layer .layer-number,
.red-layer li span { color: #ff7774; }
.green-layer { border-top: 3px solid var(--accent); }

.contributor-note {
    margin-top: 1rem;
    color: var(--text-dim);
    font-size: 0.82rem;
    text-align: right;
}

.setup-section {
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(13, 28, 22, 0.72);
}

.setup-steps {
    max-width: 760px;
    margin: 0 auto;
    list-style: none;
}

.setup-steps li {
    padding: 1.3rem 0;
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
}

.setup-steps li > span {
    width: 2.2rem;
    height: 2.2rem;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--accent);
    color: var(--bg-deep);
    font-weight: 700;
}

.setup-steps p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.setup-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.4rem;
    flex-wrap: wrap;
}

.text-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.faq-section .faq-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.faq-section article {
    padding: 1.7rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg-card);
}

.faq-section h3 {
    margin-bottom: 0.7rem;
    font-size: 1rem;
}

.faq-section p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.final-cta {
    padding-block: 7rem;
    text-align: center;
}

.final-cta h2 {
    font-size: clamp(2.3rem, 6vw, 4.6rem);
    line-height: 1;
}

.final-cta p {
    margin: 1.3rem auto 2rem;
    color: var(--text-dim);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}
