/* ==========================================================================
   Resume Builder — Support Site Design System
   Concept: the site is typeset like a well-made professional document.
   Paper backgrounds, a serif display face for headlines (echoing resume
   letterheads), mono labels for section "headers" (echoing a resume's
   ATS/EXPERIENCE/SKILLS section headings), and a rotated stamp motif as
   the one recurring signature element — "approved," the way a good resume
   gets you approved for the interview.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
    /* Color */
    --ink:        #12182B;
    --ink-soft:   #4B5468;
    --paper:      #FCFBF6;
    --paper-dim:  #F3F1E8;
    --blue:       #0B5FE0;
    --blue-deep:  #0A3D91;
    --gold:       #C68A1A;
    --line:       #E3DFD1;
    --white:      #FFFFFF;

    /* Type */
    --display: 'Fraunces', Georgia, serif;
    --body:    'Inter', -apple-system, sans-serif;
    --mono:    'IBM Plex Mono', ui-monospace, monospace;

    --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0 0 0.4em; line-height: 1.15; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ── Eyebrow / section labels (echoes resume section headers) ─────────── */
.eyebrow {
    font-family: var(--mono);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.eyebrow::before {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--gold);
}

/* ── Header / Nav ───────────────────────────────────────────────────── */
header.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(252, 251, 246, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    max-width: 1080px;
    margin: 0 auto;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--display);
    font-weight: 600;
    font-size: 19px;
    color: var(--ink);
}
.brand img { width: 34px; height: 34px; border-radius: 8px; }
nav.primary-nav { display: flex; align-items: center; gap: 28px; }
nav.primary-nav a {
    color: var(--ink-soft);
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none;
}
nav.primary-nav a:hover { color: var(--blue); }
.nav-install-btn {
    background: var(--ink);
    color: var(--white) !important;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
}
.nav-install-btn:hover { background: var(--blue); text-decoration: none; }
.menu-toggle { display: none; }

@media (max-width: 780px) {
    nav.primary-nav { position: fixed; inset: 60px 0 0 0; background: var(--paper); flex-direction: column; padding: 32px 24px; gap: 22px; transform: translateX(100%); transition: transform .25s ease; align-items: flex-start; }
    nav.primary-nav.open { transform: translateX(0); }
    nav.primary-nav a { font-size: 17px; }
    .menu-toggle { display: block; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--ink); }
}

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15.5px;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-deep); text-decoration: none; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); text-decoration: none; }
.btn-lg { padding: 17px 32px; font-size: 16.5px; }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
    padding: 72px 0 88px;
    border-bottom: 1px solid var(--line);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}
@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; }
}
.hero h1 { margin-bottom: 20px; }
.hero .lede { font-size: 18px; max-width: 46ch; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; font-family: var(--mono); font-size: 12.5px; color: var(--ink-soft); letter-spacing: .02em; }
.hero-trust span { display: flex; align-items: center; gap: 6px; }

/* ── The "stamped resume card" signature visual ────────────────────── */
.doc-stage { position: relative; display: flex; justify-content: center; padding: 20px; }
.doc-card {
    width: min(340px, 100%);
    background: var(--white);
    border-radius: 6px;
    box-shadow: 0 30px 60px -20px rgba(18,24,43,0.28), 0 2px 8px rgba(18,24,43,0.08);
    padding: 28px 26px;
    transform: rotate(-3.5deg);
    position: relative;
}
.doc-card::before {
    content: "";
    position: absolute;
    top: 0; right: 0;
    width: 0; height: 0;
    border-style: solid;
    border-width: 0 26px 26px 0;
    border-color: transparent var(--paper-dim) transparent transparent;
}
.doc-line { height: 8px; background: var(--paper-dim); border-radius: 3px; margin-bottom: 9px; }
.doc-line.blue { background: var(--blue); opacity: .85; }
.doc-line.w60 { width: 60%; } .doc-line.w80 { width: 80%; } .doc-line.w40 { width: 40%; } .doc-line.w90 { width: 90%; }
.doc-avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg,var(--blue),var(--blue-deep)); margin-bottom: 16px; }
.stamp {
    position: absolute;
    bottom: -18px;
    right: -22px;
    width: 108px;
    height: 108px;
    border: 3px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform: rotate(12deg);
    background: rgba(252,251,246,0.9);
    font-family: var(--mono);
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: .08em;
    color: var(--gold);
    line-height: 1.3;
}

/* ── Feature grid ───────────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-alt { background: var(--paper-dim); }
.section-head { max-width: 620px; margin-bottom: 48px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 780px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px;
}
.card .icon-mark {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: var(--paper-dim);
    display: flex; align-items: center; justify-content: center;
    font-size: 19px;
    margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; font-size: 17.5px; }
.card p { font-size: 14.5px; margin: 0; }

/* ── Stats strip ────────────────────────────────────────────────────── */
.stats-strip { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 28px; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat b { display: block; font-family: var(--display); font-size: 2.1rem; color: var(--ink); }
.stat span { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }

/* ── FAQ accordion ──────────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item summary { cursor: pointer; font-family: var(--display); font-size: 17.5px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--gold); flex-shrink: 0; font-weight: 400; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-answer { padding-top: 12px; font-size: 15px; max-width: 68ch; }
.faq-category { font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin: 44px 0 4px; }
.faq-category:first-child { margin-top: 0; }

/* ── Numbered steps (genuine sequence — How It Works) ──────────────── */
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num { font-family: var(--display); font-size: 28px; color: var(--gold); font-weight: 600; }
.step h3 { margin-bottom: 6px; }

/* ── Blog cards ─────────────────────────────────────────────────────── */
.blog-card { border-bottom: 1px solid var(--line); padding: 30px 0; display: grid; grid-template-columns: 120px 1fr; gap: 24px; }
.blog-card:first-child { padding-top: 0; }
@media (max-width: 620px) { .blog-card { grid-template-columns: 1fr; } }
.blog-date { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.blog-card h3 { margin: 6px 0 8px; }
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--blue); text-decoration: none; }
.blog-card p { font-size: 14.5px; margin: 0; }
.read-more { font-family: var(--mono); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

article.post h1 { margin-bottom: 10px; }
.post-meta { font-family: var(--mono); font-size: 12.5px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 36px; display: flex; gap: 18px; }
.post-lede { font-size: 18px; color: var(--ink); border-left: 3px solid var(--gold); padding-left: 18px; margin: 28px 0 32px; }
article.post h2 { margin-top: 40px; font-size: 1.5rem; }
article.post ul, article.post ol { color: var(--ink-soft); padding-left: 22px; }
article.post li { margin-bottom: 8px; }
.post-cta { margin-top: 48px; padding: 28px; background: var(--paper-dim); border-radius: var(--radius); text-align: center; }
.post-cta p { color: var(--ink); font-family: var(--display); font-size: 18px; margin-bottom: 16px; }

/* ── CTA band ───────────────────────────────────────────────────────── */
.cta-band { background: var(--ink); color: var(--white); padding: 64px 0; text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.7); max-width: 46ch; margin: 0 auto 28px; }
.cta-band .btn-primary { background: var(--gold); }
.cta-band .btn-primary:hover { background: #B37D14; }

/* ── Footer ─────────────────────────────────────────────────────────── */
footer.site-footer { border-top: 1px solid var(--line); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; margin-bottom: 40px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
.footer-grid h4 { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin-bottom: 14px; }
.footer-grid a { display: block; color: var(--ink-soft); font-size: 14px; margin-bottom: 10px; }
.footer-grid a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); }

/* ── Screenshot showcase ────────────────────────────────────────────── */
.showcase-scroll {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 8px 4px 28px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.showcase-scroll::-webkit-scrollbar { height: 8px; }
.showcase-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.showcase-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 220px;
    text-align: center;
}
.phone-frame {
    width: 220px;
    border-radius: 22px;
    border: 6px solid var(--ink);
    overflow: hidden;
    box-shadow: 0 24px 44px -18px rgba(18,24,43,0.35);
    background: var(--ink);
    margin-bottom: 16px;
}
.phone-frame img { display: block; width: 100%; }
.showcase-item h4 { font-family: var(--body); font-size: 14.5px; font-weight: 600; margin: 0 0 4px; }
.showcase-item p { font-size: 13px; margin: 0; }

/* ── Comparison table ───────────────────────────────────────────────── */
.compare-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.compare-table th, .compare-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.compare-table th { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); font-weight: 600; }
.compare-table td.yes { color: var(--blue); font-weight: 600; }
.compare-table td.no { color: var(--ink-soft); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td:first-child, .compare-table th:first-child { font-weight: 600; color: var(--ink); }
.legal-section { margin-bottom: 32px; }
.legal-section h2 { font-size: 1.15rem; margin-bottom: 8px; }
.legal-section p { font-size: 15px; }
.updated-badge { font-family: var(--mono); font-size: 12.5px; color: var(--ink-soft); margin-bottom: 30px; display: inline-block; }
