:root{
  --bg: #fff8fb;
  --surface: #ffffff;
  --surface-2: rgba(255,255,255,.78);
  --text: #1a1321;
  --muted: #5b4f63;
  --border: rgba(26,19,33,.12);
  --shadow: 0 18px 48px rgba(26,19,33,.10);
  --shadow-soft: 0 10px 26px rgba(26,19,33,.08);

  --brand: #7c3aed;   /* violet */
  --brand-2: #fb7185; /* rose */
  --accent: #f59e0b;  /* amber */
  --focus: #1a73e8;

  --radius: 20px;
  --radius-sm: 14px;
  --container: 1160px;

  --font-head: "Fraunces", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

*{box-sizing:border-box}
html{color-scheme: light}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--text);
  background:
    radial-gradient(1000px 420px at 8% -10%, rgba(124,58,237,.18), transparent 60%),
    radial-gradient(900px 380px at 92% 0%, rgba(251,113,133,.18), transparent 58%),
    var(--bg);
  line-height:1.7;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit}

.container{width:min(var(--container),92vw);margin-inline:auto}
.skip-link{
  position:absolute;
  left:-999px;top:auto;
  width:1px;height:1px;
  overflow:hidden;
}
.skip-link:focus{
  left:16px;top:16px;
  width:auto;height:auto;
  padding:10px 12px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:12px;
  outline:3px solid rgba(26,115,232,.25);
  z-index:9999;
}

/* Header (different from Site 01: topbar + split brand) */
.topbar{
  background:linear-gradient(90deg, rgba(124,58,237,.14), rgba(251,113,133,.14));
  border-bottom:1px solid var(--border);
}
.topbar-in{
  padding:8px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:rgba(26,19,33,.92);
  font-weight:800;
  font-size:.92rem;
}
.topbar-in a{color:rgba(26,19,33,.92);text-decoration:none}
.topbar-in a:hover{text-decoration:underline}
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.65);
  color:var(--muted);
  font-weight:900;
  font-size:.88rem;
}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,248,251,.70);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom:1px solid var(--border);
}
.header-in{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}
.mark{
  width:40px;height:40px;
  border-radius:16px;
  background:conic-gradient(from 210deg, var(--brand), var(--brand-2), var(--accent), var(--brand));
  box-shadow:0 14px 28px rgba(124,58,237,.18);
  position:relative;
}
.mark:after{
  content:"";
  position:absolute;
  inset:10px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.55);
}
.brand-title{
  font-family:var(--font-head);
  font-weight:800;
  letter-spacing:.2px;
  line-height:1.05;
  font-size:1.22rem;
}
.brand-sub{
  display:block;
  font-size:.8rem;
  color:var(--muted);
  margin-top:2px;
}

.nav{
  display:flex;
  align-items:center;
  gap:10px;
}
.nav a{
  text-decoration:none;
  color:var(--muted);
  font-weight:900;
  padding:10px 10px;
  border-radius:12px;
}
.nav a:hover{background:rgba(124,58,237,.08); color:var(--text)}
.nav a[aria-current="page"]{background:rgba(251,113,133,.14); color:var(--text)}

.actions{display:flex;align-items:center;gap:10px}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:1px solid var(--border);
  background:var(--surface);
  color:var(--text);
  padding:10px 14px;
  border-radius:999px;
  text-decoration:none;
  font-weight:900;
  box-shadow:0 8px 18px rgba(26,19,33,.06);
}
.btn:hover{box-shadow:var(--shadow-soft)}
.btn-primary{
  background:linear-gradient(135deg, rgba(124,58,237,1), rgba(251,113,133,1));
  color:#fff;
  border-color:rgba(124,58,237,.35);
}

.burger{
  width:44px;height:44px;
  border-radius:16px;
  border:1px solid var(--border);
  background:var(--surface);
  box-shadow:0 8px 18px rgba(26,19,33,.06);
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.burger svg{width:20px;height:20px}

.nav-panel{display:none;padding:0 0 14px}
.nav-panel.open{display:block}
.nav-panel .nav{flex-direction:column;align-items:stretch;gap:6px}
.nav-panel .nav a{background:rgba(255,255,255,.78);border:1px solid var(--border)}

@media(min-width:920px){
  .burger{display:none}
  .nav-panel{display:none !important}
}
@media(max-width:919.98px){
  .nav{display:none}
}

/* Hero: editorial banner */
.hero{padding:20px 0 10px}
.hero-banner{
  background:linear-gradient(135deg, rgba(124,58,237,.14), rgba(251,113,133,.10));
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.hero-grid{
  display:grid;
  grid-template-columns:1fr;
}
.hero-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  aspect-ratio: 16 / 9;
}
.hero-body{padding:16px 16px 18px}
.kicker{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  color:var(--muted);
  font-weight:900;
  font-size:.92rem;
}
.tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.66);
}
.date{color:var(--muted); font-weight:900}
.hero-title{
  font-family:var(--font-head);
  font-weight:900;
  letter-spacing:.2px;
  line-height:1.06;
  margin:10px 0 8px;
  font-size:2.2rem;
}
.lead{
  margin:0 0 12px;
  color:var(--muted);
}
@media(min-width:920px){
  .hero-grid{grid-template-columns:1.1fr .9fr}
  .hero-body{padding:22px 22px 24px}
  .hero-title{font-size:2.65rem}
  .hero-media img{aspect-ratio: 16 / 12}
}

/* Layout: left sticky sidebar (different from Site 01) */
.layout{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  padding:12px 0 34px;
}
.panel{
  background:var(--surface-2);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:0 12px 30px rgba(26,19,33,.06);
}
.panel-in{padding:16px}
.section-title{
  font-family:var(--font-head);
  font-weight:900;
  letter-spacing:.2px;
  margin:0 0 10px;
}
.muted{color:var(--muted)}

.sidebar{
  position:relative;
}
@media(min-width:1040px){
  .layout{
    grid-template-columns: .72fr 1.28fr;
    align-items:start;
  }
  .sidebar{
    position:sticky;
    top:94px; /* below header */
  }
}

.filter{
  display:grid;
  gap:10px;
  margin-top:10px;
}
.filter input, .filter select{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  font:inherit;
}
.filter input:focus, .filter select:focus{
  outline:3px solid rgba(26,115,232,.18);
  border-color:rgba(26,115,232,.45);
}

.cards{
  display:grid;
  gap:12px;
}
.card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:0 10px 22px rgba(26,19,33,.06);
  display:grid;
  grid-template-columns:1fr;
}
.card-media img{aspect-ratio: 16 / 10; object-fit:cover}
.card-b{padding:14px}
.card h2{
  font-family:var(--font-head);
  font-weight:900;
  margin:10px 0 8px;
  letter-spacing:.2px;
  line-height:1.12;
  font-size:1.38rem;
}
.card p{margin:0 0 12px;color:var(--muted)}
.card .meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}
@media(min-width:760px){
  .card{grid-template-columns: .9fr 1.1fr}
  .card-media img{aspect-ratio: 16 / 12; height:100%}
}

/* Article */
.article{padding:18px 0 34px}
.wrap{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.cover img{aspect-ratio: 16 / 9; object-fit:cover}
.head{padding:18px}
.h1{
  font-family:var(--font-head);
  font-weight:900;
  letter-spacing:.2px;
  line-height:1.06;
  margin:10px 0 8px;
  font-size:2.35rem;
}
.meta-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  color:var(--muted);
  font-weight:900;
}
.body{padding:0 18px 18px}
.body h2,.body h3{font-family:var(--font-head);margin:18px 0 10px;letter-spacing:.2px}
.body p{margin:12px 0;color:rgba(26,19,33,.92)}
.body ul,.body ol{padding-left:18px}
.quote{
  margin:14px 0;
  padding:14px;
  border-left:4px solid rgba(251,113,133,.75);
  background:rgba(251,113,133,.10);
  border-radius:14px;
}
.tip{
  margin:14px 0;
  padding:14px;
  border:1px solid rgba(124,58,237,.35);
  background:rgba(124,58,237,.10);
  border-radius:14px;
}
.related{
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid var(--border);
}
.related-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
.related a{
  display:flex;
  justify-content:space-between;
  gap:10px;
  text-decoration:none;
  padding:12px;
  border:1px solid var(--border);
  border-radius:14px;
  background:rgba(255,255,255,.84);
}
.related a:hover{box-shadow:0 12px 24px rgba(26,19,33,.08)}
@media(min-width:760px){
  .head{padding:24px 26px}
  .body{padding:0 26px 26px}
  .h1{font-size:2.8rem}
  .related-grid{grid-template-columns:repeat(3,1fr)}
  .related a{flex-direction:column; align-items:flex-start}
}

/* Contact */
.grid-2{display:grid;grid-template-columns:1fr;gap:14px}
@media(min-width:980px){.grid-2{grid-template-columns:.9fr 1.1fr}}
form{display:grid;gap:10px;margin-top:12px}
label{font-weight:900}
input,textarea,select{
  width:100%;
  padding:12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  font:inherit;
}
textarea{min-height:140px;resize:vertical}
.row-2{display:grid;grid-template-columns:1fr;gap:10px}
@media(min-width:760px){.row-2{grid-template-columns:1fr 1fr}}
.check{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.84);
}
.check input{width:auto;margin-top:4px}
.faq{display:grid;gap:10px;margin-top:12px}
.faq details{border:1px solid var(--border);border-radius:14px;background:rgba(255,255,255,.84);padding:12px}
.faq summary{cursor:pointer;font-weight:900}
.faq p{margin:10px 0 0;color:rgba(26,19,33,.92)}

/* Footer */
.site-footer{
  border-top:1px solid var(--border);
  background:rgba(255,255,255,.70);
}
.footer-in{padding:22px 0;display:grid;gap:12px}
.footer-top{display:grid;grid-template-columns:1fr;gap:14px}
.footer-nav{display:flex;flex-wrap:wrap;gap:10px}
.footer-nav a{
  text-decoration:none;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.84);
  color:var(--muted);
  font-weight:900;
}
.footer-nav a:hover{color:var(--text)}
.social{display:flex;gap:10px}
.social a{
  width:44px;height:44px;
  border-radius:16px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.84);
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.social svg{width:18px;height:18px;fill:rgba(26,19,33,.86)}
.footer-bottom{
  padding-top:12px;
  border-top:1px solid var(--border);
  color:var(--muted);
  font-weight:800;
  display:flex;
  flex-direction:column;
  gap:6px;
}
@media(min-width:920px){
  .footer-top{grid-template-columns:1.4fr 1fr 1fr}
  .footer-bottom{flex-direction:row;justify-content:space-between;align-items:center}
}

.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto !important; transition:none !important; animation:none !important}
}


