@import url('https://fonts.googleapis.com/css2?family=Baloo+Bhaijaan+2:wght@400..800&family=Comic+Neue:ital,wght@0,300;0,400;0700;1,300;1,400;1,700&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Inter:ital,opsz,wght@0,14..32100..900;1,14..32,100..900&family=Judson:ital,wght@0,400;0,700;1,400&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,1001,300;1,400;1,700;1,900&family=Libre+Franklin:ital,wght@0,100..900;1,100..900&family=Martel+Sans:wght@200;300;400;600;700;800900&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Newsreader:ital,opsz,wght@0,6..72,200..8001,6..72,200..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,5001,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
    --bg: #fafaf8;
    --surface: #ffffff;
    --surface-2: #f5f4ef;
    --surface-3: #edeae2;

    --ink: #16140f;
    --ink-2: #4a4640;
    --ink-3: #8c8880;

    --green:        #708775;
    --green-dark:   #55655a;
    --green-light:  #8fa594;
    --green-bg:     #f0f4f1;
    --green-border: #cdd8cf;

    /* kept as aliases so any remaining var(--amber) refs still work */
    --amber:        #708775;
    --amber-2:      #8fa594;
    --amber-bg:     #f0f4f1;
    --amber-border: #cdd8cf;

    --border: rgba(22, 20, 15, 0.08);
    --border-md: rgba(22, 20, 15, 0.13);

    --radius: 16px;
    --radius-sm: 10px;

    --f-display: 'Lato', sans-serif;
    --f-body: 'Plus Jakarta Sans', sans-serif;
    --f-mono: 'Fira Code', monospace;

    --shadow-sm: 0 2px 8px rgba(22, 20, 15, 0.06);
    --shadow-md: 0 8px 32px rgba(22, 20, 15, 0.09);
    --shadow-lg: 0 24px 80px rgba(22, 20, 15, 0.12);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── Inline code ───────────────────────────── */
.ic {
    font-family: var(--f-mono);
    font-size: 0.8em;
    color: var(--amber);
    background: var(--amber-bg);
    padding: 2px 6px;
    border-radius: 4px;
}

/* ── NAV ───────────────────────────────────── */
nav {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 900;
    width: calc(100% - 48px);
    max-width: 1080px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: 100px;
    box-shadow: var(--shadow-md);
}

.nav-logo {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo .dot {
    width: 8px;
    height: 8px;
    background: var(--amber);
    border-radius: 50%;
    display: inline-block;
    animation: blink 2.4s ease infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}

.nav-links > li {
    list-style-type: none;
}

.nav-links a {
    font-size: 0.83rem;
    font-weight: 500;
    color: var(--ink-2);
    text-decoration: none;
    padding: 7px 14px;
    border-radius: 100px;
    transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
    background: var(--green-bg);
    color: var(--green-dark);
}

.nav-cta {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    font-weight: 500;
    color: #fff;
    background: var(--green-dark);
    padding: 10px 22px;
    border-radius: 100px;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 2px 12px rgba(85, 101, 90, 0.3);
}

.nav-cta:hover {
    background: #3e4d43;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(85, 101, 90, 0.35);
}

/* ── HERO ──────────────────────────────────── */
.hero {
    padding: 140px 24px 80px;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--f-mono);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--amber);
    background: var(--amber-bg);
    border: 1px solid var(--amber-border);
    padding: 6px 16px 6px 10px;
    border-radius: 100px;
    margin-bottom: 32px;
    letter-spacing: 0.02em;
    animation: fadeDown 0.6s ease both;
}

.hero-badge-icon {
    width: 20px;
    height: 20px;
    background: var(--amber);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: #fff;
}

.hero h1 {
    font-family: var(--f-display);
    font-size: clamp(3rem, 6vw, 5.2rem);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 24px;
    animation: fadeDown 0.6s 0.1s ease both;
}

.hero h1 .word-amber {
    color: var(--amber);
    position: relative;
    display: inline-block;
}

.hero h1 .word-green {
    color: var(--amber);
    display: inline-block;
}

.hero h1 .word-strike {
    position: relative;
    color: var(--ink-3);
}

.hero h1 .word-strike::after {
    content: '';
    position: absolute;
    left: -2px;
    right: -2px;
    top: 52%;
    height: 3px;
    background: var(--ink-3);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    animation: strike 0.5s 1.1s ease forwards;
}

@keyframes strike {
    to { transform: scaleX(1); }
}

.hero-sub {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--ink-2);
    line-height: 1.8;
    max-width: 540px;
    margin: 0 auto 40px;
    animation: fadeDown 0.6s 0.2s ease both;
}

.hero-sub strong {
    font-weight: 600;
    color: var(--ink);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    animation: fadeDown 0.6s 0.3s ease both;
    margin-bottom: 40px;
}

.btn-primary {
    font-family: var(--f-body);
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
    background: var(--ink);
    padding: 14px 32px;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(22, 20, 15, 0.18);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: #2a261e;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(22, 20, 15, 0.22);
}

.btn-primary .arrow {
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: background 0.2s;
}

.btn-outline {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--ink-2);
    padding: 14px 28px;
    border-radius: 100px;
    text-decoration: none;
    border: 1.5px solid var(--border-md);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    background: var(--surface);
}

.btn-outline:hover {
    border-color: var(--amber);
    color: var(--amber);
    background: var(--amber-bg);
}

/* ── INSTALL PILLS (hero) ─────────────────── */
.install-pills {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    animation: fadeDown 0.6s 0.45s ease both;
}

.install-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--border-md);
    border-radius: 100px;
    padding: 8px 10px 8px 14px;
    box-shadow: var(--shadow-sm);
}

.pill-label {
    font-family: var(--f-mono);
    font-size: 0.6rem;
    font-weight: 500;
    color: #fff;
    background: var(--amber);
    padding: 3px 8px;
    border-radius: 100px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.install-pill code {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    color: var(--ink-2);
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pill-copy {
    font-family: var(--f-mono);
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--amber);
    background: var(--amber-bg);
    border: 1px solid var(--amber-border);
    padding: 5px 12px;
    border-radius: 100px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.pill-copy:hover {
    background: var(--amber-border);
    color: var(--amber);
}

.install-pill-divider {
    font-size: 0.75rem;
    color: var(--ink-3);
    font-weight: 500;
}

/* ── VIDEO SECTION ─────────────────────────── */
.video-section {
    padding: 0 24px 100px;
    max-width: 1100px;
    margin: 0 auto;
    animation: fadeUp 0.8s 0.4s ease both;
}

.video-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
    position: relative;
}

.video-topbar {
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    padding: 13px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mac-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mac-r { background: #ff5f57; }
.mac-y { background: #febc2e; }
.mac-g { background: #28c840; }

.tab-bar {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.url-pill {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 5px 16px;
    font-family: var(--f-mono);
    font-size: 0.62rem;
    color: var(--ink-3);
    letter-spacing: 0.02em;
}

.video-body {
    position: relative;
    background: var(--surface-3);
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.video-body::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 60% at 30% 50%, rgba(112, 135, 117, 0.1) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 75% 40%, rgba(22, 20, 15, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.video-body video,
.video-body iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    object-fit: contain;
    z-index: 1;
}

.video-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--green), transparent);
    opacity: 0.7;
    pointer-events: none;
}

/* ── SOCIAL PROOF BAR ──────────────────────── */
.proof-bar {
    padding: 0 24px 80px;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 48px;
    border-right: 1px solid var(--border-md);
}

.proof-item:last-child {
    border-right: none;
}

.proof-val {
    font-family: var(--f-display);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 4px;
}

.proof-val span {
    color: var(--amber);
}

.proof-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--ink-3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ── DIVIDER ───────────────────────────────── */
.divider {
    height: 1px;
    background: var(--border);
    max-width: 1100px;
    margin: 0 auto;
}

/* ── SECTIONS ──────────────────────────────── */
.wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 96px 24px;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--f-mono);
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--amber);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-eyebrow::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--amber);
    border-radius: 2px;
    display: block;
}

.section-title {
    font-family: var(--f-display);
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--ink);
    line-height: 1.05;
    margin-bottom: 56px;
}

.section-title em {
    color: var(--amber);
    font-style: normal;
}

/* ── FEATURES ──────────────────────────────── */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
    position: relative;
    overflow: hidden;
}

.feat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--amber), var(--amber-2));
    opacity: 0;
    transition: opacity 0.25s;
}

.feat-card:hover {
    border-color: var(--amber-border);
    box-shadow: 0 8px 32px rgba(224, 124, 42, 0.08);
    transform: translateY(-3px);
}

.feat-card:hover::before {
    opacity: 1;
}

.feat-icon-wrap {
    width: 44px;
    height: 44px;
    background: var(--amber-bg);
    border: 1px solid var(--amber-border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.feat-card h3 {
    font-family: var(--f-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin-bottom: 10px;
}

.feat-card p {
    font-size: 0.875rem;
    color: var(--ink-2);
    line-height: 1.7;
    font-weight: 300;
}

/* ── HOW IT WORKS ──────────────────────────── */
.how-wrap {
    background: var(--surface-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.steps-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
    margin-top: 0;
}

.steps-row::before {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(16.66% + 18px);
    right: calc(16.66% + 18px);
    height: 1px;
    background: linear-gradient(90deg, var(--amber-border), var(--amber), var(--amber-border));
    z-index: 0;
}

.step-card {
    padding: 40px 36px;
    text-align: center;
    position: relative;
}

.step-num {
    width: 72px;
    height: 72px;
    background: var(--surface);
    border: 1.5px solid var(--border-md);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--amber);
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-sm);
}

.step-card h3 {
    font-family: var(--f-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.step-card p {
    font-size: 0.85rem;
    color: var(--ink-2);
    line-height: 1.7;
    font-weight: 300;
    max-width: 220px;
    margin: 0 auto;
}

/* ── INSTALL BLOCK (how section) ───────────── */
.install-area {
    max-width: 720px;
    margin: 56px auto 0;
}

.install-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 10px;
}

.itab {
    font-family: var(--f-mono);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: 8px;
    border: 1px solid var(--border-md);
    background: transparent;
    color: var(--ink-3);
    cursor: pointer;
    transition: all 0.2s;
}

.itab:hover {
    color: var(--green-dark);
    border-color: var(--green-border);
}

.itab.active {
    background: var(--green-dark);
    color: #fff;
    border-color: var(--green-dark);
}

.install-box {
    background: var(--ink);
    border-radius: var(--radius);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-md);
}

.install-box.hidden {
    display: none;
}

.install-box code {
    font-family: var(--f-mono);
    font-size: 0.78rem;
    color: #9fe0a8;
    flex: 1;
    word-break: break-all;
    line-height: 1.6;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.55);
    font-family: var(--f-mono);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* ── PLAYGROUND ────────────────────────────── */
.playground-sub {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--ink-2);
    margin-top: -36px;
    margin-bottom: 48px;
    line-height: 1.7;
}

.playground-shell {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    align-items: start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* LEFT PANEL */
.pg-chips-panel {
    padding: 24px 20px 28px;
    border-right: 1px solid var(--border);
    background: var(--surface-2);
    max-height: 600px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pg-chips-panel::-webkit-scrollbar { width: 4px; }
.pg-chips-panel::-webkit-scrollbar-thumb { background: var(--amber-border); border-radius: 2px; }

.pg-group-label {
    font-family: var(--f-mono);
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-top: 14px;
    margin-bottom: 6px;
}

.pg-group-label:first-child { margin-top: 0; }

.pg-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chip {
    font-family: var(--f-mono);
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--amber);
    background: var(--amber-bg);
    border: 1px solid var(--amber-border);
    padding: 5px 12px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.18s;
    white-space: nowrap;
    user-select: none;
}

.chip:hover {
    background: var(--amber-border);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(224, 124, 42, 0.2);
}

.chip.active {
    background: var(--amber);
    color: #fff;
    border-color: var(--amber);
    box-shadow: 0 2px 10px rgba(224, 124, 42, 0.3);
}

.pg-reset {
    margin-top: 16px;
    align-self: flex-start;
    font-family: var(--f-mono);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--ink-3);
    background: transparent;
    border: 1px solid var(--border-md);
    padding: 7px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.pg-reset:hover {
    color: var(--ink);
    border-color: var(--border-md);
    background: var(--surface-3);
}

/* RIGHT PANEL */
.pg-preview-panel {
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.pg-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
}

.pg-preview-label {
    font-family: var(--f-mono);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.pg-active-count {
    font-family: var(--f-mono);
    font-size: 0.62rem;
    color: var(--amber);
    background: var(--amber-bg);
    border: 1px solid var(--amber-border);
    padding: 3px 10px;
    border-radius: 100px;
    font-weight: 500;
}

.pg-canvas {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 32px;
    min-height: 200px;
    background-image:
        radial-gradient(circle, rgba(224, 124, 42, 0.12) 1px, transparent 1px),
        radial-gradient(ellipse 70% 70% at 50% 50%, rgba(224, 124, 42, 0.04) 0%, transparent 70%);
    background-size: 24px 24px, 100% 100%;
}

.pg-element {
    font-family: var(--f-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--ink);
    background: var(--surface);
    padding: 16px 24px;
    border-radius: 10px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition:
        padding 0.25s ease,
        margin 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease,
        border-radius 0.25s ease,
        border 0.25s ease,
        font-size 0.25s ease,
        width 0.25s ease,
        height 0.25s ease,
        display 0.1s;
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: default;
}

.pg-log-header {
    font-family: var(--f-mono);
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-3);
    padding: 10px 20px 8px;
    border-top: 1px solid var(--border);
    background: var(--surface-2);
}

.pg-log {
    padding: 12px 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: var(--surface-2);
    min-height: 60px;
    border-bottom-right-radius: 20px;
}

.pg-log-empty {
    font-size: 0.78rem;
    color: var(--ink-3);
    font-style: italic;
}

.pg-log-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pg-log-chip {
    font-family: var(--f-mono);
    font-size: 0.68rem;
    color: var(--amber);
    background: var(--amber-bg);
    border: 1px solid var(--amber-border);
    padding: 2px 10px;
    border-radius: 100px;
    font-weight: 500;
}

.pg-log-arrow {
    font-size: 0.7rem;
    color: var(--ink-3);
}

.pg-log-val {
    font-family: var(--f-mono);
    font-size: 0.7rem;
    color: var(--ink-2);
}

/* ── CLASSES TABLE ─────────────────────────── */
.classes-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.class-table-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.class-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.83rem;
}

.class-table thead {
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
}

.class-table th {
    font-family: var(--f-mono);
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-3);
    padding: 12px 20px;
    text-align: left;
    font-weight: 500;
}

.class-table tr {
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
}

.class-table tr:last-child {
    border-bottom: none;
}

.class-table tr:hover {
    background: var(--amber-bg);
}

.class-table td {
    padding: 10px 20px;
}

.class-table td:first-child {
    font-family: var(--f-mono);
    font-size: 0.75rem;
    color: var(--amber);
    font-weight: 500;
}

.class-table td:last-child {
    color: var(--ink-2);
    font-weight: 300;
}

/* SIDEBAR CARDS */
.sidebar-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.side-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.side-card-head {
    padding: 12px 20px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    font-family: var(--f-mono);
    font-size: 0.62rem;
    font-weight: 500;
    color: var(--ink-3);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.side-card-body {
    padding: 20px;
}

.swatches {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.swatch {
    flex: 1;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    padding: 4px 6px;
    font-family: var(--f-mono);
    font-size: 0.52rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.swatch.light {
    color: rgba(0, 0, 0, 0.4);
}

.spacing-row {
    display: flex;
    align-items: flex-end;
    gap: 5px;
}

.sp-box {
    background: var(--amber-bg);
    border: 1.5px solid var(--amber-border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-mono);
    font-size: 0.52rem;
    color: var(--amber);
    font-weight: 500;
}

.code-snippet {
    background: #1a1915;
    border-radius: 10px;
    padding: 16px 18px;
    font-family: var(--f-mono);
    font-size: 0.72rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.5);
}

.cs-tag  { color: #708775; }
.cs-cls  { color: #a8c5af; }
.cs-val  { color: #86d09a; }
.cs-attr { color: #d0c8b8; }

/* ── FOOTER ────────────────────────────────── */
footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 44px 24px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo .dot {
    width: 7px;
    height: 7px;
    background: var(--amber);
    border-radius: 50%;
}

.footer-copy {
    font-size: 0.78rem;
    color: var(--ink-3);
    font-weight: 300;
}

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-links a {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--ink-2);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--amber);
}

/* ── REVEAL ────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.on {
    opacity: 1;
    transform: none;
}

/* ── KEYFRAMES ─────────────────────────────── */
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-14px); }
    to   { opacity: 1; transform: none; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: none; }
}

/* ── SCROLLBAR ─────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--amber-border); border-radius: 3px; }

/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 900px) {
    nav {
        top: 12px;
        width: calc(100% - 32px);
        padding: 12px 16px;
        border-radius: 16px;
    }

    .nav-links { display: none; }
    .hero { padding: 120px 20px 60px; }
    .video-section { padding: 0 16px 72px; }
    .wrap { padding: 72px 20px; }
    .feat-grid { grid-template-columns: 1fr; gap: 12px; }
    .steps-row { grid-template-columns: 1fr; }
    .steps-row::before { display: none; }

    .playground-shell { grid-template-columns: 1fr; }
    .pg-chips-panel {
        border-right: none;
        border-bottom: 1px solid var(--border);
        max-height: none;
    }

    .classes-grid { grid-template-columns: 1fr; }

    .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
    .footer-links { justify-content: center; }

    .proof-item { padding: 0 24px; }
    .proof-bar { gap: 12px; }

    .install-pills { flex-direction: column; align-items: stretch; }
    .install-pill { justify-content: space-between; }
    .install-pill code { max-width: 180px; }
}