/* ============================================================
   landing - choose your view
   ============================================================ */

/* ---------- tokens ---------- */
:root {
    --page-bg: #050507;
    --window-bg: #0e0f12;
    --rule: #23242a;
    --text: #ececee;
    --text-dim: #8a8a92;
    --green: #02e35c;
    --accent: #5cccff;
    --sun: #d4a017;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Menlo', 'SF Mono', 'Monaco', 'Inconsolata', monospace;
}

/* ---------- reset + base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
    background: var(--page-bg);
    background-image:
        radial-gradient(ellipse 120% 60% at 50% 0%, rgba(2, 227, 92, 0.06), transparent 60%),
        radial-gradient(ellipse 80% 50% at 50% 110%, rgba(212, 160, 23, 0.04), transparent 60%);
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.6;
    min-height: 100vh;
    padding: 5vh 5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: rgba(2, 227, 92, 0.3);
    color: var(--text);
}

/* ---------- header ---------- */
.landing-header {
    text-align: center;
    margin-bottom: 5vh;
    animation: fadeUp 0.5s 0.05s both ease-out;
}

.landing-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin: 0 0 1em;
}

.slash {
    margin-right: 0.1em;
}

.landing-name-big {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--text);
    margin: 0;
}

/* ---------- chooser grid ---------- */
.chooser {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5em;
    width: 100%;
    max-width: 1200px;
    animation: fadeUp 0.6s 0.15s both ease-out;
}

/* ---------- choice card (shared) ---------- */
.choice {
    display: block;
    width: 100%;
    min-width: 0;
    color: inherit;
    text-decoration: none;
    background: var(--window-bg);
    border: 1px solid var(--rule);
    border-radius: 14px;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.choice:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}

.choice.classic:hover  { border-color: rgba(92, 204, 255, 0.55); }
.choice.terminal:hover { border-color: rgba(2, 227, 92, 0.55); }

.choice-body {
    padding: 2.4em 2.2em 2.2em;
}

.choice-head {
    display: flex;
    align-items: center;
    gap: 0.65em;
    margin: 0 0 1.1em;
}

.choice-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
}

.choice-icon svg {
    width: 20px;
    height: 20px;
}

.choice.classic  .choice-icon { background: rgba(92, 204, 255, 0.1); color: var(--accent); }
.choice.terminal .choice-icon { background: rgba(2, 227, 92, 0.1);   color: var(--green); }

.choice-label {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin: 0;
}

.choice.classic  .choice-label { color: var(--accent); }
.choice.terminal .choice-label { color: var(--green); }

.choice-title {
    font-size: 1.95rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--text);
    margin: 0 0 0.5em;
    line-height: 1.1;
}

.choice-desc {
    font-size: 1.08rem;
    line-height: 1.6;
    color: var(--text-dim);
    margin: 0 0 1.3em;
}

.choice-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text);
}

.choice.classic  .choice-cta { color: var(--accent); }
.choice.terminal .choice-cta { color: var(--green); }

.choice-cta .arrow {
    transition: transform 0.2s ease;
}

.choice:hover .choice-cta .arrow {
    transform: translateX(4px);
}

/* ---------- elsewhere section ---------- */
.elsewhere {
    width: 100%;
    max-width: 1200px;
    margin-top: 2.4em;
    animation: fadeUp 0.7s 0.25s both ease-out;
}

.section-divider {
    display: flex;
    align-items: center;
    gap: 1.1em;
    margin: 0 0 1.1em;
    width: 100%;
    max-width: 1200px;
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-divider span {
    white-space: nowrap;
}

.section-divider::before,
.section-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--rule);
}

.section-divider--choose {
    margin-top: 0;
    margin-bottom: 1.1em;
}
.section-divider--choose span { color: var(--text-dim); }

.section-divider--elsewhere {
    margin-bottom: 0.9em;
}
.section-divider--elsewhere span { color: var(--text-dim); }

.elsewhere-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4em;
}

.elsewhere-card {
    display: flex;
    flex-direction: column;
    gap: 0.45em;
    padding: 1.3em 1.5em 1.2em;
    background: transparent;
    border: 1px solid var(--rule);
    border-radius: 10px;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.elsewhere-card:hover {
    border-color: rgba(212, 160, 23, 0.5);
    background: rgba(212, 160, 23, 0.035);
}

.elsewhere-card-head {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.elsewhere-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: rgba(212, 160, 23, 0.12);
    color: var(--sun);
    flex-shrink: 0;
}

.elsewhere-card-icon svg {
    width: 13px;
    height: 13px;
}

.elsewhere-card-title {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: -0.005em;
    color: var(--text);
    margin: 0;
}

.elsewhere-card-desc {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-dim);
    margin: 0;
}

.elsewhere-card-url {
    margin-top: 0.15em;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-dim);
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
}

.elsewhere-card:hover .elsewhere-card-url {
    color: var(--text);
}

.elsewhere-card .arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}

.elsewhere-card:hover .arrow {
    transform: translateX(3px);
}

/* ---------- animations ---------- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: none; }
}

/* ---------- mobile ---------- */
@media (max-width: 720px) {
    body { padding: 5vh 4vw 4vh; }

    .landing-header { margin-bottom: 2.2vh; }
    .landing-eyebrow { font-size: 0.68rem; letter-spacing: 0.2em; }

    .chooser {
        grid-template-columns: 1fr;
        gap: 1em;
    }

    .choice-body { padding: 1.8em 1.5em 1.6em; }

    .elsewhere {
        margin-top: 1.8em;
    }

    .elsewhere-grid {
        grid-template-columns: 1fr;
        gap: 0.9em;
    }

    .elsewhere-card {
        padding: 1.1em 1.2em;
    }
}
