/* ai.greenometer.com — Praktické AI školení.
   Visual language of the "AI školení" deck: Greenometer navy + green + periwinkle,
   Plus Jakarta Sans, the hexagon motif. Brand colours are fixed (no dark theme). */

:root {
  --navy: #121F36;
  --navy-2: #1A2B4C;
  --navy-3: #24385F;
  --navy-deep: #0E1930;
  --green: #66CB7D;
  --green-hover: #7DD691;
  --green-ink: #1E8443;
  --blue: #566FE5;
  --blue-2: #6D93FF;
  --mint-2: #EAF7EF;
  --cyan: #B6EEF8;
  --mist: #F4F6FB;
  --ink: #121F36;
  --ink-2: #4A566F;
  --ink-3: #636E87;
  --line: #D6DDE7;
  --field: #C2CBD8;
  --paper: #FFFFFF;
  --on-navy: #FFFFFF;
  --on-navy-2: #C3CDE0;
  --error: #B42318;
  --error-bg: #FDEDEC;

  --f: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 112px);

  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.6 7.2l2.2 2.2 4.6-4.8' fill='none' stroke='%23121F36' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.55 var(--f); -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--paper); color: var(--navy); padding: 10px 14px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 16px/1.2 var(--f); text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-green { background: var(--green); color: var(--navy); }
.btn-green:hover { background: var(--green-hover); }
.btn-outline { border-color: rgba(182, 238, 248, 0.4); color: var(--on-navy); }
.btn-outline:hover { border-color: var(--cyan); }
.btn-navy { background: var(--navy); color: var(--on-navy); }
.btn-navy:hover { background: var(--navy-3); }
.btn:disabled { opacity: .6; cursor: progress; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: var(--navy); color: var(--on-navy);
  border-bottom: 1px solid rgba(195, 205, 224, 0.12);
}
.nav .wrap { display: flex; align-items: center; gap: 32px; min-height: 68px; }
.nav-logo { display: block; flex: none; }
.nav-logo img { height: 22px; width: auto; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--on-navy-2); text-decoration: none; }
.nav-links a:hover { color: var(--on-navy); }
.nav .btn { min-height: 42px; padding: 9px 20px; font-size: 15px; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
}
@media (max-width: 380px) {
  .nav .wrap { gap: 12px; }
  .nav-logo img { height: 18px; }
  .nav .btn { padding-inline: 14px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--on-navy);
  background:
    radial-gradient(900px 620px at 78% 44%, rgba(86, 111, 229, 0.30), transparent 62%),
    radial-gradient(520px 420px at 92% 96%, rgba(102, 203, 125, 0.16), transparent 70%),
    var(--navy);
}
.hero-art { position: absolute; top: 0; right: 0; bottom: 0; width: min(60%, 820px); }
.hexfield { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-icon {
  position: absolute; left: 52%; top: 48%; width: 150px; height: auto;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 36px rgba(102, 203, 125, 0.55));
}
.hero .wrap { position: relative; padding-block: clamp(72px, 10vw, 136px) clamp(72px, 9vw, 120px); }
.hero-body { max-width: 640px; display: grid; gap: 24px; justify-items: start; }
.hero-kicker { font-size: 17px; font-weight: 600; color: var(--cyan); }
.hero h1 {
  font-weight: 800; font-size: clamp(46px, 7.6vw, 84px); line-height: 0.98; letter-spacing: -0.035em;
}
.hero h1 mark {
  background: linear-gradient(92deg, var(--green) 0%, #8FE3A3 40%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: clamp(17px, 1.7vw, 20px); line-height: 1.5; color: var(--on-navy-2); max-width: 560px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  font-size: 15px; font-weight: 600; padding: 9px 16px; border-radius: 999px;
  border: 1.5px solid rgba(182, 238, 248, 0.28);
}
.chips .chip-hot { background: var(--green); border-color: var(--green); color: var(--navy); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
@media (max-width: 900px) {
  .hero-art { width: 100%; opacity: 0.45; }
  .hero-icon { display: none; }
}

/* ---------- sections ---------- */
.section { padding-block: var(--section); }
.section-mist { background: var(--mist); }
.sec-head { display: grid; gap: 16px; max-width: 780px; }
.h2 {
  font-weight: 800; font-size: clamp(30px, 4.2vw, 44px); line-height: 1.1; letter-spacing: -0.025em; color: var(--navy);
}
.h2::after {
  content: ""; display: block; width: 210px; height: 13px; margin-top: 10px;
  background: url("../img/brand/swoosh.png") left center / contain no-repeat;
}
.sec-sub { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 680px; }

.checks { display: grid; gap: 10px; font-size: 16px; line-height: 1.42; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.18em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--check-bg, var(--green)) var(--check) center / 18px no-repeat;
}

/* ---------- two ways to start ---------- */
.paths { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 20px; margin-top: 44px; }
.path {
  display: flex; flex-direction: column; gap: 18px; min-width: 0;
  padding: clamp(24px, 3vw, 36px); border-radius: 20px;
  background: var(--paper); border: 1px solid var(--line);
}
.path-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.path h3 { font-size: clamp(24px, 2.5vw, 30px); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--navy); }
.path-desc { color: var(--ink-2); }
.tag { flex: none; font-size: 14px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--green); color: var(--navy); }
.facts { margin-top: auto; display: grid; }
.facts div {
  display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; align-items: baseline;
  padding: 12px 0; border-top: 1px solid var(--line);
}
.facts dt { font-size: 14.5px; color: var(--ink-3); }
.facts dd { font-weight: 700; color: var(--navy); }
.facts dd small { display: block; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.path .btn { align-self: flex-start; }

.path-main { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.path-main h3 { color: var(--on-navy); }
.path-main .path-desc { color: var(--on-navy-2); }
.path-main .facts div { border-color: rgba(195, 205, 224, 0.2); }
.path-main .facts dt { color: var(--on-navy-2); }
.path-main .facts dd { color: var(--on-navy); }
.path-main .facts dd small { color: var(--green); }
@media (max-width: 900px) { .paths { grid-template-columns: 1fr; } }

/* ---------- course content ---------- */
.content-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 24px 48px; align-items: end; }
.content-head .sec-sub { font-size: 17px; }
.learn-label { margin-top: 44px; font-size: 17px; font-weight: 700; color: var(--navy); }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.pillar {
  display: grid; align-content: start; gap: 16px; padding: 24px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--paper);
}
.pillar h3 { font-size: 19px; font-weight: 800; line-height: 1.22; color: var(--navy); min-height: 2.44em; }
.pillar .checks { font-size: 15.5px; }
.pillar-safe { background: var(--mist); --check-bg: var(--cyan); }
.track { display: flex; gap: 8px; margin-top: 28px; }
.track-steps { flex: 1; display: flex; gap: 8px; min-width: 0; }
.track-steps li {
  flex: var(--w) 1 0; min-width: 0; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 12px;
}
.track-steps b, .track-end b { font-size: 22px; font-weight: 800; line-height: 1; white-space: nowrap; }
.track-steps span, .track-end span { font-size: 15px; line-height: 1.3; }
.track-steps li:first-child { background: var(--navy); color: var(--on-navy); }
.track-steps li:first-child b { color: var(--green); }
.track-steps li:nth-child(2) { background: var(--green); color: var(--navy); }
.track-end {
  flex: none; width: 260px; display: grid; gap: 4px; align-content: center;
  padding: 12px 18px; border: 1.5px dashed var(--navy); border-radius: 12px; color: var(--navy);
}
.track-end b { font-size: 17px; }
.ai-act { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 15px; color: var(--ink-2); }
.ai-act::before {
  content: ""; width: 18px; height: 20px; flex: none; background: var(--blue);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
@media (max-width: 1060px) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar h3 { min-height: 0; }
}
@media (max-width: 900px) {
  .content-head { grid-template-columns: 1fr; }
  .track { flex-direction: column; }
  .track-steps { flex-direction: column; }
  .track-end { width: auto; }
}
@media (max-width: 600px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- grant ---------- */
.grant { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
.grant-main { display: grid; gap: 22px; }
.grant-lead { font-size: 18px; color: var(--ink-2); }
.split { display: grid; gap: 10px; }
.split-title { font-size: 15px; font-weight: 600; color: var(--navy); }
.split-bar { display: flex; height: 48px; border: 1.5px solid var(--navy); border-radius: 12px; overflow: hidden; font-weight: 700; font-size: 15px; }
.split-bar span { display: flex; align-items: center; white-space: nowrap; padding-inline: 14px; min-width: 0; }
.split-up { flex: 76.73 1 0; background: var(--green); color: var(--navy); }
.split-you { flex: 23.27 1 0; justify-content: center; background: var(--paper); color: var(--navy); }
.calc { background: var(--navy); color: var(--on-navy); border-radius: 18px; padding: clamp(20px, 3vw, 28px); display: grid; gap: 6px; }
.calc-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; font-weight: 700; font-size: 17px; }
.calc-head span { font-weight: 500; font-size: 14.5px; color: var(--cyan); }
.calc-t { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.calc-t th { text-align: left; font-weight: 600; font-size: 16px; padding: 12px 0; }
.calc-t th small { display: block; margin-top: 2px; font-weight: 400; font-size: 14px; color: var(--on-navy-2); }
.calc-t td { text-align: right; vertical-align: middle; font-weight: 800; font-size: clamp(20px, 2.4vw, 24px); white-space: nowrap; padding: 12px 0 12px 12px; }
.calc-t tr + tr > * { border-top: 1px solid rgba(195, 205, 224, 0.18); }
.calc-t .calc-total td { color: var(--green); font-size: clamp(24px, 3vw, 30px); }
.calc-foot { font-size: 14.5px; color: var(--on-navy-2); }

.grant-side { display: grid; gap: 18px; }
.grant-side h3 { font-size: 20px; font-weight: 800; color: var(--navy); }
.steps { display: grid; gap: 16px; counter-reset: step; margin-bottom: 16px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; }
.steps li::before {
  content: counter(step); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 14px;
  background: var(--navy); color: var(--on-navy);
}
.steps li:last-child::before { background: var(--green); color: var(--navy); }
.steps b { font-size: 16.5px; line-height: 1.3; padding-top: 5px; }
.steps span { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.conds { display: grid; gap: 10px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.conds li { position: relative; padding-left: 20px; }
.conds li::before {
  content: ""; position: absolute; left: 2px; top: 0.55em; width: 7px; height: 7px; border-radius: 1px;
  background: var(--green); transform: rotate(45deg);
}
.src { margin-top: 40px; max-width: 900px; font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }
.src strong { color: var(--ink-2); }
@media (max-width: 960px) { .grant { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .split-bar { font-size: 13.5px; } .split-bar span { padding-inline: 10px; } }

/* ---------- about + references ---------- */
.about { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 56px); margin-top: 44px; align-items: start; }
.about-text { display: grid; gap: 16px; color: var(--ink-2); }
.about-text .lead { font-size: 21px; line-height: 1.45; font-weight: 500; color: var(--ink); }
.depts { background: var(--mint-2); border-radius: 18px; padding: clamp(22px, 3vw, 30px); }
.depts h3 { font-size: 17px; font-weight: 800; color: var(--green-ink); margin-bottom: 18px; }
.depts ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; }
.depts li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.depts li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.depts strong { display: block; margin-bottom: 2px; font-size: 16.5px; color: var(--navy); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 52px; }
.stats li { display: grid; gap: 6px; padding-top: 14px; border-top: 2px solid var(--navy); }
.stats b { font-size: clamp(26px, 3vw, 34px); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; color: var(--navy); }
.stats span { font-size: 15px; color: var(--ink-2); }
.refs { margin-top: clamp(72px, 9vw, 112px); }
.logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 36px; }
.logos li {
  height: 100px; display: grid; place-items: center; padding: 14px 22px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--paper);
}
.logos img { width: auto; max-width: 100%; max-height: 58px; object-fit: contain; }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .depts ul, .stats { grid-template-columns: 1fr; }
  .stats { gap: 20px; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .logos li { height: 84px; padding: 12px 16px; }
  .logos img { max-height: 48px; }
}

/* ---------- contact / lead form ---------- */
.contact {
  position: relative; overflow: hidden; color: var(--on-navy);
  background:
    radial-gradient(700px 500px at 88% 12%, rgba(86, 111, 229, 0.28), transparent 65%),
    var(--navy);
}
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
.contact-intro { display: grid; gap: 20px; position: relative; }
.contact .h2 { color: var(--on-navy); font-size: clamp(32px, 4.6vw, 52px); line-height: 1.05; }
.contact-lead { font-size: 19px; line-height: 1.5; color: var(--on-navy-2); }
.contact-direct { display: grid; gap: 6px; margin-top: 8px; font-size: 16px; color: var(--on-navy-2); }
.contact-direct a { color: var(--on-navy); font-weight: 600; text-decoration: none; }
.contact-direct a:hover { text-decoration: underline; }
.contact-sun { width: 180px; opacity: 0.85; margin-top: 12px; pointer-events: none; }

.form-card {
  position: relative; background: var(--paper); color: var(--ink);
  border-radius: 22px; padding: clamp(22px, 3.2vw, 36px);
  box-shadow: 0 24px 64px rgba(5, 10, 20, 0.35);
}
.form-card h3 { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 20px; }
.choice { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.choice legend { padding: 0; margin-bottom: 10px; font-size: 15px; font-weight: 700; color: var(--navy); }
.choice-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; top: 18px; left: 16px; width: 20px; height: 20px; margin: 0; opacity: 0; }
.opt label {
  display: grid; gap: 3px; height: 100%; cursor: pointer;
  padding: 14px 16px 14px 48px; border: 1.5px solid var(--field); border-radius: 14px;
  transition: border-color .15s, background-color .15s;
}
.opt label::before {
  content: ""; position: absolute; top: 17px; left: 16px; width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid var(--field); background: var(--paper);
}
.opt label:hover { border-color: var(--navy-3); }
.opt input:checked + label { border-color: var(--navy); background: var(--mint-2); }
.opt input:checked + label::before { border: 6px solid var(--navy); }
.opt input:focus-visible + label { outline: 3px solid var(--blue-2); outline-offset: 2px; }
.choice[aria-invalid="true"] .opt label { border-color: var(--error); }
.opt strong { font-size: 16px; line-height: 1.3; color: var(--navy); }
.opt span { font-size: 14px; line-height: 1.35; color: var(--ink-2); }

.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 600; color: var(--navy); }
.field label .opt-note { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  font: 400 16px/1.4 var(--f); color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--field); border-radius: 12px;
}
.field select {
  appearance: none; padding-right: 40px;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23121F36' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center / 12px no-repeat;
}
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(86, 111, 229, 0.25);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field-err { font-size: 14px; line-height: 1.4; color: var(--error); font-weight: 500; }
.choice .field-err { margin-top: 8px; }

.form-foot { display: grid; gap: 16px; margin-top: 22px; justify-items: start; }
#turnstile { min-height: 65px; }
.consent { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.consent a { color: var(--navy); }
.form-submit { min-width: 220px; }
.form-msg { width: 100%; padding: 12px 16px; border-radius: 12px; font-size: 15.5px; font-weight: 600; }
.form-msg-success { background: var(--mint-2); color: var(--green-ink); }
.form-msg-error { background: var(--error-bg); color: var(--error); }
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-sun { display: none; }
}
@media (max-width: 600px) {
  .choice-opts, .fields { grid-template-columns: 1fr; }
  .form-submit { width: 100%; }
}

/* ---------- footer ---------- */
.footer { background: var(--navy-deep); color: var(--on-navy-2); padding-block: 48px 28px; font-size: 15px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 56px; }
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand img { height: 22px; width: auto; }
.footer h2 { font-size: 15px; font-weight: 700; color: var(--on-navy); margin-bottom: 12px; }
.footer ul { display: grid; gap: 8px; }
.footer a { color: var(--on-navy-2); text-decoration: none; }
.footer a:hover { color: var(--on-navy); text-decoration: underline; }
.footer-copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(195, 205, 224, 0.12); font-size: 13.5px; }

/* ---------- cookie banner + settings (assets/js/consent.js) ---------- */
.cc-banner {
  position: fixed; left: 16px; bottom: 16px; z-index: 90;
  width: min(420px, calc(100vw - 32px)); padding: 20px 20px 18px;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 24px 64px rgba(5, 10, 20, 0.28);
}
.cc-banner[hidden], .cc-modal[hidden] { display: none !important; }
.cc-title { font-size: 18px; font-weight: 800; line-height: 1.25; color: var(--navy); margin-bottom: 6px; }
.cc-text { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.cc-text a { color: var(--navy); }
.cc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.cc-actions-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cc-btn {
  min-height: 44px; padding: 10px 14px; border-radius: 999px; cursor: pointer;
  font: 700 14.5px/1.2 var(--f); color: var(--navy); background: var(--paper); border: 1.5px solid var(--field);
}
.cc-btn:hover { border-color: var(--navy); }
.cc-primary { background: var(--green); border-color: var(--green); }
.cc-primary:hover { background: var(--green-hover); border-color: var(--green-hover); }
.cc-link { grid-column: 1 / -1; min-height: 36px; border-color: transparent; background: none; text-decoration: underline; font-weight: 600; }
.cc-link:hover { border-color: transparent; }
.cc-modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 16px; }
.cc-backdrop { position: absolute; inset: 0; background: rgba(18, 31, 54, 0.6); }
.cc-panel {
  position: relative; width: min(560px, 100%); max-height: 92vh; overflow-y: auto;
  padding: 24px; background: var(--paper); color: var(--ink); border-radius: 20px;
  box-shadow: 0 24px 64px rgba(5, 10, 20, 0.35);
}
.cc-close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--mist); color: var(--navy); font-size: 20px; line-height: 1; cursor: pointer;
}
.cc-cat { margin-top: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; }
.cc-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cc-cat-name { font-size: 16px; font-weight: 800; color: var(--navy); }
.cc-cat-desc { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.cc-always { font-size: 13px; font-weight: 700; color: var(--green-ink); white-space: nowrap; }
.cc-switch { position: relative; display: inline-flex; flex: none; cursor: pointer; }
.cc-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cc-switch span { position: relative; width: 44px; height: 26px; border-radius: 999px; background: var(--field); transition: background-color .15s; }
.cc-switch span::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--paper); box-shadow: 0 1px 3px rgba(18, 31, 54, 0.3); transition: transform .15s;
}
.cc-switch input:checked + span { background: var(--green-ink); }
.cc-switch input:checked + span::after { transform: translateX(18px); }
.cc-switch input:focus-visible + span { outline: 3px solid var(--blue-2); outline-offset: 2px; }
@media (max-width: 520px) {
  .cc-banner { left: 8px; right: 8px; bottom: 8px; width: auto; }
  .cc-actions-3 { grid-template-columns: 1fr; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound .wrap { display: grid; gap: 20px; justify-items: center; }

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