*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root{
  --canvas:#f7f7f4;
  --canvas-soft:#fafaf7;
  --surface-card:#ffffff;
  --surface-strong:#e6e5e0;
  --primary:#f54e00;
  --primary-active:#d04200;
  --ink:#26251e;
  --body:#5a5852;
  --body-strong:#26251e;
  --muted:#807d72;
  --muted-soft:#a09c92;
  --on-primary:#ffffff;
  --hairline:#e6e5e0;
  --hairline-soft:#efeee8;
  --hairline-strong:#cfcdc4;
  --semantic-success:#1f8a65;
  --semantic-error:#cf2d56;
  --rounded-xs:4px;
  --rounded-sm:6px;
  --rounded-md:8px;
  --rounded-lg:12px;
  --rounded-xl:16px;
  --rounded-pill:9999px;
}

html{scroll-behavior:smooth}

body{
  font-family:'Inter',system-ui,'Helvetica Neue',Helvetica,Arial,sans-serif;
  background:var(--canvas);
  color:var(--body);
  font-size:16px;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}

a{color:var(--ink);text-decoration:none}
a:hover{color:var(--primary)}

img{max-width:100%;height:auto;display:block}

.container{
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
}

/* NAV */
.site-nav{
  background:var(--canvas);
  border-bottom:1px solid var(--hairline);
  position:sticky;
  top:0;
  z-index:100;
  height:64px;
  display:flex;
  align-items:center;
}
.nav-container{
  max-width:1200px;
  width:100%;
  margin:0 auto;
  padding:0 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.nav-logo{
  font-size:18px;
  font-weight:600;
  color:var(--ink);
  letter-spacing:-0.3px;
  white-space:nowrap;
}
.nav-logo:hover{color:var(--primary)}
.nav-links{
  list-style:none;
  display:flex;
  align-items:center;
  gap:8px;
}
.nav-link{
  font-size:14px;
  font-weight:500;
  color:var(--body);
  padding:6px 10px;
  border-radius:var(--rounded-sm);
  transition:color .15s,background .15s;
}
.nav-link:hover{color:var(--ink);background:var(--surface-strong)}
.nav-toggle{
  display:none;
  flex-direction:column;
  gap:4px;
  background:none;
  border:none;
  cursor:pointer;
  padding:4px;
}
.nav-toggle span{
  display:block;
  width:22px;
  height:2px;
  background:var(--ink);
  border-radius:2px;
  transition:transform .2s,opacity .2s;
}

/* HERO */
.hero{
  padding:80px 0 80px;
  border-bottom:1px solid var(--hairline);
}
.hero-inner{
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
  align-items:center;
}
.hero-badge{
  display:inline-flex;
  align-items:center;
  background:var(--surface-strong);
  color:var(--ink);
  font-size:11px;
  font-weight:600;
  letter-spacing:0.88px;
  text-transform:uppercase;
  padding:4px 10px;
  border-radius:var(--rounded-pill);
  margin-bottom:20px;
}
.hero-title{
  font-size:52px;
  font-weight:400;
  color:var(--ink);
  letter-spacing:-1.5px;
  line-height:1.1;
  margin-bottom:20px;
}
.hero-desc{
  font-size:16px;
  color:var(--body);
  line-height:1.6;
  max-width:480px;
  margin-bottom:32px;
}
.hero-updated{
  font-size:13px;
  color:var(--muted);
}
.hero-image{
  border-radius:var(--rounded-lg);
  overflow:hidden;
  border:1px solid var(--hairline);
  aspect-ratio:4/3;
}
.hero-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* SECTIONS */
.section{
  padding:80px 0;
  border-bottom:1px solid var(--hairline);
}
.section-label{
  font-size:11px;
  font-weight:600;
  letter-spacing:0.88px;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:16px;
}
.section-title{
  font-size:36px;
  font-weight:400;
  color:var(--ink);
  letter-spacing:-0.72px;
  line-height:1.2;
  margin-bottom:16px;
}
.section-desc{
  font-size:16px;
  color:var(--body);
  line-height:1.6;
  max-width:600px;
  margin-bottom:48px;
}

/* ARTICLE CARDS */
.articles-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.article-card{
  background:var(--surface-card);
  border:1px solid var(--hairline);
  border-radius:var(--rounded-lg);
  overflow:hidden;
  transition:border-color .15s;
}
.article-card:hover{border-color:var(--hairline-strong)}
.article-card-img{
  aspect-ratio:16/9;
  overflow:hidden;
}
.article-card-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .3s;
}
.article-card:hover .article-card-img img{transform:scale(1.03)}
.article-card-body{
  padding:24px;
}
.article-card-tag{
  font-size:11px;
  font-weight:600;
  letter-spacing:0.88px;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:10px;
}
.article-card-title{
  font-size:18px;
  font-weight:600;
  color:var(--ink);
  line-height:1.35;
  margin-bottom:10px;
}
.article-card-excerpt{
  font-size:14px;
  color:var(--body);
  line-height:1.55;
  margin-bottom:16px;
}
.article-card-meta{
  font-size:13px;
  color:var(--muted);
}
.article-card-link{
  display:block;
  color:inherit;
}
.article-card-link:hover .article-card-title{color:var(--primary)}

/* FEATURE STRIP */
.feature-strip{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:var(--hairline);
  border:1px solid var(--hairline);
  border-radius:var(--rounded-lg);
  overflow:hidden;
}
.feature-item{
  background:var(--surface-card);
  padding:32px 28px;
}
.feature-icon{
  font-size:28px;
  margin-bottom:12px;
}
.feature-title{
  font-size:16px;
  font-weight:600;
  color:var(--ink);
  margin-bottom:8px;
}
.feature-text{
  font-size:14px;
  color:var(--body);
  line-height:1.55;
}

/* ARTICLE PAGE */
.article-layout{
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
  display:grid;
  grid-template-columns:1fr 300px;
  gap:64px;
  padding-top:64px;
  padding-bottom:80px;
}
.article-header{
  margin-bottom:40px;
}
.article-tag{
  font-size:11px;
  font-weight:600;
  letter-spacing:0.88px;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:14px;
}
.article-title{
  font-size:42px;
  font-weight:400;
  color:var(--ink);
  letter-spacing:-1px;
  line-height:1.15;
  margin-bottom:16px;
}
.article-subtitle{
  font-size:18px;
  color:var(--body);
  line-height:1.55;
  margin-bottom:20px;
}
.article-meta{
  font-size:13px;
  color:var(--muted);
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  padding-bottom:24px;
  border-bottom:1px solid var(--hairline);
}
.article-hero-img{
  margin-bottom:40px;
  border-radius:var(--rounded-lg);
  overflow:hidden;
  border:1px solid var(--hairline);
}
.article-hero-img img{
  width:100%;
  max-height:480px;
  object-fit:cover;
}
.article-content h2{
  font-size:26px;
  font-weight:400;
  color:var(--ink);
  letter-spacing:-0.325px;
  line-height:1.25;
  margin:40px 0 14px;
}
.article-content h3{
  font-size:20px;
  font-weight:600;
  color:var(--ink);
  margin:28px 0 10px;
}
.article-content p{
  font-size:16px;
  color:var(--body);
  line-height:1.7;
  margin-bottom:18px;
}
.article-content ul,.article-content ol{
  padding-left:24px;
  margin-bottom:18px;
}
.article-content li{
  font-size:16px;
  color:var(--body);
  line-height:1.65;
  margin-bottom:6px;
}
.article-content a{
  color:var(--primary);
  text-decoration:underline;
  text-underline-offset:2px;
}
.article-content blockquote{
  border-left:3px solid var(--primary);
  padding:16px 20px;
  margin:28px 0;
  background:var(--canvas-soft);
  border-radius:0 var(--rounded-md) var(--rounded-md) 0;
}
.article-content blockquote p{
  font-size:17px;
  color:var(--ink);
  line-height:1.6;
  margin:0;
  font-style:italic;
}
.article-content .info-box{
  background:var(--surface-card);
  border:1px solid var(--hairline);
  border-radius:var(--rounded-lg);
  padding:24px;
  margin:28px 0;
}
.article-content .info-box h3{
  margin-top:0;
  font-size:16px;
}
.article-content figure{
  margin:32px 0;
}
.article-content figure img{
  border-radius:var(--rounded-lg);
  border:1px solid var(--hairline);
  width:100%;
}
.article-content figcaption{
  font-size:13px;
  color:var(--muted);
  margin-top:8px;
  text-align:center;
}
.article-sources{
  margin-top:48px;
  padding-top:24px;
  border-top:1px solid var(--hairline);
}
.article-sources h3{
  font-size:14px;
  font-weight:600;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:0.5px;
  margin-bottom:10px;
}
.article-sources ul{
  list-style:none;
  padding:0;
}
.article-sources li{
  font-size:13px;
  color:var(--muted);
  margin-bottom:6px;
}
.article-sources a{
  color:var(--primary);
  text-decoration:underline;
  text-underline-offset:2px;
}

/* SIDEBAR */
.article-sidebar{}
.sidebar-card{
  background:var(--surface-card);
  border:1px solid var(--hairline);
  border-radius:var(--rounded-lg);
  padding:24px;
  margin-bottom:24px;
}
.sidebar-card-title{
  font-size:13px;
  font-weight:600;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:0.5px;
  margin-bottom:14px;
}
.sidebar-links{
  list-style:none;
  padding:0;
}
.sidebar-links li{
  border-bottom:1px solid var(--hairline-soft);
  padding:8px 0;
}
.sidebar-links li:last-child{border-bottom:none}
.sidebar-links a{
  font-size:14px;
  color:var(--body);
  line-height:1.4;
}
.sidebar-links a:hover{color:var(--primary)}

/* CONTACT FORM */
.contact-section{
  background:var(--surface-card);
  border:1px solid var(--hairline);
  border-radius:var(--rounded-lg);
  padding:40px;
  max-width:640px;
}
.contact-title{
  font-size:26px;
  font-weight:400;
  color:var(--ink);
  letter-spacing:-0.3px;
  margin-bottom:8px;
}
.contact-desc{
  font-size:15px;
  color:var(--body);
  margin-bottom:28px;
}
.form-group{
  margin-bottom:20px;
}
.form-group label{
  display:block;
  font-size:14px;
  font-weight:500;
  color:var(--ink);
  margin-bottom:6px;
}
.form-group input,.form-group textarea{
  width:100%;
  background:var(--canvas);
  border:1px solid var(--hairline-strong);
  border-radius:var(--rounded-md);
  padding:12px 16px;
  font-size:16px;
  font-family:inherit;
  color:var(--ink);
  transition:border-color .15s;
  height:44px;
}
.form-group textarea{
  height:auto;
  min-height:100px;
  resize:vertical;
}
.form-group input:focus,.form-group textarea:focus{
  outline:none;
  border-color:var(--ink);
}
.form-group input::placeholder,.form-group textarea::placeholder{
  color:var(--muted-soft);
}
.btn-primary{
  background:var(--primary);
  color:var(--on-primary);
  border:none;
  border-radius:var(--rounded-md);
  padding:10px 18px;
  font-size:14px;
  font-weight:500;
  height:40px;
  cursor:pointer;
  transition:background .15s;
  font-family:inherit;
}
.btn-primary:hover{background:var(--primary-active)}
.btn-primary:disabled{opacity:.6;cursor:not-allowed}
.form-message{
  display:none;
  margin-top:14px;
  padding:12px 16px;
  border-radius:var(--rounded-md);
  font-size:14px;
}
.form-message.success{
  background:#e8f5f0;
  color:var(--semantic-success);
  border:1px solid #b8ddd2;
  display:block;
}
.form-message.error{
  background:#fdeef1;
  color:var(--semantic-error);
  border:1px solid #f5b8c4;
  display:block;
}

/* ABOUT / STATIC PAGES */
.page-hero{
  padding:64px 0 48px;
  border-bottom:1px solid var(--hairline);
}
.page-title{
  font-size:42px;
  font-weight:400;
  color:var(--ink);
  letter-spacing:-1px;
  margin-bottom:12px;
}
.page-subtitle{
  font-size:18px;
  color:var(--body);
  line-height:1.55;
}
.page-content{
  max-width:720px;
}
.page-content h2{
  font-size:26px;
  font-weight:400;
  color:var(--ink);
  letter-spacing:-0.3px;
  margin:40px 0 12px;
}
.page-content h3{
  font-size:18px;
  font-weight:600;
  color:var(--ink);
  margin:24px 0 8px;
}
.page-content p{
  font-size:16px;
  color:var(--body);
  line-height:1.7;
  margin-bottom:16px;
}
.page-content ul,.page-content ol{
  padding-left:24px;
  margin-bottom:16px;
}
.page-content li{
  font-size:16px;
  color:var(--body);
  line-height:1.65;
  margin-bottom:6px;
}
.page-content a{
  color:var(--primary);
  text-decoration:underline;
  text-underline-offset:2px;
}
.page-updated{
  font-size:13px;
  color:var(--muted);
  margin-top:48px;
  padding-top:16px;
  border-top:1px solid var(--hairline);
}

/* BREADCRUMB */
.breadcrumb{
  font-size:13px;
  color:var(--muted);
  display:flex;
  gap:6px;
  align-items:center;
  padding:20px 0 0;
}
.breadcrumb a{color:var(--body)}
.breadcrumb a:hover{color:var(--primary)}
.breadcrumb-sep{color:var(--muted-soft)}

/* FOOTER */
.site-footer{
  background:var(--canvas);
  border-top:1px solid var(--hairline);
  padding:64px 0 0;
}
.footer-container{
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:48px;
}
.footer-brand{
  font-size:18px;
  font-weight:600;
  color:var(--ink);
  margin-bottom:10px;
}
.footer-tagline{
  font-size:14px;
  color:var(--body);
  line-height:1.55;
}
.footer-heading{
  font-size:13px;
  font-weight:600;
  color:var(--ink);
  text-transform:uppercase;
  letter-spacing:0.5px;
  margin-bottom:12px;
}
.footer-links{
  list-style:none;
  padding:0;
}
.footer-links li{
  margin-bottom:8px;
}
.footer-links a{
  font-size:14px;
  color:var(--body);
  transition:color .15s;
}
.footer-links a:hover{color:var(--ink)}
.footer-bottom{
  margin-top:48px;
  border-top:1px solid var(--hairline);
  padding:20px 0;
}
.footer-bottom .footer-container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  grid-template-columns:none;
  gap:16px;
  flex-wrap:wrap;
}
.footer-bottom span,.footer-bottom a{
  font-size:13px;
  color:var(--muted);
}
.footer-bottom a:hover{color:var(--ink)}

/* COOKIE BANNER */
.cookie-banner{
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  background:var(--ink);
  color:var(--canvas);
  z-index:1000;
  padding:20px 24px;
}
.cookie-inner{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  flex-wrap:wrap;
}
.cookie-inner p{
  font-size:14px;
  line-height:1.5;
  flex:1;
  min-width:200px;
}
.cookie-inner a{color:var(--canvas-soft);text-decoration:underline}
.cookie-actions{
  display:flex;
  gap:10px;
  flex-shrink:0;
}
.btn-cookie{
  font-size:13px;
  font-weight:500;
  padding:8px 16px;
  border-radius:var(--rounded-md);
  border:1px solid transparent;
  cursor:pointer;
  font-family:inherit;
  transition:background .15s;
}
.btn-accept{
  background:var(--primary);
  color:var(--on-primary);
  border-color:var(--primary);
}
.btn-accept:hover{background:var(--primary-active)}
.btn-reject{
  background:transparent;
  color:var(--canvas);
  border-color:var(--muted);
}
.btn-reject:hover{background:rgba(255,255,255,.1)}

/* DISCLAIMER */
.disclaimer{
  background:var(--canvas-soft);
  border:1px solid var(--hairline);
  border-radius:var(--rounded-md);
  padding:14px 18px;
  font-size:13px;
  color:var(--muted);
  line-height:1.5;
  margin:32px 0 0;
}

/* RESPONSIVE */
@media(max-width:1024px){
  .articles-grid{grid-template-columns:repeat(2,1fr)}
  .footer-container{grid-template-columns:1fr 1fr;gap:32px}
  .hero-inner{grid-template-columns:1fr;gap:40px}
  .hero-title{font-size:42px}
  .article-layout{grid-template-columns:1fr;gap:40px;padding-top:40px}
  .article-sidebar{order:-1}
  .feature-strip{grid-template-columns:1fr}
}
@media(max-width:768px){
  .nav-links{
    display:none;
    position:absolute;
    top:64px;
    left:0;right:0;
    background:var(--canvas);
    border-bottom:1px solid var(--hairline);
    flex-direction:column;
    padding:16px 24px;
    gap:4px;
  }
  .nav-links.open{display:flex}
  .nav-toggle{display:flex}
  .hero-title{font-size:32px}
  .section-title{font-size:28px}
  .articles-grid{grid-template-columns:1fr}
  .footer-container{grid-template-columns:1fr;gap:24px}
  .contact-section{padding:24px}
}
@media(max-width:640px){
  .hero{padding:48px 0}
  .section{padding:48px 0}
  .article-title{font-size:30px}
  .page-title{font-size:30px}
}
