/* Brand and reusable layout. Edit config.php to change the primary blue. */

:root {
    --brand: #028bd1;
    --ink: #142e42;
    --muted: #526575;
    --line: #dbe4e9;
    --pale: #eff7fb;
    --blue-dark: color-mix(in srgb,var(--brand) 79%,#073852);
    --serif: Georgia,'Times New Roman',serif;
    --sans: Inter,'Segoe UI',Arial,sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font: 16px/1.55 var(--sans);
    -webkit-font-smoothing: antialiased;
}

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

button,input,textarea,select {
    font: inherit;
}

button,a,select,input[type=color] {
    touch-action: manipulation;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: default;
    opacity: .5;
}

button {
    color: inherit;
}

svg {
    flex: none;
}

a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
    outline: 3px solid #0789c8;
    outline-offset: 4px;
}

[hidden] {
    display: none!important;
}

.wrap {
    width: min(1216px,calc(100% - clamp(40px,10vw,160px)));
    margin-inline: auto;
}

.site-header {
    background: white;
    border-bottom: 1px solid #dae5eb;
}

.nav-inner {
    display: flex;
    align-items: center;
    min-height: 78px;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--sans);
    font-weight: 750;
    letter-spacing: -1.5px;
    font-size: 28px;
    line-height: 1.2;
}

.brand img {
    height: 33px;
    width: 33px;
    object-fit: contain;
}

.nav-inner nav {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-left: auto;
}

.nav-inner nav a {
    font-size: 14px;
    font-weight: 550;
    color: var(--muted);
}

.nav-inner nav a:hover,.nav-inner nav a[aria-current] {
    color: var(--blue-dark);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 46px;
    padding: 12px 21px;
    border: 1px solid transparent;
    background: var(--blue-dark);
    color: white;
    border-radius: 7px;
    font-weight: 650;
    line-height: 1.24;
    font-size: 14px;
    transition: background .18s,transform .18s;
}

.btn:hover {
    background: #005b89;
    transform: translateY(-1px);
}

.btn.secondary {
    color: var(--ink);
    background: white;
    border-color: #c8d6df;
}

.btn.secondary:hover {
    background: #eff6fa;
}

.nav-cta {
    min-height: 39px;
    padding: 10px 16px;
    font-size: 13px;
}

.mobile-menu {
    display: none;
}

.skip,.sr-only {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip:focus {
    z-index: 20;
    left: 12px;
    top: 10px;
    width: auto;
    height: auto;
    padding: 10px;
    background: #fff;
}

h1,h2,h3,h4,p {
    margin-top: 0;
}

h1,h2 {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -.052em;
    line-height: 1.06;
}

h1 {
    font-size: clamp(46px,5.5vw,77px);
    margin-bottom: 20px;
}

h2 {
    font-size: clamp(34px,3.5vw,50px);
    margin-bottom: 17px;
}

em,.blue {
    color: var(--blue-dark);
}

h1 em {
    font-weight: 400;
}

.eyebrow,.board-label,.board-foot,.live-bar {
    font: 650 10px/1.3 ui-monospace,'Courier New',monospace;
    letter-spacing: 1.65px;
    text-transform: uppercase;
    color: var(--blue-dark);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.eyeline {
    height: 2px;
    width: 24px;
    background: var(--brand);
}

.hero {
    background: linear-gradient(110deg,#f9fbfc 13%,#f5f9fb 100%);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.hero-grid {
    min-height: 510px;
    display: grid;
    grid-template-columns: 1.04fr 1fr;
    align-items: center;
    gap: clamp(26px,5vw,86px);
    padding-block: 42px;
}

.hero-copy {
    padding: 10px 0;
}

.hero-copy .eyebrow {
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(55px,5.8vw,86px);
    line-height: 1.005;
    margin: 0 0 23px;
    letter-spacing: -.065em;
}

.hero-copy>p,.lead {
    color: var(--muted);
    font-size: clamp(16px,1.3vw,19px);
    line-height: 1.65;
    max-width: 650px;
}

.hero-copy>p {
    max-width: 480px;
    margin-bottom: 26px;
}

.actions,.hero-notes,.section-heading,.work-title,.panel-title,.panel-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-notes {
    font-size: 12px;
    color: var(--muted);
    gap: 13px;
    margin-top: 20px;
}

.hero-notes span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-notes svg {
    color: var(--blue-dark);
}

.hero-notes i {
    width: 3px;
    height: 3px;
    background: #98aeba;
    border-radius: 50%;
}

.board {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    height: clamp(345px,31vw,430px);
    border: 1px solid #ccdfeb;
    border-radius: 16px;
    background-color: #e2f0f8;
    background-image: linear-gradient(#8ebbd329 1px,transparent 1px),linear-gradient(90deg,#8ebbd329 1px,transparent 1px),radial-gradient(ellipse at 70% 90%,#c1e2f4,transparent 60%);
    background-size: 24px 24px,24px 24px,100% 100%;
}

.board-label {
    position: absolute;
    top: 17px;
    left: 19px;
    display: flex;
    gap: 6px;
    align-items: center;
    letter-spacing: 1.35px;
    font-size: 9px;
    color: #416d87;
}

.board-label span,.live-dot {
    width: 7px;
    height: 7px;
    display: inline-block;
    border-radius: 50%;
    background: var(--brand);
}

.board-foot {
    position: absolute;
    bottom: 14px;
    inset-inline: 18px;
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: #52778c;
}

.board-corner {
    position: absolute;
    width: 12px;
    height: 12px;
    border: solid #83acc4;
}

.c1 {
    right: 15px;
    top: 15px;
    border-width: 1px 1px 0 0;
}

.c2 {
    left: 15px;
    bottom: 35px;
    border-width: 0 0 1px 1px;
}

.hero-paper,.back-paper {
    position: absolute;
    left: 50%;
    top: 52%;
    width: 51%;
    height: 80%;
    background: white;
    box-shadow: 0 12px 25px #234b5c27;
    border: 1px solid #d6e2e8;
}

.back-paper {
    background: #8bc5e4;
    border-color: #89bad4;
    transform: translate(-44%,-48%) rotate(8deg);
}

.hero-paper {
    transform: translate(-53%,-51%) rotate(-5deg);
    overflow: hidden;
    container-type: inline-size;
}

.ats-tag {
    position: absolute;
    right: 4%;
    bottom: 19%;
    background: white;
    box-shadow: 0 6px 17px #48657324;
    border: 1px solid #ccdee8;
    border-radius: 7px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    font-size: 11px;
    font-weight: 650;
    color: #154863;
    transform: rotate(2deg);
}

.ats-tag svg {
    color: var(--blue-dark);
}

.collection,.how {
    padding-block: 48px 58px;
}

.section-heading,.work-title,.panel-title,.panel-actions {
    justify-content: space-between;
}

.section-heading {
    align-items: flex-end;
    margin-bottom: 24px;
}

.section-heading h2,.work-title h1,.panel-title h2 {
    margin: 0;
}

.section-heading .eyebrow {
    margin-bottom: 10px;
}

.text-link,.back {
    color: var(--blue-dark);
    font-size: 14px;
    font-weight: 650;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.text-link {
    background: none;
    border: 0;
    padding: 0;
}

.text-link:hover,.back:hover,.article p a:hover {
    text-decoration: underline;
}

.section-heading .text-link {
    margin-bottom: 6px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 24px;
}

.template-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    display: block;
    transition: box-shadow .2s,border-color .2s;
}

.template-card:hover {
    border-color: #92b8cb;
    box-shadow: 0 7px 25px #19384a0e;
}

.thumb {
    position: relative;
    isolation: isolate;
    height: 220px;
    overflow: hidden;
    background: #e7f1f6;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 28px;
}

.tint-essential {
    background: #e1edf5;
}

.tint-editorial {
    background: #efe9df;
}

.tint-meridian {
    background: #e4eee8;
}

.tint-folio {
    background: #e2eeeb;
}

.tint-linea {
    background: #ece9f3;
}

.tint-ledger {
    background: #e8ebed;
}

.mini-sheet {
    width: 61%;
    min-height: 100%;
    background: white;
    box-shadow: 0 4px 16px #1630421f;
    container-type: inline-size;
}

.tier {
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 650;
    border: 1px solid #d5dee2;
    background: #fff;
    color: #385163;
    border-radius: 20px;
}

.tier.free {
    background: #eff9f3;
    color: #346652;
    border-color: #c1d9cb;
}

.card-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 16px 18px;
}

.card-copy h3 {
    font: 500 25px var(--serif);
    letter-spacing: -.04em;
    margin: 0;
}

.card-copy p {
    font-size: 13px;
    color: var(--muted);
    margin: 3px 0 0;
}

.round-link {
    border-radius: 50%;
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    flex-shrink: 0;
    border: 1px solid var(--line);
}

.how {
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8%;
}

.how ol {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 0;
}

.how li {
    counter-increment: step;
    position: relative;
    padding: 0 0 16px 40px;
}

.how li:before {
    content: counter(step,decimal-leading-zero);
    position: absolute;
    left: 0;
    color: var(--blue-dark);
    font: 13px/25px monospace;
}

.how p,.article p,.muted,.panel p,.house-copy p {
    color: var(--muted);
}

.how p {
    margin: 3px 0 0;
    font-size: 14px;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #f8fafb;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 94px;
}

.footer-inner .brand {
    font-size: 23px;
}

.footer-inner .brand img {
    width: 26px;
    height: 26px;
}

.footer-inner>div {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--muted);
}

.inner-page,.article {
    padding-block: 46px 64px;
    min-height: calc(100vh - 174px);
}

.inner-page h1 {
    font-size: clamp(43px,5vw,68px);
}

.filters,.editor-steps,.work-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.filters {
    margin: 27px 0;
}

.filters button,.editor-steps button {
    padding: 7px 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    font-size: 13px;
    background: white;
}

.filters [aria-pressed=true],.editor-steps [aria-pressed=true] {
    color: #fff;
    background: var(--ink);
    border-color: var(--ink);
}

.back {
    margin-bottom: 24px;
}

.detail-grid,.unlock-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8%;
    align-items: center;
}

.detail-sample,.house-card {
    padding: 30px;
    background: #e7f1f6;
    border-radius: 15px;
}

.detail-sample>.resume {
    width: 84%;
    margin: auto;
    box-shadow: 0 8px 25px #19384a19;
}

.detail-sample {
    container-type: inline-size;
}

.detail-sample .sample {
    font-size: 2.2cqw;
}

.work-title {
    margin-bottom: 14px;
}

.work-tabs {
    border-bottom: 1px solid var(--line);
    gap: 20px;
    margin: 20px 0 26px;
}

.work-tabs a {
    padding: 5px 0 10px;
    font-size: 14px;
    color: var(--muted);
    border-bottom: 2px solid transparent;
}

.work-tabs [aria-current] {
    color: var(--blue-dark);
    border-color: var(--brand);
    font-weight: 650;
}

.work-layout,.export-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,.94fr);
    gap: 24px;
    align-items: start;
}

.panel,.draft-row,.empty {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    padding: 25px;
}

.panel h2,.gate h2,.empty h2 {
    font-size: 32px;
}

.panel h3 {
    font-size: 17px;
    margin: 20px 0 10px;
}

.panel-title,.editor-steps {
    margin-bottom: 20px;
}

.panel-title h2 {
    margin: 0;
}

.editor-steps {
    margin-top: 17px;
}

.editor-steps button {
    padding: 5px 10px;
    font-size: 12px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 13px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 13px;
}

.field label,.order-row label {
    font-size: 13px;
    font-weight: 650;
}

.field input,.field textarea,.field select,.order-row input {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid #bdccd6;
    border-radius: 5px;
    background: white;
    color: var(--ink);
    min-width: 0;
}

.field input[type=color] {
    min-height: 45px;
    padding: 4px;
}

.field textarea {
    resize: vertical;
}

.wide-field {
    grid-column: 1/-1;
}

.panel-actions {
    border-top: 1px solid var(--line);
    padding-top: 18px;
    margin-top: 14px;
}

.live-side {
    position: sticky;
    top: 12px;
    background: #edf3f6;
    padding: 16px 18px 20px;
    border-radius: 12px;
    min-width: 0;
}

.live-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 14px;
}

.sheet-holder {
    max-height: 78vh;
    overflow: auto;
    padding: 2px;
}

.sheet-holder #live-paper {
    background: white;
    container-type: inline-size;
    box-shadow: 0 2px 12px #1f394116;
}

.sheet-holder .resume {
    min-height: 135cqw;
}

.gate,.notice {
    background: #edf7fc;
    border: 1px solid #c5e4f3;
    border-radius: 8px;
    padding: 16px;
}

.gate h2 {
    margin: 6px 0;
}

.gate {
    margin-bottom: 22px;
}

fieldset {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

fieldset:disabled {
    opacity: .55;
}

.order-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 7px 0;
}

.order-row input {
    flex: 1;
}

.order-row button,.tiny-btn {
    background: white;
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 5px 9px;
}

.entry {
    border-top: 1px solid var(--line);
    padding-top: 12px;
    margin-bottom: 16px;
}

.entry-head,.draft-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.entry-head {
    margin-bottom: 12px;
}

.entry-head h3 {
    margin: 0;
}

.small,.status-line,#save-state {
    font-size: 13px;
}

.small {
    font-weight: 500;
}

.status-line {
    min-height: 22px;
    color: var(--blue-dark);
    margin-top: 16px;
}

.export-layout {
    grid-template-columns: minmax(240px,.63fr) minmax(0,1fr);
}

.export-layout .live-side {
    position: static;
}

.checks {
    list-style: none;
    padding: 0;
}

.checks li {
    padding: 5px 0;
}

.checks li:before {
    content: '○';
    color: #765d30;
    margin-right: 8px;
}

.checks li.ok:before {
    content: '✓';
    color: #257457;
}

.wide {
    width: 100%;
    margin-bottom: 9px;
}

.draft-row {
    margin: 11px 0;
    flex-wrap: wrap;
}

.draft-row h2 {
    font-size: 25px;
    margin: 0;
}

.draft-row p {
    margin: 4px 0;
    font-size: 13px;
    color: var(--muted);
}

.empty {
    padding: 30px;
    margin-top: 25px;
}

.house-card {
    padding: 25px 28px;
    background: #e9f2f7;
    overflow: hidden;
}

.house-sheet {
    overflow: hidden;
    height: 185px;
    max-width: 230px;
    container-type: inline-size;
    box-shadow: 0 8px 18px #27475b17;
    margin: 0 auto 16px;
}

.house-copy {
    border-top: 1px solid #c5d6df;
    padding-top: 18px;
}

.house-copy .eyebrow {
    margin-bottom: 8px;
}

.house-copy h2 {
    font-size: 32px;
    margin-bottom: 8px;
}

.house-copy p {
    margin-bottom: 5px;
}

.house-copy progress {
    width: 100%;
    accent-color: var(--blue-dark);
}

.article {
    max-width: 780px;
}

.article h2 {
    font-size: 30px;
    letter-spacing: -.035em;
    margin: 28px 0 9px;
}

.article p a {
    text-decoration: underline;
}

.article .btn {
    margin-top: 10px;
}

#print-root {
    display: none;
}

.alert-banner {
    background: #fff5de;
    color: #624d21;
    padding: 10px 5%;
    font-size: 14px;
}

@media(max-width:950px) {
    .nav-inner {
        gap: 18px;
    }

    .nav-inner nav {
        gap: 17px;
    }

    .hero-grid {
        gap: 25px;
        min-height: 455px;
    }

    .hero h1 {
        font-size: clamp(52px,6.5vw,65px);
    }

    .board {
        height: 330px;
    }

    .hero-paper,.back-paper {
        width: 61%;
    }

    .cards {
        gap: 14px;
    }

    .thumb {
        height: 185px;
    }

    .mini-sheet {
        width: 70%;
    }

    .card-copy {
        padding: 13px;
    }

    .work-layout {
        gap: 15px;
    }

    .panel {
        padding: 18px;
    }

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

    .hero-copy .btn {
        padding: 11px 14px;
    }

    .brand {
        font-size: 25px;
    }

}

@media(max-width:730px) {
    .wrap {
        width: calc(100% - 36px);
    }

    .nav-inner {
        min-height: 62px;
        gap: 12px;
        position: relative;
    }

    .mobile-menu {
        display: grid;
        place-items: center;
        order: 3;
        margin-left: 0;
        background: white;
        border: 1px solid var(--line);
        border-radius: 6px;
        width: 38px;
        height: 38px;
    }

    .nav-cta {
        margin-left: auto;
    }

    .nav-inner nav {
        display: none;
        position: absolute;
        top: calc(100% - 1px);
        left: -18px;
        right: -18px;
        background: white;
        padding: 12px 20px;
        z-index: 10;
        border-bottom: 1px solid var(--line);
    }

    .nav-inner nav.open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-grid,.detail-grid,.unlock-layout,.how,.work-layout,.export-layout {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        padding-block: 35px 24px;
        gap: 26px;
    }

    .hero-copy {
        padding: 0;
    }

    .hero h1 {
        font-size: clamp(54px,9vw,70px);
    }

    .hero-copy .eyebrow {
        margin-bottom: 16px;
    }

    .hero-copy>p {
        margin-bottom: 18px;
    }

    .hero-notes {
        margin-top: 14px;
    }

    .board {
        width: 100%;
        max-width: 560px;
        height: auto;
        aspect-ratio: 1.55;
        margin: auto;
    }

    .hero-paper,.back-paper {
        width: 47%;
        height: 82%;
    }

    .collection,.how,.inner-page,.article {
        padding-block: 32px 40px;
    }

    .cards {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .thumb {
        height: 160px;
    }

    .section-heading {
        align-items: start;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .how {
        gap: 12px;
    }

    .live-side {
        position: static;
    }

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

    .unlock-layout,.detail-grid {
        gap: 25px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding-block: 18px;
        gap: 12px;
    }

    .work-tabs {
        gap: 15px;
    }

    .detail-sample {
        padding: 17px;
    }

    .unlock-layout .btn {
        margin-bottom: 9px;
    }

    .section-heading .text-link {
        margin-bottom: 0;
    }

    .card-copy p {
        font-size: 12px;
    }

    .card-copy .round-link {
        display: none;
    }

}

@media(max-width:470px) {
    .cards {
        grid-template-columns: 1fr;
    }

    .thumb {
        height: 208px;
    }

    .mini-sheet {
        width: 60%;
    }

    .board {
        aspect-ratio: 1.42;
    }

    .hero-paper,.back-paper {
        width: 53%;
    }

    .hero-notes {
        font-size: 11px;
    }

    .ats-tag {
        font-size: 9px;
        padding: 6px 8px;
    }

    .brand {
        font-size: 24px;
    }

    .brand img {
        width: 27px;
        height: 27px;
    }

    .nav-cta {
        font-size: 12px;
        padding: 8px 10px;
    }

    .section-heading {
        display: block;
    }

    .section-heading .text-link {
        margin-top: 13px;
    }

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

    .panel-actions .btn {
        font-size: 12px;
    }

    .live-side {
        padding: 12px;
    }

    .work-tabs a {
        font-size: 13px;
    }

    .tier {
        font-size: 11px;
    }

}

@media(prefers-reduced-motion:reduce) {
    *,*:before,*:after {
        scroll-behavior: auto!important;
        transition: none!important;
    }

}


/* Free CV Maker workspace and template updates */
body { padding-top: 78px; }
html { scroll-padding-top: 98px; }
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; box-shadow: 0 2px 10px #142e4206; }
.live-side { top: 96px; }
.preview-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.preview-toolbar .field { margin: 0; min-width: 170px; }
.preview-toolbar label { font-size: 11px; }
.preview-toolbar select { padding: 6px 8px; font-size: 12px; }
.preview-toolbar .live-bar { margin: 0; }
.preview-toolbar #page-count { width: 100%; margin: 0 0 2px; }
.sheet-holder { max-height: 70vh; overflow: auto; padding: 2px; }
.sheet-holder #live-paper { background: transparent; box-shadow: none; }
.sheet-holder .resume.document { min-height: 0; }
.preview-page { margin: 0 auto 16px; }
.page-number { color: var(--muted); font-size: 11px; margin: 7px 0 5px; }
.page-frame { position: relative; margin-inline: auto; }
.preview-note { margin: 8px 0 0; font-size: 11px; }
.design-templates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 26px; }
.design-template { padding: 0; background: white; border: 2px solid var(--line); border-radius: 8px; overflow: hidden; text-align: left; min-width: 0; }
.design-template[aria-pressed=true] { border-color: var(--brand); box-shadow: 0 0 0 2px #028bd11a; }
.design-template > span:last-child { display: block; padding: 7px 9px; font-size: 12px; font-weight: 600; }
.design-thumbnail { display: flex; padding-top: 12px; height: 120px; overflow: hidden; justify-content: center; background: #edf3f6; }
.design-thumbnail .mini-sheet { display: block; width: 80%; }
.tinted { background: #edf3f6; }
.tint-executive { background: #e4eaf3; }
.tint-metro { background: #e2eef0; }
.tint-scholar { background: #f1ecdf; }
.tint-canvas { background: #e5f1fa; }
.tint-slate { background: #e9edf1; }
.tint-horizon { background: #f0e7ed; }
.bullet-editor { margin: 14px 0 20px; }
.bullet-editor h4 { font-size: 13px; margin: 0 0 9px; }
.bullet-row { display: grid; grid-template-columns: 8px minmax(0, 1fr) 30px; gap: 8px; align-items: start; margin-bottom: 8px; }
.bullet-row > span { padding-top: 7px; color: var(--blue-dark); }
.bullet-row textarea { resize: vertical; border: 1px solid #bdccd6; border-radius: 5px; padding: 8px 10px; width: 100%; min-width: 0; font-size: 14px; color: var(--ink); }
.bullet-row button { padding: 6px; }
.custom-block { border-left: 2px solid #cfdfeb; padding-left: 13px; margin-bottom: 20px; }
.photo-editor { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 5px; }
.photo-editor > label { display: block; font-size: 12px; margin-bottom: 6px; }
.photo-editor input[type=file] { max-width: 100%; font-size: 13px; }
.photo-current { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.photo-current img { width: 70px; height: 70px; object-fit: cover; border-radius: 6px; }
.template-help { margin: 42px 0 0; max-width: 650px; }
.template-help h2 { font-size: 34px; }
.template-help p { color: var(--muted); }
.ad-placement { margin-block: 55px; padding-block: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 130px; }
.ad-placement > span { display: block; font-size: 10px; color: var(--muted); letter-spacing: .07em; text-transform: uppercase; text-align: center; margin-bottom: 12px; }
.ad-placement .adsbygoogle { min-height: 100px; }
.resources, .faq { padding-block: 42px; border-top: 1px solid var(--line); }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.resource-grid > a { padding: 22px; background: #f4f8fb; border: 1px solid var(--line); border-radius: 10px; }
.resource-grid h3 { font: 26px var(--serif); margin-bottom: 9px; }
.resource-grid p { font-size: 14px; color: var(--muted); }
.faq { padding-bottom: 60px; }
.faq h2 { font-size: 38px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.faq details p { color: var(--muted); margin: 12px 0 0; max-width: 760px; }
.guide h1 { font-size: clamp(42px, 5vw, 67px); }
.guide-links { display: flex; flex-wrap: wrap; gap: 10px 18px; padding-block: 14px; border-block: 1px solid var(--line); font-size: 14px; margin: 20px 0; color: var(--blue-dark); }
.guide-links a { text-decoration: underline; text-underline-offset: 3px; }
.guide p, .guide-list { line-height: 1.8; }
.guide-list { padding-left: 22px; color: var(--muted); }
.guide-list li { margin-bottom: 9px; }
.example-box { background: #eff6fa; border-left: 3px solid var(--brand); padding: 18px 22px; margin: 17px 0; }
.example-box p:last-child { margin-bottom: 0; }
@media(max-width: 950px) {
    .design-templates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media(max-width: 730px) {
    body { padding-top: 62px; }
    html { scroll-padding-top: 78px; }
    .site-header .nav-inner { position: relative; }
    .live-side { position: static; }
    .design-templates { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .resource-grid { grid-template-columns: 1fr; }
    .preview-note { font-size: 12px; }
}
@media(max-width: 430px) {
    .design-templates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media print {
    .ad-placement, .site-header { display: none !important; }
}

/* Fixed navigation should not cover focused form controls or anchor targets. */
input, textarea, select, button, a, [id] { scroll-margin-top: 96px; }

/* Free CV Maker brand mark: blue document and checkmark. */
.brand { white-space: nowrap; }
.mobile-build { display: none; }
.brand img { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.footer-brand p { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
@media (max-width: 950px) and (min-width: 731px) { .nav-inner nav { gap: 12px; font-size: 13px; } .nav-inner { gap: 14px; } .brand { font-size: 23px; } }
@media (max-width: 730px) { .brand img { width: 34px; height: 34px; } .brand { font-size: 23px; } }
@media (min-width: 731px) and (max-width: 1100px) {
    .nav-inner { position: relative; }
    .mobile-menu { display: grid; place-items: center; order: 3; background: white; border: 1px solid var(--line); border-radius: 6px; width: 38px; height: 38px; }
    .nav-cta { margin-left: auto; }
    .nav-inner nav { display: none; position: absolute; top: calc(100% - 1px); left: 0; right: 0; background: white; padding: 12px 20px; border-bottom: 1px solid var(--line); }
    .nav-inner nav.open { display: flex; flex-direction: column; align-items: stretch; }
}
@media (max-width: 1100px) { .nav-inner nav.open .mobile-build { display: block; } }
@media (max-width: 600px) { .nav-cta { display: none; } .mobile-menu { margin-left: auto; } }

@media(min-width:1101px){.nav-inner{gap:24px}.nav-inner nav{gap:22px}.nav-inner nav a{white-space:nowrap;font-size:13px}}
