:root {
    --primary: #2A2A72;
    --accent: #009FFD;
    --bg: #0F0F1A;
    --text: #F0F0F5;
    --muted: #A0A0B5;
    --faint: #6A6A80;
    --card-bg: #1A1A2E;
    --green: #2EC486;
}

* { box-sizing: border-box; }

body, html {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

/* ---------- top nav ---------- */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.wordmark {
    font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text);
    user-select: none;
    text-decoration: none;
}
.wordmark .tld { color: var(--accent); }
.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}
.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--accent); }

/* ---------- generic page shells ---------- */
.hero-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 78vh;
    padding: 3rem 1.5rem;
}
.hero {
    max-width: 1100px;
    width: 100%;
    text-align: center;
}
.hero h1 {
    font-size: 3rem;
    line-height: 1.25;
    margin: 0 0 1.2rem 0;
    max-width: none;
}
.hero .sub {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 720px;
    margin: 0 auto 2rem auto;
}
.hero .sub a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(0,159,253,0.4); }
.hero .sub a:hover { color: var(--text); }

/* prose pages */
.prose {
    max-width: 720px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 5rem 1.5rem;
}
.prose .eyebrow {
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.8rem;
}
.prose h1 {
    font-size: 2.6rem;
    line-height: 1.2;
    margin: 0 0 2rem 0;
}
.prose h2 {
    font-size: 1.5rem;
    margin: 2.8rem 0 0.8rem 0;
    line-height: 1.3;
}
.prose p {
    font-size: 1.08rem;
    color: #D5D5E0;
    margin: 0 0 1.2rem 0;
}
.prose .lead {
    font-size: 1.25rem;
    color: var(--text);
}
.prose a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(0,159,253,0.4); }
.prose a:hover { border-bottom-color: var(--accent); }
/* CTA buttons must never inherit the prose-link color */
.prose a.cta-button { color: #fff; border-bottom: none; }
.prose a.cta-button:hover { border-bottom: none; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1.2rem 0; }
.prose li { font-size: 1.08rem; color: #D5D5E0; margin-bottom: 0.7rem; line-height: 1.5; }
.deal-box {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 1.6rem 1.8rem;
    margin: 1.4rem 0;
}
.deal-box h3 { margin: 0 0 0.4rem 0; font-size: 1.1rem; }
.deal-box p:last-child { margin-bottom: 0; }

/* ---------- buttons ---------- */
.cta-row {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-button {
    display: inline-block;
    color: white;
    padding: 0.85rem 2rem;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    transition: opacity 0.25s ease;
}
.cta-button:hover { opacity: 0.85; }
.cta-tracker { background: var(--green); }
.cta-coaching { background: var(--accent); }
.cta-third { background: #6C5CE7; }
.cta-ghost {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.18);
    color: var(--text);
}
.soft-link {
    display: inline-block;
    margin-top: 1.6rem;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(160,160,181,0.4);
    padding-bottom: 1px;
}
.soft-link:hover { color: var(--text); }

/* ---------- concept cards (home) ---------- */
.concept-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    max-width: 1100px;
    margin: 2.5rem auto 0 auto;
    text-align: left;
}
.card {
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.2s ease, border-color 0.2s ease;
    overflow: hidden;
}
.card:hover { transform: translateY(-3px); border-color: var(--accent); }
.card-hero { grid-row: 1 / 3; position: relative; }
.card-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-hero .card-text {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.9) 100%);
    padding: 3rem 1rem 1rem 1rem;
}
.card-side { display: flex; flex-direction: column; }
.card-side img {
    width: 100%; display: block;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    flex: 1; object-fit: cover; min-height: 0;
}
.card-text { padding: 0.8rem 1rem; }
.card h3 { font-size: 1.05rem; margin: 0 0 0.3rem 0; }
.card p { color: var(--muted); font-size: 0.82rem; margin: 0; line-height: 1.45; }

/* ---------- screenshot figures ---------- */
.shots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
    margin: 1.2rem 0 0.4rem 0;
}
.shots img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    display: block;
}
.shots .caption {
    grid-column: 1 / -1;
    font-size: 0.8rem;
    color: var(--faint);
    text-align: center;
}
@media (max-width: 768px) { .shots { grid-template-columns: 1fr; } }
.shot-feature {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    display: block;
    margin: 1.2rem auto 0.9rem auto;
}
.shots-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin-bottom: 0.5rem; }
.shots-2 img { width: 100%; border-radius: 10px; border: 1px solid rgba(255,255,255,0.08); display: block; }
@media (max-width: 768px) { .shots-2 { grid-template-columns: 1fr; } }

/* ---------- numbered steps (how it works) ---------- */
.steps { max-width: 720px; margin: 0 auto; }
.step {
    display: flex;
    gap: 1.2rem;
    padding: 1.6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.step:last-child { border-bottom: none; }
.step .num {
    flex: 0 0 auto;
    width: 2.4rem; height: 2.4rem;
    border-radius: 50%;
    background: rgba(0,159,253,0.12);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-family: "IBM Plex Mono", monospace;
}
.step .body h3 { margin: 0.2rem 0 0.4rem 0; font-size: 1.2rem; }
.step .body p { margin: 0; color: var(--muted); font-size: 1.02rem; }

/* ---------- interleaved steps (how it works) ---------- */
.how-steps { max-width: 1000px; margin: 2.5rem auto 0 auto; padding: 0 1.5rem; }
.istep {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.2rem;
    align-items: center;
    padding: 2.4rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.istep.solo { grid-template-columns: 1fr; max-width: 680px; margin: 0 auto; }
.istep.rev figure { order: -1; }
.istep .num {
    width: 2.4rem; height: 2.4rem; border-radius: 50%;
    background: rgba(0,159,253,0.12); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-family: "IBM Plex Mono", monospace;
    margin-bottom: 0.8rem;
}
.istep h3 { margin: 0 0 0.5rem 0; font-size: 1.3rem; }
.istep .istep-text p { margin: 0; color: var(--muted); font-size: 1.04rem; }
.istep .istep-text p a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(0,159,253,0.4); }
.istep figure { margin: 0; }
.istep figure img { width: 100%; border-radius: 10px; border: 1px solid rgba(255,255,255,0.08); display: block; }
.istep figure figcaption { font-size: 0.84rem; color: var(--faint); text-align: center; margin-top: 0.6rem; }
.range-strip { max-width: 1000px; margin: 0 auto; padding: 2.4rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.range-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1rem; }
.range-2 figure { margin: 0; }
.range-2 figure img { width: 100%; border-radius: 10px; border: 1px solid rgba(255,255,255,0.08); display: block; }
.range-2 figcaption { font-size: 0.82rem; color: var(--faint); text-align: center; margin-top: 0.5rem; }
@media (max-width: 768px) {
    .istep { grid-template-columns: 1fr; }
    .istep.rev figure { order: 0; }
    .range-2 { grid-template-columns: 1fr; }
}

/* ---------- pricing ---------- */
.price-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    max-width: 760px;
    margin: 2rem auto;
}
.price-card {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 1.8rem;
}
.price-card .q-num {
    font-family: "IBM Plex Mono", monospace;
    color: var(--accent);
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
}
.price-card h3 { margin: 0 0 0.6rem 0; font-size: 1.3rem; }
.price-card p { margin: 0; color: var(--muted); font-size: 1rem; }
.price-note {
    max-width: 760px;
    margin: 0 auto;
    background: rgba(0,159,253,0.06);
    border: 1px solid rgba(0,159,253,0.18);
    border-radius: 14px;
    padding: 1.6rem 1.8rem;
}
.price-note h3 { margin: 0 0 0.5rem 0; font-size: 1.15rem; }
.price-note p { margin: 0 0 0.8rem 0; color: #D5D5E0; }
.price-note p:last-child { margin-bottom: 0; }
.guarantee {
    max-width: 760px;
    margin: 1.6rem auto 0 auto;
    text-align: center;
    padding: 1.8rem 1.6rem;
    background: rgba(46,196,134,0.10);
    border: 1px solid rgba(46,196,134,0.5);
    border-radius: 14px;
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}
.guarantee strong { color: var(--green); }
.example-box {
    max-width: 760px;
    margin: 1.6rem auto 0 auto;
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.06);
    border-left: 3px solid var(--accent);
    border-radius: 12px;
    padding: 1.6rem 1.8rem;
}
.example-box .tag {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.6rem;
}
.example-box p { margin: 0; color: #D5D5E0; font-size: 1.08rem; line-height: 1.6; }
.example-box .num-hi { color: var(--text); font-weight: 700; }

/* ---------- footer ---------- */
footer.site-footer {
    max-width: 1100px;
    margin: 0 auto;
    font-size: 0.72rem;
    color: var(--faint);
    text-align: center;
    padding: 2rem 1.5rem 3rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}
footer.site-footer a { color: var(--muted); text-decoration: none; margin: 0 0.4rem; }
footer.site-footer a:hover { color: var(--text); text-decoration: underline; }

.privacy-line {
    font-size: 0.72rem;
    color: var(--faint);
    text-align: center;
    margin-top: 1.4rem;
}

/* ---------- responsive ---------- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .concept-cards { grid-template-columns: 1fr; grid-template-rows: none; }
    .card-hero { grid-row: auto; }
    .price-cols { grid-template-columns: 1fr; }
    .cta-row { flex-direction: column; align-items: center; }
    .nav { justify-content: center; }
}
