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

:root {
    --bg: #f7f6f3;
    --card-bg: #fffdf7;
    --card-border: #e8e5de;
    --text: #2d2d2d;
    --text-muted: #6b6560;
    --green: #00CBA6;
    --green-light: #e6f9f4;
    --green-dark: #00a888;
    --terminal-bg: #2d2d2d;
    --terminal-text: #d4d0c8;
    --serif: 'Source Serif 4', Georgia, serif;
    --mono: 'IBM Plex Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--serif);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.container--wide {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- NAV ---- */
nav {
    padding: 20px 0;
    border-bottom: 1px solid var(--card-border);
    background: var(--bg);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 28px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    font-family: var(--mono);
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
}

.nav-links a:hover { color: var(--text); }

.btn {
    display: inline-block;
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.15s, transform 0.1s;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn--primary {
    background: var(--green);
    color: #fff !important;
}

.btn--primary:hover { background: var(--green-dark); color: #fff !important; }

.btn--secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--card-border);
}

.btn--secondary:hover { border-color: var(--text-muted); }

/* ---- HERO ---- */
.hero {
    padding: 80px 0 40px;
    text-align: center;
}

.badge {
    display: inline-block;
    font-family: var(--mono);
    font-size: 13px;
    color: var(--green-dark);
    background: var(--green-light);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero .subhead {
    font-size: 19px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

/* ---- TERMINAL ---- */
.terminal {
    background: var(--terminal-bg);
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    max-width: 680px;
    margin: 0 auto;
}

.terminal-bar {
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    background: rgba(255,255,255,0.06);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot--red { background: #ff5f57; }
.terminal-dot--yellow { background: #ffbd2e; }
.terminal-dot--green { background: #28c840; }

.terminal-body {
    padding: 20px 24px 24px;
    font-family: var(--mono);
    font-size: 13px;
    line-height: 1.8;
    color: var(--terminal-text);
    overflow-x: auto;
    white-space: pre;
}

.terminal-comment { color: #7a756d; }
.terminal-prompt { color: var(--green); }
.terminal-cmd { color: #fff; }
.terminal-success { color: var(--green); }
.terminal-muted { color: #7a756d; }

/* ---- SCREENSHOT ---- */
.screenshot-section {
    padding: 60px 0 20px;
    text-align: center;
}

.screenshot-section img {
    width: 100%;
    max-width: 800px;
    border-radius: 10px;
    border: 1px solid var(--card-border);
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

/* ---- SOCIAL PROOF ---- */
.social-proof {
    text-align: center;
    padding: 40px 0 60px;
    font-family: var(--mono);
    font-size: 14px;
    color: var(--text-muted);
}

/* ---- SECTION STYLES ---- */
section { padding: 80px 0; }

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 560px;
}

.section-header-center {
    text-align: center;
}

.section-header-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ---- CARD GRID ---- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 28px 24px;
}

.card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ---- STEPS ---- */
.steps {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
}

.steps::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    background: var(--card-border);
}

.step {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    position: relative;
}

.step:last-child { margin-bottom: 0; }

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-family: var(--mono);
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.step-content h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
    padding-top: 8px;
}

.step-content p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.55;
}

.step-content code {
    font-family: var(--mono);
    background: var(--green-light);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 14px;
}

/* ---- COMPARISON TABLE ---- */
.comparison-wrapper {
    max-width: 600px;
    margin: 0 auto;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--card-border);
}

.comparison-table thead th {
    background: var(--card-bg);
    font-weight: 600;
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--card-border);
}

.comparison-table thead th:not(:first-child) {
    text-align: center;
}

.comparison-table tbody td {
    padding: 12px 20px;
    border-bottom: 1px solid var(--card-border);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody td:not(:first-child) {
    text-align: center;
    font-family: var(--mono);
}

.check { color: var(--green); font-size: 18px; }
.dash { color: #ccc; }

/* ---- FINAL CTA ---- */
.final-cta {
    text-align: center;
    padding: 80px 0;
    background: var(--card-bg);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.final-cta h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.final-cta p {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.final-cta .note {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 24px;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- FOOTER ---- */
footer {
    padding: 40px 0;
    text-align: center;
    font-family: var(--mono);
    font-size: 13px;
    color: var(--text-muted);
}

footer a { color: var(--text-muted); }
footer a:hover { color: var(--text); }

.footer-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    list-style: none;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .hero h1 { font-size: 34px; }
    .hero .subhead { font-size: 17px; }
    .section-title { font-size: 26px; }
    .card-grid { grid-template-columns: 1fr; }
    .nav-links { gap: 16px; }
    .nav-links .hide-mobile { display: none; }
    section { padding: 56px 0; }
    .terminal-body { font-size: 12px; padding: 16px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 28px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .nav-links { gap: 12px; }
    .comparison-table { font-size: 14px; }
    .comparison-table thead th,
    .comparison-table tbody td { padding: 10px 12px; }
}
