/* IMPROVECV landing page. ZD document style: midnight blue, Inter, flat colour, 4 px corners. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/inter-latin-700-normal.woff2") format("woff2"); }

:root {
  --primary: #142c4d; --accent: #0c1d33; --ink: #1b1f24; --muted: #5b6672;
  --rule: #d9dee4; --tint: #edf1f6; --paper: #fdfdfc; --white: #ffffff;
  --yellow: #FFC107; --good: #1f7a4d; --on-primary-sub: #e6eef6; --on-primary-kicker: #cfe0f0;
  --error: #9b1c1c;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: "Inter", "Helvetica Neue", Arial, sans-serif; font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--paper); }
a { color: var(--primary); }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
@media (max-width: 560px) { .wrap { padding-left: 20px; padding-right: 20px; } }
.skip { position: absolute; left: -9999px; top: 0; background: var(--white); padding: 12px 16px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; }
.brand-name { font-size: 20px; font-weight: 700; letter-spacing: 0.06em; color: var(--primary); }
.brand-by { font-size: 13px; color: var(--muted); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }
.nav a { font-size: 15px; font-weight: 500; text-decoration: none; padding: 12px 0; }
.nav a.button { padding: 12px 20px; }
@media (max-width: 720px) { .nav a:not(.button) { display: none; } }

/* Buttons and forms */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; font: inherit; font-weight: 600; text-decoration: none; color: var(--paper); background: var(--primary); border: 0; border-radius: 4px; cursor: pointer; }
.button:hover { color: var(--paper); background: var(--accent); }
.button.light { color: var(--primary); background: var(--paper); }
.button.light:hover { color: var(--accent); background: var(--white); }
.button[disabled] { opacity: 0.7; cursor: progress; }
.signup { display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.signup label { font-size: 14px; font-weight: 500; color: var(--on-primary-kicker); }
.signup .row { display: flex; flex-wrap: wrap; gap: 12px; }
.signup input[type="email"] { flex: 1 1 240px; min-width: 0; height: 52px; padding: 0 16px; font: inherit; color: var(--ink); background: var(--white); border: 1px solid var(--rule); border-radius: 4px; }
.signup .button { height: 52px; padding: 0 24px; }
.signup .note { margin: 0; font-size: 14px; color: var(--on-primary-kicker); }
.signup .note a { color: var(--on-primary-kicker); }
.signup .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup .status { margin: 4px 0 0; font-size: 15px; min-height: 0; }
.signup .status:empty { display: none; }
.signup .status { background: var(--white); color: var(--ink); border-radius: 4px; padding: 12px 14px; }
.signup .status.error { color: var(--error); }
.signup .status a { color: var(--primary); }

/* Sections */
section { padding: 88px 0; }
@media (max-width: 560px) { section { padding: 64px 0; } }
h1, h2, h3 { margin: 0; font-weight: 600; }
h2 { font-size: 34px; line-height: 1.2; letter-spacing: -0.01em; color: var(--primary); }
h3 { font-size: 20px; line-height: 1.3; color: var(--accent); }
p { margin: 0; }
.stack { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; } .gap-10 { gap: 10px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; } .gap-32 { gap: 32px; } .gap-40 { gap: 40px; }
.lead-muted { color: var(--muted); max-width: 40em; }
.grid { display: grid; gap: 24px; }
.grid-300 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid-440 { grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); }
.card { background: var(--white); border: 1px solid var(--rule); border-radius: 4px; padding: 28px; }
.card p, .card li { font-size: 16px; }
.step { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); }
.tag { align-self: flex-start; font-size: 13px; font-weight: 600; border-radius: 4px; padding: 4px 10px; }
.tag.solid { color: var(--paper); background: var(--primary); }
.tag.soft { color: var(--primary); background: var(--tint); border: 1px solid var(--rule); padding: 3px 10px; }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; }
.ticks svg { flex: none; margin-top: 3px; }
.tint-bg { background: var(--tint); }
.rule-top { border-top: 1px solid var(--rule); }

/* Hero */
.hero { background: var(--primary); color: var(--paper); padding: 80px 0 88px; }
.hero .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 56px 64px; align-items: center; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-primary-kicker); }
.hero h1 { font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.25rem); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.hero .sub { font-size: 19px; line-height: 1.5; color: var(--on-primary-sub); max-width: 34em; }
.example { background: var(--white); color: var(--ink); border-radius: 4px; padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.example .label { font-size: 14px; font-weight: 600; color: var(--muted); }
.example .block { display: flex; flex-direction: column; gap: 6px; padding-bottom: 20px; border-bottom: 1px solid var(--rule); }
.example .block:last-of-type { border-bottom: 0; padding-bottom: 0; }
.example .said { font-size: 19px; line-height: 1.4; }
.example .line { display: flex; align-items: flex-start; gap: 10px; }
.example .line svg { flex: none; margin-top: 3px; }
.example .yes { font-size: 19px; line-height: 1.4; font-weight: 600; color: var(--primary); }
.example .no { font-size: 19px; line-height: 1.4; color: var(--muted); text-decoration: line-through; }
.example .why { font-size: 15px; background: var(--tint); border-radius: 4px; padding: 14px 16px; }

/* Why it is different */
.reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 40px 64px; }
.reasons h3 { margin-top: 6px; }
.reasons p { font-size: 16px; }

/* Two columns with an aside card */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 48px 64px; align-items: start; }
.split h2.small { font-size: 26px; line-height: 1.25; }
.split p { font-size: 16px; }

/* Questions */
.faq { max-width: 760px; }
.faq .item { padding: 22px 0; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 8px; }
.faq .item:last-child { border-bottom: 1px solid var(--rule); }
.faq h3 { font-size: 18px; line-height: 1.4; }
.faq p { font-size: 16px; }

/* Join */
.join { background: var(--accent); color: var(--paper); padding: 80px 0; }
.join h2 { color: var(--paper); font-size: 36px; }
.join .sub { color: var(--on-primary-sub); max-width: 34em; }

/* Footer */
.site-footer { background: var(--tint); padding: 32px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.zd { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.zd .mark { display: inline-block; width: 22px; height: 22px; background: var(--yellow); border-radius: 4px; }
.zd .name { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; color: var(--primary); }
.zd .text, .footer-links { font-size: 14px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { color: var(--muted); padding: 6px 0; }

/* Plain document pages (privacy, terms, remove) */
.doc { padding: 56px 0 88px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: 36px; line-height: 1.2; color: var(--primary); margin-bottom: 8px; }
.doc h2 { font-size: 22px; margin-top: 36px; margin-bottom: 10px; }
.doc p, .doc li { font-size: 16px; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; margin: 8px 0 0; }
.doc li { margin-bottom: 6px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 8px; }
.doc th { text-align: left; background: var(--primary); color: var(--white); font-weight: 600; padding: 10px 12px; }
.doc td { padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.doc .meta { color: var(--muted); font-size: 14px; }
.notice { background: var(--tint); border-radius: 4px; padding: 16px 18px; margin: 20px 0; font-size: 15px; }
.placeholder { border: 1px dashed #b8c2cc; color: var(--muted); background: #fbfcfd; border-radius: 4px; padding: 2px 8px; font-size: 15px; }
.remove-form { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.remove-form .button { padding: 0 24px; }
.result { margin-top: 20px; }
