/* ============================================================
   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: 2.4vh 5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.landing-main {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    gap: 0.8em;
}

.landing-pick {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

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

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

.slash {
    margin-right: 0.1em;
}

.landing-name-big {
    font-size: clamp(1.9rem, 3.6vw, 2.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.1em;
    width: 100%;
    max-width: 1280px;
    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: 1.4em 1.6em 1.4em;
}

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

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

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

.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.72rem;
    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.35rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--text);
    margin: 0 0 0.35em;
    line-height: 1.15;
}

.choice-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-dim);
    margin: 0 0 0.85em;
}

.choice-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    font-size: 0.9rem;
    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);
}

/* ---------- about section ---------- */
.landing-about {
    width: 100%;
    max-width: 1280px;
    margin-bottom: 0;
    animation: fadeUp 0.6s 0.12s both ease-out;
}

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

.landing-about-body p {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.7;
    color: var(--text-dim);
}

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

.section-divider {
    display: flex;
    align-items: center;
    gap: 1.1em;
    margin: 0 0 0.9em;
    width: 100%;
    max-width: 1280px;
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    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: 0.85em;
}
.section-divider--choose span { color: var(--text-dim); }

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

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

.elsewhere-card {
    display: flex;
    flex-direction: column;
    gap: 0.35em;
    padding: 0.9em 1.1em 0.95em;
    background: transparent;
    border: 1px solid var(--rule);
    border-radius: 9px;
    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.02rem;
    font-weight: 500;
    letter-spacing: -0.005em;
    color: var(--text);
    margin: 0;
}

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

.elsewhere-card-url {
    margin-top: 0.1em;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    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: 3vh 4vw 3vh; }

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

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

    .choice-body { padding: 1.2em 1.3em 1.2em; }

    .elsewhere {
        margin-top: 1.2em;
    }

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

    .elsewhere-card {
        padding: 0.85em 1em;
    }

    .landing-about { margin-bottom: 1.4em; }
    .landing-about-body p { font-size: 0.9rem; line-height: 1.6; }
}
