:root{
  --bg:#f6f8fb;
  --bg-soft:#ffffff;
  --text:#0b1320;
  --muted:#5b6b80;
  --primary:#2563eb;
  --accent:#00b894;
  --card:#ffffff;
  --border:rgba(2,8,23,.08);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial,sans-serif;}
.container{width:min(1200px, 92%);margin:0 auto}
.visually-hidden{position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.skip-link{position:absolute;left:-9999px;top:auto}

/* Header / Nav */
.site-header{position:sticky;top:0;background:rgba(255,255,255,.85);backdrop-filter:blur(8px);border-bottom:1px solid var(--border);z-index:50}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--text)}
.brand-logo{font-size:22px}
.brand-text{font-family:Inter,sans-serif;font-weight:800;letter-spacing:.2px;font-size:20px}
.brand-text em{color:var(--primary);font-style:normal}
.site-nav ul{list-style:none;display:flex;gap:24px;margin:0;padding:0}
.site-nav a, .site-nav span{color:var(--text);text-decoration:none;font-weight:700;font-size:15px;position:relative}
.site-nav a::after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:2px;background:var(--primary);transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
.site-nav a:hover::after{transform:scaleX(1)}
.site-nav .has-sub{position:relative}
.site-nav .has-sub .sub{display:none;position:absolute;right:0;top:160%;background:var(--bg-soft);border:1px solid var(--border);border-radius:12px;padding:10px 12px;min-width:220px}
.site-nav .has-sub:hover .sub{display:block}
.nav-toggle{display:none}
@media (max-width: 900px){
  .header-inner{padding:12px 0}
  .brand-text{font-size:18px}
  .nav-toggle{display:inline-flex;background:var(--bg-soft);color:var(--text);border:1px solid var(--border);padding:10px 12px;border-radius:12px;font-weight:700}
  .site-nav ul{display:none;position:absolute;right:4%;top:64px;background:var(--bg-soft);padding:18px;border-radius:14px;border:1px solid var(--border);flex-direction:column;gap:14px}
  .site-nav ul.open{display:flex}
}

/* Layout */
.site-main{padding-bottom:80px}
.section{padding:56px 0}
.section-xl{padding:84px 0}
.page-hero{padding:56px 0;background:linear-gradient(90deg, rgba(37,99,235,.08), rgba(0,184,148,.08));border-bottom:1px solid var(--border)}
.page-hero h1{font-family:Orbitron,Inter,sans-serif;margin:0 0 8px 0}
.page-hero p{color:var(--muted);margin:0}

/* Hero */
.hero{position:relative;padding:80px 0;background:radial-gradient(1000px 500px at 10% -10%, rgba(37,99,235,.12), transparent), radial-gradient(800px 400px at 90% 10%, rgba(0,184,148,.12), transparent)}
.hero .grid{display:grid;grid-template-columns:1.2fr .8fr;gap:30px;align-items:start}
@media (max-width: 1000px){.hero .grid{grid-template-columns:1fr}}
.kicker{color:var(--neon-pink);text-transform:uppercase;font-weight:800;letter-spacing:.12em}
.hero h1{font-family:Inter,sans-serif;font-size:52px;margin:10px 0 14px;line-height:1.08}
@media (max-width: 700px){.hero h1{font-size:36px}}
.hero p{color:var(--muted);font-size:18px;max-width:64ch}

/* Cards and grids */
.card{background:linear-gradient(180deg, rgba(255,255,255,1), rgba(255,255,255,.96));border:1px solid var(--border);border-radius:16px;padding:18px;box-shadow:0 1px 2px rgba(2,8,23,.04);transition:transform .25s ease, box-shadow .25s ease}
.card:hover{transform:translateY(-2px);box-shadow:0 10px 30px rgba(0,229,255,.08)}
.card img{width:100%;height:240px;object-fit:cover;border-radius:12px;border:1px solid var(--border)}
.thumbs{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.thumbs img{width:100%;height:120px;object-fit:cover;border-radius:10px;border:1px solid var(--border)}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
@media (max-width: 1000px){.grid-3{grid-template-columns:repeat(2,1fr)}}
@media (max-width: 640px){.grid-3{grid-template-columns:1fr}}

/* Lists, articles, prose */
.article{display:grid;grid-template-columns:180px 1fr;gap:18px;align-items:start;border-bottom:1px solid var(--border);padding:16px 0}
@media (max-width: 700px){.article{grid-template-columns:1fr}}
.article img{width:100%;height:120px;object-fit:cover;border-radius:10px;border:1px solid var(--border)}
.meta{color:var(--muted);font-size:14px}
.prose p{color:var(--muted);line-height:1.8}
/* Deep dive (no-image) variant */
.article-full{grid-template-columns:1fr;border:1px solid var(--border);border-radius:16px;padding:18px;background:radial-gradient(600px 300px at 10% 10%, rgba(255,61,240,.12), transparent),radial-gradient(500px 260px at 80% 20%, rgba(0,229,255,.12), transparent)}
.article-full h3{margin:6px 0 8px 0;font-family:Orbitron,Inter,sans-serif}
.article-full .meta{margin-bottom:6px}

/* Guides aesthetics */
.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
@media (max-width: 900px){.guide-grid{grid-template-columns:1fr 1fr}}
@media (max-width: 640px){.guide-grid{grid-template-columns:1fr}}
.guide-card{border:1px solid var(--border);border-radius:16px;padding:18px;background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));box-shadow:0 0 0 rgba(0,0,0,0);transition:transform .25s ease, box-shadow .25s ease}
.guide-card:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(0,229,255,.08)}
.pill-list{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0}
.pill{background:var(--card);border:1px solid var(--border);border-radius:999px;padding:6px 10px}
.timeline{list-style:none;margin:0;padding:0}
.timeline li{position:relative;padding-left:22px;margin:10px 0}
.timeline li::before{content:"";position:absolute;left:6px;top:.6em;width:6px;height:6px;border-radius:50%;background:linear-gradient(90deg,var(--neon),var(--neon-pink))}

/* Forms */
.form-row{display:flex;gap:12px;margin-top:16px}
@media (max-width: 640px){.form-row{flex-direction:column}}
input[type=email]{flex:1;background:var(--bg-soft);border:1px solid var(--border);color:var(--text);padding:14px 16px;border-radius:12px}
button.cta{background:linear-gradient(90deg, var(--neon), var(--neon-pink));color:#031017;border:none;padding:12px 18px;border-radius:12px;font-weight:800;cursor:pointer;box-shadow:0 0 22px rgba(0,229,255,.35);transition:filter .2s ease, transform .2s ease}
button.cta:hover{filter:brightness(1.08);transform:translateY(-1px)}

/* Footer redesign */
.site-footer{background:#ffffff;position:relative;border-top:2px solid var(--border)}
.footer-top{background:linear-gradient(135deg, rgba(37,99,235,.05), rgba(0,184,148,.05));padding:48px 0;border-bottom:1px solid var(--border)}
.footer-newsletter{display:flex;align-items:center;justify-content:space-between;gap:32px;max-width:1100px;margin:0 auto}
.newsletter-content{display:flex;align-items:center;gap:20px;flex:1}
.newsletter-icon{font-size:48px;line-height:1}
.newsletter-content h2{margin:0 0 8px 0;font-size:24px;font-weight:700;color:var(--text)}
.newsletter-content p{margin:0;color:var(--muted);font-size:15px;line-height:1.6}
.newsletter-form{display:flex;gap:12px;flex-shrink:0}
.newsletter-form input{min-width:280px;padding:14px 18px;border:1px solid var(--border);border-radius:12px;font-size:15px;background:var(--bg-soft)}
.newsletter-form input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(37,99,235,.1)}
.newsletter-btn{background:linear-gradient(90deg, var(--primary), var(--accent));color:#ffffff;border:none;padding:14px 28px;border-radius:12px;font-weight:700;cursor:pointer;white-space:nowrap;transition:transform .2s ease, box-shadow .2s ease}
.newsletter-btn:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(37,99,235,.3)}
@media (max-width: 900px){
  .footer-newsletter{flex-direction:column;align-items:stretch}
  .newsletter-content{flex-direction:column;text-align:center}
  .newsletter-icon{font-size:40px}
  .newsletter-form{flex-direction:column;width:100%}
  .newsletter-form input{min-width:auto;width:100%}
}
.footer-main{background:#ffffff;padding:64px 0 48px 0}
.footer-content{display:grid;grid-template-columns:1.5fr 2fr;gap:48px;align-items:start}
.footer-brand{max-width:400px}
.footer-logo{display:flex;align-items:center;gap:12px;margin-bottom:20px}
.footer-logo .brand-logo{font-size:32px}
.footer-logo .brand-text{font-size:24px;font-weight:800}
.footer-description{color:var(--muted);line-height:1.7;margin-bottom:24px;font-size:15px}
.footer-social{display:flex;gap:16px;flex-wrap:wrap}
.social-link{color:var(--text);text-decoration:none;font-weight:600;font-size:14px;padding:8px 16px;border:1px solid var(--border);border-radius:8px;transition:all .2s ease}
.social-link:hover{background:var(--primary);color:#ffffff;border-color:var(--primary);transform:translateY(-2px)}
.footer-columns{display:grid;grid-template-columns:repeat(4, 1fr);gap:32px}
.footer-column h4{margin:0 0 20px 0;font-size:16px;font-weight:700;color:var(--text)}
.footer-column ul{list-style:none;margin:0;padding:0}
.footer-column ul li{margin-bottom:12px}
.footer-column ul li a{color:var(--muted);text-decoration:none;font-size:14px;transition:color .2s ease}
.footer-column ul li a:hover{color:var(--primary)}
.contact-info li{margin-bottom:20px;color:var(--muted);font-size:14px;line-height:1.6}
.contact-info strong{color:var(--text);display:block;margin-bottom:4px}
.contact-info a{color:var(--primary);text-decoration:none}
.contact-info a:hover{text-decoration:underline}
@media (max-width: 1200px){.footer-columns{grid-template-columns:repeat(2, 1fr)}}
@media (max-width: 900px){
  .footer-content{grid-template-columns:1fr}
  .footer-columns{grid-template-columns:1fr}
  .footer-main{padding:48px 0 32px 0}
}
.footer-bottom{background:#f8f9fa;padding:24px 0;border-top:1px solid var(--border)}
.footer-bottom-content{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:20px}
.copyright{color:var(--muted);font-size:14px;margin:0}
.footer-legal{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.footer-legal a{color:var(--muted);text-decoration:none;font-size:14px;transition:color .2s ease}
.footer-legal a:hover{color:var(--primary)}
.footer-legal span{color:var(--border)}
.footer-payment{display:flex;align-items:center;gap:16px;padding-top:20px;border-top:1px solid var(--border)}
.payment-label{color:var(--muted);font-size:14px;font-weight:600}
.payment-methods{display:flex;gap:12px;align-items:center}
.payment-icon{font-size:24px;opacity:.7;transition:opacity .2s ease}
.payment-icon:hover{opacity:1}
@media (max-width: 640px){
  .footer-bottom-content{flex-direction:column;align-items:flex-start;gap:16px}
  .footer-payment{flex-direction:column;align-items:flex-start}
}

/* Utilities */
.placeholder{display:block;width:100%;height:100%;min-height:160px;background:repeating-linear-gradient(45deg, rgba(255,255,255,.06), rgba(255,255,255,.06) 10px, rgba(255,255,255,.02) 10px, rgba(255,255,255,.02) 20px);border:1px dashed var(--border);border-radius:12px}
.notice{background:var(--bg-soft);border:1px solid var(--border);padding:12px 14px;border-radius:12px;color:var(--muted)}
.map{border:1px solid var(--border);border-radius:16px;overflow:hidden;height:360px;background:var(--bg-soft)}
.map iframe{width:100%;height:100%;border:0;filter:saturate(1.1) contrast(1.05)}
/* Cookie banner */
.cookie-banner{position:fixed;left:50%;transform:translateX(-50%);bottom:20px;z-index:1000;width:min(920px,96%);max-height:90vh;overflow-y:auto;display:none;animation:slideUpCookie .4s cubic-bezier(0.16, 1, 0.3, 1)}
@keyframes slideUpCookie{
  from{opacity:0;transform:translateX(-50%) translateY(30px)}
  to{opacity:1;transform:translateX(-50%) translateY(0)}
}
@keyframes slideDownCookie{
  from{opacity:1;transform:translateX(-50%) translateY(0)}
  to{opacity:0;transform:translateX(-50%) translateY(30px)}
}
.cookie-banner-content{background:linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);border:2px solid var(--primary);border-radius:20px;padding:28px 32px;box-shadow:0 20px 60px rgba(0,0,0,.25), 0 0 0 1px rgba(37,99,235,.1);position:relative;display:flex;gap:20px;align-items:flex-start}
.cookie-banner-close{position:absolute;top:16px;right:16px;background:transparent;border:none;font-size:28px;color:var(--muted);cursor:pointer;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s ease;line-height:1;padding:0}
.cookie-banner-close:hover{background:var(--bg);color:var(--text);transform:rotate(90deg)}
.cookie-banner-icon{font-size:56px;flex-shrink:0;animation:cookieBounce 2s ease-in-out infinite}
@keyframes cookieBounce{
  0%,100%{transform:translateY(0) rotate(0deg)}
  25%{transform:translateY(-4px) rotate(-5deg)}
  75%{transform:translateY(-4px) rotate(5deg)}
}
.cookie-banner-text{flex:1;min-width:0}
.cookie-banner-text h3{margin:0 0 12px 0;font-size:22px;font-weight:700;color:var(--text);line-height:1.3}
.cookie-banner-text p{margin:0 0 0 0;font-size:15px;line-height:1.6;color:var(--muted)}
.cookie-banner-text a{color:var(--primary);text-decoration:underline;font-weight:600;transition:color .2s ease}
.cookie-banner-text a:hover{color:var(--accent)}
.cookie-banner-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;flex-shrink:0}
.cookie-btn{background:linear-gradient(90deg, var(--primary), var(--accent));color:#ffffff;border:none;padding:12px 20px;border-radius:12px;font-weight:700;cursor:pointer;font-size:14px;transition:all .25s ease;box-shadow:0 4px 12px rgba(37,99,235,.25);text-decoration:none;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}
.cookie-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(37,99,235,.35);filter:brightness(1.05)}
.cookie-btn:active{transform:translateY(0)}
.cookie-btn-accept{background:linear-gradient(90deg, var(--primary), var(--accent))}
.cookie-btn-decline{background:var(--bg-soft);color:var(--text);border:2px solid var(--border);box-shadow:none}
.cookie-btn-decline:hover{background:var(--bg);border-color:var(--muted);box-shadow:0 2px 8px rgba(0,0,0,.1)}
.cookie-btn-settings{background:transparent;color:var(--primary);border:2px solid var(--primary);box-shadow:none}
.cookie-btn-settings:hover{background:var(--primary);color:#ffffff}
@media (max-width: 768px){
  .cookie-banner-content{flex-direction:column;padding:24px 20px;gap:16px}
  .cookie-banner-icon{font-size:48px;align-self:center}
  .cookie-banner-actions{width:100%;flex-direction:column}
  .cookie-btn{width:100%;justify-content:center}
  .cookie-banner-text h3{font-size:20px}
  .cookie-banner-text p{font-size:14px}
}

/* Animations */
@keyframes floatGlow{0%{transform:translateY(0)}50%{transform:translateY(-6px)}100%{transform:translateY(0)}}
.glow{filter:drop-shadow(0 0 18px rgba(0,229,255,.45))}
[data-reveal]{opacity:0;transform:translateY(14px);transition:opacity .5s ease, transform .5s ease}
[data-reveal].revealed{opacity:1;transform:translateY(0)}
