/* ============================================================
   AI Career Shift — global stylesheet
   Design tokens, layout, components. Mobile-first.
   Primary: #247869 · Neutrals · Photo cards with gradient overlay
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --primary: #247869;
  --primary-dark: #1a5c50;
  --primary-deep: #12443b;
  --primary-tint: #e8f3f0;
  --primary-tint-2: #f2f8f6;
  --ink: #1b2623;
  --text: #33413d;
  --muted: #5f6f6a;
  --line: #e2ebe8;
  --bg: #ffffff;
  --bg-soft: #f5f9f8;
  --warn: #b7791f;
  --warn-tint: #fdf3e0;
  --danger: #b3453a;
  --danger-tint: #fbeceb;
  --good: #247869;
  --good-tint: #e8f3f0;
  --shadow: 0 1px 2px rgba(18, 68, 59, .06), 0 8px 24px rgba(18, 68, 59, .08);
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1200px;
  --nav-h: 60px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-serif: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5, h6 { color: var(--ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(1.7rem, 2.6vw + 1rem, 2.6rem); }
h2 { font-size: clamp(1.35rem, 1.4vw + .9rem, 1.85rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .35em; }
input, select, textarea, button { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(36, 120, 105, .45); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--primary-tint); }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--primary); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 44px 0; }
.section-head { margin-bottom: 26px; }
.section-head p { color: var(--muted); max-width: 720px; }
.section-title { font-size: clamp(1.4rem, 1.5vw + .9rem, 1.9rem); margin-bottom: .35em; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-align: center;
  transition: background .15s ease, transform .05s ease, border-color .15s ease;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-ghost:hover { background: var(--primary-tint); text-decoration: none; }
.btn-light { background: #fff; color: var(--primary-deep); }
.btn-light:hover { background: var(--primary-tint); text-decoration: none; }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- Top navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: var(--nav-h); }
.brand { font-weight: 800; font-size: 1.12rem; color: var(--ink); display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px; background: var(--primary);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .95rem; flex: none;
}
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  background: none; border: 0; border-radius: 8px; color: var(--ink);
}
.nav-toggle:hover { background: var(--primary-tint); }
.nav-links {
  display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  flex-direction: column; padding: 8px 20px 16px;
}
.nav-links.open { display: flex; }
.nav-links a, .lang-toggle {
  display: flex; align-items: center; min-height: 48px; padding: 8px 4px;
  color: var(--ink); font-weight: 500; border-radius: 8px;
}
.nav-links a:hover { color: var(--primary); text-decoration: none; background: var(--primary-tint-2); }
.nav-links a.active { color: var(--primary); }
.nav-fav { gap: 6px; position: relative; }
.fav-count {
  display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px;
  padding: 0 5px; border-radius: 999px; background: var(--primary); color: #fff; font-size: .72rem; font-weight: 700;
}
.lang-toggle {
  justify-content: center; border: 1px solid var(--line); background: var(--bg-soft);
  margin-top: 8px; font-weight: 600; min-height: 44px;
}
.lang-toggle:hover { background: var(--primary-tint); }
.heart-ico { font-style: normal; line-height: 1; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .nav-links {
    display: flex; position: static; flex-direction: row; align-items: center; gap: 4px;
    background: none; border: 0; box-shadow: none; padding: 0;
  }
  .nav-links a { padding: 8px 12px; min-height: 44px; }
  .lang-toggle { margin-top: 0; min-height: 40px; padding: 6px 14px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; padding: 72px 0 64px;
  background-size: cover; background-position: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 30, 26, .72) 0%, rgba(10, 30, 26, .55) 45%, rgba(10, 30, 26, .78) 100%);
}
.hero > .container { position: relative; }
.hero h1 { color: #fff; max-width: 760px; }
.hero p.lead { color: rgba(255,255,255,.92); font-size: 1.08rem; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 36px; }
.hero-stat b { display: block; font-size: 1.5rem; color: #fff; }
.hero-stat span { font-size: .875rem; color: rgba(255,255,255,.8); }

/* ---------- Cards (photo background) ---------- */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) {
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}
.photo-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 230px; padding: 22px; border-radius: var(--radius); overflow: hidden;
  background-size: cover; background-position: center; color: #fff;
  box-shadow: var(--shadow); transition: transform .15s ease;
  text-decoration: none;
}
a.photo-card:hover { text-decoration: none; transform: translateY(-3px); }
.photo-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,30,26,.05) 30%, rgba(10,30,26,.82) 100%);
}
.photo-card > * { position: relative; z-index: 1; }
.photo-card h3, .photo-card h2 { color: #fff; margin-bottom: .3em; font-size: 1.15rem; }
.photo-card p { color: rgba(255,255,255,.88); font-size: .9rem; margin: 0; }
.card-cat {
  align-self: flex-start; margin-bottom: 10px; padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,.16); backdrop-filter: blur(4px);
  color: #fff; font-size: .74rem; font-weight: 600; letter-spacing: .02em;
}
.card-fav {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px;
  border-radius: 999px; border: 0; background: rgba(255,255,255,.85); color: var(--primary);
  font-size: 1.15rem; display: inline-flex; align-items: center; justify-content: center;
  transition: transform .12s ease, background .15s ease;
}
.card-fav:hover { background: #fff; transform: scale(1.08); }
.card-fav.on { background: var(--primary); color: #fff; }

/* Plain (non-photo) cards for small items */
.plain-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.plain-card h3 { font-size: 1.05rem; }

/* ---------- Tool page shell ---------- */
.page-hero {
  position: relative; color: #fff; padding: 48px 0 44px;
  background-size: cover; background-position: center;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,30,26,.74), rgba(10,30,26,.6));
}
.page-hero > .container { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: rgba(255,255,255,.92); max-width: 720px; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.75); margin-bottom: 12px; }
.breadcrumb a { color: rgba(255,255,255,.9); }

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field .hint { font-size: .83rem; color: var(--muted); margin-top: 4px; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #c9d8d3;
  border-radius: 10px; background: #fff; font-size: 1rem; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.textarea { min-height: 110px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(36,120,105,.16);
}
.input::placeholder, .textarea::placeholder { color: #93a19d; }
select.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2333433d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
@media (min-width: 768px) { .field-row.cols-2 { grid-template-columns: 1fr 1fr; } .field-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; } }
.radio-row, .check-row { display: flex; align-items: flex-start; gap: 10px; padding: 12px 10px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; background: #fff; }
.radio-row:hover, .check-row:hover { background: var(--primary-tint-2); }
.radio-row input, .check-row input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--primary); flex: none; }
.radio-row label, .check-row label { font-weight: 500; color: var(--text); margin: 0; }
.radio-row label b, .check-row label b { color: var(--ink); display: block; }

/* ---------- Results ---------- */
.result-card {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; margin-top: 22px;
}
.result-card h2, .result-card h3 { margin-bottom: .4em; }
.score-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px;
  border-radius: 999px; font-weight: 800; font-size: 1.1rem; color: #fff; margin: 8px 0 14px;
}
.score-pill.low { background: var(--good); }
.score-pill.moderate { background: var(--warn); }
.score-pill.high { background: var(--danger); }
.score-pill.extreme { background: #7a2a24; }
.bar { height: 12px; border-radius: 999px; background: #dde7e4; overflow: hidden; margin: 6px 0 14px; }
.bar-fill { height: 100%; border-radius: 999px; background: var(--primary); transition: width .5s ease; }
.bar-fill.warn { background: var(--warn); }
.bar-fill.danger { background: var(--danger); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px;
  border-radius: 999px; background: var(--primary-tint); color: var(--primary-deep);
  font-size: .85rem; font-weight: 600;
}
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 14px 0; }
@media (min-width: 768px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-box { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.stat-box b { display: block; font-size: 1.25rem; color: var(--primary-deep); }
.stat-box span { font-size: .82rem; color: var(--muted); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: 10px; }
table.data { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .92rem; }
table.data th, table.data td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { background: var(--primary-tint-2); color: var(--ink); font-weight: 700; white-space: nowrap; }
table.data tr:last-child td { border-bottom: 0; }
table.data tr:hover td { background: var(--primary-tint-2); }

/* ---------- Comparison / lists ---------- */
.compare-row { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 768px) { .compare-row.cols-2 { grid-template-columns: 1fr 1fr; } .compare-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; } }
.tip-box { background: var(--primary-tint); border-radius: 10px; padding: 16px 18px; margin: 14px 0; color: var(--primary-deep); }
.tip-box b { display: block; margin-bottom: 4px; }
.warn-box { background: var(--warn-tint); border-radius: 10px; padding: 16px 18px; margin: 14px 0; color: #7a5416; }
.danger-box { background: var(--danger-tint); border-radius: 10px; padding: 16px 18px; margin: 14px 0; color: #7a2a24; }

/* ---------- Checklist ---------- */
.check-item {
  display: flex; align-items: flex-start; gap: 12px; padding: 13px 12px;
  border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; background: #fff;
  cursor: pointer; min-height: 48px;
}
.check-item:hover { background: var(--primary-tint-2); }
.check-item input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--primary); flex: none; }
.check-item .check-label { font-weight: 500; }
.check-item .check-note { font-size: .84rem; color: var(--muted); display: block; margin-top: 2px; }
.check-item.done .check-label { text-decoration: line-through; color: var(--muted); }
.progress-label { display: flex; justify-content: space-between; font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: 4px; }

/* ---------- Article layout ---------- */
.article-layout { display: grid; grid-template-columns: 1fr; gap: 34px; padding: 36px 0 56px; }
@media (min-width: 1024px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .article-side { position: sticky; top: calc(var(--nav-h) + 20px); align-self: start; }
}
.article-body { font-size: 1.02rem; max-width: 720px; }
.article-body p { margin-bottom: 1.15em; }
.article-body h2 { margin-top: 1.6em; padding-top: .4em; }
.article-body h3 { margin-top: 1.3em; }
.article-body ul, .article-body ol { margin-bottom: 1.15em; }
.article-body blockquote {
  margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--primary);
  color: var(--muted); font-style: italic;
}
.article-body .callout { background: var(--bg-soft); border-radius: 10px; padding: 16px 18px; margin: 1.3em 0; }
.article-body .callout b { color: var(--ink); }
.article-hero { position: relative; color: #fff; padding: 56px 0 48px; background-size: cover; background-position: center; }
.article-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,30,26,.78), rgba(10,30,26,.62)); }
.article-hero > .container { position: relative; }
.article-hero h1 { color: #fff; max-width: 820px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; color: rgba(255,255,255,.85); font-size: .88rem; margin-top: 14px; }
.article-meta .fav-btn { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.article-side-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 18px; }
.article-side-card h3 { font-size: .98rem; }
.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-list li { margin-bottom: 4px; }
.toc-list a { color: var(--text); font-size: .92rem; display: block; padding: 5px 0; }
.toc-list a:hover { color: var(--primary); }
.zh-only { border: 1px dashed var(--line); border-radius: 10px; padding: 16px 18px; margin: 0 0 26px; background: var(--primary-tint-2); }
.zh-only h2 { font-size: 1.1rem; }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; background: #fff; }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 18px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none;
  min-height: 48px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--primary); line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-a { padding: 0 18px 16px; color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary-deep); color: rgba(255,255,255,.82); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 26px; padding: 44px 0 30px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 18px 0; font-size: .85rem; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
.disclaimer { font-size: .8rem; color: var(--muted); line-height: 1.55; }
.site-footer .disclaimer { color: rgba(255,255,255,.62); }
.inline-disclaimer { font-size: .8rem; color: var(--muted); margin-top: 14px; border-top: 1px dashed var(--line); padding-top: 12px; }

/* ---------- Tool explainer copy ---------- */
.tool-notes { max-width: 880px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
.tool-notes h2 { font-size: 1.25rem; margin-top: 1.5em; }
.tool-notes h2:first-child { margin-top: 0; }
.tool-notes p, .tool-notes li { color: var(--text); line-height: 1.75; }
.tool-notes ul { margin: 0 0 1em; }

/* ---------- Related links ---------- */
.related-wrap { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.link-row { display: flex; flex-wrap: wrap; gap: 10px; }
.link-chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--bg-soft);
  color: var(--text); font-size: .9rem; font-weight: 500;
}
.link-chip:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; background: var(--primary-tint); }

/* ---------- Member / upsell placeholder ---------- */
.member-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff; border-radius: var(--radius); padding: 26px; margin-top: 26px;
}
.member-card h3 { color: #fff; margin-bottom: .4em; }
.member-card p { color: rgba(255,255,255,.9); font-size: .93rem; }
.member-perks { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.member-perks .tag { background: rgba(255,255,255,.16); color: #fff; }
.member-note { font-size: .78rem; color: rgba(255,255,255,.7); margin-top: 10px; }

/* ---------- Home specifics ---------- */
.feature-strip { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .feature-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .feature-strip { grid-template-columns: repeat(4, 1fr); } }
.feature-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature-card h3 { font-size: 1.02rem; display: flex; align-items: center; gap: 10px; }
.feature-card p { font-size: .9rem; color: var(--muted); margin: 0; }
.num-badge {
  width: 34px; height: 34px; border-radius: 10px; background: var(--primary-tint);
  color: var(--primary); display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .9rem; flex: none;
}
.cta-band { background: var(--primary-tint-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 24px; text-align: center; margin-top: 44px; }

/* ---------- Empty state ---------- */
.empty-state { text-align: center; padding: 56px 20px; color: var(--muted); }
.empty-state .big { font-size: 2.2rem; margin-bottom: 10px; }

/* ---------- 404 ---------- */
.error-code { font-size: clamp(3.5rem, 10vw, 6rem); font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 6px; }

/* ---------- Cookie consent ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300;
  display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between;
  max-width: 980px; margin: 0 auto; padding: 16px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  font-size: .9rem; line-height: 1.55;
}
.cookie-banner p { flex: 1 1 520px; margin: 0; color: var(--text); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions button {
  border: 1px solid var(--primary); background: #fff; color: var(--primary);
  padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .88rem;
}
.cookie-actions button[data-consent="all"] { background: var(--primary); color: #fff; }
.cookie-actions button:hover { background: var(--primary-tint); }
.cookie-actions button[data-consent="all"]:hover { background: var(--primary-dark); }

/* ---------- Misc ---------- */
.hidden { display: none !important; }
.hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }
.copy-ok { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 20px; border-radius: 999px; font-size: .9rem; z-index: 300; box-shadow: var(--shadow); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
