/* Colour tokens. Tailwind's white/gray/brand/red/amber/emerald classes read these
   (see the config in base.html), so every page follows the theme without dark: variants.
   The dark set is the light scale turned around: gray-50 is the page, gray-900 the text. */
:root {
  --white: 255 255 255;
  --gray-50: 248 250 249; --gray-100: 241 244 243; --gray-200: 227 232 230; --gray-300: 206 213 211;
  --gray-400: 152 162 159; --gray-500: 103 114 111; --gray-600: 73 84 81; --gray-700: 52 62 60;
  --gray-800: 30 38 37; --gray-900: 15 22 21; --gray-950: 6 10 10;
  --brand-50: 236 253 245; --brand-100: 209 250 229; --brand-200: 167 243 208; --brand-300: 110 231 183;
  --brand-400: 52 211 153; --brand-500: 16 185 129; --brand-600: 5 150 105; --brand-700: 4 120 87;
  --brand-800: 6 95 70; --brand-900: 6 78 59;
  --red-50: 254 242 242; --red-100: 254 226 226; --red-200: 254 202 202; --red-400: 248 113 113;
  --red-500: 239 68 68; --red-600: 220 38 38; --red-700: 185 28 28; --red-800: 153 27 27;
  --amber-50: 255 251 235; --amber-100: 254 243 199; --amber-200: 253 230 138; --amber-400: 251 191 36;
  --amber-500: 245 158 11; --amber-700: 180 83 9; --amber-800: 146 64 14; --amber-900: 120 53 15;
  --on-brand: 255 255 255;
  --shadow: 15 22 21;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --white: 20 26 27;
  --gray-50: 11 15 16; --gray-100: 27 34 35; --gray-200: 40 49 50; --gray-300: 58 68 69;
  --gray-400: 104 115 116; --gray-500: 142 152 152; --gray-600: 172 181 180; --gray-700: 203 210 209;
  --gray-800: 225 230 229; --gray-900: 240 244 243; --gray-950: 250 252 251;
  --brand-50: 9 38 30; --brand-100: 12 54 42; --brand-200: 18 84 64; --brand-300: 27 122 90;
  --brand-400: 52 211 153; --brand-500: 25 196 138; --brand-600: 45 212 155; --brand-700: 110 231 183;
  --brand-800: 167 243 208; --brand-900: 209 250 229;
  --red-50: 46 17 19; --red-100: 64 21 23; --red-200: 98 30 32; --red-400: 248 113 113;
  --red-500: 239 68 68; --red-600: 248 113 113; --red-700: 252 165 165; --red-800: 254 202 202;
  --amber-50: 43 31 8; --amber-100: 61 43 10; --amber-200: 94 66 14; --amber-400: 251 191 36;
  --amber-500: 245 158 11; --amber-700: 252 211 77; --amber-800: 253 230 138; --amber-900: 254 243 199;
  --on-brand: 4 28 20;
  --shadow: 0 0 0;
  color-scheme: dark;
}
html { background: rgb(var(--gray-50)); }
body { background: rgb(var(--gray-50)); color: rgb(var(--gray-900)); }

[x-cloak] { display: none !important; }
.font-display { font-family: "Geist", ui-sans-serif, system-ui, sans-serif; letter-spacing: -0.035em; }
.text-balance { text-wrap: balance; }
.nav-link { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .7rem; border-radius: .5rem; color: rgb(var(--gray-600)); font-weight: 500; }
.nav-link:hover { background: rgb(var(--gray-100)); color: rgb(var(--gray-900)); }
.nav-active { background: rgb(var(--gray-100)); color: rgb(var(--gray-900)); }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; background: rgb(var(--brand-600)); color: rgb(var(--on-brand)); font-weight: 600; padding: .5rem 1rem; border-radius: .6rem; font-size: .875rem; transition: background .15s, transform .15s; }
.btn-primary:hover { background: rgb(var(--brand-700)); }
:root[data-theme="dark"] .btn-primary:hover { background: rgb(var(--brand-500)); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.btn-secondary { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; background: rgb(var(--white)); color: rgb(var(--gray-700)); border: 1px solid rgb(var(--gray-300)); font-weight: 500; padding: .5rem .9rem; border-radius: .6rem; font-size: .875rem; }
.btn-secondary:hover { background: rgb(var(--gray-100)); }
.btn-ghost { display: inline-flex; align-items: center; gap: .4rem; color: rgb(var(--gray-700)); font-weight: 500; padding: .5rem .8rem; border-radius: .6rem; font-size: .875rem; }
.btn-ghost:hover { background: rgb(var(--gray-100)); }
.btn-danger { display: inline-flex; align-items: center; gap: .4rem; color: rgb(var(--red-600)); border: 1px solid rgb(var(--red-200)); background: rgb(var(--white)); font-weight: 500; padding: .45rem .8rem; border-radius: .6rem; font-size: .875rem; }
.btn-danger:hover { background: rgb(var(--red-50)); }
.btn-lg { font-size: 1rem; padding: .8rem 1.4rem; border-radius: .75rem; }
.card { background: rgb(var(--white)); border: 1px solid rgb(var(--gray-200)); border-radius: .9rem; }
.input { width: 100%; border: 1px solid rgb(var(--gray-300)); border-radius: .5rem; padding: .55rem .8rem; font-size: .9rem; background: rgb(var(--white)); color: rgb(var(--gray-900)); }
.input:focus { outline: 2px solid rgb(var(--brand-500)); outline-offset: -1px; border-color: rgb(var(--brand-500)); }
select.input option, select option { background: rgb(var(--white)); color: rgb(var(--gray-900)); }
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .15rem .55rem; border-radius: 9999px; font-size: .75rem; font-weight: 600; }
.badge-green { background: rgb(var(--brand-50)); color: rgb(var(--brand-700)); border: 1px solid rgb(var(--brand-200)); }
.badge-red { background: rgb(var(--red-50)); color: rgb(var(--red-700)); border: 1px solid rgb(var(--red-200)); }
.badge-gray { background: rgb(var(--gray-100)); color: rgb(var(--gray-600)); border: 1px solid rgb(var(--gray-200)); }
.badge-amber { background: rgb(var(--amber-50)); color: rgb(var(--amber-700)); border: 1px solid rgb(var(--amber-200)); }
.dot { width: .5rem; height: .5rem; border-radius: 9999px; display: inline-block; }
.th { text-align: left; font-size: .75rem; font-weight: 600; color: rgb(var(--gray-700)); padding: .6rem 1rem; }
.td { padding: .8rem 1rem; font-size: .875rem; color: rgb(var(--gray-700)); vertical-align: middle; }
.mono { font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.copy-box { display: flex; align-items: center; gap: .5rem; background: rgb(var(--gray-50)); border: 1px solid rgb(var(--gray-200)); border-radius: .5rem; padding: .4rem .6rem; font-size: .8rem; }
.copy-box code { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.htmx-request .htmx-indicator { opacity: 1; }
.htmx-indicator { opacity: 0; transition: opacity .2s; }
.step-num { width: 1.4rem; height: 1.4rem; border-radius: 9999px; background: rgb(var(--brand-100)); color: rgb(var(--brand-700)); font-size: .75rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.toast { position: fixed; right: 1rem; bottom: 1rem; background: rgb(var(--gray-900)); color: rgb(var(--gray-50)); padding: .6rem 1rem; border-radius: .5rem; font-size: .85rem; z-index: 60; }
:focus-visible { outline: 2px solid rgb(var(--brand-500)); outline-offset: 2px; }

/* Theme switch: shows the moon in light mode and the sun in dark mode. */
.theme-btn { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: .6rem; color: rgb(var(--gray-600)); border: 1px solid rgb(var(--gray-200)); background: rgb(var(--white)); }
.theme-btn:hover { color: rgb(var(--gray-900)); background: rgb(var(--gray-100)); }
.theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: block; }
:root[data-theme="dark"] .theme-btn .moon { display: none; }

/* ---------------- public pages ---------------- */
.eyebrow { font: 600 .75rem/1 "Geist Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: rgb(var(--brand-600)); }
.section-title { font-family: "Geist", ui-sans-serif, system-ui, sans-serif; font-weight: 700; letter-spacing: -0.035em; font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.08; text-wrap: balance; }
.hero-bg { position: relative; isolation: isolate; overflow: hidden; }
.hero-bg::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(rgb(var(--gray-200) / .55) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--gray-200) / .55) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%); }
.hero-bg::after { content: ""; position: absolute; z-index: -1; width: 60rem; height: 40rem; left: 50%; top: -18rem; transform: translateX(-30%);
  background: radial-gradient(closest-side, rgb(var(--brand-400) / .22), transparent); }
.hero-title { font-family: "Geist", ui-sans-serif, system-ui, sans-serif; font-weight: 800; letter-spacing: -0.045em; line-height: 1.02; font-size: clamp(2.6rem, 6.6vw, 4.9rem); text-wrap: balance; }
.hero-title .accent { background: linear-gradient(100deg, rgb(var(--brand-600)), rgb(var(--brand-400))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.glass { background: rgb(var(--white) / .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgb(var(--gray-200)); border-radius: 1.1rem; box-shadow: 0 30px 60px -20px rgb(var(--shadow) / .25), 0 10px 20px -10px rgb(var(--shadow) / .12); }
.signal { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.signal i { width: 3px; border-radius: 1px; background: rgb(var(--brand-500)); }
.signal i:nth-child(1) { height: 5px } .signal i:nth-child(2) { height: 8px } .signal i:nth-child(3) { height: 11px } .signal i:nth-child(4) { height: 14px }
.ip-flash { animation: ipflash .7s ease; }
@keyframes ipflash { 0% { background: rgb(var(--brand-200)); } 100% { background: transparent; } }
.pulse-dot { position: relative; }
.pulse-dot::after { content: ""; position: absolute; inset: -3px; border-radius: 9999px; border: 2px solid rgb(var(--brand-500)); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { opacity: .8; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.6); } }
.feature-icon { width: 2.6rem; height: 2.6rem; border-radius: .75rem; display: inline-flex; align-items: center; justify-content: center; background: rgb(var(--brand-50)); color: rgb(var(--brand-700)); border: 1px solid rgb(var(--brand-200)); }
.faq-item summary { list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-plus { transition: transform .2s; }
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.plan-pop { border-color: rgb(var(--brand-500)); box-shadow: 0 0 0 4px rgb(var(--brand-100)), 0 30px 60px -30px rgb(var(--brand-600) / .45); }
.cta-band { background: radial-gradient(60rem 30rem at 80% -10%, rgb(var(--brand-400) / .35), transparent), linear-gradient(135deg, rgb(var(--brand-800)), rgb(var(--gray-900))); color: #fff; }
:root[data-theme="dark"] .cta-band { background: radial-gradient(60rem 30rem at 80% -10%, rgb(var(--brand-400) / .25), transparent), linear-gradient(135deg, rgb(var(--brand-50)), rgb(var(--gray-100))); color: rgb(var(--gray-900)); }
.cmp td, .cmp th { padding: .85rem 1rem; border-bottom: 1px solid rgb(var(--gray-200)); text-align: left; }
.cmp th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: rgb(var(--gray-500)); font-weight: 600; }
.cmp .hl { background: rgb(var(--brand-50)); }
@media (prefers-reduced-motion: reduce) { .pulse-dot::after, .ip-flash { animation: none; } }

/* ---------------- blog article body ----------------
   Class names follow the SEO Hub editorial vocabulary (callout-*, cta-box,
   stats-grid, pullquote, article-image) so hub-written posts would render the same. */
.prose { font-size: 1.075rem; line-height: 1.75; color: rgb(var(--gray-700)); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-family: "Geist", ui-sans-serif, system-ui, sans-serif; font-size: 1.65rem; line-height: 1.25; font-weight: 700; letter-spacing: -0.025em; color: rgb(var(--gray-900)); margin-top: 2.2em; scroll-margin-top: 5rem; text-wrap: balance; }
.prose h3 { font-size: 1.2rem; font-weight: 650; color: rgb(var(--gray-900)); margin-top: 1.8em; scroll-margin-top: 5rem; }
.prose a { color: rgb(var(--brand-600)); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose strong { color: rgb(var(--gray-900)); font-weight: 650; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: rgb(var(--brand-500)); }
.prose code { overflow-wrap: anywhere; font-family: "Geist Mono", ui-monospace, monospace; font-size: .88em; background: rgb(var(--gray-100)); border: 1px solid rgb(var(--gray-200)); padding: .1em .35em; border-radius: .35rem; }
.prose pre { background: rgb(var(--gray-900)); color: rgb(var(--gray-100)); padding: 1rem 1.2rem; border-radius: .75rem; overflow-x: auto; font-size: .88rem; line-height: 1.6; }
:root[data-theme="dark"] .prose pre { background: rgb(var(--gray-100)); color: rgb(var(--gray-800)); border: 1px solid rgb(var(--gray-200)); }
.prose pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
.prose .table-wrap { overflow-x: auto; border: 1px solid rgb(var(--gray-200)); border-radius: .8rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose .table-wrap tr:last-child td { border-bottom: 0; }
.prose th, .prose td { border-bottom: 1px solid rgb(var(--gray-200)); padding: .6rem .75rem; text-align: left; vertical-align: top; }
.prose th { color: rgb(var(--gray-900)); font-weight: 650; background: rgb(var(--gray-100)); }
.prose blockquote, .prose .pullquote { border-left: 3px solid rgb(var(--brand-500)); padding-left: 1.1rem; font-size: 1.2rem; color: rgb(var(--gray-900)); font-style: italic; }
.prose aside.callout { border: 1px solid rgb(var(--gray-200)); background: rgb(var(--gray-100)); border-radius: .8rem; padding: 1rem 1.2rem; font-size: 1rem; }
.prose aside.callout > * + * { margin-top: .6em; }
.prose aside.callout > p:first-child strong:first-child { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.prose aside.callout-tip, .prose aside.callout-success { background: rgb(var(--brand-50)); border-color: rgb(var(--brand-200)); }
.prose aside.callout-tip strong:first-child, .prose aside.callout-success strong:first-child { color: rgb(var(--brand-700)); }
.prose aside.callout-warning { background: rgb(var(--amber-50)); border-color: rgb(var(--amber-200)); }
.prose aside.callout-warning strong:first-child { color: rgb(var(--amber-800)); }
.prose aside.callout-danger { background: rgb(var(--red-50)); border-color: rgb(var(--red-200)); }
.prose aside.callout-danger strong:first-child { color: rgb(var(--red-700)); }
.prose .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; }
.prose .stat { border: 1px solid rgb(var(--gray-200)); background: rgb(var(--white)); border-radius: .8rem; padding: .9rem 1rem; }
.prose .stat-value { display: block; font-family: "Geist", ui-sans-serif, sans-serif; font-size: 1.6rem; font-weight: 750; letter-spacing: -0.03em; color: rgb(var(--gray-900)); }
.prose .stat-label { display: block; font-size: .85rem; color: rgb(var(--gray-500)); line-height: 1.4; }
.prose .cta-box { border-radius: 1rem; padding: 1.4rem 1.5rem; background: linear-gradient(135deg, rgb(var(--brand-50)), rgb(var(--white))); border: 1px solid rgb(var(--brand-200)); }
.prose .cta-box > * + * { margin-top: .6em; }
.prose .cta-box p:first-child { font-family: "Geist", ui-sans-serif, sans-serif; font-weight: 700; font-size: 1.2rem; color: rgb(var(--gray-900)); }
.prose a.cta-button { display: inline-flex; text-decoration: none; background: rgb(var(--brand-600)); color: rgb(var(--on-brand)); font-weight: 600; padding: .6rem 1.1rem; border-radius: .6rem; font-size: .95rem; }
.prose a.cta-button:hover { background: rgb(var(--brand-700)); }
.prose figure.article-image img { border-radius: .8rem; border: 1px solid rgb(var(--gray-200)); }
.prose figure figcaption { font-size: .85rem; color: rgb(var(--gray-500)); margin-top: .5rem; }
.toc a { display: block; padding: .3rem 0 .3rem .8rem; border-left: 2px solid rgb(var(--gray-200)); color: rgb(var(--gray-500)); font-size: .875rem; line-height: 1.35; }
.toc a:hover { color: rgb(var(--gray-900)); border-color: rgb(var(--gray-400)); }
.toc a.active { color: rgb(var(--brand-700)); border-color: rgb(var(--brand-500)); }
.prose .faq-item h3 { margin: 0; font-size: 1.02rem; line-height: 1.45; }
.prose .faq-item p { margin: .75rem 0 0; }

/* ---------------- layout width ---------------- */
.wrap { width: 100%; max-width: 90rem; margin-inline: auto; padding-left: max(1rem, env(safe-area-inset-left, 0px)); padding-right: max(1rem, env(safe-area-inset-right, 0px)); }
@media (min-width: 640px) { .wrap { padding-left: max(1.5rem, env(safe-area-inset-left, 0px)); padding-right: max(1.5rem, env(safe-area-inset-right, 0px)); } }
@media (min-width: 1024px) { .wrap { padding-left: 2.5rem; padding-right: 2.5rem; } }

/* ---------------- motion ----------------
   Hero pieces fade up once on load (a CSS animation that ends visible).
   Sections below get .reveal; the script at the end of base.html hides them only
   when it can also observe them, so without JS everything is simply visible. */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.fade-up { animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) both; }
.fade-in { animation: fadeIn .5s ease both; }
.d-1 { animation-delay: .08s; } .d-2 { animation-delay: .16s; } .d-3 { animation-delay: .26s; } .d-4 { animation-delay: .36s; } .d-5 { animation-delay: .5s; }
.reveal-armed .reveal { opacity: 0; transform: translateY(24px); }
.reveal-armed .reveal.is-in { opacity: 1; transform: none; transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--rd, 0s); }
main, .page-in { animation: fadeIn .45s ease both; }
.faq-body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .fade-up, .fade-in, main, .page-in { animation: none; }
  .reveal-armed .reveal { opacity: 1; transform: none; }
}

/* ---------------- illustrations (pure CSS) ---------------- */
.mini { border: 1px solid rgb(var(--gray-200)); background: rgb(var(--gray-50)); border-radius: .9rem; }
.mini-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .55rem .8rem; border-bottom: 1px solid rgb(var(--gray-200)); font-size: .8rem; }
.mini-row:last-child { border-bottom: 0; }
.code-dots::before { content: ""; display: inline-block; width: 36px; height: 8px; margin-right: .6rem; vertical-align: middle;
  background: radial-gradient(circle at 4px 4px, #f87171 3.5px, transparent 4px), radial-gradient(circle at 18px 4px, #fbbf24 3.5px, transparent 4px), radial-gradient(circle at 32px 4px, #34d399 3.5px, transparent 4px); }
.phone-shape { width: 7.5rem; height: 13rem; border-radius: 1.4rem; border: 6px solid rgb(var(--gray-800)); background: rgb(var(--white)); position: relative; box-shadow: 0 18px 40px -18px rgb(var(--shadow) / .45); }
:root[data-theme="dark"] .phone-shape { border-color: rgb(var(--gray-300)); }
.phone-shape::before { content: ""; position: absolute; top: 6px; left: 50%; width: 2.2rem; height: .35rem; border-radius: 9999px; transform: translateX(-50%); background: rgb(var(--gray-300)); }
.digit { width: 1.35rem; height: 1.8rem; border-radius: .35rem; display: inline-flex; align-items: center; justify-content: center; font: 600 .85rem "Geist Mono", monospace; border: 1px solid rgb(var(--brand-300)); background: rgb(var(--brand-50)); color: rgb(var(--brand-700)); }
.bar-track { height: .6rem; border-radius: 9999px; background: rgb(var(--gray-200)); overflow: hidden; }
.bar-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, rgb(var(--brand-500)), rgb(var(--brand-400))); }
.avatar { width: 2.1rem; height: 2.1rem; border-radius: 9999px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .75rem; border: 2px solid rgb(var(--white)); color: rgb(var(--on-brand)); }
.seg { display: inline-flex; padding: .25rem; border-radius: .7rem; background: rgb(var(--gray-100)); border: 1px solid rgb(var(--gray-200)); }
.seg span { padding: .35rem .9rem; border-radius: .5rem; font-size: .8rem; font-weight: 600; color: rgb(var(--gray-500)); }
.seg span.on { background: rgb(var(--white)); color: rgb(var(--gray-900)); box-shadow: 0 1px 3px rgb(var(--shadow) / .15); }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .65rem; border-radius: 9999px; font-size: .75rem; font-weight: 600; border: 1px solid rgb(var(--gray-200)); background: rgb(var(--white)); color: rgb(var(--gray-700)); }
.ring-art { position: absolute; border-radius: 9999px; border: 1px solid rgb(var(--brand-500) / .35); }
.nat-dot { width: .7rem; height: .7rem; border-radius: 9999px; background: rgb(var(--gray-300)); }
.nat-dot.on { background: rgb(var(--brand-500)); box-shadow: 0 0 0 4px rgb(var(--brand-500) / .18); }
.photo { position: relative; overflow: hidden; border-radius: .9rem; background: rgb(var(--gray-200)); }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.05); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgb(6 10 10 / .78)), linear-gradient(135deg, rgb(var(--brand-600) / .28), transparent 60%); }
.group:hover .photo img { transform: scale(1.04); }

/* ---------------- footer: always dark, like a page base ----------------
   Redefines the colour tokens inside the footer so its Tailwind classes resolve to dark values in both themes. */
.footer-dark {
  --white: 18 23 24; --gray-50: 9 12 13; --gray-100: 24 30 31; --gray-200: 38 46 47; --gray-300: 58 68 69;
  --gray-400: 110 121 122; --gray-500: 140 150 150; --gray-600: 170 179 178; --gray-700: 200 207 206;
  --gray-800: 225 230 229; --gray-900: 244 247 246;
  --brand-50: 9 38 30; --brand-100: 12 54 42; --brand-200: 18 84 64; --brand-300: 27 122 90; --brand-500: 25 196 138;
  --brand-600: 45 212 155; --brand-700: 110 231 183; --on-brand: 4 28 20;
  background: #070a0b; color: rgb(var(--gray-700)); color-scheme: dark;
}
.footer-dark a.flink { color: rgb(var(--gray-600)); transition: color .15s; }
.footer-dark a.flink:hover { color: rgb(var(--gray-900)); }
.footer-dark .fhead { color: rgb(var(--gray-900)); font-weight: 650; font-size: .95rem; }

/* Logo: show the variant that matches the theme. */
.logo-dark { display: none; }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }
