@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root{
  --canvas:#f5f1ec;
  --surface-1:#ffffff;
  --surface-2:#ede9e3;
  --hairline:#d3cec6;
  --hairline-soft:#e5e0d8;
  --ink:#111111;
  --ink-muted:#626260;
  --ink-subtle:#7b7b78;
  --ink-tertiary:#9c9fa5;
  --inverse-canvas:#000000;
  --inverse-ink:#ffffff;
  --accent:#ff5600;
  --r-xs:4px;
  --r-sm:6px;
  --r-md:8px;
  --r-lg:12px;
  --r-xl:16px;
  --r-xxl:24px;
}

html{scroll-behavior:smooth}

body{
  font-family:'Inter',ui-sans-serif,system-ui,sans-serif;
  background:var(--canvas);
  color:var(--ink);
  font-size:16px;
  line-height:1.5;
  letter-spacing:0;
  -webkit-font-smoothing:antialiased;
}

a{color:var(--ink);text-decoration:none}
a:hover{color:var(--ink-muted)}
img{max-width:100%;height:auto;display:block}

.container{max-width:1280px;margin:0 auto;padding:0 32px}

/* TOP NAV */
.top-nav{
  background:var(--canvas);
  border-bottom:1px solid var(--hairline);
  position:sticky;
  top:0;
  z-index:100;
  height:56px;
}
.top-nav .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:100%;
}
.nav-brand{
  font-size:18px;
  font-weight:500;
  color:var(--ink);
  letter-spacing:-0.3px;
}
.nav-links{
  display:flex;
  align-items:center;
  gap:28px;
  list-style:none;
}
.nav-links a{
  font-size:14px;
  font-weight:400;
  color:var(--ink-muted);
  transition:color .15s;
}
.nav-links a:hover{color:var(--ink)}
.nav-toggle{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  padding:8px;
  color:var(--ink);
}
.nav-toggle span{
  display:block;
  width:22px;
  height:2px;
  background:var(--ink);
  margin:4px 0;
  border-radius:2px;
  transition:all .2s;
}

/* HERO */
.hero{
  padding:96px 0 80px;
  text-align:center;
}
.hero-eyebrow{
  font-size:14px;
  font-weight:500;
  color:var(--ink-muted);
  margin-bottom:20px;
  letter-spacing:0;
}
.hero h1{
  font-size:56px;
  font-weight:500;
  line-height:1.10;
  letter-spacing:-1.4px;
  color:var(--ink);
  max-width:760px;
  margin:0 auto 24px;
}
.hero-lead{
  font-size:18px;
  font-weight:400;
  color:var(--ink-muted);
  line-height:1.5;
  max-width:560px;
  margin:0 auto 40px;
  letter-spacing:-0.1px;
}
.hero-image{
  max-width:860px;
  margin:48px auto 0;
  border-radius:var(--r-xl);
  overflow:hidden;
  background:var(--surface-1);
  border:1px solid var(--hairline);
}
.hero-image img{
  width:100%;
  height:360px;
  object-fit:cover;
}

/* ARTICLES GRID */
.section{padding:80px 0}
.section-eyebrow{
  font-size:14px;
  font-weight:500;
  color:var(--ink-muted);
  margin-bottom:12px;
}
.section-title{
  font-size:40px;
  font-weight:500;
  letter-spacing:-0.8px;
  line-height:1.15;
  color:var(--ink);
  margin-bottom:48px;
}
.articles-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.article-card{
  background:var(--surface-1);
  border:1px solid var(--hairline);
  border-radius:var(--r-lg);
  overflow:hidden;
  transition:border-color .15s;
}
.article-card:hover{border-color:var(--ink-muted)}
.article-card-image{
  width:100%;
  height:200px;
  object-fit:cover;
}
.article-card-body{padding:24px}
.article-card-tag{
  font-size:12px;
  font-weight:500;
  color:var(--ink-subtle);
  margin-bottom:10px;
  text-transform:uppercase;
  letter-spacing:.5px;
}
.article-card h3{
  font-size:20px;
  font-weight:500;
  line-height:1.3;
  letter-spacing:-0.2px;
  color:var(--ink);
  margin-bottom:12px;
}
.article-card p{
  font-size:14px;
  color:var(--ink-muted);
  line-height:1.5;
  margin-bottom:20px;
}
.article-card-link{
  font-size:14px;
  font-weight:500;
  color:var(--ink);
  border-bottom:1px solid var(--ink);
  padding-bottom:2px;
  display:inline-block;
  transition:opacity .15s;
}
.article-card-link:hover{opacity:.6}

/* TOPIC BLOCKS */
.topics{
  background:var(--surface-1);
  border:1px solid var(--hairline);
  border-radius:var(--r-xl);
  padding:48px;
  margin:0 0 80px;
}
.topics-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:32px;
  margin-top:40px;
}
.topic-item h4{
  font-size:16px;
  font-weight:500;
  color:var(--ink);
  margin-bottom:8px;
}
.topic-item p{
  font-size:14px;
  color:var(--ink-muted);
  line-height:1.6;
}
.topic-icon{
  font-size:24px;
  margin-bottom:12px;
}

/* DIVIDER */
.divider{height:1px;background:var(--hairline-soft);margin:0}

/* ARTICLE PAGE */
.article-hero{
  padding:60px 0 48px;
  max-width:800px;
  margin:0 auto;
}
.article-hero .article-card-tag{font-size:13px;margin-bottom:16px}
.article-hero h1{
  font-size:40px;
  font-weight:500;
  letter-spacing:-0.8px;
  line-height:1.2;
  color:var(--ink);
  margin-bottom:20px;
}
.article-meta{
  font-size:13px;
  color:var(--ink-subtle);
  margin-bottom:32px;
}
.article-cover{
  max-width:800px;
  margin:0 auto 48px;
  border-radius:var(--r-xl);
  overflow:hidden;
  border:1px solid var(--hairline);
}
.article-cover img{
  width:100%;
  height:400px;
  object-fit:cover;
}
.article-content{
  max-width:720px;
  margin:0 auto;
  padding-bottom:96px;
}
.article-content h2{
  font-size:28px;
  font-weight:500;
  letter-spacing:-0.5px;
  color:var(--ink);
  margin:48px 0 16px;
}
.article-content h3{
  font-size:22px;
  font-weight:500;
  letter-spacing:-0.3px;
  color:var(--ink);
  margin:36px 0 12px;
}
.article-content p{
  font-size:16px;
  line-height:1.7;
  color:var(--ink);
  margin-bottom:20px;
}
.article-content ul,.article-content ol{
  padding-left:24px;
  margin-bottom:20px;
}
.article-content li{
  font-size:16px;
  line-height:1.7;
  color:var(--ink);
  margin-bottom:8px;
}
.article-content strong{font-weight:500}
.article-content a{
  color:var(--ink);
  border-bottom:1px solid var(--hairline);
  transition:border-color .15s;
}
.article-content a:hover{border-color:var(--ink)}
.info-box{
  background:var(--surface-1);
  border:1px solid var(--hairline);
  border-left:3px solid var(--ink);
  border-radius:var(--r-md);
  padding:20px 24px;
  margin:28px 0;
}
.info-box p{margin:0;font-size:15px;color:var(--ink-muted)}
.article-image-inline{
  margin:32px 0;
  border-radius:var(--r-xl);
  overflow:hidden;
  border:1px solid var(--hairline);
}
.article-image-inline img{
  width:100%;
  height:320px;
  object-fit:cover;
}
.article-image-inline figcaption{
  padding:12px 16px;
  font-size:12px;
  color:var(--ink-subtle);
  background:var(--surface-1);
}

/* RELATED ARTICLES */
.related-section{
  border-top:1px solid var(--hairline);
  padding:64px 0;
}

/* CONTACT FORM */
.contact-section{
  background:var(--surface-1);
  border:1px solid var(--hairline);
  border-radius:var(--r-xl);
  padding:48px;
  max-width:640px;
  margin:0 auto 96px;
}
.contact-section h2{
  font-size:28px;
  font-weight:500;
  letter-spacing:-0.5px;
  margin-bottom:8px;
}
.contact-section .lead{
  font-size:15px;
  color:var(--ink-muted);
  margin-bottom:32px;
}
.form-group{margin-bottom:20px}
.form-group label{
  display:block;
  font-size:14px;
  font-weight:500;
  color:var(--ink);
  margin-bottom:6px;
}
.form-control{
  width:100%;
  background:var(--surface-1);
  border:1px solid var(--hairline);
  border-radius:var(--r-md);
  padding:10px 14px;
  font-size:16px;
  font-family:inherit;
  color:var(--ink);
  transition:border-color .15s;
  appearance:none;
}
.form-control:focus{
  outline:none;
  border-color:var(--ink);
}
.form-control::placeholder{color:var(--ink-tertiary)}
.btn-primary{
  background:var(--ink);
  color:#ffffff;
  border:none;
  border-radius:var(--r-md);
  padding:10px 18px;
  font-size:15px;
  font-weight:500;
  font-family:inherit;
  cursor:pointer;
  transition:opacity .15s;
  min-height:40px;
}
.btn-primary:hover{opacity:.8}
.btn-primary:disabled{opacity:.5;cursor:default}
.form-message{
  display:none;
  margin-top:16px;
  padding:12px 16px;
  background:var(--canvas);
  border:1px solid var(--hairline);
  border-radius:var(--r-md);
  font-size:14px;
  color:var(--ink-muted);
}
.form-message.visible{display:block}

/* PAGE HERO (about/privacy/terms) */
.page-hero{
  padding:64px 0 48px;
  max-width:760px;
  margin:0 auto;
}
.page-hero h1{
  font-size:40px;
  font-weight:500;
  letter-spacing:-0.8px;
  margin-bottom:16px;
}
.page-hero .lead{
  font-size:18px;
  color:var(--ink-muted);
  line-height:1.5;
  letter-spacing:-0.1px;
}
.page-content{
  max-width:760px;
  margin:0 auto;
  padding-bottom:96px;
}
.page-content h2{
  font-size:22px;
  font-weight:500;
  letter-spacing:-0.3px;
  margin:40px 0 12px;
}
.page-content p{
  font-size:16px;
  line-height:1.7;
  color:var(--ink);
  margin-bottom:16px;
}
.page-content ul{
  padding-left:24px;
  margin-bottom:16px;
}
.page-content li{
  font-size:16px;
  line-height:1.7;
  margin-bottom:6px;
}
.page-content a{
  color:var(--ink);
  border-bottom:1px solid var(--hairline);
}
.page-content a:hover{border-color:var(--ink)}
.updated-note{
  font-size:13px;
  color:var(--ink-subtle);
  margin-bottom:40px;
}

/* FOOTER */
.site-footer{
  background:var(--canvas);
  border-top:1px solid var(--hairline);
  padding:64px 32px 40px;
}
.footer-inner{
  max-width:1280px;
  margin:0 auto;
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:48px;
  margin-bottom:48px;
}
.footer-brand p{
  font-size:13px;
  color:var(--ink-subtle);
  line-height:1.6;
  margin-top:12px;
  max-width:280px;
}
.footer-col h4{
  font-size:13px;
  font-weight:500;
  color:var(--ink);
  margin-bottom:16px;
}
.footer-col ul{list-style:none}
.footer-col li{margin-bottom:10px}
.footer-col a{
  font-size:13px;
  color:var(--ink-subtle);
  transition:color .15s;
}
.footer-col a:hover{color:var(--ink)}
.footer-bottom{
  max-width:1280px;
  margin:0 auto;
  border-top:1px solid var(--hairline-soft);
  padding-top:24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
}
.footer-bottom p{
  font-size:12px;
  color:var(--ink-tertiary);
}
.footer-bottom a{
  font-size:12px;
  color:var(--ink-tertiary);
}
.footer-disclaimer{
  font-size:12px;
  color:var(--ink-tertiary);
  max-width:1280px;
  margin:16px auto 0;
  line-height:1.5;
}

/* COOKIE BANNER */
.cookie-banner{
  position:fixed;
  bottom:24px;
  left:50%;
  transform:translateX(-50%);
  z-index:999;
  background:var(--inverse-canvas);
  color:var(--inverse-ink);
  border-radius:var(--r-xl);
  padding:20px 28px;
  max-width:600px;
  width:calc(100% - 48px);
  display:flex;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
  box-shadow:0 4px 24px rgba(0,0,0,.18);
}
.cookie-banner p{
  font-size:13px;
  color:#cccccc;
  line-height:1.5;
  flex:1;
  min-width:200px;
}
.cookie-banner p a{color:#ffffff;border-bottom:1px solid rgba(255,255,255,.3)}
.cookie-btn-group{display:flex;gap:10px;flex-shrink:0}
.btn-cookie-accept{
  background:#ffffff;
  color:#111111;
  border:none;
  border-radius:var(--r-md);
  padding:8px 18px;
  font-size:14px;
  font-weight:500;
  font-family:inherit;
  cursor:pointer;
  min-height:40px;
}
.btn-cookie-reject{
  background:transparent;
  color:#aaaaaa;
  border:1px solid rgba(255,255,255,.2);
  border-radius:var(--r-md);
  padding:8px 18px;
  font-size:14px;
  font-weight:500;
  font-family:inherit;
  cursor:pointer;
  min-height:40px;
}
.cookie-banner.hidden{display:none}

/* BREADCRUMB */
.breadcrumb{
  padding:16px 0 0;
  font-size:13px;
  color:var(--ink-subtle);
}
.breadcrumb a{color:var(--ink-subtle);border-bottom:1px solid var(--hairline-soft)}
.breadcrumb span{margin:0 6px;color:var(--ink-tertiary)}

/* RESPONSIVE */
@media(max-width:1024px){
  .articles-grid{grid-template-columns:repeat(2,1fr)}
  .topics-grid{grid-template-columns:repeat(2,1fr)}
  .footer-inner{grid-template-columns:1fr 1fr;gap:32px}
}
@media(max-width:768px){
  .hero h1{font-size:36px;letter-spacing:-0.8px}
  .hero{padding:64px 0 56px}
  .section-title{font-size:28px}
  .articles-grid{grid-template-columns:1fr}
  .topics-grid{grid-template-columns:1fr}
  .topics{padding:32px 24px}
  .contact-section{padding:32px 24px}
  .nav-links{
    display:none;
    position:absolute;
    top:56px;
    left:0;
    right:0;
    background:var(--canvas);
    border-bottom:1px solid var(--hairline);
    flex-direction:column;
    gap:0;
    padding:8px 0;
  }
  .nav-links.open{display:flex}
  .nav-links li{width:100%}
  .nav-links a{
    display:block;
    padding:12px 24px;
    font-size:15px;
  }
  .nav-toggle{display:block}
  .footer-inner{grid-template-columns:1fr}
  .article-hero h1{font-size:28px}
  .article-content h2{font-size:22px}
  .page-hero h1{font-size:28px}
  .footer-bottom{flex-direction:column;align-items:flex-start}
  .container{padding:0 20px}
}
@media(max-width:480px){
  .hero h1{font-size:28px;letter-spacing:-0.5px}
  .hero-lead{font-size:16px}
  .hero-image img{height:240px}
  .article-cover img{height:260px}
}
