@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400&display=swap');

*,*::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;
  --r-xs:4px;
  --r-sm:6px;
  --r-md:8px;
  --r-lg:12px;
  --r-xl:16px;
  --r-pill:9999px;
}

html{scroll-behavior:smooth}

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

img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul{list-style:none}

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

h1,h2,h3,h4{
  color:var(--ink);
  font-weight:400;
  letter-spacing:-0.01em;
}

h1{font-size:clamp(32px,5vw,56px);line-height:1.1;letter-spacing:-0.03em}
h2{font-size:clamp(24px,3vw,36px);line-height:1.2;letter-spacing:-0.02em}
h3{font-size:clamp(18px,2.5vw,26px);line-height:1.25;letter-spacing:-0.01em}
h4{font-size:18px;font-weight:600;line-height:1.4;letter-spacing:0}

p{color:var(--body);line-height:1.6}

/* --- TOPNAV --- */
.site-nav{
  background:var(--canvas);
  border-bottom:1px solid var(--hairline);
  position:sticky;
  top:0;
  z-index:100;
}
.site-nav .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:64px;
  gap:24px;
}
.nav-brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}
.nav-brand-icon{
  width:32px;
  height:32px;
  background:var(--ink);
  border-radius:var(--r-md);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.nav-brand-icon svg{fill:var(--canvas);width:18px;height:18px}
.nav-brand-name{
  font-size:15px;
  font-weight:600;
  color:var(--ink);
  letter-spacing:-0.01em;
}
.nav-links{
  display:flex;
  align-items:center;
  gap:4px;
}
.nav-links a{
  font-size:14px;
  font-weight:500;
  color:var(--body);
  padding:6px 12px;
  border-radius:var(--r-md);
  transition:background 0.15s,color 0.15s;
  white-space:nowrap;
}
.nav-links a:hover{background:var(--surface-strong);color:var(--ink)}
.nav-links a.active{color:var(--ink)}
.nav-hamburger{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  padding:8px;
  color:var(--ink);
}
.mobile-menu{
  display:none;
  flex-direction:column;
  background:var(--canvas);
  border-top:1px solid var(--hairline);
  padding:12px 24px 16px;
}
.mobile-menu.open{display:flex}
.mobile-menu a{
  font-size:15px;
  font-weight:500;
  color:var(--body);
  padding:10px 0;
  border-bottom:1px solid var(--hairline-soft);
}
.mobile-menu a:last-child{border-bottom:none}
.mobile-menu a:hover{color:var(--ink)}

/* --- HERO --- */
.hero{
  padding:80px 0 72px;
  background:var(--canvas);
}
.hero-label{
  display:inline-block;
  font-size:11px;
  font-weight:600;
  letter-spacing:0.88px;
  text-transform:uppercase;
  color:var(--muted);
  background:var(--surface-strong);
  border-radius:var(--r-pill);
  padding:4px 12px;
  margin-bottom:24px;
}
.hero h1{
  max-width:760px;
  margin-bottom:20px;
}
.hero-sub{
  font-size:18px;
  color:var(--body);
  max-width:560px;
  line-height:1.55;
  margin-bottom:40px;
}
.hero-img{
  margin-top:56px;
  border-radius:var(--r-lg);
  border:1px solid var(--hairline);
  overflow:hidden;
  max-height:440px;
  object-fit:cover;
  width:100%;
}

/* --- SECTION LABELS --- */
.section-label{
  font-size:11px;
  font-weight:600;
  letter-spacing:0.88px;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:16px;
}

/* --- SECTION SPACING --- */
.section{padding:80px 0}
.section-alt{
  background:var(--canvas-soft);
  padding:80px 0;
  border-top:1px solid var(--hairline-soft);
  border-bottom:1px solid var(--hairline-soft);
}
.section-head{margin-bottom:48px}
.section-head p{font-size:17px;color:var(--body);margin-top:12px;max-width:560px}

/* --- CARDS --- */
.card{
  background:var(--surface-card);
  border:1px solid var(--hairline);
  border-radius:var(--r-lg);
  padding:24px;
  transition:border-color 0.15s;
}
.card:hover{border-color:var(--hairline-strong)}

.card-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.card-grid-2{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}
.card-icon{
  width:40px;
  height:40px;
  background:var(--surface-strong);
  border-radius:var(--r-md);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:16px;
  flex-shrink:0;
}
.card-icon svg{width:20px;height:20px;fill:var(--ink)}
.card h4{color:var(--ink);margin-bottom:8px}
.card p{font-size:14px;color:var(--body)}

/* --- ARTICLE CARDS --- */
.article-card{
  background:var(--surface-card);
  border:1px solid var(--hairline);
  border-radius:var(--r-lg);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition:border-color 0.15s;
}
.article-card:hover{border-color:var(--hairline-strong)}
.article-card-img{
  width:100%;
  height:200px;
  object-fit:cover;
  display:block;
}
.article-card-body{padding:20px;flex:1;display:flex;flex-direction:column}
.article-card-tag{
  font-size:11px;
  font-weight:600;
  letter-spacing:0.88px;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:10px;
}
.article-card h3{
  font-size:18px;
  color:var(--ink);
  margin-bottom:10px;
  font-weight:600;
  letter-spacing:-0.01em;
  line-height:1.35;
}
.article-card p{font-size:14px;color:var(--body);line-height:1.55;flex:1}
.article-card-footer{
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid var(--hairline-soft);
  font-size:13px;
  color:var(--muted);
}
.article-card-link{
  display:inline-block;
  margin-top:14px;
  font-size:13px;
  font-weight:500;
  color:var(--ink);
  border-bottom:1px solid var(--hairline-strong);
  padding-bottom:1px;
  transition:border-color 0.15s,color 0.15s;
}
.article-card-link:hover{color:var(--primary);border-color:var(--primary)}

/* --- CHECKLIST --- */
.checklist{display:flex;flex-direction:column;gap:12px}
.checklist-item{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:16px;
  background:var(--surface-card);
  border:1px solid var(--hairline);
  border-radius:var(--r-md);
}
.checklist-item-icon{
  width:28px;
  height:28px;
  border-radius:var(--r-sm);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  margin-top:1px;
}
.ci-spring{background:#9fc9a21a;color:#1f8a65}
.ci-summer{background:#9fbbe01a;color:#2a6bb0}
.ci-autumn{background:#dfa88f1a;color:#8a4a1f}
.ci-winter{background:#c0a8dd1a;color:#6a4a9f}
.checklist-item-content h5{font-size:14px;font-weight:600;color:var(--ink);margin-bottom:3px}
.checklist-item-content p{font-size:13px;color:var(--body)}

/* --- ARTICLE PAGE --- */
.article-header{padding:64px 0 48px;background:var(--canvas)}
.article-meta{
  display:flex;
  align-items:center;
  gap:16px;
  font-size:13px;
  color:var(--muted);
  margin-bottom:20px;
  flex-wrap:wrap;
}
.article-meta-tag{
  font-size:11px;
  font-weight:600;
  letter-spacing:0.88px;
  text-transform:uppercase;
  background:var(--surface-strong);
  border-radius:var(--r-pill);
  padding:4px 10px;
  color:var(--muted);
}
.article-body{
  padding:56px 0 80px;
}
.article-content{
  max-width:720px;
  margin:0 auto;
}
.article-content h2{
  font-size:26px;
  margin:48px 0 16px;
  color:var(--ink);
  font-weight:600;
  letter-spacing:-0.01em;
}
.article-content h3{
  font-size:20px;
  margin:32px 0 12px;
  color:var(--ink);
  font-weight:600;
}
.article-content p{
  font-size:16px;
  color:var(--body);
  line-height:1.7;
  margin-bottom:20px;
}
.article-content ul,
.article-content ol{
  padding-left:24px;
  margin-bottom:20px;
  color:var(--body);
  font-size:16px;
  line-height:1.7;
}
.article-content li{margin-bottom:6px;list-style:disc}
.article-content ol li{list-style:decimal}
.article-content figure{
  margin:40px 0;
  border-radius:var(--r-lg);
  overflow:hidden;
  border:1px solid var(--hairline);
}
.article-content figcaption{
  font-size:13px;
  color:var(--muted);
  padding:10px 16px;
  background:var(--surface-card);
}
.article-content a{
  color:var(--ink);
  border-bottom:1px solid var(--hairline-strong);
  transition:border-color 0.15s,color 0.15s;
}
.article-content a:hover{color:var(--primary);border-color:var(--primary)}
.article-info-box{
  background:var(--surface-card);
  border:1px solid var(--hairline);
  border-left:3px solid var(--ink);
  border-radius:0 var(--r-md) var(--r-md) 0;
  padding:20px 24px;
  margin:32px 0;
}
.article-info-box p{font-size:14px;margin-bottom:0}

/* --- FORM --- */
.form-section{padding:80px 0;background:var(--canvas-soft);border-top:1px solid var(--hairline-soft)}
.form-wrap{
  max-width:560px;
}
.form-group{margin-bottom:20px}
.form-group label{
  display:block;
  font-size:14px;
  font-weight:500;
  color:var(--body-strong);
  margin-bottom:6px;
}
.form-group input,
.form-group textarea{
  width:100%;
  background:var(--surface-card);
  border:1px solid var(--hairline-strong);
  border-radius:var(--r-md);
  padding:12px 16px;
  font-size:15px;
  font-family:inherit;
  color:var(--ink);
  outline:none;
  transition:border-color 0.15s;
  height:44px;
}
.form-group textarea{height:120px;resize:vertical}
.form-group input:focus,
.form-group textarea:focus{border-color:var(--ink)}
.form-group input.error,
.form-group textarea.error{border-color:var(--semantic-error)}
.form-error-msg{font-size:12px;color:var(--semantic-error);margin-top:4px;display:none}
.btn-primary{
  background:var(--ink);
  color:var(--canvas);
  border:none;
  border-radius:var(--r-md);
  padding:12px 20px;
  height:44px;
  font-size:14px;
  font-weight:500;
  font-family:inherit;
  cursor:pointer;
  transition:background 0.15s;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.btn-primary:hover{background:var(--body-strong)}
.btn-primary:disabled{opacity:0.6;cursor:not-allowed}
.form-confirmation{
  display:none;
  background:var(--surface-card);
  border:1px solid var(--hairline);
  border-left:3px solid var(--semantic-success);
  border-radius:0 var(--r-md) var(--r-md) 0;
  padding:20px 24px;
  font-size:15px;
  color:var(--body-strong);
  margin-top:20px;
}

/* --- BREADCRUMB --- */
.breadcrumb{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  color:var(--muted);
  margin-bottom:24px;
  flex-wrap:wrap;
}
.breadcrumb a{color:var(--muted);border-bottom:1px solid var(--hairline);transition:color 0.15s}
.breadcrumb a:hover{color:var(--ink)}
.breadcrumb span{color:var(--body)}

/* --- DIVIDER --- */
hr.divider{border:none;border-top:1px solid var(--hairline);margin:48px 0}

/* --- FOOTER --- */
.site-footer{
  background:var(--canvas);
  border-top:1px solid var(--hairline);
  padding:64px 0 48px;
}
.footer-inner{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:40px;
  margin-bottom:48px;
}
.footer-brand p{
  font-size:14px;
  color:var(--body);
  margin-top:12px;
  max-width:280px;
  line-height:1.6;
}
.footer-col h5{
  font-size:11px;
  font-weight:600;
  letter-spacing:0.88px;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:16px;
}
.footer-col ul{display:flex;flex-direction:column;gap:10px}
.footer-col a{
  font-size:14px;
  color:var(--body);
  transition:color 0.15s;
}
.footer-col a:hover{color:var(--ink)}
.footer-bottom{
  border-top:1px solid var(--hairline-soft);
  padding-top:24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.footer-bottom p{font-size:13px;color:var(--muted)}
.footer-bottom-links{display:flex;gap:16px}
.footer-bottom-links a{font-size:13px;color:var(--muted);transition:color 0.15s}
.footer-bottom-links a:hover{color:var(--ink)}

/* --- COOKIE BANNER --- */
#cookie-banner{
  position:fixed;
  bottom:24px;
  left:50%;
  transform:translateX(-50%);
  width:calc(100% - 48px);
  max-width:640px;
  background:var(--ink);
  color:var(--canvas);
  border-radius:var(--r-lg);
  padding:20px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  z-index:999;
  box-shadow:0 8px 32px rgba(38,37,30,0.18);
  flex-wrap:wrap;
}
#cookie-banner p{
  font-size:14px;
  color:var(--canvas-soft);
  flex:1;
  line-height:1.5;
  min-width:200px;
}
#cookie-banner p a{color:var(--canvas-soft);border-bottom:1px solid rgba(247,247,244,0.4)}
.cookie-btns{display:flex;gap:10px;flex-shrink:0}
.btn-cookie-accept{
  background:var(--canvas);
  color:var(--ink);
  border:none;
  border-radius:var(--r-md);
  padding:8px 16px;
  font-size:13px;
  font-weight:500;
  font-family:inherit;
  cursor:pointer;
  transition:background 0.15s;
}
.btn-cookie-accept:hover{background:var(--canvas-soft)}
.btn-cookie-reject{
  background:transparent;
  color:var(--muted-soft);
  border:1px solid rgba(247,247,244,0.2);
  border-radius:var(--r-md);
  padding:8px 16px;
  font-size:13px;
  font-weight:500;
  font-family:inherit;
  cursor:pointer;
  transition:background 0.15s,color 0.15s;
}
.btn-cookie-reject:hover{background:rgba(247,247,244,0.08);color:var(--canvas-soft)}

/* --- PAGE CONTENT (about/privacy/terms) --- */
.page-header{padding:64px 0 40px;border-bottom:1px solid var(--hairline)}
.page-body{padding:64px 0;max-width:760px}
.page-body h2{font-size:22px;font-weight:600;color:var(--ink);margin:40px 0 12px;letter-spacing:-0.01em}
.page-body p{font-size:15px;color:var(--body);line-height:1.7;margin-bottom:16px}
.page-body ul{padding-left:20px;margin-bottom:16px;color:var(--body);font-size:15px;line-height:1.7}
.page-body ul li{list-style:disc;margin-bottom:6px}
.page-body a{color:var(--ink);border-bottom:1px solid var(--hairline-strong)}
.page-body a:hover{color:var(--primary);border-color:var(--primary)}

/* --- RELATED ARTICLES --- */
.related-articles{padding:64px 0;border-top:1px solid var(--hairline)}
.related-articles h2{font-size:22px;font-weight:600;margin-bottom:24px;color:var(--ink)}

/* --- SPINNER --- */
.spinner{
  display:inline-block;
  width:16px;
  height:16px;
  border:2px solid rgba(247,247,244,0.4);
  border-top-color:var(--canvas);
  border-radius:50%;
  animation:spin 0.7s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}

/* --- RESPONSIVE --- */
@media(max-width:1024px){
  .footer-inner{grid-template-columns:1fr 1fr;gap:32px}
  .card-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  .nav-links{display:none}
  .nav-hamburger{display:flex}
  .hero{padding:56px 0 48px}
  .section,.section-alt{padding:56px 0}
  .card-grid,.card-grid-2{grid-template-columns:1fr}
  .footer-inner{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;align-items:flex-start}
  h1{font-size:32px}
  h2{font-size:24px}
}
@media(max-width:480px){
  .container{padding:0 16px}
  .hero{padding:40px 0 36px}
  #cookie-banner{bottom:12px;width:calc(100% - 24px);padding:16px}
  .cookie-btns{width:100%;justify-content:flex-end}
}
