:root {
    --ink: #1c1917;
    --muted: #57534e;
    --line: #e7e0d6;
    --paper: #f7f3ee;
    --cream: #fffaf4;
    --white: #ffffff;
    --accent: #c2410c;
    --accent-2: #ea580c;
    --dark: #141210;
    --shadow: 0 24px 60px -28px rgba(28, 25, 23, 0.45);
    --radius: 1.25rem;
    --serif: "Fraunces", Georgia, serif;
    --sans: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--sans);
    color: var(--ink);
    background:
        radial-gradient(1200px 500px at 8% -10%, rgba(194, 65, 12, 0.09), transparent 55%),
        radial-gradient(900px 420px at 100% 8%, rgba(234, 88, 12, 0.07), transparent 50%),
        var(--paper);
    line-height: 1.6;
}
body::before {
    content: "";
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}
main, .site-nav, .site-footer, .dock-cta { position: relative; z-index: 1; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.wrap {
    width: min(1160px, calc(100% - 2.5rem));
    margin-inline: auto;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: rgba(247, 243, 238, 0.88);
    border-bottom: 1px solid transparent;
}
.site-nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.logo-mark {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 0.7rem;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #ea580c, #9a3412);
    font-size: 0.78rem;
    font-weight: 800;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--muted);
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 0.55rem; align-items: center; }
.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 0.7rem;
    padding: 0.45rem 0.65rem;
    font-weight: 700;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.78rem 1.2rem;
    font-weight: 700;
    font-size: 0.92rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-accent {
    background: linear-gradient(180deg, #ea580c, #c2410c);
    color: #fff;
    box-shadow: 0 12px 28px -12px rgba(194, 65, 12, 0.75);
}
.btn-accent:hover { background: linear-gradient(180deg, #c2410c, #9a3412); }
.btn-ghost { background: rgba(255,255,255,.55); border-color: var(--line); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }

.hero {
    padding: 3.5rem 0 2rem;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}
.hero h1, .section-title {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.08;
    margin: 0;
}
.hero h1 {
    font-size: clamp(2.5rem, 5.2vw, 4.15rem);
    max-width: 13ch;
}
.hero-lead {
    margin: 1.15rem 0 1.6rem;
    font-size: 1.12rem;
    color: var(--muted);
    max-width: 38rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.hero-meta {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.6rem;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 600;
}
.stars { color: #d97706; letter-spacing: 0.08em; }

.hero-art {
    position: relative;
    min-height: 560px;
}
.hired {
    position: absolute;
    left: 8px;
    top: 24px;
    z-index: 6;
    background: #166534;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.4rem;
    transform: rotate(-12deg);
    box-shadow: 0 10px 20px rgba(22, 101, 52, 0.25);
    animation: hired-pop 3.4s ease-in-out infinite;
}
@keyframes hired-pop {
    0%, 100% { transform: rotate(-12deg) scale(1); }
    50% { transform: rotate(-7deg) scale(1.08); }
}
.hero-orbit {
    perspective: 1800px;
    height: 540px;
    display: grid;
    place-items: center;
}
.hero-ring {
    position: relative;
    width: 230px;
    height: 326px;
    transform-style: preserve-3d;
    animation: orbit-spin 36s linear infinite;
}
.hero-orbit:hover .hero-ring { animation-play-state: paused; }
.orbit-card {
    position: absolute;
    inset: 0;
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    text-align: left;
    color: inherit;
    background: #ddd4c6;
    border-radius: 0.35rem;
    box-shadow: 0 18px 40px rgba(28, 25, 23, 0.28);
    overflow: hidden;
    border: 1px solid #ece7df;
    transform: rotateY(calc(var(--i) * 60deg)) translateZ(280px);
    backface-visibility: hidden;
    cursor: pointer;
    padding: 0;
}
.orbit-card .template-page-shell {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    background: #efe8de;
    border-radius: 0;
    box-shadow: none;
}
.orbit-card .template-page-scale {
    pointer-events: none;
}
@keyframes orbit-spin {
    to { transform: rotateY(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-ring, .hired { animation: none; }
}

.home-grid {
    max-width: none !important;
    padding: 0 !important;
}

.score-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: start;
}
.score-card p { color: var(--muted); margin: 0.35rem 0 0; }
.score-ring {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--serif);
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--ink);
    background:
        radial-gradient(closest-side, #fff 74%, transparent 75% 100%),
        conic-gradient(#c2410c 0 92%, #efe7dc 0);
}

.editor-mock {
    background: #efe7dc !important;
}
.editor-mock-bar {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.85rem;
}
.editor-mock-page {
    background: #fff;
    border-radius: 0.5rem;
    padding: 1.1rem;
    min-height: 210px;
    box-shadow: var(--shadow);
}
.editor-mock-page b {
    display: block;
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 500;
}
.editor-mock-page span {
    display: block;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    margin: 0.25rem 0 0.7rem;
}
.editor-mock-page p { color: var(--muted); margin: 0; }

.trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    align-items: center;
    color: #a8a29e;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.5rem 0 2.5rem;
}
.trust span { opacity: 0.85; }

.band {
    background: var(--cream);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 4.5rem 0;
}
.section-kicker {
    color: var(--accent);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}
.section-title { font-size: clamp(2rem, 4vw, 3.1rem); max-width: 16ch; }
.section-lead { color: var(--muted); max-width: 36rem; margin: 0.9rem 0 2rem; }

.template-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.tpl {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1rem;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease;
}
.tpl:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tpl-preview { height: 210px; position: relative; }
.tpl-preview.modern { background: linear-gradient(90deg, #1d4ed8 34%, #fff 34%); }
.tpl-preview.navy { background: linear-gradient(90deg, #0f172a 34%, #fff 34%); }
.tpl-preview.ats { background: #fff; }
.tpl-preview.exec { background: linear-gradient(#1c1917 18%, #fff 18%); }
.tpl-preview.emerald { background: linear-gradient(90deg, #047857 34%, #fff 34%); }
.tpl-preview.minimal { background: #fafaf9; }
.tpl-preview.coral { background: linear-gradient(90deg, #c2410c 34%, #fff 34%); }
.tpl-preview.swiss { background: #fff; }
.tpl footer {
    padding: 0.85rem 1rem 1rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    font-weight: 700;
}
.badge {
    font-size: 0.68rem;
    border-radius: 99px;
    padding: 0.15rem 0.5rem;
    background: #ecfdf5;
    color: #047857;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    padding: 4.75rem 0;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.check-list { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.check-list li {
    padding: 0.45rem 0 0.45rem 1.7rem;
    position: relative;
    font-weight: 600;
}
.check-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.7rem;
    width: 0.7rem; height: 0.7rem;
    border-radius: 50%;
    background: var(--accent);
}
.feature-visual {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    min-height: 320px;
    box-shadow: var(--shadow);
    padding: 1.4rem;
}
.pill-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1rem; }
.pill {
    background: #f5f0ea;
    border-radius: 99px;
    padding: 0.35rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 700;
}

.quote {
    background: var(--dark);
    color: #fafaf9;
    padding: 4.5rem 0;
}
.quote blockquote {
    font-family: var(--serif);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 500;
    line-height: 1.25;
    margin: 0 auto;
    max-width: 18em;
    text-align: center;
}
.quote cite {
    display: block;
    margin-top: 1.4rem;
    text-align: center;
    font-style: normal;
    color: #a8a29e;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    padding: 1rem 0 0;
}
.step {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.1rem;
    padding: 1.4rem;
}
.step b {
    display: grid;
    place-items: center;
    width: 2rem; height: 2rem;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    margin-bottom: 0.9rem;
    font-size: 0.85rem;
}

.faq details {
    border-bottom: 1px solid var(--line);
    padding: 1rem 0;
}
.faq summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0.7rem 0 0.2rem; max-width: 46rem; }

.final-cta {
    text-align: center;
    padding: 4.5rem 0 5rem;
}
.final-cta h2 {
    font-family: var(--serif);
    font-size: clamp(2.1rem, 4vw, 3.3rem);
    margin: 0 0 0.8rem;
}

.site-footer {
    background: #11100e;
    color: #d6d3d1;
    padding: 2.5rem 0 2rem;
    font-size: 0.9rem;
}
.foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
}
.site-footer a:hover { color: #fff; }
.foot-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #292524;
    color: #a8a29e;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.legal {
    padding: 3rem 0 5rem;
    max-width: 46rem;
}
.legal h1 { font-family: var(--serif); font-size: 2.6rem; margin: 0 0 0.4rem; }
.legal h2 { margin: 2rem 0 0.5rem; font-size: 1.15rem; }
.legal p, .legal li { color: var(--muted); }

@media (max-width: 960px) {
    .hero, .split, .split.reverse, .template-grid, .steps, .foot-grid {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    .template-grid { grid-template-columns: 1fr 1fr; }
    .hero-art { min-height: 420px; }
    .nav-links { display: none; }
    .menu-toggle { display: inline-flex; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        inset: 100% 1.25rem auto;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 1rem;
        padding: 1rem;
        box-shadow: var(--shadow);
    }
}

.path-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 0 0 2.5rem;
}
.path-grid.two-cols {
    grid-template-columns: repeat(2, 1fr);
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
}
.path-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.2rem;
    padding: 1.35rem 1.3rem 1.2rem;
    min-height: 13.5rem;
    box-shadow: 0 18px 40px -30px rgba(28, 25, 23, 0.45);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.path-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: #d6cfc4;
}
.path-card-accent {
    background: linear-gradient(180deg, #fff7ed, #fff);
    border-color: #fed7aa;
}
.path-num {
    font-family: var(--serif);
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
}
.path-card h3 {
    margin: 0.55rem 0 0.45rem;
    font-size: 1.28rem;
    letter-spacing: -0.03em;
}
.path-card p {
    margin: 0;
    color: var(--muted);
    flex: 1;
    font-size: 0.95rem;
}
.path-go {
    margin-top: 1.1rem;
    font-weight: 800;
    font-size: 0.88rem;
    color: var(--accent);
}

.role-strip-wrap { padding: 0 0 2.5rem; }
.role-strip-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.85rem;
}
.role-strip-head h2 {
    font-family: var(--serif);
    font-size: 1.45rem;
    margin: 0;
    font-weight: 500;
}
.role-strip-head a { font-weight: 800; color: var(--accent); font-size: 0.9rem; }
.role-strip {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    padding: 0.2rem 0 0.6rem;
    scrollbar-width: thin;
}
.role-chip {
    flex: 0 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.55rem 0.95rem;
    font-weight: 700;
    font-size: 0.86rem;
    box-shadow: 0 8px 20px -16px rgba(28,25,23,.5);
}
.role-chip:hover { border-color: var(--accent); color: var(--accent); }

.editor-split-mock {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 0.75rem;
    align-items: stretch;
}
.editor-mock-form {
    background: #fff;
    border-radius: 0.65rem;
    padding: 0.85rem;
    display: grid;
    gap: 0.45rem;
}
.editor-mock-form i {
    display: block;
    height: 0.55rem;
    border-radius: 99px;
    background: #e7e5e4;
    width: 62%;
}
.editor-mock-form i.wide { width: 100%; height: 2.1rem; border-radius: 0.4rem; }
.editor-mock-form b { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.import-card p { color: var(--muted); margin: 0.4rem 0 0; }

.dock-cta {
    display: none;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 40;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(247, 243, 238, 0.94);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(12px);
}
.dock-cta .btn { width: 100%; }
.dock-cta.hidden { display: none !important; }

@media (max-width: 960px) {
    .path-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .template-grid { grid-template-columns: 1fr; }
    .hero-art { min-height: 400px; }
    .hero-orbit { height: 380px; }
    .hero-ring { width: 180px; height: 255px; }
    .orbit-card { transform: rotateY(calc(var(--i) * 60deg)) translateZ(200px); }
    .nav-cta .btn-ghost { display: none; }
    .dock-cta { display: block; }
    .final-cta { padding-bottom: 6.5rem; }
    .editor-split-mock { grid-template-columns: 1fr; }
}
