/* =====================================================================
   Public site: landing page + sign-in pages. Uses tokens.css/base.css/components.css only.
   (The signed-in app uses shell.css instead; the two never share page-level rules.)
   ===================================================================== */
/* ===== Landing page ===== */
.site-nav { position: sticky; top: 0; z-index: 20; background: var(--glass); backdrop-filter: blur(8px); border-bottom: 1px solid var(--slate-200); }
.site-nav .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a.link { color: var(--text-muted); font-weight: 500; font-size: .95rem; }
.hero { background: linear-gradient(180deg, var(--brand-900) 0%, var(--brand-800) 100%); color: var(--white); padding: 5rem 0 6rem; }
.hero .grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.hero p.lead { color: var(--slate-300); font-size: 1.15rem; max-width: 34em; }
.hero .actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero .btn-ghost { background: transparent; color: var(--white); border-color: var(--on-brand-line); }
.hero .btn-ghost:hover { background: var(--on-brand-hover); }
.hero .btn-primary { background: var(--white); color: var(--brand-900); }
.hero .btn-primary:hover { background: var(--slate-100); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; color: var(--slate-300); margin-bottom: 1rem; }
.mock { background: var(--white); color: var(--brand-900); border-radius: 14px; padding: 1rem; box-shadow: var(--shadow-hero); }
.mock .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: .8rem; }
.mock .kpi { background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 8px; padding: .6rem; }
.mock .kpi b { display: block; font-size: 1.05rem; } .mock .kpi span { font-size: .7rem; color: var(--slate-500); }
.section { padding: 4.5rem 0; }
.section.alt { background: var(--slate-50); border-block: 1px solid var(--slate-200); }
.section h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.section .sub { color: var(--slate-600); max-width: 42em; margin-bottom: 2.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 1.4rem; }
.feature .ico { color: var(--white); width: 40px; height: 40px; border-radius: 10px; background: var(--brand-900); display: grid; place-items: center; margin-bottom: .9rem; }
.feature h3 { font-size: 1.05rem; } .feature p { color: var(--slate-600); font-size: .93rem; margin: 0; }
.scope-note { display: flex; gap: .75rem; align-items: flex-start; background: var(--white); border: 1px dashed var(--slate-300); border-radius: var(--radius); padding: 1rem 1.2rem; margin-top: 1.5rem; color: var(--slate-600); font-size: .92rem; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.step { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 1.4rem; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-900); color: var(--white); font-weight: 700; font-size: .85rem; margin-bottom: .8rem; }
.domain { font-family: var(--mono); background: var(--brand-900); color: var(--white); padding: .15rem .5rem; border-radius: 4px; font-size: .88em; }
.price-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--brand-900); box-shadow: var(--shadow-sm); }
.price { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; margin: .4rem 0; }
.price small { font-size: .9rem; font-weight: 500; color: var(--slate-500); }
.price-card ul { list-style: none; padding: 0; margin: 1rem 0 1.5rem; flex: 1; }
.price-card li { padding: .35rem 0 .35rem 1.6rem; position: relative; font-size: .92rem; color: var(--text-muted); }
.price-card li::before { content: ""; position: absolute; left: 0; top: .72rem; width: 10px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.signup { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.footer { background: var(--brand-900); color: var(--slate-300); padding: 2.5rem 0; font-size: .9rem; }
.footer .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ===== Auth pages ===== */
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: linear-gradient(160deg, var(--brand-900), var(--brand-800)); color: var(--white); padding: 3rem; display: flex; flex-direction: column; justify-content: space-between; }
.auth-side h2 { font-size: 1.8rem; max-width: 14em; }
.auth-side p { color: var(--slate-300); max-width: 28em; }
.auth-main { display: grid; place-items: center; padding: 2rem 1.25rem; }
.auth-card { width: min(420px, 100%); }
.auth-card h1 { font-size: 1.6rem; }
.otp-row { display: flex; gap: .5rem; justify-content: space-between; margin: .5rem 0 1rem; }
.otp-row input { width: 100%; max-width: 54px; height: 58px; text-align: center; font-size: 1.5rem; font-weight: 700; border: 1px solid var(--slate-300); border-radius: var(--radius-sm); font-family: var(--mono); }
.otp-row input:focus { border-color: var(--focus); outline: none; box-shadow: var(--ring); }
.tenant-pill { display: inline-flex; align-items: center; gap: .4rem; background: var(--slate-100); border: 1px solid var(--slate-200); border-radius: 999px; padding: .25rem .75rem; font-size: .8rem; color: var(--text-muted); margin-bottom: 1.25rem; }


@media (max-width: 980px) {
  .hero .grid, .signup, .auth-shell { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .nav-links .link { display: none; }
}
@media (max-width: 560px) { .hero { padding: 3rem 0 4rem; } }

/* small public-page helpers (replace former inline styles) */
.auth-foot { color: var(--slate-400); font-size: var(--text-sm); }
.auth-note { margin-top: var(--space-4); font-size: var(--text-sm); }
.grid-3.two { grid-template-columns: repeat(2, 1fr); }
.scope-note > svg { flex: none; margin-top: 2px; color: var(--slate-600); }
.section .sub.tight { margin-bottom: var(--space-6); }
.small { font-size: var(--text-sm); }
.mt-3 { margin-top: var(--space-3); }
