:root {
    /* Official palette — Background / Card / Foreground / Primary */
    --page-background: #080C16;
    --page-background-deep: #060A11;
    --surface: rgba(13, 19, 33, 0.78);   /* Card #0D1321 */
    --surface-strong: rgba(13, 19, 33, 0.94);
    --surface-soft: rgba(255, 255, 255, 0.05);
    --border: rgba(241, 245, 249, 0.1);  /* Foreground #F1F5F9 at low opacity */
    --border-strong: rgba(35, 221, 246, 0.3);
    --text: #F1F5F9;                     /* Foreground */
    --text-muted: #8fa3bf;
    --text-soft: #c4d0e3;
    --accent-cyan: #23DDF6;              /* Primary */
    --accent-blue: #4f46e5;
    --accent-purple: #a855f7;
    --accent-green: #34d399;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.5);

    --page-width: 80rem;
    --spacing: 0.25rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
}

body {
    background:
        radial-gradient(circle at top left, rgba(35, 221, 246, 0.15), transparent 28%),
        radial-gradient(circle at top right, rgba(168, 85, 247, 0.18), transparent 26%),
        linear-gradient(180deg, #0D1321 0%, #080C16 52%, #060A11 100%);
    color: var(--text);
    font-family: Inter, "Segoe UI", sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    & > main {
        flex: 1;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.starter-page {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 64px 24px;
}

.starter-hero {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 48px;
    align-items: center;
    width: min(1180px, 100%);
    margin: 0 auto;
}

.starter-copy,
.starter-panel {
    position: relative;
}

.starter-brand {
    margin-bottom: 28px;
}

.starter-logo {
    width: 290px;
}

.starter-kicker {
    margin: 0 0 12px;
    color: var(--accent-cyan);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.starter-title {
    margin: 0;
    font-size: clamp(3.4rem, 8vw, 6rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
}

.starter-status {
    margin: 22px 0 14px;
    color: var(--text);
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.starter-summary {
    max-width: 640px;
    margin: 0;
    color: var(--text-muted);
    font-size: 1.06rem;
    line-height: 1.8;
}

.starter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.starter-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 34px;
}

.starter-link-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 130px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(16px);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.starter-link-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-strong);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

.starter-link-label {
    font-size: 1rem;
    font-weight: 700;
}

.starter-link-copy {
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.65;
}

.starter-panel {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.starter-terminal,
.starter-quickstart {
    border: 1px solid var(--border);
    border-radius: 24px;
    background: linear-gradient(180deg, var(--surface), rgba(10, 15, 27, 0.92));
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.starter-terminal {
    overflow: hidden;
}

.starter-terminal-bar {
    display: flex;
    gap: 9px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.starter-terminal-bar span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
}

.starter-terminal-bar span:nth-child(1) {
    background: #fb7185;
}

.starter-terminal-bar span:nth-child(2) {
    background: #fbbf24;
}

.starter-terminal-bar span:nth-child(3) {
    background: #34d399;
}

.starter-terminal-body {
    padding: 26px 24px 30px;
    font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 0.98rem;
    line-height: 1.9;
}

.starter-terminal-line {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.starter-terminal-comment {
    color: #7dd3fc;
}

.starter-terminal-key {
    color: #818cf8;
}

.starter-terminal-command {
    color: #f8fafc;
}

.starter-quickstart {
    padding: 22px;
}

.starter-quickstart-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
}

.starter-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.12);
    color: var(--accent-cyan);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.starter-quickstart-intro {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.starter-quickstart-grid {
    display: grid;
    gap: 14px;
}

.starter-quickstart-card {
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: var(--surface-soft);
}

.starter-quickstart-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(168, 85, 247, 0.2));
    color: var(--accent-cyan);
    font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 0.92rem;
    font-weight: 700;
}

.starter-quickstart-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
}

.starter-quickstart-card p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.7;
}

.starter-socials {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 8px;
}

.starter-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.starter-socials a:hover {
    transform: translateY(-2px);
    border-color: var(--border-strong);
    color: var(--text);
}

.starter-socials svg {
    fill: currentColor;
}

.starter-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(90px);
    opacity: 0.44;
    pointer-events: none;
}

.starter-glow-left {
    top: 80px;
    left: -110px;
    width: 240px;
    height: 240px;
    background: rgba(35, 221, 246, 0.32);
}

.starter-glow-right {
    right: -80px;
    bottom: 110px;
    width: 280px;
    height: 280px;
    background: rgba(168, 85, 247, 0.26);
}

@media (max-width: 1080px) {
    .starter-hero {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .starter-copy {
        max-width: 760px;
    }
}

@media (max-width: 720px) {
    .starter-page {
        padding: 36px 18px 48px;
    }

    .starter-logo {
        width: 220px;
    }

    .starter-link-grid {
        grid-template-columns: 1fr;
    }

    .starter-actions {
        flex-direction: column;
    }

    .starter-actions app-button {
        width: 100%;
    }
}
