/* WingsOnCV site. One stylesheet, no framework. Tokens first; components after. */
:root {
  --navy: #0b1220; --navy-2: #111b30; --ink: #172033; --body: #3d4a60; --muted: #6b778c;
  --line: #e3e8f0; --soft: #f5f7fb; --paper: #ffffff;
  --blue: #2f6fd6; --blue-2: #3b7ddd; --sky: #5cb8ff; --mint: #12a37f; --amber: #b7791f; --rose: #c2415b;
  --radius: 14px; --shadow: 0 10px 30px rgba(15, 30, 60, .10); --shadow-lg: 0 30px 70px rgba(8, 18, 40, .28);
  --wrap: 1140px;
  --head: "Karla", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--text); font-size: 17px; line-height: 1.65; color: var(--body); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 84px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--navy); color: #c9d4e6; }
.section--dark h2, .section--dark h3 { color: #fff; }
.eyebrow { font: 700 .78rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; display: block; }
.section--dark .eyebrow, .hero .eyebrow { color: var(--sky); }
.lead { font-size: 1.16rem; color: var(--body); max-width: 62ch; }
.center { text-align: center; } .center .lead { margin-inline: auto; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 99; border-radius: 8px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 700 1rem/1 var(--head); padding: 15px 24px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; transition: transform .12s, box-shadow .12s, background .12s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--blue-2); color: #fff; box-shadow: 0 8px 20px rgba(47, 111, 214, .35); }
.btn--primary:hover { background: var(--blue); }
.btn--ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.btn--line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--sm { padding: 11px 16px; font-size: .92rem; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 18, 32, .92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 1.25rem/1 var(--head); color: #fff; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand b { color: var(--sky); font-weight: 800; }
.nav { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav a { color: #c9d4e6; font: 600 .96rem/1 var(--head); }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; text-decoration: none; }
.nav .btn { color: #fff; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid rgba(255, 255, 255, .25); color: #fff; border-radius: 8px; padding: 8px 12px; font: 700 .9rem var(--head); }

/* hero */
.hero { background: radial-gradient(900px 500px at 78% 0%, rgba(59, 125, 221, .35), transparent 60%), linear-gradient(180deg, var(--navy), var(--navy-2)); color: #c9d4e6; padding: 76px 0 0; overflow: hidden; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero .lead { color: #c9d4e6; font-size: 1.22rem; }
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 44px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 14px; }
.hero__note { font-size: .92rem; color: #93a2bb; }
.hero__shot { margin: 34px auto -4px; max-width: 1040px; }
.page-hero { background: linear-gradient(180deg, var(--navy), var(--navy-2)); color: #c9d4e6; padding: 64px 0 56px; }
.page-hero h1 { color: #fff; max-width: 22ch; font-size: clamp(2rem, 4vw, 2.9rem); }
.page-hero .lead { color: #c9d4e6; }

/* browser-framed screenshot */
.shot { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid rgba(15, 30, 60, .12); }
.shot__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #eef1f6; border-bottom: 1px solid var(--line); }
.shot__bar span { width: 10px; height: 10px; border-radius: 50%; background: #cfd6e2; }
.shot__bar em { margin-left: 10px; font: 500 .78rem/1 var(--text); color: var(--muted); font-style: normal; }
.shot--phone { max-width: 300px; margin-inline: auto; border-radius: 26px; }
figure { margin: 0; }
figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; text-align: center; }

/* grids and cards */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 2px 6px rgba(15, 30, 60, .04); }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card--link { transition: transform .15s, box-shadow .15s; display: block; color: inherit; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #e8f0fd; color: var(--blue); margin-bottom: 16px; }
.icon svg { width: 22px; height: 22px; }
.section--dark .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); color: #c9d4e6; }
.section--dark .card h3 { color: #fff; }
.section--dark .icon { background: rgba(92, 184, 255, .14); color: var(--sky); }

/* steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 26px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue-2); color: #fff; font: 800 1rem var(--head); margin-bottom: 14px; }

/* feature rows (features page) */
.feature { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; }
.feature:nth-of-type(even) .feature__text { order: 2; }
.feature ul, .ticks { list-style: none; padding: 0; margin: 0 0 1.1em; }
.feature li, .ticks li { position: relative; padding-left: 28px; margin-bottom: 9px; }
.feature li::before, .ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: #dff5ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.6L12 5.5' fill='none' stroke='%2312a37f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.section--dark .ticks li::before { background-color: rgba(18, 163, 127, .25); }
.subnav { position: sticky; top: 68px; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); overflow-x: auto; }
.subnav .wrap { display: flex; gap: 22px; padding: 12px 0; white-space: nowrap; }
.subnav a { font: 600 .9rem var(--head); color: var(--muted); }
.subnav a:hover { color: var(--blue); text-decoration: none; }

/* flow diagram: boxes joined by arrows; wraps to a column on phones */
.diagram { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin: 30px 0; }
.diagram__title { font: 700 .8rem var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; display: block; }
.flow { display: flex; align-items: stretch; gap: 0; }
.flow__node { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; text-align: center; min-width: 0; }
.flow__node strong { display: block; font: 700 1rem var(--head); color: var(--ink); margin-bottom: 4px; }
.flow__node span { font-size: .86rem; color: var(--muted); line-height: 1.4; display: block; }
.flow__node--accent { background: #e8f0fd; border-color: #bcd3f7; }
.flow__node--good { background: #e3f6f0; border-color: #a9dfcf; }
.flow__node--warn { background: #fdf3e0; border-color: #f0d49b; }
.flow__arrow { flex: 0 0 34px; display: grid; place-items: center; color: #9aa7bd; font-size: 1.3rem; }
.flow__arrow::before { content: "\2192"; }
.flow + .flow { margin-top: 14px; }
.diagram svg { width: 100%; height: auto; display: block; }
.diagram figcaption { margin-top: 16px; }

/* tables */
.table-wrap { overflow-x: auto; margin: 26px 0; border: 1px solid var(--line); border-radius: 12px; }
table.t { border-collapse: collapse; width: 100%; font-size: .96rem; background: #fff; }
.t th, .t td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.t th { font: 700 .82rem var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--soft); }
.t tr:last-child td { border-bottom: 0; }
.t td.yes { color: #0b7a5e; font-weight: 600; } .t td.no { color: var(--rose); font-weight: 600; } .t td.warn { color: var(--amber); font-weight: 600; }

/* blog */
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.post-card__img { aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; width: 100%; border-bottom: 1px solid var(--line); background: var(--soft); }
.post-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card h3 { font-size: 1.14rem; margin: 0; }
.post-card p { font-size: .95rem; margin: 0; color: var(--body); }
.tag { display: inline-block; font: 700 .72rem/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); background: #e8f0fd; padding: 6px 9px; border-radius: 6px; align-self: flex-start; }
.meta { font-size: .86rem; color: var(--muted); margin-top: auto; }
.post-card--lead { grid-column: 1 / -1; flex-direction: row; }
.post-card--lead .post-card__img { width: 55%; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); }
.post-card--lead h3 { font-size: 1.6rem; }
.post-card--lead .post-card__body { padding: 34px; justify-content: center; }

.post-hero { background: linear-gradient(180deg, var(--navy), var(--navy-2)); color: #c9d4e6; padding: 56px 0 48px; }
.post-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); max-width: 24ch; }
.post-hero .lead { color: #c9d4e6; }
.post-hero .meta { color: #93a2bb; margin-top: 18px; }
.post-hero .tag { background: rgba(92, 184, 255, .16); color: var(--sky); margin-bottom: 16px; }
.post { padding: 52px 0 30px; }
.post > .narrow > p, .post li { font-size: 1.07rem; }
.post h2 { font-size: 1.65rem; margin-top: 1.9em; }
.post h3 { margin-top: 1.5em; }
.post ul, .post ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.post li { margin-bottom: .45em; }
.post .wide { width: min(1000px, calc(100vw - 40px)); margin: 34px 0 34px 50%; transform: translateX(-50%); }
.post .shot { box-shadow: var(--shadow); }
.post code { background: var(--soft); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; font-size: .92em; }
.callout { border-left: 4px solid var(--blue-2); background: #eef4fd; border-radius: 0 12px 12px 0; padding: 18px 22px; margin: 26px 0; }
.callout h4 { margin-bottom: 6px; } .callout p:last-child { margin: 0; }
.callout--warn { border-color: #d69e2e; background: #fdf6e7; }
.callout--good { border-color: var(--mint); background: #e9f7f2; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0; }
.compare > div { border-radius: 12px; padding: 18px 20px; border: 1px solid var(--line); }
.compare__old { background: #fdf1f3; border-color: #f3ccd4 !important; }
.compare__new { background: #e9f7f2; border-color: #b4e2d4 !important; }
.compare__label { display: block; font: 700 .72rem var(--head); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; color: var(--muted); }
.compare p { margin: 0; font-size: 1rem; }
.example { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin: 30px 0; background: #fff; box-shadow: 0 2px 6px rgba(15, 30, 60, .04); }
.example__label { font: 700 .72rem var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--mint); display: block; margin-bottom: 8px; }
.example__note { font-size: .86rem; color: var(--muted); margin: 14px 0 0; }
.quote { border: 0; margin: 34px 0; padding: 0 0 0 22px; border-left: 4px solid var(--sky); font: 600 1.35rem/1.4 var(--head); color: var(--ink); }
.quote p { margin: 0; }
.checklist { list-style: none; padding: 0 !important; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border: 2px solid var(--blue-2); border-radius: 5px; }
.post-end { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin: 44px 0 10px; text-align: center; }
.post-end h3 { margin-top: 0; }
.more { padding: 30px 0 80px; }

/* CTA band, footer */
.cta { background: radial-gradient(700px 300px at 50% 0%, rgba(59, 125, 221, .4), transparent 70%), var(--navy); color: #c9d4e6; text-align: center; padding: 76px 0; }
.cta h2 { color: #fff; }
.cta .hero__cta { justify-content: center; }
.site-footer { background: #080d18; color: #93a2bb; padding: 56px 0 30px; font-size: .95rem; }
.site-footer a { color: #c9d4e6; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.footer__grid h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer__grid ul { list-style: none; padding: 0; margin: 0; }
.footer__grid li { margin-bottom: 9px; }
.footer__base { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .88rem; }

/* forms */
.form { display: grid; gap: 16px; }
.form label { font: 600 .92rem var(--head); color: var(--ink); display: grid; gap: 6px; }
.form input, .form select, .form textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #cfd6e2; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.form textarea { min-height: 140px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.form__status { font-size: .95rem; min-height: 1.4em; margin: 0; }

/* legal */
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal table { margin: 0; }

/* cookie banner */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 620px; margin-inline: auto; background: var(--navy); color: #c9d4e6; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow-lg); font-size: .93rem; display: none; }
.cookie.is-open { display: block; }
.cookie p { margin: 0 0 12px; }
.cookie a { color: var(--sky); }
.cookie__row { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 940px) {
  .grid--3, .steps, .post-list { grid-template-columns: 1fr 1fr; }
  .feature { grid-template-columns: 1fr; gap: 26px; padding: 44px 0; }
  .feature:nth-of-type(even) .feature__text { order: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .post-card--lead { flex-direction: column; }
  .post-card--lead .post-card__img { width: 100%; border-right: 0; border-bottom: 1px solid var(--line); aspect-ratio: 16 / 9; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: flex-start; padding: 18px 20px 24px; gap: 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav.is-open { display: flex; }
  .nav-toggle { display: block; }
  .grid--3, .grid--2, .steps, .post-list, .compare { grid-template-columns: 1fr; }
  .flow { flex-direction: column; }
  .flow__arrow { flex-basis: 30px; }
  .flow__arrow::before { content: "\2193"; }
  .footer__grid { grid-template-columns: 1fr; }
  .post .wide { width: calc(100vw - 24px); }
  .subnav { top: 68px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
