:root {
  --green: #2DD4A8;
  --green-dark: #1FB890;
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --text: #0F172A;
  --text-soft: #475569;
  --text-mute: #64748B;
  --line: #E2E8F0;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-mint: #ECFEF7;
  --bg-sky: #EFF6FF;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06);
  --shadow: 0 4px 14px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04);
  --shadow-lg: 0 20px 50px rgba(15,23,42,.10);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.85);
  border-bottom: 1px solid rgba(226,232,240,.6);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
}
.brand-logo {
  height: 64px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.brand-tagline {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-tagline .top {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.brand-tagline .bot {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mute);
  margin-top: 2px;
}
.site-footer .brand-logo { height: 52px; }
.site-footer .brand-tagline .top { font-size: 14px; }
.site-footer .brand-tagline .bot { font-size: 12px; }
.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav a {
  font-size: 15px;
  color: var(--text-soft);
  font-weight: 500;
  transition: color .15s;
}
.nav a:hover, .nav a.active { color: var(--blue); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .12s, box-shadow .15s, background .15s;
}
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 18px rgba(45,212,168,.35);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-secondary:hover { border-color: var(--text-mute); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 80% 40%, rgba(167,243,208,.35), transparent 60%),
    radial-gradient(ellipse 70% 50% at 20% 80%, rgba(186,230,253,.30), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F0FDF9 100%);
}
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.shape {
  position: absolute;
  opacity: .55;
}
.shape.s1 { top: 18%; right: 18%; width: 60px; height: 60px;
  background: linear-gradient(135deg, #6EE7B7, #34D399);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  border-radius: 8px;
}
.shape.s2 { bottom: 25%; right: 8%; width: 80px; height: 80px;
  border: 2px solid #93C5FD;
  border-radius: 16px;
  transform: rotate(15deg);
  opacity: .4;
}
.shape.s3 { top: 30%; left: 10%; width: 24px; height: 24px;
  background: var(--green);
  border-radius: 4px;
  opacity: .25;
}
.shape.s4 { bottom: 15%; left: 20%; width: 14px; height: 14px;
  background: #60A5FA;
  border-radius: 50%;
  opacity: .35;
}
.hero-inner { position: relative; text-align: center; }
.hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  color: var(--text);
}
.hero p.lead {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 620px;
  margin: 0 auto 38px;
}

/* ===== Search ===== */
.search-wrap {
  max-width: 720px;
  margin: 0 auto 36px;
  position: relative;
}
.search-box {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 999px;
  padding: 8px 8px 8px 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226,232,240,.7);
  gap: 10px;
}
.search-box .icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  transition: background .15s;
}
.search-box .icon-btn:hover { background: var(--blue-dark); }
.search-box input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  padding: 12px 8px;
  color: var(--text);
}
.search-box input::placeholder { color: #94A3B8; }
.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 8px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  max-height: 320px;
  overflow-y: auto;
  display: none;
  text-align: left;
  z-index: 20;
}
.search-results.open { display: block; }
.search-results a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  transition: background .12s;
}
.search-results a:last-child { border-bottom: none; }
.search-results a:hover { background: var(--bg-soft); }
.search-results .res-emoji { font-size: 22px; }
.search-results .res-title { font-weight: 600; color: var(--text); }
.search-results .res-cat { font-size: 13px; color: var(--text-mute); }
.search-results .empty { padding: 20px; color: var(--text-mute); text-align: center; font-size: 14px; }

/* ===== Quick chips ===== */
.quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  max-width: 760px;
  margin: 0 auto;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(226,232,240,.5);
  font-weight: 600;
  color: var(--text);
  transition: transform .15s, box-shadow .15s;
  font-size: 15px;
  line-height: 1.25;
}
.chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.chip-emoji {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.bg-mint { background: #DCFCE7; }
.bg-peach { background: #FED7AA; }
.bg-sky { background: #DBEAFE; }
.bg-lime { background: #D9F99D; }
.bg-rose { background: #FECACA; }
.bg-amber { background: #FEF3C7; }
.bg-violet { background: #DDD6FE; }
.bg-cyan { background: #CFFAFE; }

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  text-align: center;
  margin: 0 0 50px;
  letter-spacing: -0.02em;
}
.section-title.left { text-align: left; margin-bottom: 30px; }

/* ===== Cards grid ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cat-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(226,232,240,.6);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform .15s, box-shadow .15s;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.cat-card .chip-emoji { width: 52px; height: 52px; font-size: 26px; margin-bottom: 18px; }
.cat-card h3 { font-size: 19px; margin: 0 0 10px; font-weight: 700; }
.cat-card p {
  margin: 0 0 22px;
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.55;
  flex: 1;
}
.cat-card .btn {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  padding: 9px 22px;
  font-size: 14px;
}
.cat-card .btn:hover { background: var(--bg-soft); }

/* ===== News + Guides layout ===== */
.split { background: var(--bg-soft); padding: 80px 0; }
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.news-list { display: flex; flex-direction: column; gap: 26px; }
.news-item { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.news-item:last-child { border-bottom: none; }
.news-meta { font-size: 13px; color: var(--text-mute); margin-bottom: 6px; }
.news-meta .tag {
  display: inline-block;
  background: var(--bg-mint);
  color: var(--green-dark);
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px;
  margin-right: 8px;
}
.news-item h3 { font-size: 19px; margin: 4px 0 8px; font-weight: 700; }
.news-item p { font-size: 14.5px; color: var(--text-soft); margin: 0 0 10px; }
.read-more { color: var(--blue); font-size: 14px; font-weight: 600; }
.read-more:hover { text-decoration: underline; }

.guides-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.guide-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: #1E293B;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  color: #fff;
  isolation: isolate;
}
.guide-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.85) 100%);
  z-index: 1;
}
.guide-card .guide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transition: transform .4s;
}
.guide-card:hover .guide-bg { transform: scale(1.04); }
.guide-card.bg-house .guide-bg {
  background-image: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
}
.guide-card.bg-house .guide-bg::after {
  content: '🏡';
  position: absolute;
  font-size: 200px;
  bottom: -40px;
  right: -20px;
  opacity: .9;
}
.guide-card.bg-freelance .guide-bg {
  background-image: linear-gradient(135deg, #93C5FD 0%, #3B82F6 100%);
}
.guide-card.bg-freelance .guide-bg::after {
  content: '💼';
  position: absolute;
  font-size: 200px;
  bottom: -40px;
  right: -20px;
  opacity: .9;
}
.guide-card h3 {
  position: relative;
  z-index: 2;
  font-size: 24px;
  margin: 0 0 18px;
  font-weight: 700;
  line-height: 1.2;
}
.guide-card .btn {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  background: rgba(0,0,0,.6);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  padding: 9px 20px;
  font-size: 14px;
  backdrop-filter: blur(8px);
}
.guide-card .btn:hover { background: rgba(0,0,0,.8); }

/* ===== Footer ===== */
.site-footer {
  background: #fff;
  padding: 36px 0 28px;
  border-top: 1px solid var(--line);
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.footer-left { display: flex; flex-direction: column; gap: 10px; }
.footer-copy { font-size: 14px; color: var(--text-soft); }
.footer-links { display: flex; gap: 20px; font-size: 14px; color: var(--text-mute); margin-top: 4px; }
.footer-links a:hover { color: var(--text); }
.newsletter { max-width: 320px; }
.newsletter h4 { margin: 0 0 10px; font-size: 14px; font-weight: 700; }
.newsletter form { display: flex; gap: 8px; }
.newsletter input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.newsletter input:focus { border-color: var(--blue); }
.newsletter button {
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  transition: background .15s;
}
.newsletter button:hover { background: var(--green-dark); }

/* ===== Article cards ===== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.article-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226,232,240,.6);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
  color: inherit;
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.article-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #BAE6FD, #A7F3D0) center/cover no-repeat;
  position: relative;
}
.article-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(6px);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.article-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.article-date { font-size: 12px; color: var(--text-mute); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.article-body h3 { font-size: 18px; margin: 0 0 10px; font-weight: 700; line-height: 1.3; }
.article-body p { font-size: 14.5px; color: var(--text-soft); margin: 0 0 16px; flex: 1; line-height: 1.55; }

.actu-list-page { padding: 50px 0 80px; background: linear-gradient(180deg, #F0FDF9 0%, #FFFFFF 30%); }
.actu-hero { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.actu-hero h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -0.02em; margin: 14px 0 12px; }
.actu-hero p { color: var(--text-soft); font-size: 17px; }

/* ===== Single article page ===== */
.article-page { padding: 0 0 80px; background: #fff; }
.article-cover {
  height: 380px;
  background-size: cover;
  background-position: center;
  background-color: #1E293B;
  position: relative;
}
.article-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15,23,42,.5) 100%);
}
.article-head {
  max-width: 760px;
  margin: -120px auto 0;
  position: relative;
  z-index: 2;
  padding: 38px 40px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.article-head .meta { display: flex; gap: 14px; align-items: center; font-size: 13px; color: var(--text-mute); margin-bottom: 14px; flex-wrap: wrap; }
.article-head .meta .tag {
  background: var(--bg-mint);
  color: var(--green-dark);
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px;
}
.article-head h1 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.18; margin: 0 0 16px; }
.article-head .lead { font-size: 18px; color: var(--text-soft); line-height: 1.55; margin: 0; }

.article-body-content {
  max-width: 720px;
  margin: 40px auto 0;
  padding: 0 24px;
  font-size: 17px;
  line-height: 1.75;
  color: #1E293B;
}
.article-body-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 40px 0 14px;
  letter-spacing: -0.01em;
}
.article-body-content p { margin: 0 0 18px; }
.article-body-content ul { padding-left: 22px; margin: 0 0 18px; }
.article-body-content ul li { margin-bottom: 8px; }
.article-body-content blockquote {
  border-left: 4px solid var(--green);
  background: var(--bg-mint);
  padding: 18px 22px;
  margin: 24px 0;
  border-radius: 0 12px 12px 0;
  font-size: 16px;
  color: var(--text);
}

.article-cta {
  max-width: 720px;
  margin: 40px auto 0;
  padding: 28px 32px;
  background: linear-gradient(140deg, #ECFEF7 0%, #EFF6FF 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(45,212,168,.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.article-cta .cta-text h3 { margin: 0 0 6px; font-size: 18px; }
.article-cta .cta-text p { margin: 0; color: var(--text-soft); font-size: 14.5px; }

/* ===== Guide pages (long-form dossier) ===== */
.guide-page { padding: 0 0 80px; background: #fff; }
.guide-cover {
  height: 480px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.guide-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,.1) 0%, rgba(15,23,42,.75) 100%);
}
.guide-cover .container {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-bottom: 50px;
}
.guide-cover .pill {
  display: inline-block;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.guide-cover h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 14px;
  max-width: 900px;
}
.guide-cover .lead {
  font-size: 19px;
  max-width: 720px;
  margin: 0;
  opacity: 0.95;
  line-height: 1.5;
}
.guide-meta {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.guide-meta .container {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--text-soft);
  flex-wrap: wrap;
}
.guide-meta strong { color: var(--text); margin-right: 6px; }

.guide-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  max-width: 1080px;
  margin: 60px auto 0;
  padding: 0 24px;
}
.guide-toc {
  position: sticky;
  top: 110px;
  align-self: start;
  font-size: 14.5px;
}
.guide-toc h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--text-mute);
  margin: 0 0 16px;
}
.guide-toc ol {
  list-style: none;
  counter-reset: toc;
  padding: 0;
  margin: 0;
}
.guide-toc ol li {
  counter-increment: toc;
  margin-bottom: 12px;
  padding-left: 30px;
  position: relative;
  line-height: 1.45;
}
.guide-toc ol li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--green-dark);
  background: var(--bg-mint);
  padding: 2px 6px;
  border-radius: 6px;
}
.guide-toc a { color: var(--text-soft); transition: color .15s; }
.guide-toc a:hover, .guide-toc a.active { color: var(--blue); }

.guide-body {
  font-size: 17px;
  line-height: 1.78;
  color: #1E293B;
  max-width: 720px;
}
.guide-body > section { margin-bottom: 48px; scroll-margin-top: 100px; }
.guide-body > section:last-child { margin-bottom: 0; }
.guide-body h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  line-height: 1.2;
}
.guide-body h2 .num {
  display: inline-block;
  background: linear-gradient(135deg, var(--green), #38BDF8);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 8px;
  margin-right: 12px;
  vertical-align: middle;
  letter-spacing: 0;
}
.guide-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 28px 0 12px;
}
.guide-body p { margin: 0 0 18px; }
.guide-body ul, .guide-body ol { padding-left: 22px; margin: 0 0 18px; }
.guide-body li { margin-bottom: 8px; }
.guide-body blockquote {
  border-left: 4px solid var(--green);
  background: var(--bg-mint);
  padding: 18px 22px;
  margin: 24px 0;
  border-radius: 0 12px 12px 0;
  font-size: 16px;
}
.guide-body .callout {
  background: linear-gradient(140deg, #ECFEF7 0%, #EFF6FF 100%);
  border: 1px solid rgba(45,212,168,.2);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  margin: 26px 0;
}
.guide-body .callout strong { color: var(--green-dark); }

.guide-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 15px;
}
.guide-body table th {
  background: var(--bg-soft);
  text-align: left;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 14px;
  border-bottom: 2px solid var(--line);
}
.guide-body table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.guide-body table tr:last-child td { border-bottom: none; }

.guide-cta-block {
  margin: 50px auto;
  max-width: 980px;
  padding: 0 24px;
}
.guide-cta-block .inner {
  background: linear-gradient(140deg, #1E293B 0%, #0F172A 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.guide-cta-block h3 { margin: 0 0 8px; font-size: 24px; }
.guide-cta-block p { margin: 0; opacity: 0.85; max-width: 480px; }
.guide-cta-block .btn { background: var(--green); color: #fff; padding: 14px 28px; font-size: 15px; }
.guide-cta-block .btn:hover { background: var(--green-dark); }

@media (max-width: 900px) {
  .guide-layout { grid-template-columns: 1fr; gap: 32px; }
  .guide-toc { position: static; }
  .guide-cover { height: 360px; }
  .guide-cta-block .inner { padding: 28px 26px; }
}

.article-related { background: var(--bg-soft); padding: 70px 0; margin-top: 60px; }
.article-related h2 { text-align: center; font-size: 26px; margin: 0 0 32px; font-weight: 700; max-width: 1100px; margin-left:auto; margin-right:auto; }
.article-related .articles-grid { max-width: 1100px; margin: 0 auto; }

@media (max-width: 900px) {
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .article-cover { height: 280px; }
  .article-head { margin: -80px 18px 0; padding: 28px 24px; }
}
@media (max-width: 600px) {
  .articles-grid { grid-template-columns: 1fr; }
}

/* ===== Simulator pages ===== */
.sim-page { padding: 50px 0 80px; background: linear-gradient(180deg, #F0FDF9 0%, #FFFFFF 40%); min-height: calc(100vh - 72px); }
.breadcrumbs { font-size: 14px; color: var(--text-mute); margin-bottom: 24px; }
.breadcrumbs a { color: var(--blue); }
.breadcrumbs a:hover { text-decoration: underline; }
.sim-header { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.sim-header .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 18px;
}
.sim-header h1 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  line-height: 1.15;
}
.sim-header p { color: var(--text-soft); font-size: 17px; margin: 0; }

.sim-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 30px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}
.sim-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(226,232,240,.6);
}
.sim-card h2 { font-size: 18px; margin: 0 0 24px; font-weight: 700; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 14px;
  color: var(--text-soft);
  font-weight: 500;
  margin-bottom: 8px;
}
.field input, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  background: #fff;
}
.field input:focus, .field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.field .hint { font-size: 12px; color: var(--text-mute); margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.sim-result {
  background: linear-gradient(140deg, #ECFEF7 0%, #EFF6FF 100%);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(45,212,168,.2);
  position: sticky;
  top: 90px;
}
.sim-result h3 { margin: 0 0 18px; font-size: 14px; text-transform: uppercase; color: var(--text-mute); letter-spacing: 0.05em; font-weight: 600; }
.result-main {
  font-size: 38px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.result-sub { font-size: 14px; color: var(--text-soft); margin-bottom: 26px; }
.result-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(15,23,42,.1);
  font-size: 14.5px;
}
.result-row:last-child { border-bottom: none; }
.result-row .label { color: var(--text-soft); }
.result-row .value { font-weight: 600; color: var(--text); }
.result-info {
  margin-top: 22px;
  padding: 14px;
  background: rgba(255,255,255,.6);
  border-radius: 10px;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
}

.sim-list {
  background: var(--bg-soft);
  padding: 70px 0;
  margin-top: 60px;
}
.sim-list h2 { text-align: center; margin: 0 0 32px; font-size: 26px; font-weight: 700; }
.sim-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  max-width: 1080px;
  margin: 0 auto;
}
.sim-list-grid a {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  font-size: 14.5px;
  font-weight: 600;
  transition: transform .15s, box-shadow .15s;
}
.sim-list-grid a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.sim-list-grid .chip-emoji { width: 32px; height: 32px; font-size: 18px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav { gap: 18px; }
  .nav a:not(.btn) { display: none; }
  .brand-logo { height: 52px; }
  .brand-tagline .top { font-size: 14px; }
  .brand-tagline .bot { font-size: 12px; }
  .site-header .container { min-height: 80px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .split-grid { grid-template-columns: 1fr; gap: 50px; }
  .sim-grid { grid-template-columns: 1fr; }
  .sim-result { position: static; }
  .guides-grid { gap: 14px; }
  .hero { padding: 50px 0 70px; }
  .section { padding: 60px 0; }
}
@media (max-width: 560px) {
  .brand-logo { height: 44px; }
  .brand-tagline { display: none; }
  .cat-grid { grid-template-columns: 1fr; }
  .guides-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
  .quick-chips { gap: 10px; }
  .chip { padding: 12px 16px; font-size: 14px; }
  .footer-links { flex-wrap: wrap; }
}
