/* Shared theme for all sites. Site colours and heading font come from site.json and are
   injected per page as --accent, --accent-ink, --accent-2, --tint, --link, --head-font, --head-weight.
   Fonts are self-hosted (SIL Open Font License, see fonts/OFL.txt): no requests to Google. */
@font-face {
  font-family: "Plus Jakarta Sans Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(fonts/plus-jakarta-sans.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/fraunces.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f9;
  --surface: #ffffff;
  --ink: #16181c;
  --ink-2: #3a3f47;
  --muted: #626973;
  --line: #e8e9ed;
  --line-2: #d6d9df;
  --accent: #2457a6;
  --accent-ink: #ffffff;
  --accent-2: #f2b33d;
  --tint: #eef3fb;
  --link: #2457a6;
  --head-font: system-ui, sans-serif;
  --head-weight: 800;
  --body-font: "Plus Jakarta Sans Variable", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 16px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgb(18 20 28 / .05), 0 2px 6px -2px rgb(18 20 28 / .06);
  --shadow: 0 2px 4px rgb(18 20 28 / .04), 0 12px 28px -10px rgb(18 20 28 / .16);
  --shadow-lg: 0 28px 56px -18px rgb(18 20 28 / .26), 0 4px 10px -4px rgb(18 20 28 / .08);
  --head-h: 68px;
  --max: 1160px;
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  color-scheme: light;
}
/* Light is the default. Dark only when the visitor switches it on (data-theme on <html>). */
:root[data-theme="dark"] {
  --bg: #111317;
  --bg-soft: #16191e;
  --surface: #1b1e24;
  --ink: #eef0f3;
  --ink-2: #c8cdd5;
  --muted: #9ba3ae;
  --line: #282c33;
  --line-2: #363c45;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .3);
  --shadow: 0 12px 28px -12px rgb(0 0 0 / .6);
  --shadow-lg: 0 28px 56px -18px rgb(0 0 0 / .7);
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111317' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  color-scheme: dark;
}

/* ------------------------------------------------------------ base */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-wrap: break-word;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--body-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: color-mix(in srgb, var(--accent) 24%, transparent); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px;
}
[id] { scroll-margin-top: 96px; }
.ic { width: 20px; height: 20px; flex: none; }
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 760px) { .wrap { padding-left: 28px; padding-right: 28px; } }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 {
  font-family: var(--head-font);
  font-weight: var(--head-weight);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); margin: 8px 0 14px; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin: 2em 0 .6em; }
h3 { font-size: 1.2rem; margin: 1.6em 0 .4em; }
p { margin: 0 0 1em; }
ul { padding-left: 1.25em; margin: 0 0 1.1em; }
li { margin: .3em 0; }
li::marker { color: var(--accent); }

/* ------------------------------------------------------------ buttons */
.btn, button.btn {
  display: inline-flex; white-space: nowrap; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: var(--accent-ink); text-decoration: none;
  font: 700 .95rem/1.2 var(--body-font); padding: 12px 20px; border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: 0 8px 18px -10px var(--accent);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -10px var(--accent); }
.btn:active { transform: translateY(0); }
.btn .ic { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover .ic:last-child { transform: translateX(2px); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-lg { padding: 15px 26px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-soft { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2), var(--shadow-sm); }
.btn-soft:hover { box-shadow: inset 0 0 0 1.5px var(--accent), var(--shadow); }
.btn-soft .ic { color: var(--accent); }
.btn.ghost { background: transparent; color: var(--link); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn-light { background: #ffffff; color: #16181c; box-shadow: 0 10px 20px -12px rgb(0 0 0 / .5); }

/* ------------------------------------------------------------ header */
.site-head {
  position: relative; z-index: 30;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.8) blur(16px);
  backdrop-filter: saturate(1.8) blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}
.head-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 38px; align-items: center; gap: 10px 10px; padding-block: 12px 10px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; width: max-content;
  font: var(--head-weight) 1.28rem/1 var(--head-font); letter-spacing: -0.02em; color: var(--ink); text-decoration: none;
}
.mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(140deg, var(--accent), color-mix(in srgb, var(--accent) 72%, var(--accent-2)));
  color: var(--accent-ink); font: 800 1rem/1 var(--body-font);
  box-shadow: 0 8px 16px -8px var(--accent);
}
.mark .ic { width: 21px; height: 21px; }
.site-nav {
  grid-column: 1 / -1; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  margin-inline: -16px; padding: 2px 16px 4px;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
  flex: none; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .92rem;
  padding: 7px 14px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line);
  transition: background-color .15s, color .15s;
}
.site-nav a:hover { color: var(--link); }
.site-nav a[aria-current] { background: var(--tint); color: var(--link); border-color: transparent; }
.head-cta { grid-row: 1; grid-column: 2 / 4; justify-self: end; }
.site-nav {
  grid-row: 2; grid-column: 1 / 3; margin-right: 0; padding-right: 12px;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
}
.theme-toggle {
  grid-row: 2; grid-column: 3; display: grid; place-items: center; width: 38px; height: 38px; padding: 0;
  border-radius: 999px; border: 1px solid var(--line); background: var(--bg-soft); color: var(--ink-2); cursor: pointer;
  transition: color .15s, border-color .15s, background-color .15s;
}
.theme-toggle:hover { color: var(--link); border-color: var(--accent); }
.theme-toggle .ic { width: 19px; height: 19px; }
.theme-toggle .ic-sun, [data-theme="dark"] .theme-toggle .ic-moon { display: none; }
[data-theme="dark"] .theme-toggle .ic-sun { display: block; }
@media (max-width: 459px) {
  .brand { font-size: 1.14rem; gap: 8px; }
  .mark { width: 34px; height: 34px; border-radius: 11px; }
  .head-cta .ic { display: none; }
  .head-cta { padding: 9px 14px; font-size: .86rem; }
}
@media (max-width: 359px) {
  .head-cta .ic { display: block; }
  .head-cta { padding: 9px; }
  .head-cta span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 900px) {
  .site-head { position: sticky; top: 0; }
  .head-row { grid-template-columns: auto minmax(0, 1fr) auto auto; height: var(--head-h); padding-block: 0; gap: 16px; }
  .head-cta { grid-row: 1; grid-column: 4; }
  .site-nav { -webkit-mask-image: none; mask-image: none; }
  .theme-toggle { grid-row: 1; grid-column: 3; background: transparent; border-color: transparent; }
  .theme-toggle:hover { background: var(--bg-soft); }
  .site-nav { grid-row: 1; grid-column: 2; justify-content: center; margin: 0; padding: 0; overflow: visible; gap: 2px; }
  .site-nav a { background: transparent; border-color: transparent; }
  .site-nav a:hover { background: var(--bg-soft); }
}

/* ------------------------------------------------------------ home hero */
.hero {
  position: relative; overflow: hidden;
  padding: 36px 0 48px;
  background:
    radial-gradient(900px 420px at 88% -8%, color-mix(in srgb, var(--accent-2) 26%, transparent), transparent 62%),
    radial-gradient(760px 420px at -8% 108%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 62%),
    linear-gradient(180deg, var(--tint), var(--bg));
}
.hero-grid { display: grid; gap: 32px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px;
  padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: .84rem; font-weight: 700; color: var(--ink-2);
}
.eyebrow .ic { width: 16px; height: 16px; color: var(--accent); }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1.03; letter-spacing: -0.03em; margin: 0 0 18px; }
.hero .lead { font-size: clamp(1.06rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 34em; margin: 0 0 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 26px; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .92rem; font-weight: 600; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 7px; margin: 0; }
.trust .ic { width: 18px; height: 18px; color: var(--accent); stroke-width: 2.6; }
@media (max-width: 520px) { .hero-ctas .btn { flex: 1 1 100%; } }

.hero-visual { position: relative; display: none; min-height: 380px; }
.hero-visual .blob {
  position: absolute; inset: 4% 6%;
  border-radius: 46% 54% 52% 48% / 52% 44% 56% 48%;
  background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 16%, var(--surface)), color-mix(in srgb, var(--accent-2) 34%, var(--surface)));
}
.gift-ill { position: relative; display: block; width: 74%; margin: 8% auto 0; filter: drop-shadow(0 26px 30px rgb(0 0 0 / .14)); }
.g-shadow { fill: rgb(0 0 0 / .08); }
.g-body { fill: var(--accent); }
.g-shade { fill: rgb(0 0 0 / .16); }
.g-lid { fill: color-mix(in srgb, var(--accent) 86%, #ffffff); }
.g-ribbon, .g-bow, .g-spark { fill: var(--accent-2); }
.g-knot { fill: color-mix(in srgb, var(--accent-2) 78%, #000000); }
.g-dot { fill: var(--accent); opacity: .45; }
.float {
  position: absolute; display: flex; align-items: center; gap: 12px; max-width: 260px;
  padding: 12px 16px 12px 12px; border-radius: 18px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  animation: bob 7s ease-in-out infinite;
}
.float small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.float b { display: block; font-size: .93rem; line-height: 1.3; }
.fi { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--tint); color: var(--accent); }
.fi .ic { width: 22px; height: 22px; }
.float.pill { border-radius: 999px; padding: 10px 16px; gap: 8px; font-size: .9rem; font-weight: 700; }
.float.pill .ic { color: var(--accent); }
.v-gift .f1 { top: 50%; left: -4%; }
.v-gift .f2 { bottom: 4%; right: -2%; animation-delay: -3.5s; }
.v-gift .f3 { top: 4%; left: 4%; animation-delay: -1.8s; }
.v-checklist .f1 { top: 4%; right: 0; animation-delay: -2s; }
.v-checklist .f2 { bottom: -3%; left: -2%; animation-delay: -4.5s; }
.mock {
  position: relative; width: min(380px, 86%); margin: 46px auto 0; padding: 20px 22px 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg);
  transform: rotate(-2.5deg);
}
.mock-head { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.mock-head b { flex: 1; font: var(--head-weight) 1.2rem/1.2 var(--head-font); }
.mock-count { font-weight: 800; font-size: .85rem; padding: 4px 11px; border-radius: 999px; background: color-mix(in srgb, var(--accent-2) 18%, var(--surface)); }
.mock-bar { height: 8px; border-radius: 99px; background: var(--tint); overflow: hidden; margin: 0 0 8px; }
.mock-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.mock ul { list-style: none; padding: 0; margin: 0; }
.mock li { display: flex; align-items: center; gap: 12px; margin: 0; padding: 10px 0; border-top: 1px solid var(--line); font-size: .95rem; font-weight: 600; }
.mock li:first-child { border-top: 0; }
.mock .box { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--line-2); color: transparent; }
.mock .box .ic { width: 14px; height: 14px; stroke-width: 3.5; }
.mock li.done { color: var(--muted); text-decoration: line-through; }
.mock li.done .box { background: var(--accent-2); border-color: var(--accent-2); color: #ffffff; }
@keyframes bob { 50% { transform: translateY(-9px); } }
@media (min-width: 900px) {
  .hero { padding: 64px 0 84px; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 48px; }
  .hero-visual { display: block; }
}

/* ------------------------------------------------------------ article header */
.page-head {
  padding: 20px 0 36px;
  background:
    radial-gradient(700px 300px at 92% -10%, color-mix(in srgb, var(--accent-2) 20%, transparent), transparent 70%),
    linear-gradient(180deg, var(--tint), var(--bg));
}
.crumbs ol { list-style: none; padding: 0; margin: 0 0 4px; display: flex; flex-wrap: wrap; gap: 4px 6px; font-size: .84rem; font-weight: 600; color: var(--muted); }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .45; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--link); text-decoration: underline; }
.ph-row { display: flex; align-items: center; gap: 40px; }
.ph-text { flex: 1; min-width: 0; max-width: 780px; }
.page-head h1 { margin: 12px 0 14px; line-height: 1.06; letter-spacing: -0.025em; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.18rem); color: var(--ink-2); margin: 0 0 20px; }
.ph-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.byline { display: inline-flex; align-items: center; gap: 10px; font-size: .86rem; line-height: 1.35; color: var(--muted); }
.byline strong { color: var(--ink); }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; box-shadow: 0 0 0 3px var(--surface); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .85rem; font-weight: 700; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.chip .ic { width: 16px; height: 16px; color: var(--accent); }
.ph-art { display: none; }
@media (min-width: 900px) {
  .page-head { padding: 28px 0 48px; }
  .ph-art {
    display: grid; place-items: center; flex: none; width: 176px; height: 176px; margin: 0 24px 0 auto;
    border-radius: 48px; color: var(--accent); transform: rotate(7deg);
    background: linear-gradient(140deg, var(--surface), color-mix(in srgb, var(--accent-2) 26%, var(--surface)));
    border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  }
  .ph-art .ic { width: 78px; height: 78px; stroke-width: 1.5; transform: rotate(-7deg); }
}

/* ------------------------------------------------------------ layout */
.layout { display: grid; gap: 40px; padding-block: 28px 64px; }
.content { min-width: 0; max-width: 780px; }
@media (min-width: 1040px) {
  .layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; padding-top: 36px; }
  .layout.no-side { grid-template-columns: minmax(0, 780px); }
}
.home .content { max-width: none; padding: 32px 0 72px; }
.home .content p { max-width: 70ch; }
.home .content h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 72px 0 8px; }
.home .content .sec-check h2 { font-size: 1.3rem; margin: 0; }

.disc {
  display: flex; align-items: flex-start; gap: 10px; margin: 0 0 28px; padding: 12px 14px;
  font-size: .84rem; line-height: 1.5; color: var(--muted);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px;
}
.disc .ic { width: 18px; height: 18px; margin-top: 1px; color: var(--accent); }
.disc a { color: inherit; }

/* sidebar */
.side-sticky { display: grid; gap: 16px; }
.side-card { padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.side-cta { background: linear-gradient(165deg, var(--tint), var(--surface) 72%); }
.side-icon { display: grid; place-items: center; width: 50px; height: 50px; margin: 0 0 14px; border-radius: 15px; background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 20px -10px var(--accent); }
.side-icon .ic { width: 25px; height: 25px; }
.side-title { margin: 0 0 6px; font: var(--head-weight) 1.22rem/1.25 var(--head-font); letter-spacing: -0.015em; }
.side-card p:not(.side-title) { margin: 0 0 18px; font-size: .94rem; line-height: 1.6; color: var(--ink-2); }
.side-pop .side-title { font-size: 1.05rem; margin-bottom: 8px; }
.side-pop ul { list-style: none; padding: 0; margin: 0; }
.side-pop li { margin: 0; }
.side-pop a { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .93rem; font-weight: 600; line-height: 1.35; }
.side-pop li:first-child a { border-top: 0; }
.side-pop a .ic { color: var(--accent); }
.side-pop a:hover span { color: var(--link); }
@media (min-width: 1040px) { .side-sticky { position: sticky; top: calc(var(--head-h) + 28px); } }
@media (max-width: 1039px) { .side-pop { display: none; } }

/* table of contents */
.toc { margin: 4px 0 32px; padding: 20px 24px; border-radius: var(--r-lg); background: var(--bg-soft); border: 1px solid var(--line); }
.toc-title { margin: 0 0 10px; font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px 28px; counter-reset: toc; }
.toc li { display: flex; gap: 10px; margin: 0; counter-increment: toc; }
.toc li::before { content: counter(toc, decimal-leading-zero); padding-top: 2px; font-size: .82rem; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.toc a { color: var(--ink); font-weight: 600; text-decoration: none; }
.toc a:hover { color: var(--link); text-decoration: underline; }
@media (min-width: 640px) { .toc ol { grid-template-columns: 1fr 1fr; } }

.note {
  display: flex; align-items: flex-start; gap: 14px; margin: 0 0 1.4em; padding: 16px 18px; border-radius: var(--r);
  background: color-mix(in srgb, var(--accent-2) 13%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent-2) 40%, var(--line));
}
.note > .ic { width: 22px; height: 22px; margin-top: 2px; color: var(--accent); }
.note div { min-width: 0; }

/* ------------------------------------------------------------ product cards */
.products { list-style: none; padding: 0; margin: 18px 0 32px; display: grid; gap: 16px; }
.product {
  position: relative; display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 22px; margin: 0; padding: 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-2); }
/* product picture: Amazon image (white tile) or an illustrated placeholder */
.pmedia {
  position: relative; display: grid; place-items: center; align-self: start; aspect-ratio: 1; overflow: hidden;
  border-radius: 16px; background: #ffffff; border: 1px solid var(--line);
}
.pmedia img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .3s ease; }
.product:hover .pmedia img { transform: scale(1.04); }
/* own photo (from sites/<site>/bilder/): fills the tile; "Symbolbild" note on stock photos */
.pmedia.photo { border-color: transparent; background: var(--tint); }
.pmedia.photo img { object-fit: cover; padding: 0; }
.psym {
  position: absolute; left: 6px; bottom: 6px; padding: 2px 6px; border-radius: 6px;
  background: rgba(20, 16, 18, .62); color: #ffffff; font-size: .62rem; font-weight: 700; line-height: 1.4; letter-spacing: .02em;
}
.pmedia.ph {
  border-color: transparent; color: var(--accent);
  background:
    radial-gradient(circle at 78% 18%, color-mix(in srgb, var(--accent-2) 40%, transparent), transparent 46%),
    linear-gradient(145deg, var(--tint), color-mix(in srgb, var(--accent-2) 18%, var(--surface)));
}
.pmedia.ph .ic { width: 46%; height: 46%; stroke-width: 1.4; }
.products li:nth-child(3n+2) .pmedia.ph { background-position: 0 0; background-size: 100% 100%; filter: hue-rotate(-8deg); }
.products li:nth-child(3n) .pmedia.ph { background:
    radial-gradient(circle at 22% 82%, color-mix(in srgb, var(--accent-2) 40%, transparent), transparent 46%),
    linear-gradient(215deg, var(--tint), color-mix(in srgb, var(--accent-2) 18%, var(--surface))); }
.pno {
  position: absolute; top: 8px; left: 8px; display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px;
  border-radius: 10px; background: var(--surface); color: var(--link); box-shadow: var(--shadow-sm);
  font: var(--head-weight) .95rem/1 var(--head-font); font-variant-numeric: tabular-nums;
}
.product.top { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 9%, transparent), var(--shadow-sm); }
.product.top .pno { background: var(--accent); color: var(--accent-ink); }
.badge {
  display: inline-flex; align-items: center; gap: 5px; margin: 0 0 8px; padding: 4px 10px 4px 8px; border-radius: 999px;
  background: color-mix(in srgb, var(--accent-2) 24%, var(--surface)); color: var(--ink);
  font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
}
.badge .ic { width: 14px; height: 14px; fill: var(--accent-2); stroke: color-mix(in srgb, var(--accent-2) 70%, #000000); }
.pbody { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.product .pbody h3 { margin: 2px 0 6px; font-size: 1.22rem; line-height: 1.25; }
.pbody p { flex: 1; margin: 0 0 16px; color: var(--ink-2); }
.pactions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.more { font-size: .9rem; font-weight: 600; }
@media (max-width: 520px) {
  .product { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .pmedia { border-radius: 13px; }
  .pmedia img { padding: 8px; }
  .pmedia.photo img { padding: 0; }
  .psym { left: 4px; bottom: 4px; padding: 1px 5px; font-size: .56rem; }
  .pno { top: 6px; left: 6px; min-width: 26px; height: 26px; border-radius: 8px; font-size: .85rem; }
  .product .pbody h3 { font-size: 1.08rem; }
  .pbody p { font-size: .95rem; margin-bottom: 12px; }
}
@media (max-width: 420px) {
  .product, .home .results .product { grid-template-columns: 80px minmax(0, 1fr); gap: 12px; }
  .btn-amz { padding: 11px 14px; font-size: .88rem; white-space: normal; text-align: left; }
}

/* ------------------------------------------------------------ page cards */
.cards { list-style: none; padding: 0; margin: 18px 0 28px; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.cards li { margin: 0; }
.card {
  display: flex; align-items: flex-start; gap: 14px; height: 100%; padding: 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  color: var(--ink); text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.card-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--tint); color: var(--accent); transition: background-color .2s, color .2s; }
.card-icon .ic { width: 24px; height: 24px; }
.card:hover .card-icon { background: var(--accent); color: var(--accent-ink); }
.card-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.card-text strong { font: var(--head-weight) 1.08rem/1.25 var(--head-font); letter-spacing: -0.01em; }
.card-text span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: .9rem; line-height: 1.5; color: var(--muted); }
.card-go { align-self: center; color: var(--line-2); transition: transform .2s, color .2s; }
.card:hover .card-go { color: var(--accent); transform: translateX(3px); }

/* ------------------------------------------------------------ promo and features */
.promo {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px 22px;
  margin: 20px 0 28px; padding: clamp(22px, 4vw, 36px); border-radius: 28px; color: #ffffff;
  background:
    radial-gradient(420px 220px at 100% 0%, color-mix(in srgb, var(--accent-2) 55%, transparent), transparent 70%),
    linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #000000));
  box-shadow: var(--shadow);
}
.promo-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: rgb(255 255 255 / .16); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2); }
.promo-icon .ic { width: 30px; height: 30px; }
.promo-body p { margin: 0; opacity: .92; }
.home .content .promo-body p { max-width: 58ch; }
.promo .promo-title { margin: 0 0 4px; opacity: 1; font: var(--head-weight) clamp(1.35rem, 2.6vw, 1.8rem)/1.2 var(--head-font); letter-spacing: -0.015em; }
.promo .btn { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 760px) { .promo { grid-template-columns: auto minmax(0, 1fr) auto; } .promo .btn { grid-column: auto; } }
.features { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.features li { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 24px; border-radius: var(--r-lg); background: var(--bg-soft); border: 1px solid var(--line); }
.feat-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 0 8px; border-radius: 14px; background: var(--surface); color: var(--accent); box-shadow: var(--shadow-sm); }
.feat-icon .ic { width: 24px; height: 24px; }
.features strong { font: var(--head-weight) 1.12rem/1.25 var(--head-font); letter-spacing: -0.01em; }
.features li > span:last-child { font-size: .95rem; line-height: 1.6; color: var(--muted); }

/* ------------------------------------------------------------ checklists */
.check-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin: 32px 0; }
@media (min-width: 900px) { .home .check-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.sec-head { display: flex; align-items: center; gap: 12px; margin: 2em 0 .8em; }
.sec-head h2 { flex: 1; margin: 0; }
.sec-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--tint); color: var(--accent); transition: background-color .2s, color .2s; }
.sec-icon .ic { width: 24px; height: 24px; }
.sec-check { margin: 24px 0; padding: 18px 16px 10px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.check-grid .sec-check { margin: 0; }
.sec-check .sec-head { margin: 0 4px 10px; }
.sec-check .sec-head h2 { font-size: 1.3rem; }
.sec-check > p { margin: 0 6px 12px; }
.sec-count {
  flex: none; padding: 5px 11px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line);
  font-size: .84rem; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums;
}
.sec-check.is-done { border-color: color-mix(in srgb, var(--accent-2) 55%, var(--line)); }
.sec-check.is-done .sec-count, .sec-check.is-done .sec-icon { background: var(--accent-2); border-color: transparent; color: var(--bg); }
.checklist { list-style: none; padding: 0; margin: 0 0 8px; }
.checklist li { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 9px 8px; border-radius: 12px; transition: background-color .15s; }
.checklist li + li { box-shadow: 0 -1px 0 var(--line); }
.checklist li:hover { background: var(--bg-soft); }
.checklist label { display: flex; align-items: flex-start; gap: 12px; min-width: 0; cursor: pointer; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; hyphens: auto; }
.checklist input {
  -webkit-appearance: none; appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0;
  border: 2px solid var(--line-2); border-radius: 7px; background: var(--surface) center / 14px no-repeat; cursor: pointer;
  transition: background-color .15s, border-color .15s, transform .15s;
}
.checklist input:hover { border-color: var(--accent); }
.checklist input:checked { background-color: var(--accent-2); border-color: var(--accent-2); background-image: var(--check); }
.checklist input:active { transform: scale(.9); }
.checklist input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 55%, transparent); }
.chk-link { flex: none; padding: 5px 12px; border-radius: 999px; background: var(--tint); color: var(--link); font-size: .8rem; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background-color .15s, color .15s; }
.chk-link:hover { background: var(--accent); color: var(--accent-ink); }

.progress {
  position: sticky; top: 8px; z-index: 10; display: grid; grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "top act" "track track"; align-items: center; gap: 10px 14px; margin: 0 0 28px; padding: 12px 14px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
}
.pg-top { grid-area: top; display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.pg-top b { font-size: .95rem; }
.pg-pct { font-size: .9rem; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.progress .track { grid-area: track; display: block; height: 10px; border-radius: 99px; background: var(--tint); overflow: hidden; }
.progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .4s ease; }
.progress .actions { grid-area: act; display: flex; gap: 8px; }
.progress button {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  font: 700 .84rem/1.2 var(--body-font); color: var(--ink); background: var(--surface); border: 1px solid var(--line-2);
}
.progress button:hover { border-color: var(--accent); color: var(--link); }
.progress button .ic { width: 16px; height: 16px; }
.progress.is-done { border-color: var(--accent-2); }
@media (max-width: 699px) {
  .progress button { padding: 8px; }
  .progress button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 900px) {
  .progress { top: calc(var(--head-h) + 12px); grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "top track act"; gap: 22px; padding: 14px 18px; }
}

/* ------------------------------------------------------------ tools (quiz, Wichtel draw) */
.tool {
  position: relative; overflow: hidden; margin: 8px 0 36px; padding: clamp(20px, 4vw, 36px);
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow);
}
.tool::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.tool-head { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; }
.tool-icon { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 17px; background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 20px -10px var(--accent); }
.tool-icon .ic { width: 27px; height: 27px; }
.tool-head h2, .home .content .tool-head h2 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 1.85rem); }
.tool-head p { margin: 2px 0 0; font-size: .95rem; color: var(--muted); }
.tool h3 { margin-top: 1.2em; }
.tool fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.tool legend { margin-bottom: 10px; padding: 0; font-size: .95rem; font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span {
  display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px; cursor: pointer; user-select: none;
  background: var(--bg-soft); border: 1.5px solid var(--line); font-size: .94rem; font-weight: 600;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}
.chips span:hover { border-color: var(--accent); }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 16px -10px var(--accent); }
.chips input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.tool textarea, .tool input[type=text], .tool input[type=date], .tool select {
  width: 100%; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line-2);
  background: var(--bg-soft); color: var(--ink); font: inherit; font-size: 1rem; font-weight: 500;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.tool textarea:focus, .tool input[type=text]:focus, .tool input[type=date]:focus {
  outline: none; border-color: var(--accent); background: var(--surface);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}
.tool .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 16px; }
.tool .row label { display: flex; flex-direction: column; gap: 6px; font-size: .92rem; font-weight: 700; }
.results { margin-top: 8px; padding-top: 22px; border-top: 1px dashed var(--line-2); }
.results .products { margin: 10px 0 0; }
.home .results .products { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.home .results .product { grid-template-columns: 104px minmax(0, 1fr); gap: 16px; padding: 16px; }
.home .results .product .pbody h3 { font-size: 1.1rem; }
.home .results .pbody p { font-size: .95rem; }
.result-meta { font-size: .9rem; color: var(--muted); }
.pairs { list-style: none; padding: 0; display: grid; gap: 10px; }
.pairs li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); }
.pairs code { font-size: .8rem; color: var(--muted); word-break: break-all; }
.pair-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.reveal { text-align: center; padding: 36px 20px; border-radius: 22px; background: linear-gradient(160deg, var(--tint), var(--surface)); border: 2px dashed color-mix(in srgb, var(--accent) 45%, transparent); }
.reveal .who { margin: 10px 0; font: var(--head-weight) clamp(2rem, 6vw, 3rem)/1.1 var(--head-font); color: var(--link); }
.recommend { padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface); border: 2px solid var(--accent); }
.recommend h3 { margin-top: 0; }

/* ------------------------------------------------------------ tables and faq */
.tablebox { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: var(--r); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { background: var(--bg-soft); font-size: .88rem; font-weight: 800; }
.faq { margin-top: 56px; }
.faq h2 { margin-top: 0; }
.faq details { margin: 0 0 10px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; cursor: pointer; list-style: none; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq-ic { width: 20px; height: 20px; color: var(--accent); transition: transform .2s; }
.faq details[open] .faq-ic { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 18px 18px; color: var(--ink-2); }
.home .faq { max-width: 860px; }

/* ------------------------------------------------------------ related and footer */
.related { padding: 48px 0 56px; background: var(--bg-soft); border-top: 1px solid var(--line); }
.related h2 { margin: 0 0 6px; font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.site-foot { padding: 52px 0 28px; font-size: .92rem; color: var(--muted); background: var(--bg-soft); border-top: 1px solid var(--line); }
.foot-grid { display: grid; gap: 28px; }
.foot-about p { max-width: 36ch; margin: 14px 0 0; }
.foot-title { margin: 0 0 12px; font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--ink); }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-foot li { margin: 0; }
.site-foot nav a { color: var(--ink-2); text-decoration: none; }
.site-foot nav a:hover { color: var(--link); text-decoration: underline; }
.foot-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .82rem; }

.foot-note p { max-width: 80ch; margin: 0; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
@media (min-width: 760px) { .foot-grid-4 { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ------------------------------------------------------------ dark tweaks */
[data-theme="dark"] .promo { color: var(--ink); background: radial-gradient(420px 220px at 100% 0%, color-mix(in srgb, var(--accent-2) 22%, transparent), transparent 70%), linear-gradient(135deg, color-mix(in srgb, var(--accent) 26%, var(--surface)), var(--surface)); border: 1px solid var(--line); }
[data-theme="dark"] .promo-icon { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
[data-theme="dark"] .btn-light { background: var(--accent); color: var(--accent-ink); }
[data-theme="dark"] .gift-ill { filter: none; }
[data-theme="dark"] .g-shade { fill: rgb(0 0 0 / .22); }
[data-theme="dark"] .mock li.done .box { color: var(--bg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
[hidden] { display: none !important; }
