/* ==========================================================================
   StratWitCRM - public pages (v2.2.0): /signup and the verification step.

   Matches the stratwit.com/crm landing page, which people arrive from:
   Inter Tight (light weight for headings), warm cream background, near-black
   ink, and StratWit orange used ONLY on things you can press.

   Inter Tight is served from this server (assets/fonts, SIL Open Font
   Licence in InterTight-OFL.txt) rather than from a font CDN - this
   project's rule is no external dependencies beyond Bootstrap's CDN.
   ========================================================================== */

@font-face {
    font-family: 'Inter Tight';
    src: url('../fonts/InterTight-latin.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --pub-cream:  #FAF8F3;
    --pub-ink:    #1A1A1A;
    --pub-muted:  #5E5A52;
    --pub-line:   #E7E2D8;
    --pub-orange: #F5A21E;
    --pub-orange-dark: #D98A0C;
    --pub-card:   #FFFFFF;
    --pub-danger: #B42318;
}

body.public {
    background: var(--pub-cream);
    color: var(--pub-ink);
    font-family: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    font-weight: 400;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.pub-top {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1100px; margin: 0 auto; padding: 28px 24px;
}
.pub-brand { display: flex; align-items: center; gap: 10px; color: var(--pub-ink); text-decoration: none; }
.pub-brand img { height: 34px; width: auto; }
.pub-brand .pub-wordmark { font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; }
.pub-top .pub-signin { color: var(--pub-ink); font-size: .95rem; text-decoration: none; }
.pub-top .pub-signin:hover { text-decoration: underline; }

.pub-main {
    max-width: 1100px; margin: 0 auto; padding: 24px 24px 72px;
    display: grid; grid-template-columns: 1fr 460px; gap: 64px; align-items: start;
}
@media (max-width: 900px) {
    .pub-main { grid-template-columns: 1fr; gap: 32px; }
}

.pub-intro h1 {
    font-weight: 200; font-size: clamp(2.2rem, 4.6vw, 3.6rem);
    line-height: 1.05; letter-spacing: -0.03em; margin: 12px 0 20px; max-width: 540px;
}
.pub-intro p { color: var(--pub-muted); font-size: 1.1rem; line-height: 1.55; max-width: 480px; }
.pub-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; color: var(--pub-muted); }

.pub-points { list-style: none; padding: 0; margin: 28px 0 0; max-width: 480px; }
.pub-points li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--pub-line); color: var(--pub-ink); }
.pub-points li:last-child { border-bottom: 1px solid var(--pub-line); }
.pub-points .pub-tick { color: var(--pub-orange); font-weight: 700; flex: none; }

.pub-card {
    background: var(--pub-card); border: 1px solid var(--pub-line); border-radius: 18px;
    padding: 32px; box-shadow: 0 1px 2px rgba(26,26,26,.04), 0 12px 32px rgba(26,26,26,.06);
}
.pub-card h2 { font-weight: 300; font-size: 1.6rem; letter-spacing: -0.02em; margin: 0 0 6px; }
.pub-card .pub-sub { color: var(--pub-muted); margin-bottom: 22px; }

.pub-card .form-label { font-weight: 500; font-size: .9rem; margin-bottom: 6px; }
.pub-card .form-control {
    border-radius: 10px; border-color: var(--pub-line); padding: 11px 14px; font-family: inherit;
}
.pub-card .form-control:focus { border-color: var(--pub-ink); box-shadow: 0 0 0 3px rgba(245,162,30,.25); }
.pub-card .form-text { color: var(--pub-muted); }

.pub-btn {
    display: inline-block; width: 100%; border: 0; border-radius: 999px;
    background: var(--pub-orange); color: var(--pub-ink); font-weight: 600;
    padding: 13px 22px; font-size: 1rem; font-family: inherit; text-align: center; text-decoration: none;
}
.pub-btn:hover, .pub-btn:focus { background: var(--pub-orange-dark); color: var(--pub-ink); }

.pub-plan {
    display: flex; justify-content: space-between; align-items: baseline;
    background: var(--pub-cream); border: 1px solid var(--pub-line); border-radius: 12px;
    padding: 12px 16px; margin-bottom: 20px; font-size: .95rem;
}
.pub-plan strong { font-weight: 600; }

.pub-errors { background: #FDECEA; color: var(--pub-danger); border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; }
.pub-errors ul { margin: 0; padding-left: 18px; }
.pub-note { color: var(--pub-muted); font-size: .85rem; margin-top: 16px; line-height: 1.5; }
.pub-note a, .pub-intro a { color: var(--pub-ink); }

/* The honeypot. Hidden from people, visible to form-filling robots. Not
   display:none - some of them skip fields that are. */
.pub-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.pub-foot { max-width: 1100px; margin: 0 auto; padding: 0 24px 40px; color: var(--pub-muted); font-size: .85rem; }
