/* ==========================================================================
   Pax Family — Signup page styles
   Implementation of marketing_mocks/page-signup.html from Claude Design.
   Loaded after v3-warm.css (which provides design tokens + body background).
   ========================================================================== */

/* Page wrapper — minimal-chrome signup */
.page.su { min-height: 100vh; background: #FBF5EA; }

/* ===== TOP NAV (minimal — brand + sign-in only, no main nav links) ===== */
.su .topnav-min {
    display: flex; align-items: center; justify-content: space-between;
    padding: 28px var(--page-gutter) 0;
}
.su .brand {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-display); font-weight: 700; font-size: 17px;
    color: #1b2a3a; letter-spacing: -0.01em; text-decoration: none;
}
.su .brand img { width: 32px; height: 32px; border-radius: 8px; }
.su .signin-prompt {
    font-family: var(--font-display); font-size: 14px; color: #5a4a1f;
}
.su .signin-prompt a {
    color: #095FA1; font-weight: 700; text-decoration: none; margin-left: 6px;
}
.su .signin-prompt a:hover { text-decoration: underline; }

/* ===== TWO-COLUMN LAYOUT ===== */
.su-wrap {
    display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px;
    max-width: 1180px; margin: 0 auto; padding: 56px 56px 80px;
    align-items: flex-start;
}

/* ===== FORM CARD ===== */
.su-form {
    background: #fff; border-radius: 24px; border: 1px solid #f0e7d5;
    box-shadow: 0 24px 50px rgba(15,23,42,.06);
    padding: 44px 48px;
}
.su-form .crumb {
    font-family: var(--font-display); font-style: italic; font-size: 13px;
    color: #8A6A1F; margin-bottom: 6px;
}
.su-form .crumb a {
    color: #8A6A1F; text-decoration: underline; text-decoration-color: #E9B949;
}
.su-form h1 {
    font-family: var(--font-display); font-size: 40px; font-weight: 800;
    letter-spacing: -0.03em; line-height: 1.05; color: #1b2a3a; margin: 6px 0 8px;
}
.su-form h1 em { font-style: italic; color: #66A367; }
.su-form .lede {
    font-size: 15px; line-height: 1.55; color: #4a5568; margin: 0 0 28px;
}
.su-form .lede strong { font-family: var(--font-display); font-weight: 800; color: #1b2a3a; }

/* ===== ERROR BANNER ===== */
.su-error {
    background: #FEF2F2; border: 1px solid #FCA5A5;
    color: #B91C1C; padding: 12px 16px; border-radius: 12px;
    font-size: 14px; line-height: 1.5; margin-bottom: 20px;
}

/* ===== FIELD ROWS ===== */
.fld { margin-bottom: 16px; }
.fld.row2 {
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px;
}
.fld.row2 > div { margin: 0; }
.fld label {
    display: block; font-family: var(--font-display);
    font-size: 12px; font-weight: 800; color: #5a4a1f;
    letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px;
}
.fld label .opt {
    color: #94a3b8; font-weight: 600; text-transform: none;
    letter-spacing: 0; font-size: 11px;
}
.fld input {
    width: 100%; padding: 14px 16px; font-size: 15px;
    border: 1px solid #e2e8f0; border-radius: 12px;
    font-family: var(--font-body); color: #1b2a3a; background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.fld input:hover { border-color: #cbd5e1; }
.fld input:focus {
    outline: 0; border-color: #66A367;
    box-shadow: 0 0 0 4px rgba(102,163,103,.15);
}
.fld input::placeholder { color: #94a3b8; }
.fld .help {
    font-size: 12px; color: #94a3b8; margin-top: 6px;
    line-height: 1.4; font-style: italic; font-family: var(--font-display);
}
.fld .help.match.ok { color: #3a6f3b; font-style: normal; font-weight: 700; }
.fld .help.match.no { color: #B45309; font-style: normal; font-weight: 700; }

/* ===== PASSWORD STRENGTH METER ===== */
.pwd-meter {
    margin-top: 8px; display: flex; gap: 4px;
}
.pwd-meter .seg {
    flex: 1; height: 4px; background: #e2e8f0; border-radius: 2px;
    transition: background .2s;
}
.pwd-meter[data-s="1"] .seg:nth-child(1) { background: #fca5a5; }
.pwd-meter[data-s="2"] .seg:nth-child(-n+2) { background: #fbbf24; }
.pwd-meter[data-s="3"] .seg:nth-child(-n+3) { background: #86efac; }
.pwd-meter[data-s="4"] .seg { background: #66A367; }

/* ===== TOS CHECKBOX ===== */
.su-tos {
    display: flex; gap: 10px; align-items: flex-start;
    margin: 8px 0 24px;
    font-size: 13px; color: #4a5568; line-height: 1.5;
}
.su-tos input {
    margin-top: 3px; width: 16px; height: 16px;
    accent-color: #66A367; flex-shrink: 0;
}
.su-tos a {
    color: #095FA1; text-decoration: underline;
    text-decoration-color: rgba(9,95,161,.3); text-underline-offset: 2px;
}

/* ===== SUBMIT (3D sage CTA) ===== */
.su-submit {
    width: 100%; padding: 16px;
    font-family: var(--font-body); font-size: 16px; font-weight: 700;
    background: #66A367; color: #fff;
    border: 0; border-radius: 12px; cursor: pointer;
    box-shadow: 0 4px 0 #4a8a4b, 0 6px 14px rgba(0,0,0,.12);
    transition: transform .08s, box-shadow .08s;
    letter-spacing: -0.005em;
}
.su-submit:hover { transform: translateY(-1px); }
.su-submit:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #4a8a4b, 0 3px 8px rgba(0,0,0,.12);
}

/* ===== "OR SIGN IN WITH" DIVIDER ===== */
.su-or {
    margin: 22px 0 18px; display: flex; align-items: center; gap: 14px;
    color: #94a3b8; font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .1em;
}
.su-or::before, .su-or::after {
    content: ""; flex: 1; height: 1px; background: #e2e8f0;
}

/* ===== SSO BUTTONS ===== */
.su-sso { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.su-sso button {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 12px; font-size: 14px; font-weight: 600; color: #1b2a3a;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
    cursor: pointer; font-family: var(--font-body);
    transition: background .15s, border-color .15s;
}
.su-sso button:hover { background: #FBF5EA; border-color: #E9B949; }
.su-sso .ic { width: 18px; height: 18px; flex-shrink: 0; }

/* ===== TRIAL BAR (bottom of form) ===== */
.su-trial {
    margin-top: 24px; padding: 14px 16px;
    background: #FDF4DC; border-radius: 12px; border: 1px dashed #E9B949;
    display: flex; gap: 12px; align-items: center;
}
.su-trial .ic { font-size: 22px; }
.su-trial .t {
    font-family: var(--font-display); font-size: 14px; font-weight: 800;
    color: #5a4a1f; line-height: 1.3;
}
.su-trial .t em { font-style: italic; color: #095FA1; font-weight: 800; }
.su-trial .s { font-size: 12px; color: #8A6A1F; margin-top: 2px; line-height: 1.4; }

/* ===== SOCIAL PROOF COLUMN ===== */
.su-proof {
    position: sticky; top: 32px;
    display: flex; flex-direction: column; gap: 24px;
}
.su-proof .stamp {
    align-self: flex-start;
    background: #C9A227; color: #fff;
    font-family: var(--font-display);
    font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    padding: 6px 12px; border-radius: 6px;
    transform: rotate(-2deg);
    box-shadow: 0 3px 0 #8A6A1F;
}
.su-proof .lead {
    font-family: var(--font-display); font-size: 32px; font-weight: 800;
    letter-spacing: -0.025em; color: #1b2a3a; line-height: 1.1; margin: 0;
}
.su-proof .lead em { font-style: italic; color: #66A367; }

/* Stats grid (2x2) */
.su-proof .stats {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    background: #fff; border-radius: 16px; border: 1px solid #f0e7d5;
    overflow: hidden;
}
.su-proof .stat { padding: 20px; border-right: 1px dashed #f0e7d5; }
.su-proof .stat:nth-child(2n) { border-right: 0; }
.su-proof .stat:nth-child(-n+2) { border-bottom: 1px dashed #f0e7d5; }
.su-proof .stat .k {
    font-family: var(--font-display); font-size: 28px; font-weight: 800;
    letter-spacing: -0.02em; color: #1b2a3a; line-height: 1;
}
.su-proof .stat .l {
    font-size: 12px; color: #5a4a1f; margin-top: 4px; line-height: 1.4;
    font-family: var(--font-display); font-style: italic;
}

/* Quote card */
.su-quote {
    background: #fff; border-radius: 16px; border: 1px solid #f0e7d5;
    padding: 24px 24px 22px; position: relative;
}
.su-quote::before {
    content: "\201C"; position: absolute; top: -8px; left: 18px;
    font-family: serif; font-size: 64px; color: #C9A227; line-height: 1;
}
.su-quote p {
    font-family: var(--font-display); font-size: 17px; font-weight: 600;
    color: #1b2a3a; line-height: 1.45;
    margin: 8px 0 14px; letter-spacing: -0.005em;
}
.su-quote p em { font-style: italic; }
.su-quote .by { display: flex; align-items: center; gap: 10px; }
.su-quote .av {
    width: 36px; height: 36px; border-radius: 50%;
    background: linear-gradient(135deg,#66A367,#095FA1);
    color: #fff; font-weight: 800; font-size: 13px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
}
.su-quote .who {
    font-family: var(--font-display); font-size: 13px;
    font-weight: 800; color: #1b2a3a;
}
.su-quote .who span {
    display: block; font-weight: 600; color: #8A6A1F;
    font-style: italic; font-size: 12px; margin-top: 1px;
}

/* "As featured in" strip */
.su-logos {
    font-family: var(--font-display); font-style: italic;
    font-size: 12px; color: #8A6A1F;
    text-align: center; padding: 18px 0 8px;
    border-top: 1px dashed #E9B949;
}
.su-logos .row {
    display: flex; gap: 22px; justify-content: center; align-items: center; margin-top: 12px;
    font-family: var(--font-display); font-weight: 800; color: #94a3b8;
    font-style: normal; font-size: 13px; opacity: .85;
    flex-wrap: wrap;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .su-wrap { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; }
    .su-form { padding: 32px 28px; }
    .su-proof { position: static; }
}

@media (max-width: 700px) {
    .su .topnav-min { padding: 20px 24px 0; flex-wrap: wrap; gap: 12px; }
    .su .signin-prompt { font-size: 13px; }
    .su-form h1 { font-size: 32px; }
    .su-proof .lead { font-size: 26px; }
    .su-proof .stats { grid-template-columns: 1fr; }
    .su-proof .stat { border-right: 0; border-bottom: 1px dashed #f0e7d5; }
    .su-proof .stat:last-child { border-bottom: 0; }
    .su-sso { grid-template-columns: 1fr; }
}
