/*
 * Guest pages: sign-in, two-step verification, registration, error pages and the public
 * website (landing + pricing). Loaded after tokens.css and fonts.css by
 * resources/views/auth/layout.blade.php and resources/views/errors/minimal.blade.php.
 * Values come from tokens.css only. Sizes follow the approved Login / TwoFactor / Register /
 * Main / Pricing boards (docs/design/portal-redesign): comfortable 44px controls, since
 * these pages are not the compact data app.
 *
 *   g-*  shared guest pieces (layout, brand, forms, buttons, alerts, cards)
 *   m-*  public website (hero, sections, plans, FAQ, footer)
 */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body.guest {
    margin: 0; min-height: 100vh; background: var(--ground); color: var(--text);
    font-family: var(--font-sans); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased;
}
.guest a { color: var(--accent); }
.guest a:hover { color: var(--accent-hover); }
.guest :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.guest h1, .guest h2, .guest h3 { font-family: var(--font-display); color: var(--text-strong); }
.g-sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.g-mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.guest [hidden] { display: none !important; }
.g-self-center { align-self: center; }
.g-skip { position: absolute; left: 8px; top: -60px; z-index: 10; padding: 8px 12px; border-radius: var(--radius-ctl);
    background: var(--surface); color: var(--text-strong); font-weight: 600; }
.g-skip:focus { top: 8px; }

/* ---------- Brand + small pieces ---------- */
.g-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text-strong);
    text-decoration: none; font-family: var(--font-display); }
.guest a.g-brand, .guest a.g-brand:hover { color: var(--text-strong); }
.g-brand-on-ink, .guest a.g-brand-on-ink, .guest a.g-brand-on-ink:hover { color: var(--on-ink); }
.g-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px;
    border: 1px solid var(--input-line); border-radius: var(--radius-pill); background: var(--surface);
    font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.g-chip::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--accent); }
.g-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px;
    color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 600; }
.guest a.g-back { color: var(--text-2); }
.guest a.g-back:hover { color: var(--text-strong); }
.g-icon { width: 18px; height: 18px; flex: 0 0 auto; }
.g-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--radius-pill);
    font-size: 12px; font-weight: 600; }
.g-badge::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
.g-badge-warn { color: var(--warn); background: var(--warn-bg); }
.g-badge-ok { color: var(--ok); background: var(--ok-bg); }

.g-h1 { margin: 0; font-size: 30px; line-height: 1.2; letter-spacing: -0.01em; }
.g-h1-lg { font-size: 36px; line-height: 1.15; letter-spacing: -0.015em; }
.g-lead { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.g-lead-lg { font-size: 16px; line-height: 1.6; }
.g-muted { color: var(--text-muted); }
.g-small { font-size: 13px; }
.g-hint { margin: 0; font-size: 12px; line-height: 1.5; color: var(--text-muted); text-align: center; }
.g-stack { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

/* ---------- Alerts ---------- */
.g-alert { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; border-radius: 10px;
    font-size: 14px; line-height: 1.5; }
.g-alert > svg { flex: 0 0 auto; margin-top: 1px; }
.g-alert p { margin: 0; }
.g-alert ul { margin: 0; padding-left: 18px; }
.g-alert-bad { color: var(--bad); background: var(--bad-bg); }
.g-alert-bad p { font-weight: 500; }
.g-alert-ok { color: var(--ok); background: var(--ok-bg); }
.g-alert-info { color: var(--info); background: var(--info-bg); }
.g-alert-warn { color: var(--warn); background: var(--warn-bg); }
.g-alert-neutral { color: var(--text-2); background: var(--neutral-bg); font-size: 13px; }

/* ---------- Forms ---------- */
.g-form { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.g-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.g-label { font-size: 13px; font-weight: 600; color: var(--text); }
.g-optional { font-weight: 400; color: var(--text-muted); }
.g-input, .g-select, .g-textarea {
    width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--input-line); border-radius: 8px;
    background: var(--surface); color: var(--text); font: inherit; font-size: 14px; margin: 0;
}
.g-input.g-mono { font-family: var(--font-mono); }
.g-select { padding-right: 32px; }
.g-textarea { height: auto; min-height: 92px; padding: 10px 12px; line-height: 1.5; resize: vertical; }
.g-input:focus, .g-select:focus, .g-textarea:focus { outline: none; border-color: var(--accent); box-shadow: var(--focus-ring); }
.g-input[aria-invalid="true"], .g-select[aria-invalid="true"], .g-textarea[aria-invalid="true"] { border-color: var(--bad); }
.g-help { margin: 0; font-size: 12px; line-height: 1.5; color: var(--text-muted); }
.g-error { margin: 0; font-size: 12px; line-height: 1.5; color: var(--bad); }
.guest .ui-password > .g-input { padding-right: 52px; }
.guest .ui-password-toggle { width: 44px; border-radius: 8px; }
.guest .ui-password-toggle svg { width: 20px; height: 20px; }
/* Shared x-ui.field / x-ui.alert at the guest pages' comfortable size. */
.guest .ui-field { gap: 6px; }
.guest .ui-field > label { font-size: 13px; font-weight: 600; color: var(--text); }
.guest .ui-help, .guest .ui-error { font-size: 12px; line-height: 1.5; }
.guest .ui-help a { font-weight: 600; }
.guest .ui-field.has-error .g-input, .guest .ui-field.has-error .g-select, .guest .ui-field.has-error .g-textarea { border-color: var(--bad); }
.guest .ui-alert { gap: 10px; padding: 12px 16px; border-radius: 10px; font-size: 14px; line-height: 1.5; }
.guest .ui-alert p { margin: 0; }
.guest .ui-alert ul { margin: 0; padding-left: 18px; }
.guest .ui-alert-bad { font-weight: 500; }
.g-check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; color: var(--text); cursor: pointer; }
.g-check input { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.g-check-top { align-items: flex-start; }
.g-check-top input { margin-top: 3px; }
.g-form-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; margin-top: -6px; }
.g-link-strong { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; text-decoration: none; }
.g-otp { height: 60px; padding: 0 12px 0 calc(12px + .5em); font-family: var(--font-mono); font-size: 28px;
    letter-spacing: .5em; text-align: center; color: var(--text-strong); }
.g-otp-recovery { height: 52px; font-family: var(--font-mono); font-size: 20px; letter-spacing: .12em; text-align: center;
    color: var(--text-strong); text-transform: uppercase; }
.g-otp::placeholder, .g-otp-recovery::placeholder { color: var(--text-muted); opacity: .55; }

/* ---------- Buttons ---------- */
.g-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px;
    border: 1px solid transparent; border-radius: 8px; font: inherit; font-size: 14px; font-weight: 600; line-height: 1.2;
    text-decoration: none; cursor: pointer; white-space: nowrap; }
.g-btn-lg { min-height: 48px; font-size: 15px; }
.g-btn-xl { min-height: 48px; padding: 0 24px; font-size: 16px; }
.g-btn-block { width: 100%; }
.g-btn-primary, .guest a.g-btn-primary { background: var(--accent); color: var(--on-accent); }
.g-btn-primary:hover, .guest a.g-btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.g-btn-secondary, .guest a.g-btn-secondary { background: var(--surface); color: var(--text-strong); border-color: var(--input-line); }
.g-btn-secondary:hover, .guest a.g-btn-secondary:hover { background: var(--surface-2); color: var(--text-strong); }
.g-btn-ghost, .guest a.g-btn-ghost { background: transparent; color: var(--accent); }
.g-btn-ghost:hover { background: var(--accent-soft); }
.g-btn-on-ink, .guest a.g-btn-on-ink { background: transparent; color: var(--on-ink); border-color: var(--ink-line); }
.g-btn-on-ink:hover, .guest a.g-btn-on-ink:hover { background: var(--ink-active); color: var(--on-ink); }
.g-btn[aria-disabled="true"], .g-btn:disabled { background: var(--surface-2); color: var(--text-2); border-color: var(--line); cursor: not-allowed; }
.g-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

/* ---------- Sign-in: form column + quiet ink panel ---------- */
.g-split { display: flex; flex-wrap: wrap; min-height: 100vh; }
.g-split-main { flex: 1.25 1 560px; min-width: 0; background: var(--surface); padding: 24px 32px;
    display: flex; flex-direction: column; gap: 32px; }
.g-split-panel { flex: 1 1 440px; min-width: 0; background: var(--ink); color: var(--on-ink-muted); padding: 48px;
    display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; }
.g-panel-eyebrow { margin: 0; font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-ink-label); }
.g-panel-title { margin: 0; max-width: 520px; font-family: var(--font-display); font-size: 40px; line-height: 1.12;
    letter-spacing: -0.015em; font-weight: 700; color: var(--on-ink); }
.g-topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.g-center { flex: 1 1 auto; width: 100%; max-width: 420px; margin: 0 auto; display: flex; flex-direction: column;
    justify-content: center; gap: 24px; }
.g-switch { margin: -6px 0 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 6px;
    font-size: 14px; color: var(--text-2); }
.g-switch a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.g-portals { border-top: 1px solid var(--line); padding-top: 12px; display: flex; flex-wrap: wrap; align-items: center;
    justify-content: center; gap: 0 18px; font-size: 13px; color: var(--text-muted); }
.g-portals a, .guest .g-portals a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); font-weight: 600; }
.g-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 20px;
    font-size: 13px; color: var(--text-muted); min-height: 44px; }
.g-footer a, .guest .g-footer a { color: var(--text-muted); }

/* ---------- Slim page: top bar, centred stage, card (2FA, errors, registration) ---------- */
.g-shell { min-height: 100vh; display: flex; flex-direction: column; }
.g-bar { width: 100%; max-width: 1240px; margin: 0 auto; padding: 20px; display: flex; flex-wrap: wrap; align-items: center;
    justify-content: space-between; gap: 12px; }
.g-bar-text { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; font-size: 14px; color: var(--text-2); }
.g-stage { flex: 1 1 auto; padding: 16px 16px 56px; display: flex; align-items: center; justify-content: center; }
.g-narrow { width: 100%; max-width: 460px; display: flex; flex-direction: column; gap: 16px; }
.g-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-card);
    padding: 36px 32px; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.g-card-head { display: flex; flex-direction: column; gap: 12px; }
.g-icon-tile { width: 48px; height: 48px; border-radius: 12px; background: var(--info-bg); color: var(--accent);
    display: inline-flex; align-items: center; justify-content: center; }
.g-icon-tile svg { width: 24px; height: 24px; }
.g-divider { display: flex; align-items: center; gap: 12px; margin: 0; }
.g-divider::before, .g-divider::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--line); }
.g-divider-title { margin: 0; font-family: var(--font-sans); font-size: 13px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.g-footer-wide { width: 100%; max-width: 1240px; margin: 0 auto; padding: 8px 20px 16px; }
.g-inline-form { display: contents; }

/* ---------- Registration ---------- */
.g-wide { flex: 1 1 auto; width: 100%; max-width: 1160px; margin: 0 auto; padding: 24px 20px 80px;
    display: flex; flex-direction: column; gap: 28px; }
.g-intro { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.g-columns { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; }
.g-form-card { flex: 2 1 640px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
    box-shadow: var(--shadow-card); padding: 32px 28px; display: flex; flex-direction: column; gap: 28px; margin: 0; }
.g-fieldset { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.g-legend { padding: 0; margin: 0 0 16px; font-family: var(--font-display); font-size: 18px;
    font-weight: 600; color: var(--text-strong); }
.g-legend-num { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--accent); margin-right: 10px; }
.g-legend-tight { margin-bottom: 6px; }
.g-subhead { margin: 4px 0 0; font-family: var(--font-sans); font-size: 13px; font-weight: 600; color: var(--text-strong); }
.g-row { display: flex; flex-wrap: wrap; gap: 16px; }
.g-col { flex: 1 1 200px; min-width: 0; }
.g-col-2 { flex: 2 1 280px; min-width: 0; }
.g-col-narrow { flex: 1 1 200px; min-width: 0; max-width: 420px; }
.g-sep { border: 0; border-top: 1px solid var(--row-line); margin: 0; }
.g-more { border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.g-more > summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; cursor: pointer;
    font-size: 14px; font-weight: 600; color: var(--text-strong); list-style: none; }
.g-more > summary::-webkit-details-marker { display: none; }
.g-more > summary::before { content: "\25B8"; color: var(--text-muted); font-size: 12px; width: 10px; }
.g-more[open] > summary::before { content: "\25BE"; }
.g-more > summary .g-optional { margin-left: 4px; }
.g-more-body { padding: 4px 14px 16px; display: flex; flex-direction: column; gap: 16px; }
.g-checks { display: flex; flex-wrap: wrap; gap: 0 24px; }
.g-submit-row { border-top: 1px solid var(--row-line); padding-top: 24px; display: flex; flex-direction: column; gap: 20px; }
.g-submit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.g-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.g-side-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px;
    display: flex; flex-direction: column; gap: 18px; }
.g-side-card h2, .g-ink-card h2 { margin: 0; font-family: var(--font-sans); font-size: 15px; font-weight: 600; color: var(--text-strong); }
.g-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.g-steps li { display: flex; gap: 12px; }
.g-step-num { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 999px; background: var(--neutral-bg); color: var(--text-strong);
    font-family: var(--font-mono); font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.g-step-title { display: block; font-size: 14px; font-weight: 600; color: var(--text-strong); }
.g-step-text { display: block; font-size: 13px; line-height: 1.5; color: var(--text-muted); }
.g-ink-card { background: var(--ink); color: var(--on-ink-muted); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.g-ink-card h2 { color: var(--on-ink); }
.g-ink-card p { margin: 0; font-size: 14px; line-height: 1.55; }
.g-ink-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

/* Success state */
.g-success { width: 100%; max-width: 640px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line);
    border-radius: 14px; box-shadow: var(--shadow-card); padding: 40px 32px; display: flex; flex-direction: column;
    align-items: center; gap: 18px; text-align: center; }
.g-success-icon { width: 56px; height: 56px; border-radius: 999px; background: var(--ok-bg); color: var(--ok);
    display: inline-flex; align-items: center; justify-content: center; }
.g-success-icon svg { width: 28px; height: 28px; }
.g-success h1 { margin: 0; font-size: 28px; line-height: 1.2; }
.g-success-text { margin: 0; max-width: 480px; font-size: 16px; line-height: 1.6; color: var(--text-2); }
.g-dl { width: 100%; margin: 4px 0 0; padding: 16px 20px; background: var(--surface-2); border: 1px solid var(--line);
    border-radius: 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; text-align: left; }
.g-dl dt { font-size: 13px; color: var(--text-muted); }
.g-dl dd { margin: 0; font-size: 14px; color: var(--text-strong); overflow-wrap: anywhere; }
.g-dl dd.g-mono { font-size: 13px; }
.g-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 4px; }

/* Error pages */
.g-error-code { margin: 0; font-family: var(--font-mono); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.g-error-card { text-align: left; }
.g-error-card .g-actions { justify-content: flex-start; }

/* ---------- Public website ---------- */
.m-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.m-hero { background: var(--ink); color: var(--on-ink-muted); }
.m-nav-row { padding-top: 20px; padding-bottom: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.m-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; }
.m-nav a, .guest .m-nav a { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 2px solid transparent;
    color: var(--on-ink-muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.guest .m-nav a:hover { color: var(--on-ink); }
.guest .m-nav a[aria-current="page"] { color: var(--on-ink); font-weight: 600; border-bottom-color: var(--accent); }
.m-nav-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.m-signin, .guest a.m-signin { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; color: var(--on-ink);
    text-decoration: none; font-size: 15px; font-weight: 600; }
.guest a.m-signin:hover { color: var(--on-ink); text-decoration: underline; }
.m-hero-body { padding-top: 72px; padding-bottom: 96px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.m-hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.m-hero-copy-wide { flex: 1 1 100%; gap: 24px; }
.m-eyebrow { margin: 0; font-family: var(--font-mono); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-ink-muted); }
.guest .m-h1 { margin: 0; font-size: 60px; line-height: 1.04; letter-spacing: -0.02em; font-weight: 700; color: var(--on-ink); }
.guest .m-h1-pricing { font-size: 56px; line-height: 1.06; max-width: 860px; }
.m-lead { margin: 0; max-width: 600px; font-size: 19px; line-height: 1.6; color: var(--on-ink-muted); }
.m-lead-wide { max-width: 660px; }
.m-cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.m-pills { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.m-pills li { font-family: var(--font-mono); font-size: 13px; color: var(--on-ink-muted); border: 1px solid var(--ink-line);
    border-radius: var(--radius-pill); padding: 8px 14px; }

.m-preview { flex: 1 1 460px; min-width: 0; margin: 0; background: var(--surface); color: var(--text); border-radius: 16px;
    padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.m-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.m-preview-title { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--text-strong); }
.m-tiles { display: flex; flex-wrap: wrap; gap: 10px; }
.m-tile { flex: 1 1 120px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
    display: flex; flex-direction: column; gap: 4px; }
.m-tile-label { font-size: 12px; color: var(--text-muted); }
.m-tile-value { font-family: var(--font-mono); font-size: 20px; color: var(--text-strong); }
.m-mini-table { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.m-mini-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 14px;
    border-top: 1px solid var(--row-line); font-size: 14px; }
.m-mini-row:first-child { border-top: 0; }
.m-mini-head { padding: 10px 14px; background: var(--surface-2); font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em;
    text-transform: uppercase; color: var(--text-muted); }
.m-mini-num { font-family: var(--font-mono); color: var(--text-strong); }
.m-mini-meta { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); color: var(--text-2); }
.m-mini-badge { padding: 2px 8px; border-radius: 999px; font-family: var(--font-sans); font-size: 12px; font-weight: 600; }
.m-mini-badge.is-ok { background: var(--ok-bg); color: var(--ok); }
.m-mini-badge.is-bad { background: var(--bad-bg); color: var(--bad); }
.m-preview figcaption { font-size: 12px; color: var(--text-muted); }

.m-section { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 40px; }
.m-section-first { padding-top: 96px; padding-bottom: 48px; }
.m-section-last { padding-top: 48px; padding-bottom: 96px; }
.m-section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.m-section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.m-kicker { margin: 0; font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.guest .m-h2 { margin: 0; font-size: 42px; line-height: 1.12; letter-spacing: -0.015em; }
.guest .m-h2-sm { font-size: 38px; line-height: 1.14; }
.m-section-lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--text-2); }
.m-text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-2); }

.m-cards { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 24px; }
.m-card { flex: 1 1 320px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px;
    display: flex; flex-direction: column; gap: 14px; }
.m-card-label { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--accent); }
.guest .m-card h3 { margin: 0; font-size: 24px; }
.m-features { display: flex; flex-wrap: wrap; gap: 20px; }
.m-feature { flex: 1 1 260px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px;
    display: flex; flex-direction: column; gap: 12px; }
.m-feature svg { width: 28px; height: 28px; color: var(--accent); }
.guest .m-feature h3 { margin: 0; font-size: 19px; }
.m-feature p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.m-portals { display: flex; flex-wrap: wrap; gap: 20px; }
.m-portal { flex: 1 1 320px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px;
    display: flex; flex-direction: column; gap: 14px; }
.guest .m-portal h3 { margin: 0; font-size: 21px; }
.m-portal ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.m-portal .g-btn { align-self: flex-start; margin-top: auto; }
.m-portal.is-ink { background: var(--ink); border-color: var(--ink); }
.guest .m-portal.is-ink h3 { color: var(--on-ink); }
.m-portal.is-ink ul { color: var(--on-ink-muted); }

.m-cta { background: var(--ink); color: var(--on-ink-muted); }
.m-cta-inner { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.m-cta-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.guest .m-cta h2 { margin: 0; font-size: 40px; line-height: 1.12; letter-spacing: -0.015em; color: var(--on-ink); }
.m-cta p { margin: 0; max-width: 620px; font-size: 18px; line-height: 1.6; color: var(--on-ink-muted); }
.m-cta-contact { margin: 0; font-size: 15px; color: var(--on-ink-muted); }
.guest .m-cta-contact a { color: var(--on-ink); font-weight: 600; }

.m-footer { background: var(--surface); border-top: 1px solid var(--line); }
.m-footer-inner { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.m-footer-brand { flex: 1 1 280px; display: flex; flex-direction: column; gap: 12px; }
.m-footer-name { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--text-strong); }
.m-footer-brand p { margin: 0; max-width: 320px; font-size: 14px; line-height: 1.6; color: var(--text-muted); }
.m-footer-col { display: flex; flex-direction: column; gap: 10px; min-width: 160px; }
.m-footer-col h2 { margin: 0; font-family: var(--font-sans); font-size: 13px; font-weight: 600; color: var(--text-strong); }
.m-footer-col a, .guest .m-footer-col a { font-size: 14px; color: var(--text-muted); text-decoration: none; }
.guest .m-footer-col a:hover { color: var(--text-strong); text-decoration: underline; }
.guest .m-footer-col a[aria-current="page"] { color: var(--text-strong); font-weight: 600; }
.m-footer-col span { font-size: 14px; color: var(--text-muted); }

/* Pricing */
.m-plans { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; }
.m-plan { flex: 1 1 250px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px;
    display: flex; flex-direction: column; gap: 20px; }
.m-plan-head { display: flex; flex-direction: column; gap: 8px; }
.m-plan-tier { margin: 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.guest .m-plan h3 { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-family: var(--font-sans); }
.m-plan-size { font-family: var(--font-mono); font-size: 44px; line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; color: var(--text-strong); }
.m-plan-unit { font-size: 15px; font-weight: 600; color: var(--text-2); }
.m-plan-sessions { margin: 0; font-size: 15px; color: var(--text-2); }
.m-plan-sessions .g-mono { font-weight: 500; color: var(--text-strong); }
.m-plan-desc { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.m-plan-price { border-top: 1px solid var(--row-line); padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.m-plan-price p { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font-size: 14px; color: var(--text-muted); }
.m-plan-amount { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--text-strong); }
.m-plan-rates { color: var(--text-2); }
.m-plan-rates .g-mono { color: var(--text-strong); }
.m-plan .g-btn { margin-top: auto; }
.m-plan.is-ink { background: var(--ink); border-color: var(--ink); }
.m-plan.is-ink .m-plan-tier { color: var(--on-ink-label); }
.m-plan.is-ink .m-plan-unit, .m-plan.is-ink .m-plan-sessions, .m-plan.is-ink .m-plan-desc,
.m-plan.is-ink .m-plan-price p, .m-plan.is-ink .m-plan-rates { color: var(--on-ink-muted); }
.m-plan.is-ink .m-plan-size, .m-plan.is-ink .m-plan-sessions .g-mono, .m-plan.is-ink .m-plan-amount,
.m-plan.is-ink .m-plan-rates .g-mono { color: var(--on-ink); }
.m-plan.is-ink .m-plan-price { border-top-color: var(--ink-line); }
.m-note { display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px; border-radius: 10px; background: var(--info-bg);
    color: var(--info); font-size: 15px; line-height: 1.55; }
.m-note svg { flex: 0 0 auto; margin-top: 2px; width: 20px; height: 20px; }
.m-note p { margin: 0; }
.guest .m-note a { color: var(--info); font-weight: 600; }
.m-band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.m-band-inner { padding-top: 80px; padding-bottom: 80px; display: flex; flex-wrap: wrap; gap: 48px; }
.m-band-copy { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.m-band-copy .m-text { font-size: 17px; }
.m-includes { flex: 2 1 560px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 28px 32px; }
.m-includes li { flex: 1 1 260px; min-width: 0; display: flex; gap: 14px; }
.m-tick { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 999px; background: var(--neutral-bg); color: var(--accent);
    display: inline-flex; align-items: center; justify-content: center; }
.m-tick svg { width: 18px; height: 18px; }
.m-includes h3 { margin: 0 0 4px; font-family: var(--font-sans); font-size: 16px; font-weight: 600; }
.m-includes p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.m-faq { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 48px; }
.m-faq-intro { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.m-faq-list { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; }
.m-faq-item { padding: 28px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.m-faq-item:first-child { padding-top: 0; border-top: 0; }
.m-faq-item:last-child { padding-bottom: 0; }
.guest .m-faq-item h3 { margin: 0; font-size: 21px; line-height: 1.3; }
.m-faq-item p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--text-2); }

/* ---------- Phones ---------- */
@media (max-width: 720px) {
    .g-split-main { padding: 16px; gap: 24px; }
    .g-split-panel { padding: 32px 20px; }
    .g-panel-title { font-size: 28px; }
    .g-card { padding: 28px 20px; }
    .g-form-card { padding: 24px 16px; }
    .g-wide { padding: 8px 16px 48px; }
    .g-bar { padding: 12px 16px; }
    .g-h1 { font-size: 26px; }
    .g-h1-lg { font-size: 28px; }
    .g-success { padding: 32px 20px; }
    .g-dl { grid-template-columns: minmax(0, 1fr); }
    .m-wrap { padding-left: 16px; padding-right: 16px; }
    .m-nav { gap: 0 18px; }
    .m-hero-body { padding-top: 40px; padding-bottom: 56px; gap: 36px; }
    .guest .m-h1, .guest .m-h1-pricing { font-size: 38px; line-height: 1.1; }
    .m-lead { font-size: 17px; }
    .guest .m-h2, .guest .m-h2-sm { font-size: 30px; }
    .guest .m-cta h2 { font-size: 30px; }
    .m-section, .m-section-first, .m-section-last { padding-top: 48px; padding-bottom: 48px; gap: 28px; }
    .m-cta-inner, .m-band-inner, .m-faq { padding-top: 56px; padding-bottom: 56px; }
    .m-preview { padding: 16px; }
}
@media (max-width: 480px) {
    .m-preview, .m-hero-copy, .m-cta-copy, .m-band-copy, .m-faq-intro, .m-faq-list, .m-includes, .g-form-card, .g-aside,
    .m-card, .m-feature, .m-portal, .m-plan, .g-split-main, .g-split-panel { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; }
}
