/* ============================================
   PEACHSHEET MARKETING SITE — DESIGN SYSTEM
   ============================================ */

/* ---- Custom Properties ---- */
:root {
    /* Primary brand — warm peach tones */
    --peach-primary: #E8845C;
    --peach-light: #f8f0dd;
    --peach-medium: #f5e6c8;
    --peach-dark: #D4714A;
    --peach-accent: #C85D38;

    /* Text colors */
    --navy: #1B3A5C;
    --navy-dark: #0F2440;
    --text-body: #3D352C;
    --text-muted: #7A6F63;

    /* Status colors (from reports) */
    --green: #5B8C51;
    --green-dark: #456B3D;
    --green-light: #E8F2E5;
    --amber: #C4873B;
    --amber-light: #FDF5E8;

    /* Neutrals */
    --white: #FFFFFF;
    --bg-cream: #f8f0dd;
    --bg-warm: #F8F4ED;
    --bg-section: #FDF9F3;
    --border: #EDE6DB;
    --gray-100: #FDFBF7;
    --gray-300: #EDE6DB;
    --gray-500: #7A6F63;

    /* Typography */
    --font-brand: 'Fraunces', Georgia, serif;
    --font-heading: 'Source Serif 4', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Layout */
    --max-width: 1160px;
    --section-pad: 80px;
    --nav-height: 64px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    line-height: 1.7;
    background: var(--bg-cream);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ---- Typography ---- */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--navy);
    line-height: 1.25;
}

h1 {
    font-family: var(--font-brand);
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 16px;
}

h3 {
    font-size: 1.15rem;
    font-weight: 600;
}

p {
    margin-bottom: 16px;
}

p:last-child {
    margin-bottom: 0;
}

/* ---- Layout ---- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-pad) 0;
}

.section--cream {
    background: var(--bg-cream);
}

.section--white {
    background: var(--white);
}

.section--warm {
    background: var(--bg-section);
}

.section--dark {
    background: var(--navy-dark);
    color: var(--white);
}

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    text-align: center;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--primary {
    background: var(--peach-primary);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--peach-dark);
}

.btn--outline {
    background: transparent;
    color: var(--peach-primary);
    border: 2px solid var(--peach-primary);
}

.btn--outline:hover {
    background: var(--peach-primary);
    color: var(--white);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    z-index: 100;
    transition: background 0.3s, box-shadow 0.3s;
}

.nav--scrolled {
    background: rgba(248, 240, 221, 0.95);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.nav__logo img {
    height: 40px;
    width: auto;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav__links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-body);
    transition: color 0.2s;
}

.nav__links a:hover {
    color: var(--peach-primary);
}

.nav__cta {
    font-size: 0.85rem;
    padding: 10px 22px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: var(--section-pad);
    background: var(--bg-cream);
}

.hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
}

.hero__text {
    max-width: 640px;
}

.hero__subtitle {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--text-muted);
    margin: 20px 0 8px;
    line-height: 1.65;
}

.hero__tagline {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 32px;
}

.hero__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__image img {
    max-width: 520px;
    width: 100%;
}

/* ============================================
   THE PROBLEM
   ============================================ */
.problem__header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px;
}

.problem__header p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.problem__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.problem__side {
    padding: 32px;
    border-radius: 8px;
}

.problem__side--employer {
    background: var(--white);
    border: 1px solid var(--border);
}

.problem__side--candidate {
    background: var(--white);
    border: 1px solid var(--border);
}

.problem__side h3 {
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.problem__side p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.problem__flip {
    text-align: center;
    max-width: 640px;
    margin: 48px auto 0;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--navy);
    font-weight: 600;
    line-height: 1.5;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.steps__header {
    text-align: center;
    margin-bottom: 48px;
}

.steps__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.step {
    text-align: center;
    padding: 24px 16px;
}

.step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--peach-primary);
    color: var(--white);
    font-family: var(--font-brand);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.step h3 {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.step p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   WHAT YOU GET — PEACHSHEET PREVIEW
   ============================================ */
.preview__inner {
    display: grid;
    grid-template-columns: 55fr 45fr;
    gap: 48px;
    align-items: start;
}

.preview__header {
    margin-bottom: 40px;
}

.preview__header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 640px;
}

/* -- The mockup PeachSheet -- */
.mockup {
    background: var(--bg-cream);
    border: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(61, 46, 31, 0.12), 0 2px 8px rgba(61, 46, 31, 0.06);
    padding: 24px;
    font-size: 13px;
    position: relative;
    max-width: 480px;
}

.mockup__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--peach-medium);
}

.mockup__logo {
    height: 48px;
    width: auto;
}

.mockup__qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.mockup__qr-box {
    width: 56px;
    height: 56px;
    border: 2px solid var(--peach-medium);
    border-radius: 4px;
    background:
        linear-gradient(45deg, var(--navy) 25%, transparent 25%),
        linear-gradient(-45deg, var(--navy) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, var(--navy) 75%),
        linear-gradient(-45deg, transparent 75%, var(--navy) 75%);
    background-size: 8px 8px;
    background-position: 0 0, 0 4px, 4px -4px, -4px 0px;
    opacity: 0.7;
}

.mockup__qr-label {
    font-size: 9px;
    color: var(--text-muted);
    text-align: center;
    max-width: 80px;
    line-height: 1.3;
}

/* Candidate info */
.mockup__candidate {
    background: var(--white);
    border: 1px solid var(--gray-300);
    padding: 12px 14px;
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mockup__name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
}

.mockup__role {
    font-size: 12px;
    color: var(--text-muted);
}

.mockup__location {
    font-size: 11px;
    color: var(--peach-dark);
    font-weight: 500;
    margin-top: 2px;
}

.mockup__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--green-light);
    border: 2px solid var(--green);
    color: var(--green-dark);
    padding: 6px 12px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mockup__badge-score {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
}

/* Sections inside mockup */
.mockup__section {
    background: var(--white);
    border: 1px solid var(--gray-300);
    padding: 10px 14px;
    margin-bottom: 6px;
}

.mockup__section-title {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 600;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 4px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--gray-300);
}

.mockup__summary {
    font-size: 12px;
    color: var(--text-body);
    line-height: 1.6;
}

/* Job fit items */
.mockup__fit-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 4px 0;
    font-size: 12px;
    color: var(--text-body);
    line-height: 1.5;
}

.mockup__met {
    display: inline-block;
    font-size: 8px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 2px;
    background: var(--green);
    color: var(--white);
    flex-shrink: 0;
    margin-top: 2px;
    letter-spacing: 0.3px;
}

/* Evidence quote */
.mockup__quote {
    font-style: italic;
    color: var(--text-body);
    font-size: 12px;
    line-height: 1.6;
    padding: 6px 0 6px 16px;
    border-left: 2px solid var(--peach-dark);
    position: relative;
}

/* Credentials */
.mockup__credential {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 0;
    font-size: 12px;
}

.mockup__verified {
    display: inline-block;
    font-size: 8px;
    font-weight: 600;
    padding: 2px 5px;
    background: var(--green);
    color: var(--white);
    letter-spacing: 0.3px;
}

.mockup__claimed {
    display: inline-block;
    font-size: 8px;
    font-weight: 600;
    padding: 2px 5px;
    background: var(--amber);
    color: var(--white);
    letter-spacing: 0.3px;
}

/* -- Feature callouts beside mockup -- */
.preview__features {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 16px;
}

.feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--peach-light);
    border: 2px solid var(--peach-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.feature h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.feature p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   CANDIDATE ADVANTAGE
   ============================================ */
.advantage__inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.advantage__inner h2 {
    margin-bottom: 20px;
}

.advantage__inner p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats {
    padding: 56px 0;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat__number {
    font-family: var(--font-brand);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--peach-primary);
    line-height: 1.1;
    margin-bottom: 4px;
}

.section--dark .stat__number {
    color: var(--peach-primary);
}

.stat__label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.form-section__inner {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.form-section__inner h2 {
    margin-bottom: 8px;
}

.form-section__intro {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 36px 32px;
    box-shadow: 0 4px 16px rgba(61, 46, 31, 0.06);
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-body);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-body);
    background: var(--gray-100);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--peach-primary);
    box-shadow: 0 0 0 3px rgba(232, 132, 92, 0.15);
}

.form-group textarea {
    min-height: 80px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    margin-top: 8px;
    font-size: 1.05rem;
    padding: 16px;
}

.form-fine-print {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 16px;
}

/* Form success state */
.form-success {
    display: none;
    text-align: center;
    padding: 48px 24px;
}

.form-success__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--green-light);
    border: 2px solid var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.form-success h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-muted);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 32px 0;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer__logo img {
    height: 32px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.footer__links {
    display: flex;
    gap: 24px;
    list-style: none;
    font-size: 0.85rem;
}

.footer__links a:hover {
    color: var(--white);
}

.footer__copy {
    font-size: 0.8rem;
    width: 100%;
    text-align: center;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .hero__image img {
        max-width: 400px;
    }

    .steps__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .preview__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mockup {
        max-width: 480px;
        margin: 0 auto;
    }

    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 768px) {
    :root {
        --section-pad: 56px;
    }

    h1 {
        font-size: 1.85rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .nav__links .nav__link-text {
        display: none;
    }

    .hero__image img {
        max-width: 300px;
    }

    .problem__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .steps__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .step {
        display: grid;
        grid-template-columns: 48px 1fr;
        text-align: left;
        gap: 16px;
        align-items: start;
        padding: 16px;
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 8px;
    }

    .step__number {
        margin-bottom: 0;
    }

    .step__content h3 {
        margin-bottom: 4px;
    }

    .mockup {
        max-width: 100%;
        padding: 16px;
        font-size: 12px;
    }

    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat__number {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 24px 20px;
    }

    .footer__inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.6rem;
    }

    .stat__number {
        font-size: 1.75rem;
    }
}
