/* ============================================================================
   ZUSEI PARTNER — partner.zusei.com
   ----------------------------------------------------------------------------
   Self-contained. This host does not share a document root with the app, so it
   cannot @import global.css; the brand tokens are restated here and must be
   kept in step with zusei-app/files/css/global.css:264-314.
   ========================================================================== */

:root {
    /* ground — one step below --bg-main, same as the error pages and emails */
    --ink:        #15141B;
    --cos:        #23212C;   /* global.css --bg-main  */
    --surface:    #2A2836;
    --surface-2:  #322F41;

    --theme:      #9B82E0;   /* global.css --theme    */
    --theme-lit:  #B7A3EE;
    --theme-deep: #36255C;
    --lav:        #D2C3F6;

    --text:       #F6F3FE;
    --text-2:     #B9B7C4;
    --dim:        #8E8C9B;

    --line:       rgba(210, 195, 246, 0.13);
    --line-2:     rgba(210, 195, 246, 0.26);

    --success:    #00FF9D;
    --vanilla:    #F1FEC8;

    --display:    'Anton', 'Arial Narrow', sans-serif;
    --pixel:      'Silkscreen', monospace;
    --body:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --wrap:       1160px;
    --r:          16px;
    --r-lg:       22px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    background: var(--ink);
    color: var(--text);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

.zp-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

/* ── shared type ─────────────────────────────────────────────────────────── */
.zp-eyebrow {
    font-family: var(--pixel);
    font-size: 9px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--theme);
    margin: 0 0 18px;
}
.zp-h2 {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(30px, 5.2vw, 54px);
    line-height: 1.04;
    letter-spacing: 0.005em;
    margin: 0 0 18px;
    text-transform: uppercase;
}
/* the italic emphasis both references lean on — Anton has no true italic, so
   this is a measured oblique rather than a browser-synthesised one */
.zp-em { color: var(--theme); font-style: normal; transform: skewX(-7deg); display: inline-block; }
.zp-lede { font-size: clamp(15px, 1.7vw, 18px); color: var(--text-2); max-width: 62ch; margin: 0; }

.zp-sec { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.zp-sec + .zp-sec { border-top: 1px solid var(--line); }

/* ── buttons ─────────────────────────────────────────────────────────────── */
.zp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    min-height: 52px; padding: 0 28px; border-radius: 999px;
    font-size: 14.5px; font-weight: 700; letter-spacing: 0.01em;
    text-decoration: none; border: 1px solid transparent; cursor: pointer;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.zp-btn--primary { background: var(--theme); color: #15141B; }
.zp-btn--primary:hover { background: var(--theme-lit); transform: translateY(-1px); }
.zp-btn--ghost { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,.03); }
.zp-btn--ghost:hover { border-color: var(--theme); background: rgba(155,130,224,.12); transform: translateY(-1px); }
.zp-btn:focus-visible { outline: 2px solid var(--theme); outline-offset: 3px; }

/* ── sticky nav ──────────────────────────────────────────────────────────── */
.zp-nav {
    position: sticky; top: 0; z-index: 60;
    background: rgba(21, 20, 27, .78);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid var(--line);
}
.zp-nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.zp-nav-mark { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.zp-nav-mark img { height: 21px; width: auto; filter: brightness(0) invert(1); }
.zp-nav-tag {
    font-family: var(--pixel); font-size: 8px; letter-spacing: .2em; text-transform: uppercase;
    color: var(--theme); border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 9px;
}
.zp-nav .zp-btn { min-height: 42px; padding: 0 20px; font-size: 13px; }

/* ── hero ────────────────────────────────────────────────────────────────── */
.zp-hero { position: relative; padding: clamp(70px, 11vw, 140px) 0 clamp(52px, 7vw, 92px); overflow: hidden; }
.zp-hero::before {
    content: ''; position: absolute; inset: -20% -10% auto -10%; height: 130%;
    background:
        radial-gradient(58% 46% at 50% 0%, rgba(155,130,224,.30) 0%, rgba(155,130,224,0) 68%),
        radial-gradient(42% 34% at 88% 22%, rgba(54,37,92,.55) 0%, rgba(54,37,92,0) 70%);
    pointer-events: none;
}
.zp-hero-in { position: relative; }
.zp-h1 {
    font-family: var(--display); font-weight: 400;
    font-size: clamp(42px, 8.4vw, 96px);
    line-height: 0.98; letter-spacing: 0.004em;
    margin: 0 0 22px; text-transform: uppercase; max-width: 15ch;
}
.zp-hero-sub { font-size: clamp(16px, 1.9vw, 20px); color: var(--text-2); max-width: 54ch; margin: 0 0 34px; }
.zp-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.zp-hero-note { margin: 22px 0 0; font-size: 13px; color: var(--dim); }

/* ── marquee ─────────────────────────────────────────────────────────────── */
.zp-marquee {
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: 17px 0; overflow: hidden; background: rgba(255,255,255,.015);
}
.zp-marquee-track { display: flex; width: max-content; animation: zp-slide 34s linear infinite; }
.zp-marquee-track span {
    font-family: var(--pixel); font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
    color: var(--text-2); padding: 0 20px; white-space: nowrap;
}
.zp-marquee-track span::after { content: '·'; margin-left: 20px; color: var(--theme); }
@keyframes zp-slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .zp-marquee-track { animation: none; } }

/* ── stats ───────────────────────────────────────────────────────────────── */
.zp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.zp-stat { background: var(--ink); padding: 30px 24px; }
.zp-stat b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 4.4vw, 46px); line-height: 1; margin-bottom: 9px; }
.zp-stat b i { font-style: normal; color: var(--theme); }
.zp-stat span { font-family: var(--pixel); font-size: 8.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }

/* ── numbered benefit grid ───────────────────────────────────────────────── */
.zp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(288px, 1fr)); gap: 18px; margin-top: 46px; }
.zp-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 30px 26px 32px; position: relative; overflow: hidden;
    transition: border-color .2s ease, transform .2s ease;
}
.zp-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.zp-card-n { font-family: var(--pixel); font-size: 10px; letter-spacing: .18em; color: var(--theme); display: block; margin-bottom: 18px; }
.zp-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 9px; letter-spacing: -0.005em; }
.zp-card p { margin: 0; font-size: 14.5px; color: var(--text-2); line-height: 1.62; }

/* ── basecamp tool rail ──────────────────────────────────────────────────── */
.zp-tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); gap: 14px; margin-top: 44px; }
.zp-tool {
    display: flex; gap: 14px; align-items: flex-start;
    background: rgba(255,255,255,.025); border: 1px solid var(--line);
    border-radius: var(--r); padding: 20px 18px;
}
.zp-tool-ic {
    flex: 0 0 40px; width: 40px; height: 40px; border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(155,130,224,.14); border: 1px solid rgba(155,130,224,.26); color: var(--theme);
}
.zp-tool-ic .mi { font-size: 20px; }
.zp-tool b { display: block; font-size: 14.5px; margin-bottom: 3px; }
.zp-tool span { font-size: 13px; color: var(--dim); line-height: 1.5; }

/* ── pricing ─────────────────────────────────────────────────────────────── */
.zp-price { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 46px; align-items: start; }
.zp-plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px 34px; }
.zp-plan--pro { border-color: rgba(155,130,224,.42); background: linear-gradient(180deg, rgba(155,130,224,.10) 0%, var(--surface) 42%); position: relative; }
.zp-plan-badge {
    position: absolute; top: 20px; right: 22px;
    font-family: var(--pixel); font-size: 8px; letter-spacing: .18em; text-transform: uppercase;
    background: var(--theme); color: #15141B; border-radius: 999px; padding: 5px 10px; font-weight: 700;
}
.zp-plan-name { font-family: var(--pixel); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--theme); margin: 0 0 14px; }
.zp-plan-cost { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4.6vw, 46px); line-height: 1; margin: 0 0 6px; }
.zp-plan-cost small { font-family: var(--body); font-size: 13px; font-weight: 500; color: var(--dim); letter-spacing: 0; }
.zp-plan-note { font-size: 13.5px; color: var(--text-2); margin: 0 0 24px; min-height: 42px; }
.zp-plan ul { list-style: none; margin: 0 0 28px; padding: 0; }
.zp-plan li { display: flex; gap: 11px; padding: 8px 0; font-size: 14.5px; color: var(--text-2); align-items: flex-start; }
.zp-plan li .mi { font-size: 17px; color: var(--theme); flex: 0 0 17px; margin-top: 2px; }
.zp-plan li.zp-off { color: var(--dim); }
.zp-plan li.zp-off .mi { color: #56536A; }
.zp-plan .zp-btn { width: 100%; }

/* ── criteria list ───────────────────────────────────────────────────────── */
.zp-crit { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 0 34px; margin-top: 44px; }
.zp-crit-row { display: flex; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); }
.zp-crit-row b { font-family: var(--display); font-weight: 400; font-size: 24px; color: var(--theme); line-height: 1; flex: 0 0 auto; }
.zp-crit-row h3 { font-size: 16px; font-weight: 700; margin: 0 0 5px; }
.zp-crit-row p { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* ── quote ───────────────────────────────────────────────────────────────── */
.zp-quote { text-align: center; max-width: 860px; margin: 0 auto; }
.zp-quote q {
    display: block; quotes: none;
    font-family: var(--display); font-weight: 400; text-transform: uppercase;
    font-size: clamp(24px, 3.8vw, 42px); line-height: 1.16; letter-spacing: 0.004em; margin-bottom: 26px;
}
.zp-quote cite { font-style: normal; font-family: var(--pixel); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }

/* ── faq ─────────────────────────────────────────────────────────────────── */
.zp-faq { margin-top: 42px; border-top: 1px solid var(--line); }
.zp-faq details { border-bottom: 1px solid var(--line); }
.zp-faq summary {
    list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
    font-size: 16.5px; font-weight: 600; color: var(--text);
}
.zp-faq summary::-webkit-details-marker { display: none; }
.zp-faq summary::after {
    content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    font-size: 22px; font-weight: 400; color: var(--theme); line-height: 1;
}
.zp-faq details[open] summary::after { content: '\2013'; }
.zp-faq summary:focus-visible { outline: 2px solid var(--theme); outline-offset: 3px; }
.zp-faq-a { padding: 0 44px 24px 0; margin: 0; font-size: 15px; color: var(--text-2); line-height: 1.68; }

/* ── apply form ──────────────────────────────────────────────────────────── */
.zp-apply { background: linear-gradient(180deg, rgba(155,130,224,.09) 0%, rgba(21,20,27,0) 46%); }
.zp-form { margin-top: 40px; max-width: 660px; }
.zp-field { margin-bottom: 18px; }
.zp-field label {
    display: block; font-family: var(--pixel); font-size: 8.5px; letter-spacing: .2em;
    text-transform: uppercase; color: var(--dim); margin-bottom: 9px;
}
.zp-field input, .zp-field select, .zp-field textarea {
    width: 100%; background: var(--surface); color: var(--text);
    border: 1px solid var(--line); border-radius: 13px;
    padding: 15px 16px;
    /* 16px minimum: iOS Safari zooms the viewport on focus below this */
    font-size: 16px; font-family: var(--body); line-height: 1.45;
    transition: border-color .16s ease, background .16s ease;
    -webkit-appearance: none; appearance: none;
}
.zp-field textarea { min-height: 116px; resize: vertical; }
.zp-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239B82E0' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 17px center; padding-right: 42px;
}
.zp-field input:focus, .zp-field select:focus, .zp-field textarea:focus {
    outline: none; border-color: var(--theme); background: var(--surface-2);
}
.zp-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.zp-form .zp-btn { margin-top: 12px; }
.zp-formnote { margin: 18px 0 0; font-size: 13px; color: var(--dim); }

/* honeypot — off-screen rather than display:none, which some bots skip */
.zp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.zp-alert { border-radius: 13px; padding: 15px 17px; font-size: 14.5px; margin-bottom: 26px; border: 1px solid; }
.zp-alert--err { background: rgba(255,68,68,.09); border-color: rgba(255,68,68,.34); color: #FFB3B3; }
.zp-alert--ok  { background: rgba(0,255,157,.08); border-color: rgba(0,255,157,.30); color: #9BFFD6; }

/* ── footer ──────────────────────────────────────────────────────────────── */
.zp-foot { border-top: 1px solid var(--line); padding: 46px 0 56px; }
.zp-foot-in { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: space-between; }
.zp-foot img { height: 19px; filter: brightness(0) invert(1); opacity: .82; }
.zp-foot nav { display: flex; flex-wrap: wrap; gap: 22px; }
.zp-foot a { font-size: 13.5px; color: var(--text-2); text-decoration: none; }
.zp-foot a:hover { color: var(--theme); }
.zp-foot small { display: block; margin-top: 26px; font-size: 12px; color: #6B6879; }

/* ── responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
    .zp-nav-tag { display: none; }
    .zp-field-row { grid-template-columns: 1fr; }
    .zp-hero-cta .zp-btn { width: 100%; }
    .zp-crit { gap: 0; }
}
@media (max-width: 420px) {
    .zp-wrap { padding: 0 17px; }
    .zp-card { padding: 26px 21px 28px; }
    .zp-plan { padding: 27px 21px 29px; }
}

/* Material Icons Sharp, loaded in the head */
.mi {
    font-family: 'Material Icons Sharp'; font-weight: normal; font-style: normal;
    line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block;
    white-space: nowrap; word-wrap: normal; direction: ltr;
    -webkit-font-feature-settings: 'liga'; -webkit-font-smoothing: antialiased;
}

/* reveal-on-scroll, applied by partner.js only when it runs */
.zp-rise { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.zp-rise.zp-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .zp-rise { opacity: 1; transform: none; transition: none; } }
