/* Partner landings — tokens from store HomeMockupTokens */
:root {
    --bg: #F3F5F8;
    --bg-soft: #EAEFF5;
    --card: #FFFFFF;
    --ink: #19222E;
    --muted: #7C8794;
    --line: #EDF0F3;
    --purple: #7C66F2;
    --purple-dark: #5B45D8;
    --coral: #FF6B35;
    --coral-dark: #DD5117;
    --teal: #16C6AF;
    --teal-dark: #0E9C8A;
    --danger: #B91C1C;
    --money: #111827;
    --radius: 26px;
    --radius-sm: 16px;
    --shadow: 0 18px 50px rgba(25, 34, 46, 0.10);
    --wrap: min(1040px, calc(100% - 40px));
}

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

html {
    color-scheme: only light;
    background: var(--bg);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Nunito", system-ui, sans-serif;
    font-weight: 500;
    color: var(--ink);
    background:
        radial-gradient(1200px 520px at 12% -10%, rgba(124, 102, 242, 0.14), transparent 55%),
        radial-gradient(900px 480px at 92% 8%, rgba(22, 198, 175, 0.12), transparent 50%),
        radial-gradient(700px 400px at 70% 40%, rgba(255, 107, 53, 0.08), transparent 45%),
        var(--bg);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

h1, h2, h3, .brand span, .btn, .money-you, .scale b {
    font-family: "Baloo 2", "Nunito", system-ui, sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

a { color: var(--purple-dark); }
img { max-width: 100%; height: auto; display: block; }

.wrap {
    width: var(--wrap);
    margin: 0 auto;
}

/* ── topbar ── */
.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(243, 245, 248, 0.86);
    border-bottom: 1px solid rgba(237, 240, 243, 0.9);
}

.topbar-inner {
    width: var(--wrap);
    margin: 0 auto;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
    font-size: 1.05rem;
}
.brand img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
}

.top-links {
    display: flex;
    gap: 18px;
    align-items: center;
}
.top-links a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 700;
    font-size: 0.95rem;
}
.top-links a:hover { color: var(--ink); }

/* ── 1. hero / product ── */
.hero {
    padding: 40px 0 28px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.kicker {
    margin: 0 0 16px;
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(124, 102, 242, 0.12);
    color: var(--purple-dark);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

h1 {
    margin: 0;
    font-size: clamp(1.65rem, 3.1vw, 2.45rem);
    max-width: 22ch;
}

.lead {
    margin: 18px 0 0;
    max-width: 40ch;
    color: var(--muted);
    font-size: 1.08rem;
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(180deg, #FF8555, var(--coral));
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(255, 107, 53, 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(255, 107, 53, 0.34);
}
.btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.store-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.store-badge img {
    height: 48px;
    width: auto;
}

/* phones — one strong visual */
.phones {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 12px;
    min-height: 440px;
}

.phone-frame {
    margin: 0;
    width: min(248px, 44vw);
    border-radius: 32px;
    overflow: hidden;
    background: #111;
    box-shadow: var(--shadow);
    border: 3px solid #1b2430;
    transform: rotate(-2.5deg);
}
.phone-frame.tall {
    width: min(200px, 34vw);
    opacity: 0.92;
    transform: rotate(4deg) translateY(-18px);
    z-index: 0;
}
.phone-frame.hero-phone {
    z-index: 1;
    transform: rotate(-2.5deg) scale(1.04);
}
.phone-frame img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── 2–3. story (about him / relationship) ── */
.story {
    padding: 36px 0;
}
.story-soft {
    background: rgba(255, 255, 255, 0.45);
    border-block: 1px solid rgba(237, 240, 243, 0.9);
}
.story-narrow {
    max-width: 620px;
}
.story h2 {
    margin: 0 0 14px;
    font-size: clamp(1.45rem, 2.6vw, 1.9rem);
}
.story p {
    margin: 0;
    color: var(--muted);
    font-size: 1.06rem;
    font-weight: 600;
    max-width: 48ch;
}
.story p + p {
    margin-top: 12px;
}

/* ── 4. money ── */
.money {
    padding: 40px 0 28px;
}
.money-board {
    border-radius: calc(var(--radius) + 6px);
    padding: clamp(26px, 4vw, 40px);
    background:
        radial-gradient(680px 280px at 90% 0%, rgba(124, 102, 242, 0.35), transparent 55%),
        linear-gradient(160deg, #1A1A2E 0%, #24243A 55%, #16202A 100%);
    color: #fff;
    box-shadow: var(--shadow);
}
.money-eyebrow {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
    font-weight: 700;
}
.money-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px 16px;
}
.money-from {
    font-size: clamp(1.2rem, 2.4vw, 1.55rem);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.78);
}
.money-arrow {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.4rem;
}
.money-you {
    font-size: clamp(2.8rem, 7vw, 4.4rem);
    color: #FFE066;
    line-height: 1;
}
.money-note {
    margin: 14px 0 0;
    max-width: 42ch;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
    font-weight: 600;
}
.scale {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.scale article {
    padding: 16px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.scale span {
    display: block;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.scale b {
    font-size: clamp(1.25rem, 2.5vw, 1.7rem);
    color: #fff;
}
.fine-list {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 600;
    max-width: 56ch;
}
.fine-list li + li { margin-top: 6px; }

/* ── 5. try ── */
.try-block {
    padding: 28px 0 40px;
}
.try-inner {
    display: grid;
    grid-template-columns: 1.2fr auto auto;
    gap: 28px;
    align-items: center;
    padding: 28px 32px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 8px 30px rgba(25, 34, 46, 0.04);
}
.try-inner h2 {
    margin: 0 0 8px;
    font-size: 1.55rem;
}
.try-inner p {
    margin: 0;
    color: var(--muted);
    max-width: 40ch;
    font-weight: 600;
}
.try-shot {
    margin: 0;
    width: 92px;
    border-radius: 18px;
    overflow: hidden;
    border: 2px solid #1b2430;
    box-shadow: 0 10px 24px rgba(25, 34, 46, 0.12);
}
.try-shot img {
    width: 100%;
    display: block;
}

/* ── 6. join ── */
.join {
    padding: 0 0 72px;
}
.join .section-title {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
}
.join .section-lead {
    margin: 10px 0 22px;
    color: var(--muted);
    max-width: 42ch;
    font-weight: 600;
}

form {
    max-width: 520px;
    display: grid;
    gap: 14px;
    padding: 22px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 10px 36px rgba(25, 34, 46, 0.05);
}
label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--ink);
}
input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1.5px solid #E4E9EE;
    background: #F8FAFC;
    font: inherit;
    color: var(--ink);
}
input:focus {
    outline: none;
    border-color: var(--purple);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(124, 102, 242, 0.18);
}
.check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--muted);
}
.check input { margin-top: 3px; }
.error {
    display: none;
    margin: 0;
    color: var(--danger);
    font-weight: 700;
    font-size: 0.92rem;
}
.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}
.form-actions a {
    font-weight: 800;
    text-decoration: none;
}
.others, .note {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 600;
}
footer {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 600;
}
footer a {
    color: var(--muted);
    text-decoration: none;
}
footer a:hover { color: var(--ink); }

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    h1 { max-width: none; }
    .phones {
        order: -1;
        min-height: 0;
        padding-top: 4px;
    }
    .phone-frame,
    .phone-frame.tall,
    .phone-frame.hero-phone {
        width: min(190px, 40vw);
        transform: none;
    }
    .phone-frame.tall {
        width: min(150px, 32vw);
        transform: translateY(-6px);
        opacity: 0.88;
    }
    .scale {
        grid-template-columns: 1fr;
    }
    .try-inner {
        grid-template-columns: 1fr;
        padding: 22px;
    }
    .try-shot {
        width: 110px;
    }
}

@media (max-width: 560px) {
    :root { --wrap: calc(100% - 28px); }
    .top-links a:not(:last-child) { display: none; }
    .hero { padding-top: 28px; }
    .story { padding: 28px 0; }
}
