@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #fbfaf7; --panel: #ffffff; --ink: #16211d; --soft: #55615c; --line: #e2e0d8;
  --brand: #0b5d47; --brand-ink: #ffffff; --brand-soft: #e6f2ee; --warn: #a3341f; --radius: 10px;
  --shadow: 0 1px 2px rgba(22,33,29,.06), 0 8px 24px rgba(22,33,29,.08);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -0.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 750; margin-top: 1.8em; }
h3 { font-size: 1.05rem; margin-top: 1.2em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .35em; }
code { font: .9em ui-monospace, Consolas, monospace; word-break: break-all; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; background: var(--panel); padding: 8px 12px; z-index: 50; }
:focus-visible { outline: 3px solid #f0b429; outline-offset: 2px; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.sec { padding: 28px 0; }
.sec > h1:first-child, .sec > h2:first-child { margin-top: 0; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.lede { font-size: 1.15rem; color: var(--soft); }
.sub { color: var(--soft); }
.fine { font-size: .86rem; color: var(--soft); }
.warn { color: var(--warn); font-weight: 600; }
.warn:empty { display: none; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--brand); margin-bottom: .6em; }

/* header and footer */
.top { background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top-in { display: flex; align-items: center; gap: 22px; min-height: 60px; }
.brand { font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.brand-mark { background: var(--brand); color: var(--brand-ink); border-radius: 7px; font-size: .8rem; padding: 3px 6px; letter-spacing: 0; }
.nav { display: flex; gap: 20px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 550; font-size: .96rem; }
.nav a:hover { color: var(--brand); }
.crumbs { font-size: .86rem; color: var(--soft); padding-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--soft); }
.foot { background: #10201b; color: #cfd8d4; margin-top: 56px; padding: 44px 0 20px; font-size: .92rem; }
.foot a { color: #cfd8d4; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr 1.4fr; gap: 32px; }
.foot ul { list-style: none; padding: 0; }
.foot-h { font-weight: 700; color: #fff; margin-bottom: .5em; }
.foot-h a { color: #fff; }
.foot-h2 { margin-top: 1.2em; }
.foot-note { color: #9fb0aa; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid #25382f; margin-top: 26px; padding-top: 16px; color: #9fb0aa; }
.foot-base a { margin-left: 14px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--brand); color: var(--brand-ink); border: 2px solid var(--brand); border-radius: 9px; padding: 11px 20px; font: 650 1rem/1.2 inherit; text-decoration: none; cursor: pointer; }
.btn:hover { background: #094a39; border-color: #094a39; }
.btn:disabled { opacity: .6; cursor: default; }
.btn-sm { padding: 7px 13px; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--line); }
.btn-ghost:hover { background: var(--brand-soft); border-color: var(--brand); }
.btn-paypal { background: #ffc439; border-color: #ffc439; color: #111; }
.btn-paypal:hover { background: #f0b72e; border-color: #f0b72e; }
.cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin: 1.3em 0; }
.cta-note { font-size: .9rem; color: var(--soft); }
.more { font-weight: 650; }

/* hero */
.hero { background: linear-gradient(180deg, #eef5f1 0%, var(--bg) 100%); padding: 52px 0 36px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.hero-art .sheet-frame { transform: rotate(1.2deg); }
.ticks { list-style: none; padding: 0; }
.ticks li { padding-left: 1.7em; position: relative; }
.ticks li::before { content: ""; position: absolute; left: .15em; top: .42em; width: .9em; height: .5em; border-left: 3px solid var(--brand); border-bottom: 3px solid var(--brand); transform: rotate(-45deg); }

/* compare band */
.band { background: var(--panel); border-block: 1px solid var(--line); padding: 36px 0; }
.band h2 { margin-top: 0; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 18px 0 12px; }
.compare-col { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.compare-us { border: 2px solid var(--brand); background: var(--brand-soft); }
.compare-h { font-weight: 700; margin-bottom: .2em; }
.compare-big { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: .2em; }
.compare-sum { font-weight: 650; margin: 0; }

.steps { counter-reset: s; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { counter-increment: s; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 0; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.steps strong { display: block; }

/* cards and lists */
.cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.cards li { margin: 0; }
.card { display: flex; flex-direction: column; gap: 4px; height: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; color: var(--ink); }
.card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.card-kicker { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--soft); }
.card-title { font-weight: 650; color: var(--brand); }
.card-sub { font-size: .88rem; color: var(--soft); }
.tpl-row { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.tpl-row li { margin: 0; }
.tpl-row a { display: block; height: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; color: var(--ink); }
.tpl-row a:hover { border-color: var(--brand); }
.tpl-row strong { display: block; color: var(--brand); }
.tpl-row span { font-size: .88rem; color: var(--soft); }
.tpl-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.tpl-card { display: block; text-decoration: none; color: var(--ink); }
.tpl-card:hover .sheet-frame { box-shadow: 0 0 0 2px var(--brand), var(--shadow); }
.tpl-name { display: block; font-weight: 700; margin-top: 12px; color: var(--brand); }
.tpl-tag { display: block; font-size: .9rem; color: var(--soft); }
.list-lg { list-style: none; padding: 0; }
.list-lg li { border-bottom: 1px solid var(--line); padding: 14px 0; margin: 0; }
.list-lg a { font-weight: 700; font-size: 1.08rem; display: block; }
.list-lg span { color: var(--soft); font-size: .95rem; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--brand-soft); border-radius: 999px; padding: 4px 12px; font-size: .88rem; margin: 0; }
.tips li { margin-bottom: .8em; }
.end-cta { text-align: center; }
.end-cta .cta-row { justify-content: center; }

/* prose, tables, faq */
.prose h2 { margin-top: 1.6em; }
.plain { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; font-size: .95rem; }
.plain h3 { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--soft); }
.callout { background: var(--brand-soft); border-radius: var(--radius); padding: 18px 22px; margin-top: 2em; }
.callout .cta-row { margin-bottom: 0; }
.tbl { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); font-size: .95rem; margin-bottom: 1em; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tbl thead th { background: #f1efe8; }
.tbl td:last-child { font-weight: 600; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 8px; }
.faq summary { font-weight: 650; cursor: pointer; }
.faq p { margin: .6em 0 0; color: var(--soft); }
.price-card { background: var(--panel); border: 2px solid var(--brand); border-radius: 14px; padding: 26px 28px; box-shadow: var(--shadow); margin: 22px 0; }
.price-big { font-size: 3.2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin-bottom: .1em; }
.price-sub { color: var(--soft); }
.keybox { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 22px auto; max-width: 620px; }
.inline-form { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 1em 0; }
.inline-form input { font: inherit; padding: 9px 12px; border: 1px solid #b9b6aa; border-radius: 8px; min-width: 260px; }

/* resume sheet */
.sheet-frame { position: relative; background: #fff; border-radius: 4px; box-shadow: var(--shadow), 0 0 0 1px var(--line); overflow: hidden; width: 100%; }
.sheet { background: #fff; padding: 0.55in 0.62in; transform-origin: top left; width: 816px; min-height: 1056px; }
.sheet.is-placeholder .resume { opacity: .45; }

/* builder */
.is-builder main { padding-bottom: 20px; }
.bld-tabs { display: none; }
.bld { display: grid; grid-template-columns: minmax(340px, 460px) minmax(0, 1fr); gap: 0; align-items: start; }
.bld-form { padding: 16px 18px 40px; border-right: 1px solid var(--line); background: var(--panel); min-height: calc(100vh - 61px); }
.bld-prev { padding: 16px 22px 30px; position: sticky; top: 61px; max-height: calc(100vh - 61px); overflow: auto; }
.bld-tools { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bld-tools select { flex: 1 1 180px; }
.bld-saved { font-size: .82rem; color: var(--soft); margin: 8px 0 12px; }
select, .bld input, .bld textarea { font: inherit; font-size: .95rem; color: var(--ink); background: #fff; border: 1px solid #b9b6aa; border-radius: 8px; padding: 8px 10px; width: 100%; }
.bld textarea { resize: vertical; line-height: 1.45; }
.grp { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; background: var(--bg); }
.grp > summary { cursor: pointer; font-weight: 700; padding: 11px 14px; }
.grp[open] > summary { border-bottom: 1px solid var(--line); }
.grp > .grid, .grp > .item, .grp > .add { margin: 12px 14px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.fld label { display: block; font-size: .8rem; font-weight: 600; color: var(--soft); margin-bottom: 3px; }
.f-summary, .f-links, .f-bullets, .f-details, .f-items, .f-name, .f-role, .f-degree { grid-column: 1 / -1; }
.item { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); padding: 10px 12px 12px; }
.item-head { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.item-name { font-weight: 650; font-size: .92rem; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini { width: 30px; height: 30px; border: 1px solid var(--line); background: #fff; border-radius: 7px; cursor: pointer; font-size: 1rem; line-height: 1; color: var(--ink); }
.mini:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.mini:disabled { opacity: .35; cursor: default; }
.bld-style { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: end; margin-bottom: 14px; }
.bld-style label { font-size: .78rem; font-weight: 600; color: var(--soft); display: flex; flex-direction: column; gap: 3px; }
.bld-style select { width: auto; }
.bld-style input[type=color] { width: 44px; height: 37px; padding: 2px; }
.bld-style .check { flex-direction: row; align-items: center; gap: 6px; font-size: .9rem; padding-bottom: 8px; }
.bld-style .check input { width: auto; }
.bld-sheet { max-width: 760px; margin: 0 auto; }
.bld-dl { max-width: 760px; margin: 14px auto 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; position: sticky; bottom: 0; background: var(--bg); padding: 10px 0; }
.wm { position: absolute; inset: 0; display: grid; place-items: center; font-size: 5rem; font-weight: 800; letter-spacing: .2em; color: rgba(11,93,71,.07); transform: rotate(-28deg); pointer-events: none; user-select: none; }
.is-paid .wm { display: none; }
.notice { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: #10201b; color: #fff; border-radius: 12px; padding: 12px 16px; display: flex; gap: 10px; align-items: center; z-index: 60; box-shadow: var(--shadow); max-width: calc(100% - 24px); font-size: .95rem; }
.notice .btn-ghost { color: #fff; border-color: #456; }
.modal { border: 0; border-radius: 16px; padding: 28px 30px; max-width: 480px; width: calc(100% - 28px); box-shadow: 0 20px 60px rgba(0,0,0,.3); color: var(--ink); }
.modal::backdrop { background: rgba(16,32,27,.55); }
.modal h2 { margin-top: 0; }
.modal-x { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 1.6rem; cursor: pointer; color: var(--soft); }
.pay-row { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 10px; }
.is-builder .foot { margin-top: 0; }

@media print { .is-builder main, .is-builder .top, .is-builder .foot { display: none !important; } }

@media (max-width: 900px) {
  body { font-size: 16px; }
  .two, .hero-in { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .hero { padding-top: 32px; }
  .nav { display: none; }
  .top-in .btn { margin-left: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .steps, .compare { grid-template-columns: 1fr; }
  .tpl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .bld-tabs { display: grid; grid-template-columns: 1fr 1fr; position: sticky; top: 61px; z-index: 15; background: var(--panel); border-bottom: 1px solid var(--line); }
  .bld-tabs button { font: 650 .95rem inherit; padding: 11px; border: 0; background: none; border-bottom: 3px solid transparent; color: var(--soft); cursor: pointer; }
  .bld-tabs button[aria-selected=true] { color: var(--brand); border-bottom-color: var(--brand); }
  .bld { grid-template-columns: minmax(0, 1fr); }
  .bld[data-view=edit] .bld-prev, .bld[data-view=preview] .bld-form { display: none; }
  .bld-form { border-right: 0; min-height: 0; }
  .bld-prev { position: static; max-height: none; padding: 14px 14px 24px; }
  .tbl { font-size: .88rem; }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr; }
  .tpl-grid { grid-template-columns: minmax(0, 1fr); }
  .grid { grid-template-columns: 1fr; }
}

.bld-form, .bld-prev { min-width: 0; }
body { overflow-x: hidden; }

/* hero template switcher */
.hero-pick { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; justify-content: center; }
.hero-pick button { font: 600 .85rem inherit; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); cursor: pointer; }
.hero-pick button:hover { border-color: var(--brand); }
.hero-pick button[aria-pressed=true] { background: var(--brand); border-color: var(--brand); color: #fff; }
.hero-art .sheet-frame { transform: none; }
.hero-art .fine { margin-top: 10px; }
.feat { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; margin: 0; }
.feat li { margin: 0; color: var(--soft); }
.feat strong { display: block; color: var(--ink); }

/* builder: download button and resume check */
.bld-dl-btn { margin-left: auto; }
.bld-sheet #page-note { margin: 0 0 8px; }
.checks { margin-top: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; }
.checks summary { font-weight: 700; cursor: pointer; }
.checks summary span { font-weight: 500; color: var(--soft); font-size: .88rem; margin-left: 6px; }
.checks ul { list-style: none; padding: 0; margin: 10px 0 0; font-size: .93rem; }
.checks li { padding-left: 1.6em; position: relative; margin-bottom: .45em; }
.checks li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.checks li.ok { color: var(--soft); }
.checks li.ok::before { content: "\2713"; color: var(--brand); }
.checks li.todo::before { content: "!"; color: #b45309; left: .25em; }
@media (max-width: 900px) { .feat { grid-template-columns: 1fr; } .bld-dl-btn { width: 100%; margin-left: 0; } }
