@import url('https://fonts.googleapis.com/css2?family=Funnel+Display:wght@700;800&family=Figtree:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* PEP Ad Network — pep-phone.com brand (Funnel Display / Figtree, mint/teal green), light mode. */
:root {
    color-scheme: light;
    --bg: #ffffff;
    --bg-soft: #edf7f5;
    --panel: #ffffff;
    --ink: #0a1f1c;
    --slate-2: #3f5a56;
    --slate-1: #6f8a86;
    --primary: #01b2aa;
    --primary-hover: #018f89;
    --mint: #45f8ca;
    --sun: #ffdd00;
    --alert: #ff6b6b;
    --line: rgba(1, 63, 59, 0.12);
    --card-shadow: 0 14px 34px rgba(6, 13, 15, 0.08);
    --shadow-lg: 0 22px 54px rgba(6, 13, 15, 0.12);
    --radius: 14px;
    --radius-sm: 10px;
    --disp: 'Funnel Display', sans-serif;
    --body: 'Figtree', sans-serif;
    --mono: 'JetBrains Mono', monospace;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; }

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(69, 248, 202, 0.14), transparent 34rem),
        linear-gradient(180deg, #f6fbfa 0%, var(--bg) 42%, #f4faf9 100%);
    color: var(--ink);
    font-family: var(--body), -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand { font-family: var(--disp), sans-serif; letter-spacing: -0.01em; line-height: 1.1; }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }
code, kbd, pre { font-family: var(--mono); }

::selection { background: var(--mint); color: var(--ink); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 4px; }

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

/* Topbar */
.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 1.35rem; font-weight: 800; color: var(--ink); }
.brand-accent { color: var(--primary); }
/* Mark sized in em so the lockup scales with whatever font-size the brand carries. */
.brand-mark { height: 1.5em; width: auto; flex-shrink: 0; }
.navlinks { display: flex; gap: 6px; margin-left: auto; }
.navlinks a { padding: 8px 14px; border-radius: 50px; color: var(--slate-2); font-weight: 500; transition: var(--transition, 180ms var(--ease)); }
.navlinks a:hover { background: var(--bg-soft); color: var(--ink); }

/* Modal */
.modal-overlay {
    position: fixed; inset: 0; z-index: 1500;
    background: rgba(6, 13, 15, 0.45); backdrop-filter: blur(2px);
    display: flex; align-items: center; justify-content: center;
    padding: 5vh 1rem; overflow-y: auto;
}
.modal {
    position: relative; width: min(460px, 100%);
    background: var(--panel); border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 26px;
}
.modal h3 { font-family: var(--disp); font-size: 1.15rem; margin-bottom: 6px; }
.modal-close {
    position: absolute; top: 8px; right: 12px;
    background: none; border: none; cursor: pointer;
    font-size: 1.5rem; line-height: 1; color: var(--slate-1); padding: 4px 8px;
}
.modal-close:hover { color: var(--ink); }
.modal-actions { display: flex; gap: 8px; margin-top: 20px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border: 1px solid transparent;
    border-radius: 50px;
    font-family: var(--body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(1, 178, 170, 0.28); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-danger { background: var(--alert); color: #fff; }
.btn-danger:hover { background: #e85555; color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255, 107, 107, 0.28); }

/* Hero */
.hero { padding: 84px 0 64px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
.hero .accent { color: var(--primary); }
.hero p { margin: 18px 0 28px; font-size: 1.15rem; color: var(--slate-2); max-width: 620px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 50px; background: rgba(69, 248, 202, 0.16); color: #05756e; font-weight: 600; font-size: 0.8rem; margin-bottom: 22px; }

/* Cards */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 20px; padding: 40px 0 88px; }
@media (min-width: 620px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .card-grid { grid-template-columns: repeat(4, 1fr); } }

.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 22px;
    box-shadow: var(--card-shadow);
    transition: transform .18s var(--ease), border-color .18s var(--ease);
}
.card:hover { transform: translateY(-3px); border-color: rgba(1, 178, 170, 0.4); }
.card .ic {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: rgba(69, 248, 202, 0.16);
    color: var(--primary);
    font-size: 1.3rem; font-weight: 800;
    margin-bottom: 14px;
}
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p { color: var(--slate-2); font-size: 0.92rem; }

/* Tables (portal screens) */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
th { color: var(--slate-1); font-weight: 600; background: var(--bg-soft); }

/* Status/utility */
.shell { max-width: 720px; margin: 0 auto; padding: 64px 24px; }
.muted { color: var(--slate-1); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; background: rgba(69, 248, 202, 0.18); color: #05756e; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--slate-1); font-size: 0.85rem; }

/* ── Portal ─────────────────────────────────────────────── */
.btn-sm { padding: 7px 14px; font-size: 0.85rem; }
.navlinks a.active { background: var(--bg-soft); color: var(--ink); }
.portal-user { margin-left: 8px; font-size: 0.85rem; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.portal-main { padding: 32px 24px 72px; min-height: 62vh; }
@media (max-width: 640px) { .portal-user { display: none; } }

.page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.page-head h1 { font-size: 1.9rem; font-weight: 800; }
.section-title { font-size: 1.2rem; margin: 30px 0 14px; }

/* Stat tiles */
.tile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 8px; }
@media (min-width: 720px) { .tile-grid { grid-template-columns: repeat(4, 1fr); } }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--card-shadow); display: flex; flex-direction: column; gap: 4px; }
.tile-value { font-family: var(--disp); font-size: 1.9rem; font-weight: 800; color: var(--ink); }
.tile-label { font-size: 0.85rem; color: var(--slate-1); }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--slate-2); }
.field input, .field select, .field textarea {
    width: 100%; padding: 11px 13px;
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    background: #fff; color: var(--ink);
    font-family: var(--body); font-size: 0.95rem;
    transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(1, 178, 170, 0.14);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-grid .field-wide { grid-column: 1 / -1; margin-bottom: 0; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* Banners */
.banner { padding: 11px 14px; border-radius: var(--radius-sm); font-size: 0.9rem; margin-bottom: 14px; }
.banner-error { background: rgba(255, 107, 107, 0.12); color: #b23b3b; border: 1px solid rgba(255, 107, 107, 0.3); }
.banner-ok { background: rgba(69, 248, 202, 0.16); color: #05756e; border: 1px solid rgba(1, 178, 170, 0.3); }

/* Status badges */
.badge { display: inline-block; padding: 3px 10px; border-radius: 50px; font-size: 0.72rem; font-weight: 700; text-transform: capitalize; background: var(--bg-soft); color: var(--slate-2); }
.badge-active, .badge-approved { background: rgba(1, 178, 170, 0.14); color: #05756e; }
.badge-pending { background: rgba(255, 221, 0, 0.2); color: #8a6d00; }
.badge-rejected { background: rgba(255, 107, 107, 0.15); color: #b23b3b; }
.badge-draft { background: var(--bg-soft); color: var(--slate-1); }

/* Auth card */
.auth-body { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-card { width: 100%; max-width: 400px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-lg); }
.auth-card > .brand { display: inline-flex; margin-bottom: 4px; }
.auth-card > .muted { margin-bottom: 20px; }
.auth-tabs { display: flex; gap: 6px; background: var(--bg-soft); padding: 4px; border-radius: 50px; margin-bottom: 20px; }
.auth-tab { flex: 1; padding: 8px; border: none; background: transparent; border-radius: 50px; font-family: var(--body); font-weight: 600; font-size: 0.9rem; color: var(--slate-2); cursor: pointer; transition: background .18s var(--ease); }
.auth-tab.active { background: #fff; color: var(--primary); box-shadow: var(--card-shadow); }

/* Account-type picker (registration) */
.acct-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.acct-opt {
    padding: 10px 6px; text-align: center;
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    background: #fff; color: var(--slate-2);
    font-family: var(--body); font-weight: 600; font-size: 0.85rem;
    cursor: pointer; transition: border-color .18s var(--ease), color .18s var(--ease);
}
.acct-opt small { display: block; margin-top: 2px; font-weight: 400; font-size: 0.68rem; color: var(--slate-1); }
.acct-opt.active { border-color: var(--primary); color: var(--primary); box-shadow: 0 0 0 3px rgba(1, 178, 170, 0.12); }
.acct-opt:disabled { opacity: 0.55; cursor: not-allowed; }
.form-sec {
    margin: 18px 0 10px; font-size: 0.78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.05em; color: var(--slate-1);
}

/* Pre-upload previews — one fixed-height horizontal strip that scrolls sideways.
   Every card is the same size regardless of the creative's aspect ratio, so adding
   a 160x600 skyscraper next to a 728x90 leaderboard never changes the row height. */
.preview-row {
    display: flex;
    gap: 12px;
    height: 248px;              /* fixed — the row never grows or shrinks */
    margin-bottom: 16px;
    padding-bottom: 6px;        /* room for the scrollbar */
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
}
.preview-row::-webkit-scrollbar { height: 8px; }
.preview-row::-webkit-scrollbar-track { background: var(--bg-soft); border-radius: 4px; }
.preview-row::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.preview-row::-webkit-scrollbar-thumb:hover { background: var(--slate-1); }

.preview {
    position: relative;
    flex: 0 0 186px;            /* fixed width — no stretching, no wrapping */
    height: 100%;
    margin: 0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
    border: 1px solid var(--line);
}

/* Fixed-height stage: the image is contained inside it, never sized by it */
.preview-thumb {
    height: 112px;
    flex: 0 0 112px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    margin-bottom: 8px;
}
.preview-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }

.preview figcaption { display: flex; flex-direction: column; gap: 3px; font-size: 0.78rem; min-height: 0; overflow: hidden; }
.preview figcaption strong {
    font-size: 0.8rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;   /* long names must not wrap the card taller */
}
.preview .verdict { font-weight: 600; line-height: 1.25; }
.preview .btn { align-self: flex-start; margin-top: auto; flex: 0 0 auto; }

/* Pass / fail label */
.preview-badge {
    position: absolute; top: 14px; right: 14px; z-index: 1;
    padding: 2px 9px; border-radius: 50px;
    font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em;
    text-transform: uppercase; color: #fff;
}
.preview-ok { border-color: rgba(1, 178, 170, 0.55); }
.preview-ok .preview-badge { background: #0a8f6d; }
.preview-ok .verdict { color: #05756e; }
.preview-bad { border-color: rgba(255, 107, 107, 0.6); }
.preview-bad .preview-badge { background: #d64545; }
.preview-bad .verdict { color: #b23b3b; }
.preview-bad .preview-thumb img { opacity: 0.5; }

/* Creatives (ads page) */
.hint { font-size: 0.78rem; color: var(--slate-1); margin-top: 4px; display: block; }
.hint.over { color: #b23b3b; font-weight: 600; }
.creative-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 700px) { .creative-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .creative-grid { grid-template-columns: repeat(3, 1fr); } }
.creative-card {
    display: flex; flex-direction: column;
    background: var(--panel); border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--card-shadow);
}
.creative-shot {
    display: grid; place-items: center; padding: 14px;
    background: var(--bg-soft); border-bottom: 1px solid var(--line); min-height: 120px;
}
.creative-shot img { max-width: 100%; height: auto; display: block; }
.creative-copy { padding: 16px; border-bottom: 1px solid var(--line); }
.creative-copy strong { display: block; font-size: 1rem; margin-bottom: 4px; }
.creative-copy p { font-size: 0.88rem; color: var(--slate-2); margin-bottom: 6px; }
.creative-meta { padding: 14px 16px; font-size: 0.82rem; }
.creative-meta .btn { margin-top: 10px; }

/* KYC completion card (dashboard) */
.kyc-card {
    background: var(--panel); border: 1px solid rgba(255, 221, 0, 0.5);
    border-radius: var(--radius); padding: 20px 22px;
    box-shadow: var(--card-shadow); margin-bottom: 18px;
}
.kyc-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.kyc-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.kyc-row input[type="file"] {
    flex: 1; min-width: 220px; padding: 8px 10px; font-size: 0.85rem;
    border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
}

/* ── Landing ────────────────────────────────────────────── */
/* Image placeholder — drop a real <img> in place of these boxes */
.media-ph {
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(69, 248, 202, 0.14), rgba(1, 178, 170, 0.07)),
        var(--bg-soft);
    border: 1px dashed rgba(1, 178, 170, 0.4);
    color: var(--slate-1);
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    min-height: 200px;
}
.media-ph span::before { content: "▦  "; opacity: 0.6; }

.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-media { aspect-ratio: 4 / 3; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

.stats-band { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 36px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; text-align: center; }
@media (min-width: 720px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-num { display: block; font-family: var(--disp); font-size: 2.1rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-lbl { display: block; margin-top: 6px; font-size: 0.9rem; color: var(--slate-2); }

.section { padding-block: 72px; }
.section-lead { max-width: 620px; margin: 0 auto 40px; text-align: center; }
.section-lead h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; }
.section-lead p { margin-top: 12px; color: var(--slate-2); font-size: 1.05rem; }

.format-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 620px) { .format-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .format-grid { grid-template-columns: repeat(3, 1fr); } }
.format-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--card-shadow); transition: transform .18s var(--ease); }
.format-card:hover { transform: translateY(-3px); }
.format-card h3 { margin: 14px 0 6px; font-size: 1.05rem; }
.format-card p { color: var(--slate-2); font-size: 0.9rem; }
.fmt { aspect-ratio: 16 / 9; min-height: 0; }
.media-img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); background: var(--bg-soft); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.split-media { aspect-ratio: 4 / 3; min-height: 240px; }
.eyebrow { display: inline-block; font-family: var(--mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; }
.split-copy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 12px; }
.split-copy p { color: var(--slate-2); margin-bottom: 16px; }
.checks { list-style: none; margin: 0 0 22px; display: flex; flex-direction: column; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: rgba(69, 248, 202, 0.22); color: var(--primary); font-size: 0.72rem; font-weight: 800; }

.cta-band { padding: 76px 24px; background: linear-gradient(135deg, rgba(1, 178, 170, 0.12), rgba(69, 248, 202, 0.1)); border-top: 1px solid var(--line); }
.cta-inner { max-width: 640px; text-align: center; }
.cta-inner h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; }
.cta-inner p { margin: 14px 0 26px; color: var(--slate-2); font-size: 1.05rem; }
.cta-inner .hero-ctas { justify-content: center; }

/* ── Landing — business page ─────────────────────────────── */
.nav-ctas { display: flex; align-items: center; gap: 8px; }
.hero-note { margin-top: 16px; font-size: 0.88rem; color: var(--slate-1); }
@media (max-width: 900px) { .navlinks { display: none; } .nav-ctas { margin-left: auto; } }

/* Founding-advertiser offer band */
.promo-band { background: var(--ink); color: #fff; padding: 18px 0; }
.promo-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.promo-copy { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.promo-tag { font-family: var(--mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); background: var(--mint); padding: 4px 10px; border-radius: 50px; }
.promo-copy p { font-size: 0.95rem; color: rgba(255, 255, 255, 0.82); }
.promo-copy strong { color: #fff; }

/* Campaign-goal cards */
.goal-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 760px) { .goal-grid { grid-template-columns: repeat(2, 1fr); } }
.goal-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px;
    box-shadow: var(--card-shadow);
    transition: transform .18s var(--ease), border-color .18s var(--ease);
}
.goal-card:hover { transform: translateY(-3px); border-color: rgba(1, 178, 170, 0.4); }
.goal-card .ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(69, 248, 202, 0.16); color: var(--primary); font-size: 1.2rem; font-weight: 800; margin-bottom: 16px; }
.goal-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.goal-card p { color: var(--slate-2); font-size: 0.95rem; margin-bottom: 16px; }
.goal-link { font-weight: 600; font-size: 0.92rem; }

/* Surface / format grid */
.surface-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 620px) { .surface-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .surface-grid { grid-template-columns: repeat(3, 1fr); } }
.surface-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--card-shadow); }
.surface-ic { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--bg-soft); color: var(--primary); font-size: 1.05rem; margin-bottom: 12px; }
.surface-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.surface-card p { color: var(--slate-2); font-size: 0.9rem; }
.soon { font-family: var(--mono); font-style: normal; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #8a6d00; background: rgba(255, 221, 0, 0.24); padding: 2px 7px; border-radius: 50px; vertical-align: middle; margin-left: 6px; }

/* Media frame with a stat badge */
.media-frame { position: relative; }
.media-badge {
    position: absolute; bottom: 16px; left: 16px;
    background: var(--panel); color: var(--ink);
    border: 1px solid var(--line); border-radius: 50px;
    padding: 8px 16px; font-size: 0.82rem; font-weight: 700;
    box-shadow: var(--shadow-lg);
}
.media-badge::before { content: "✓"; color: var(--primary); margin-right: 6px; font-weight: 800; }

/* Why-businesses cards */
.proof-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 760px) { .proof-grid { grid-template-columns: repeat(3, 1fr); } }
.proof-grid .card { padding: 28px 24px; }
.proof-grid .card h3 { font-size: 1.12rem; }
.proof-grid .card p { font-size: 0.95rem; }

/* Help band */
.help-band { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 72px 0; }
.help-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 760px) { .help-grid { grid-template-columns: repeat(3, 1fr); } }
.help-card { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; color: var(--ink); box-shadow: var(--card-shadow); transition: transform .18s var(--ease), border-color .18s var(--ease); }
.help-card:hover { transform: translateY(-3px); border-color: rgba(1, 178, 170, 0.4); color: var(--ink); }
.help-ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(69, 248, 202, 0.18); color: var(--primary); font-size: 1.1rem; margin-bottom: 12px; }
.help-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.help-card p { color: var(--slate-2); font-size: 0.9rem; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; cursor: pointer; font-family: var(--disp); font-size: 1.05rem; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 1.4rem; font-weight: 700; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--primary); }
.faq details p { padding: 0 4px 22px; color: var(--slate-2); max-width: 68ch; }

/* ── Landing — developer page ────────────────────────────── */
/* Ad-format cards */
.format-list { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 620px) { .format-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .format-list { grid-template-columns: repeat(3, 1fr); } }
.fmt-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--card-shadow); transition: transform .18s var(--ease), border-color .18s var(--ease); }
.fmt-card:hover { transform: translateY(-3px); border-color: rgba(1, 178, 170, 0.4); }
.fmt-tag { align-self: flex-start; font-family: var(--mono); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #05756e; background: rgba(69, 248, 202, 0.18); padding: 4px 10px; border-radius: 50px; margin-bottom: 14px; }
.fmt-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.fmt-card p { color: var(--slate-2); font-size: 0.93rem; margin-bottom: 14px; }
.fmt-best { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--slate-1); }

/* Numbered steps */
.step-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
@media (min-width: 620px) { .step-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .step-grid { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 26px 22px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--card-shadow); }
.step-num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--mint); font-family: var(--disp); font-weight: 800; font-size: 1rem; margin-bottom: 14px; }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--slate-2); font-size: 0.92rem; }

/* Quickstart — copy beside a code sample */
.quickstart { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 900px) { .quickstart { grid-template-columns: 0.95fr 1.05fr; gap: 44px; } }
.quickstart h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-weight: 800; margin-bottom: 12px; }
.quickstart-copy > p { color: var(--slate-2); margin-bottom: 18px; }
.code-block {
    margin: 0;
    padding: 24px 22px;
    background: var(--ink);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow-x: auto;
    font-size: 0.86rem;
    line-height: 1.7;
    color: #cfe9e5;
}
.code-block code { font-family: var(--mono); white-space: pre; }

/* Revenue split bar */
.split-bar { display: flex; height: 46px; border-radius: 50px; overflow: hidden; margin: 4px 0 22px; box-shadow: var(--card-shadow); }
.split-bar > div { display: grid; place-items: center; font-size: 0.85rem; font-weight: 700; }
.split-dev { flex: 70; background: var(--primary); color: #fff; }
.split-plat { flex: 30; background: var(--bg-soft); color: var(--slate-2); border: 1px solid var(--line); border-left: 0; }

/* Landing footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 52px 0 28px; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-grid > div { display: flex; flex-direction: column; gap: 9px; }
.footer-head { font-family: var(--disp); font-weight: 700; font-size: 0.95rem; color: var(--ink); margin-bottom: 2px; }
.footer-grid a { color: var(--slate-2); }
.footer-grid a:hover { color: var(--primary); }
.footer-base { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--slate-1); font-size: 0.85rem; }
