/* Plus Jakarta Sans is loaded via <link> in base.html (faster, with preconnect). */

:root {
    /* KhaleejCV brand palette (single source of colour truth) */
    --color-cobalt:       #2A55E8;   /* primary brand / links / buttons */
    --color-cobalt-light: #3D6CFF;   /* gradient start */
    --color-cobalt-deep:  #1A3BC4;   /* gradient end / hover */
    --color-amber:        #FFB23E;   /* warm accent, used sparingly */
    --color-ink:          #0F1B33;   /* headings & body text */
    --color-slate:        #64748B;   /* muted / secondary text */
    --color-page-line:    #CBD5E8;   /* dividers, placeholder lines */
    --color-surface:      #F4F7FE;   /* app background */

    --gradient-brand: linear-gradient(135deg, #3D6CFF 0%, #1A3BC4 100%);

    /* Mapped to the names used across the app */
    --bg: var(--color-surface);
    --surface: #ffffff;
    --ink: var(--color-ink);
    --muted: var(--color-slate);
    --line: #e2e8f3;
    --brand: var(--color-cobalt);
    --brand-dark: var(--color-cobalt-deep);
    --accent: var(--color-amber);
    --danger: #dc2626;
    --radius: 14px;
    --shadow: 0 1px 3px rgba(16, 24, 40, .08), 0 1px 2px rgba(16, 24, 40, .04);

    --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 500;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
body > main { flex: 1 0 auto; }

h1, h2, h3, h4 { font-weight: 700; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 28px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
}
/* Brand logo (header + footer, shared partial) */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand:hover { text-decoration: none; }
.brand-icon { width: 36px; height: 36px; display: block; flex-shrink: 0; }
.brand-name {
    font-weight: 700; font-size: 1.18rem;
    letter-spacing: -.015em; white-space: nowrap;
}
.brand-name-khaleej { color: var(--ink); }   /* "Khaleej" — ink */
.brand-name-cv { color: var(--brand); }        /* "CV" — cobalt */
.brand-name-light { color: #fff; }             /* on dark backgrounds */
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav a { color: var(--ink); font-weight: 600; }
.site-nav a:hover { color: var(--brand); }

/* Buttons */
.btn {
    display: inline-block;
    background: var(--brand);
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: var(--radius);
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s ease;
}
.btn:hover { background: var(--brand-dark); text-decoration: none; color: #fff; }
.btn-large { padding: 14px 28px; font-size: 1.05rem; }
.btn-small { padding: 7px 13px; font-size: .85rem; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-ghost {
    background: transparent;
    color: var(--brand);
    border: 1px solid var(--line);
}
.btn-ghost:hover { background: #f0f4ff; color: var(--brand-dark); }
.link-btn {
    background: none; border: none; color: var(--brand);
    cursor: pointer; font: inherit; padding: 0;
}
.link-btn:hover { text-decoration: underline; }
.link-btn.danger { color: var(--danger); }
.inline-form { display: inline; }

/* Layout */
.container { max-width: 1080px; margin: 0 auto; padding: 32px 24px; }
.page-title { margin-bottom: 4px; }
.page-sub { color: var(--muted); margin-top: 0; }
.section-title { text-align: center; margin: 40px 0 24px; }

/* Messages */
.messages { max-width: 1080px; margin: 16px auto 0; padding: 0 24px; }
.message {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 12px 16px; border-radius: var(--radius); margin-bottom: 10px;
    border: 1px solid var(--line); background: var(--surface);
    transition: opacity .25s ease, transform .25s ease;
}
.message-text { flex: 1; }
.message-close {
    flex-shrink: 0; background: none; border: none; cursor: pointer;
    font-size: 1.3rem; line-height: 1; color: var(--muted);
    padding: 0 2px; margin: -2px -4px 0 0; opacity: .6;
}
.message-close:hover { opacity: 1; color: var(--ink); }
.message-hiding { opacity: 0; transform: translateY(-6px); }
.message-success { border-color: #bbf7d0; background: #f0fdf4; }
.message-error { border-color: #fecaca; background: #fef2f2; }
.message-info { border-color: #bfdbfe; background: #eff6ff; }

/* Hero */
.hero {
    position: relative;
    text-align: center;
    padding: 96px 20px 84px;
    background:
        radial-gradient(1200px 420px at 50% -120px, rgba(37, 99, 235, .18), transparent 70%),
        linear-gradient(180deg, #0b1220 0%, #131c33 60%, #1a2547 100%);
    color: #fff;
    overflow: hidden;
}
.hero::after {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: radial-gradient(900px 360px at 50% 0%, #000, transparent 75%);
    pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-badge {
    display: inline-block; margin-bottom: 22px;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
    color: #dbeafe; padding: 6px 16px; border-radius: 999px;
    font-size: .82rem; font-weight: 600; letter-spacing: .02em;
    backdrop-filter: blur(6px);
}
.hero h1 {
    font-size: 3.4rem; line-height: 1.08; margin: 0 0 18px;
    max-width: 880px; margin-inline: auto; letter-spacing: -.02em; font-weight: 800;
}
.hero h1 .accent {
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { color: #c7d2e8; font-size: 1.2rem; max-width: 600px; margin: 0 auto 32px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-on-dark { background: #fff; color: #0b1220; }
.btn-on-dark:hover { background: #e9eefb; color: #0b1220; }
.btn-outline-light {
    background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .35);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.hero-stats {
    position: relative; z-index: 1;
    display: flex; gap: 40px; justify-content: center; flex-wrap: wrap;
    margin-top: 52px; color: #c7d2e8;
}
.hero-stat strong { display: block; font-size: 1.7rem; color: #fff; font-weight: 800; }
.hero-stat span { font-size: .85rem; letter-spacing: .03em; }

/* Feature strip */
.features {
    max-width: 1080px; margin: -36px auto 0; padding: 0 24px;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px;
    position: relative; z-index: 2;
}
.feature-card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
}
.feature-card .feature-icon { font-size: 1.5rem; }
.feature-card h3 { margin: 10px 0 6px; font-size: 1.02rem; }
.feature-card p { color: var(--muted); font-size: .9rem; margin: 0; }

/* Template gallery */
.gallery { max-width: 1140px; margin: 0 auto; padding: 0 24px 72px; }
.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.template-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
    transition: transform .16s ease, box-shadow .16s ease;
}
.template-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(16, 24, 40, .14);
}
.tpl-badge {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700;
    padding: 4px 10px; border-radius: 999px; box-shadow: var(--shadow);
}
.tpl-badge-inline {
    position: static; display: inline-block; vertical-align: middle;
    font-size: .7rem; padding: 2px 8px;
}
.template-card h3 { margin: 14px 0 6px; }
.template-card p { color: var(--muted); font-size: .9rem; min-height: 38px; }

/* Rich template thumbnail: the real resume rendered with sample data and
   scaled down. The .resume is 794px wide; --tpl-scale shrinks it to fit. */
.tpl-preview {
    --tpl-scale: 0.305;
    position: relative;
    width: 100%;
    aspect-ratio: 794 / 1123;          /* A4 page ratio */
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(16, 24, 40, .02);
}
.tpl-preview-scaler {
    position: absolute;
    top: 0; left: 0;
    width: 794px;                      /* native resume width */
    transform: scale(var(--tpl-scale));
    transform-origin: top left;
    pointer-events: none;              /* clicks fall through to the card link */
}
/* The preview must not inherit the editor preview's own scaling */
.tpl-preview-scaler .resume {
    transform: none;
    margin: 0;
    box-shadow: none;
    min-height: 1123px;
}

/* Photo upload field in the editor */
.photo-field { display: flex; gap: 16px; align-items: center; }
.photo-thumb {
    width: 84px; height: 84px; border-radius: 50%; flex-shrink: 0;
    border: 2px dashed var(--line); background: #f8fafc; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-thumb[data-empty]::after { content: "👤"; font-size: 28px; opacity: .35; }
.photo-actions { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.photo-upload-btn { margin: 0; cursor: pointer; }
.photo-hint { color: var(--muted); font-size: .8rem; margin: 2px 0 0; }

/* Auth */
.auth-card {
    max-width: 420px; margin: 50px auto; background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 32px; box-shadow: var(--shadow);
}
.auth-card h1 { margin: 0 0 6px; font-size: 1.6rem; }
.auth-sub { color: var(--muted); margin-top: 0; }
.auth-alt { margin-top: 18px; color: var(--muted); font-size: .92rem; }

/* Forms */
.stacked-form label { display: block; margin-bottom: 14px; font-weight: 500; font-size: .9rem; }
.stacked-form input, .editor-form input, .editor-form textarea, .editor-form select {
    width: 100%; padding: 10px 12px; margin-top: 6px;
    border: 1px solid var(--line); border-radius: 8px; font: inherit;
    background: #fff;
}
input:focus, textarea:focus { outline: 2px solid var(--brand); border-color: transparent; }
.field-error { color: var(--danger); font-size: .82rem; display: block; margin-top: 4px; }
.form-errors {
    background: #fef2f2; border: 1px solid #fecaca; color: #991b1b;
    padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; font-size: .9rem;
}

/* Hub */
.hub-grid { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: start; }
.hub-profile, .hub-resumes {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
}
.hub-profile h2, .hub-resumes h2 { margin-top: 0; }
.hub-resumes-head { display: flex; justify-content: space-between; align-items: center; }
.resume-list { list-style: none; padding: 0; margin: 16px 0 0; }
.resume-list-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 0; border-bottom: 1px solid var(--line); gap: 12px;
}
.resume-list-item:last-child { border-bottom: none; }
.resume-name { font-weight: 600; display: block; }
.resume-tags { display: flex; gap: 10px; align-items: center; margin-top: 4px; }
.tag {
    background: #eef2ff; color: var(--brand-dark); padding: 2px 9px;
    border-radius: 999px; font-size: .78rem; font-weight: 600;
}
.muted { color: var(--muted); font-size: .82rem; }
.resume-row-actions { display: flex; gap: 8px; align-items: center; }
.empty-state { text-align: center; padding: 30px 0; color: var(--muted); }
.empty-state .btn { margin-top: 10px; }

/* Editor layout */
.editor-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    min-height: calc(100vh - 60px);
}
.editor-form { padding: 26px 30px; overflow-y: auto; max-height: calc(100vh - 60px); }

/* Import bar spans the full width above the editor + preview columns */
.editor-import-wrap { grid-column: 1 / -1; }
.import-bar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
    padding: 14px 30px;
    background: linear-gradient(90deg, #eef4ff, #f5f3ff);
    border-bottom: 1px solid var(--line);
}
.import-bar-text { font-size: .9rem; color: var(--ink); }
.import-bar-text strong { color: var(--brand-dark); }
.import-help-toggle { margin-left: 8px; font-size: .85rem; }
.import-upload-btn { margin: 0; cursor: pointer; white-space: nowrap; }
.import-help {
    grid-column: 1 / -1;
    padding: 10px 30px; font-size: .85rem; color: #92400e;
    background: #fffbeb; border-bottom: 1px solid #fde68a;
}
.editor-form-header {
    display: flex; justify-content: space-between; align-items: center;
    gap: 12px; margin-bottom: 16px;
}
.title-input { font-size: 1.2rem; font-weight: 700; border: none; border-bottom: 2px solid var(--line); border-radius: 0; padding: 6px 2px; margin: 0; }
.title-input:focus { outline: none; border-bottom-color: var(--brand); }
.editor-actions { display: flex; gap: 10px; flex-shrink: 0; }
.draft-note { color: var(--muted); font-size: .88rem; background: #fffbeb; border: 1px solid #fde68a; padding: 8px 12px; border-radius: 8px; }

.form-block {
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 16px 18px; margin: 0 0 18px;
}
.form-block legend { font-weight: 700; padding: 0 6px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.editor-form label { font-size: .85rem; font-weight: 500; display: block; }

.template-picker { display: flex; gap: 12px; flex-wrap: wrap; }
.template-option input { width: auto; margin: 0; }
.template-option { cursor: pointer; }
.template-option-body {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px;
}
.template-option input:checked + .template-option-body {
    border-color: var(--brand); background: #eff6ff;
}
.swatch { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }

/* Choose-your-country step */
.country-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px; margin-top: 24px;
}
.country-card {
    text-align: left; cursor: pointer; font: inherit;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
    display: flex; flex-direction: column; gap: 6px;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.country-card:hover {
    transform: translateY(-4px); border-color: var(--brand);
    box-shadow: 0 12px 30px rgba(16, 24, 40, .14);
}
.country-card-current { border-color: var(--brand); background: #eff4ff; }
.country-card-name { font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.country-card-meta { color: var(--muted); font-size: .85rem; flex: 1; }
.country-card-go { color: var(--brand); font-weight: 600; font-size: .9rem; }

/* Country picker (reuses template-option pill styling) */
.country-picker { display: flex; gap: 12px; flex-wrap: wrap; }
.field-hint { color: var(--muted); font-size: .82rem; margin: 10px 0 0; }
.legend-note { font-weight: 500; color: var(--muted); font-size: .85rem; }

/* Market personal fields in the editor */
.grid-2 > .grid-span { grid-column: 1 / -1; }
.req { color: var(--danger); }
.personal-other { margin-top: 6px; }
.personal-bool {
    display: flex; align-items: center; gap: 8px; font-size: .9rem;
    font-weight: 500;
}
.personal-bool input { width: auto; margin: 0; }

.repeat-row {
    border: 1px dashed var(--line); border-radius: 8px;
    padding: 14px; margin-bottom: 12px; background: #fcfcfd;
}
.skills-input-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.skill-row { display: flex; align-items: center; gap: 4px; }
.skill-row input { width: 150px; margin: 0; }
.remove-row { margin-top: 6px; }

/* Preview pane */
.preview-pane {
    background: #eceef3; border-left: 1px solid var(--line);
    padding: 20px; overflow-y: auto; max-height: calc(100vh - 60px);
    position: sticky; top: 60px;
}
.preview-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 12px; font-weight: 700; }
.preview-scroll { display: flex; justify-content: center; }

/* Download page */
.download-page { padding: 0; }
.download-toolbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; padding: 14px 24px; background: var(--surface);
    border-bottom: 1px solid var(--line);
}
.toolbar-info { color: var(--muted); font-size: .9rem; }
.resume-page { display: flex; justify-content: center; padding: 28px 16px 60px; }

/* ============================================================
   SEO content block (homepage, above FAQ)
   ============================================================ */
.seo-content { background: #fff; padding: 56px 24px 8px; }
.seo-content-inner { max-width: 920px; margin: 0 auto; }
.seo-content-inner h2 {
    font-size: 1.5rem; color: var(--ink); margin: 34px 0 12px;
}
.seo-content-inner h2:first-child { margin-top: 0; }
.seo-content-inner p {
    color: #4b5563; line-height: 1.75; margin: 0 0 14px; font-size: 1rem;
}
.seo-content-inner a { color: var(--brand); font-weight: 600; }

/* ============================================================
   FAQ (homepage accordion + /faq/ page)
   ============================================================ */
.faq { background: #fff; padding: 56px 24px 64px; }
.faq-inner { max-width: 920px; margin: 0 auto; }
.faq-title { font-size: 1.9rem; margin: 0 0 28px; }
.faq-title .accent { color: var(--brand); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
    list-style: none; cursor: pointer; padding: 18px 4px;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    font-weight: 600; color: var(--ink); font-size: .98rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand); }
.faq-mark {
    color: var(--brand); font-size: 1.3rem; font-weight: 400; flex-shrink: 0;
    transition: transform .2s ease;
}
.faq-item[open] .faq-mark { transform: rotate(45deg); }
.faq-answer { padding: 0 4px 20px; color: var(--muted); font-size: .94rem; max-width: 760px; }

/* ============================================================
   Our Impact So Far
   ============================================================ */
.impact { background: #f1f5f9; padding: 60px 24px 70px; text-align: center; }
.impact-inner { max-width: 920px; margin: 0 auto; }
.impact-title { font-size: 1.9rem; margin: 0 0 8px; color: #1e1b4b; }
.impact-sub { color: var(--muted); margin: 0 0 36px; }
.impact-stats {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px; max-width: 720px; margin: 0 auto 30px;
}
.impact-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px 16px; box-shadow: var(--shadow);
}
.impact-card strong { display: block; font-size: 2rem; font-weight: 800; color: var(--brand); }
.impact-card span { color: var(--muted); font-size: .88rem; }
.impact-trust {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); max-width: 360px; margin: 0 auto; padding: 18px 24px;
}
.impact-stars { color: #f59e0b; letter-spacing: 4px; font-size: 1rem; margin-bottom: 6px; }
.impact-trust p { margin: 0; color: var(--ink); font-weight: 600; font-size: .92rem; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    background: linear-gradient(180deg, #1a1f2e 0%, #20263a 100%);
    color: #cbd5e1; margin-top: auto;
}
.footer-inner {
    max-width: 1080px; margin: 0 auto; padding: 48px 24px 32px;
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px;
}
.footer-logo { margin-bottom: 4px; }
.footer-logo .brand-icon { width: 32px; height: 32px; }
.footer-logo .brand-name { font-size: 1.1rem; }
.footer-logo:hover { text-decoration: none; }
.footer-brand p { color: #94a3b8; font-size: .9rem; margin: 12px 0 0; max-width: 280px; }
.footer-col h4 {
    color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em;
    margin: 0 0 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #cbd5e1; font-size: .9rem; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    max-width: 1080px; margin: 0 auto; padding: 18px 24px;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
    gap: 10px; color: #94a3b8; font-size: .84rem;
}
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { color: #94a3b8; }
.footer-legal a:hover { color: #fff; text-decoration: none; }

/* ============================================================
   Pricing
   ============================================================ */
.pricing-band { background: #fff; padding: 56px 24px; text-align: center; }
.pricing-band-inner { max-width: 720px; margin: 0 auto; }
.pricing-band h2 { font-size: 1.7rem; margin: 0 0 12px; }
.pricing-band p { color: var(--muted); font-size: 1.02rem; margin: 0 0 22px; }
.pricing-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px; margin: 28px 0 36px;
}
.pricing-card {
    position: relative; background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px 24px; box-shadow: var(--shadow);
    display: flex; flex-direction: column;
}
.pricing-card-pro { border-color: var(--brand); border-width: 2px; }
.pricing-badge {
    position: absolute; top: 16px; right: 16px;
    background: var(--accent); color: #422006; font-size: .72rem; font-weight: 700;
    padding: 4px 10px; border-radius: 999px;
}
.pricing-tier { font-weight: 700; font-size: 1.05rem; color: var(--brand-dark); }
.pricing-price { margin: 8px 0 4px; }
.pricing-amount { font-size: 2.2rem; font-weight: 800; color: var(--ink); }
.pricing-period { color: var(--muted); font-size: .85rem; margin-left: 6px; }
.pricing-tagline { color: var(--muted); font-size: .9rem; margin: 0 0 14px; }
.pricing-list { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; }
.pricing-list li { padding: 6px 0 6px 24px; position: relative; font-size: .92rem; }
.pricing-list li::before {
    content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700;
}
.pricing-card .btn[disabled] {
    background: #cbd5e8; cursor: not-allowed; opacity: .8;
}

/* ============================================================
   Info / legal pages
   ============================================================ */
.info-page { max-width: 820px; margin: 0 auto; }
.accent-ink { color: var(--brand); }
.info-prose { color: var(--ink); line-height: 1.7; margin-top: 8px; }
.info-prose h2 { font-size: 1.15rem; margin: 28px 0 8px; }
.info-prose p, .info-prose li { color: #374151; }
.info-prose ul, .info-prose ol { padding-left: 22px; }
.info-prose li { margin-bottom: 7px; }
.info-note {
    background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--radius);
    padding: 14px 18px; margin-top: 30px; font-size: .9rem;
}
.info-note p { color: #92400e; margin: 0; }
.info-cta { margin-top: 34px; text-align: center; }
.info-cta p { color: var(--muted); margin-bottom: 12px; }
.info-page .faq-list { margin-top: 24px; }
.contact-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px; margin-top: 24px;
}
.contact-card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); text-align: center;
}
.contact-icon { font-size: 1.6rem; }
.contact-card h3 { margin: 8px 0 6px; font-size: 1rem; }
.contact-card p { color: var(--muted); font-size: .9rem; margin: 0; }

@media (max-width: 900px) {
    .editor-layout { grid-template-columns: 1fr; }
    .preview-pane { position: static; max-height: none; }
    .hub-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
    .impact-stats { grid-template-columns: 1fr; max-width: 320px; }
}
@media (max-width: 560px) {
    .footer-inner { grid-template-columns: 1fr; }
}

/* Print */
@media print {
    .site-header, .messages, .no-print, .preview-label, .site-footer { display: none !important; }
    body { background: #fff; }
    .resume-page { padding: 0; }
}
