/* Shared design system: variables, reset, header/nav, buttons, footer, cookie banner.
   Used by every page — page-specific layout lives in its own stylesheet (e.g. home.css, privacy.css). */

:root{
  --bg:#fff9f2;
  --panel:#ffffff;
  --border:#f0e4d6;
  --text:#241c33;
  --text-dim:#6d6480;
  --coral:#ff6b6b;
  --purple:#7c5cff;
  --yellow:#ffc94a;
  --teal:#2ec4b6;
  --radius:20px;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--bg); color:var(--text);
  font-family:'Inter', sans-serif; line-height:1.6;
}
h1,h2,h3,.logo{ font-family:'Fredoka', sans-serif; }
.wrap{ max-width:1160px; margin:0 auto; padding:0 24px;}
.skip-link{
  position:absolute; left:-9999px; top:0; z-index:100;
  background:var(--purple); color:#fff; padding:12px 20px; border-radius:0 0 10px 0; font-weight:600; text-decoration:none;
}
.skip-link:focus{ left:0;}

header{ position:sticky; top:0; z-index:50; background:rgba(255,249,242,0.85); backdrop-filter:blur(10px); border-bottom:2px solid var(--border);}
nav{ display:flex; align-items:center; justify-content:space-between; padding:18px 24px; max-width:1160px; margin:0 auto;}
.logo{ display:flex; align-items:center; gap:10px;}
.nav-logo{ height:40px; width:auto; display:block; transform:rotate(-2deg);}
.nav-links{ display:flex; gap:30px; align-items:center;}
.nav-links a{ color:var(--text-dim); font-size:14.5px; font-weight:600; text-decoration:none;}
.nav-links a:hover{ color:var(--text);}
.menu-toggle{ display:none; background:none; border:none; font-size:22px; cursor:pointer;}

.btn{ display:inline-flex; align-items:center; gap:8px; padding:12px 24px; border-radius:999px; font-weight:600; font-size:14.5px; cursor:pointer; border:2px solid transparent; transition:transform .2s, box-shadow .2s; text-decoration:none;}
.btn.btn-primary{ background:var(--coral); color:#fff; box-shadow:0 4px 0 #d94f4f;}
.btn.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 6px 0 #d94f4f;}
.btn.btn-primary:active{ transform:translateY(2px); box-shadow:0 2px 0 #d94f4f;}
.btn.btn-ghost{ border-color:var(--text); color:var(--text);}
.btn.btn-ghost:hover{ background:var(--text); color:#fff;}

.section-tag{ display:inline-block; color:#fff; background:var(--purple); font-weight:700; font-size:12.5px; text-transform:uppercase; letter-spacing:0.05em; margin-bottom:16px; padding:6px 14px; border-radius:999px;}

.reveal{ opacity:0; transform:translateY(22px); transition:opacity .6s ease, transform .6s ease;}
.reveal.in{ opacity:1; transform:translateY(0);}

footer{ padding:34px 24px; color:var(--text-dim); font-size:13.5px; border-top:2px solid var(--border); position:relative; z-index:1;}
.footer-inner{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:18px;}
.footer-logo{ height:30px; width:auto; opacity:0.9;}
.footer-links{ display:flex; gap:24px; flex-wrap:wrap;}
.footer-links a{ color:var(--text-dim); font-weight:600; text-decoration:none;}
.footer-links a:hover{ color:var(--text);}
.footer-inner p{ width:100%; text-align:center; order:3; margin-top:6px;}
@media(min-width:640px){ .footer-inner p{ width:auto; text-align:right; order:0; margin-top:0;} }

.cookie-banner{
  position:fixed; left:16px; right:16px; bottom:16px; z-index:200;
  background:var(--text); color:#fff; border-radius:16px; padding:20px 24px;
  display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
  box-shadow:0 12px 40px rgba(36,28,51,0.25);
  max-width:900px; margin:0 auto;
  transform:translateY(140%); transition:transform .4s ease;
}
.cookie-banner.show{ transform:translateY(0);}
.cookie-banner p{ font-size:13.5px; color:#d8d3e6; margin:0; flex:1; min-width:220px;}
.cookie-banner a{ color:#fff;}
.cookie-actions{ display:flex; gap:10px; flex-shrink:0;}
.cookie-btn{ padding:10px 18px; border-radius:999px; font-weight:600; font-size:13.5px; cursor:pointer; border:2px solid transparent; font-family:inherit;}
.cookie-btn.accept{ background:var(--coral); color:#fff;}
.cookie-btn.decline{ background:transparent; color:#fff; border-color:rgba(255,255,255,0.35);}
