/* ==========================================================================
   Yuna Drafting — design system
   1. Custom properties
   2. Reset & base
   3. Layout & grid
   4. Utilities
   5. Nav
   6. Hero & quote widget
   7. Marquee
   8. Buttons
   9. Cards & sections
   11. Process steps
   12. Case studies
   13. Testimonials
   14. Service areas
   15. FAQ accordion
   16. Blog cards
   17. CTA banner
   18. Footer
   19. Forms
   20. Responsive
   ========================================================================== */

/* 1. Custom properties ---------------------------------------------------- */
:root {
  --green: #097545;
  --green-600: #0a6a40;
  --green-deep: #064a2c;
  --green-ink: #04361f;
  --lime: #7bd93c;
  --lime-soft: #b6ef7e;
  --ink: #14170f;
  --ink-soft: #3a3f33;
  --muted: #5d6353;
  --bone: #f3f0e7;
  --bone-2: #e9e4d6;
  --paper: #fbfaf5;
  --white: #ffffff;
  --line: rgba(20, 23, 15, 0.14);
  --line-soft: rgba(20, 23, 15, 0.08);
  --shadow-sm: 0 1px 2px rgba(20, 23, 15, 0.06), 0 2px 8px rgba(20, 23, 15, 0.05);
  --shadow-md: 0 12px 30px -12px rgba(20, 23, 15, 0.22);
  --shadow-lg: 0 40px 80px -30px rgba(6, 74, 44, 0.35);
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font-display: "Archivo", "Hanken Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --grid-size: 64px;
  --grid-line: rgba(20, 23, 15, 0.05);
  --grid-lines:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  --grid-lines-dark:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

/* 2. Reset & base ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--bone);
  background-image: var(--grid-lines);
  background-size: var(--grid-size) var(--grid-size);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 4.2vw, 4.06rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); }

.hl { position: relative; z-index: 0; font-style: normal; }
.hl::before {
  content: "";
  position: absolute;
  top: 0.08em; bottom: 0.09em; left: -0.05em; right: -0.05em;
  background: var(--lime);
  border-radius: 0.07em;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left center;
  animation: hlsweep 5.5s var(--ease) 1s infinite;
}
@keyframes hlsweep {
  0% { transform: scaleX(0); transform-origin: left center; }
  12%, 60% { transform: scaleX(1); transform-origin: left center; }
  72%, 100% { transform: scaleX(0); transform-origin: right center; }
}
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* 3. Layout & grid ---------------------------------------------------------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 120px) 0; }
.section.bg-light {
  background-color: var(--paper);
  background-image: var(--grid-lines);
  background-size: var(--grid-size) var(--grid-size);
  background-attachment: fixed;
}
.section.bg-deep {
  background-color: var(--green-deep);
  background-image: var(--grid-lines-dark);
  background-size: var(--grid-size) var(--grid-size);
  background-attachment: fixed;
  color: var(--white);
}
.section.bg-deep p { color: rgba(255, 255, 255, 0.78); }
.section.bg-deep h2 { color: var(--white); }
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }

/* 4. Utilities ---------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-600);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); display: inline-block; }
.section-title { max-width: 640px; }
.section-title p { font-size: 1.05rem; }
.text-center { text-align: center; margin-left: auto; margin-right: auto; }

/* 5. Nav ---------------------------------------------------------- */
.announce-bar {
  background-image: linear-gradient(90deg, var(--green-ink), var(--green) 55%, var(--green-deep));
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 9px var(--gutter);
  position: relative;
  overflow: hidden;
}
.announce-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(123, 217, 60, 0.16) 0px,
    rgba(123, 217, 60, 0.16) 12px,
    transparent 12px,
    transparent 28px
  );
}
.announce-bar .accent { color: var(--lime); font-weight: 600; }
.announce-bar a { color: var(--white); font-weight: 700; text-decoration: underline; }
.announce-bar .dismiss {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(255,255,255,0.7); font-size: 1rem; line-height: 1;
}
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 240, 231, 0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  height: var(--nav-h);
  transition: background-color 0.25s var(--ease), backdrop-filter 0.25s var(--ease), border-color 0.25s var(--ease);
}
.site-nav.scrolled {
  background: rgba(243, 240, 231, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-nav .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.brand .mark { width: 32px; height: auto; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 0.95rem; font-weight: 600; color: var(--ink-soft); position: relative; padding: 6px 0; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-link-drop { display: inline-flex; align-items: center; gap: 5px; }
.nav-link-drop svg { width: 13px; height: 13px; flex-shrink: 0; }
.lang-switch { position: relative; }
.lang-btn {
  background: none; border: 1px solid var(--line); border-radius: 20px; cursor: pointer;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600; color: var(--ink-soft);
  padding: 7px 12px;
}
.lang-btn:hover { border-color: var(--ink); color: var(--ink); }
.dropdown-panel.dropdown-right { left: auto; right: 0; transform: none; min-width: 180px; }
.dropdown-panel .active { color: var(--green-600); font-weight: 700; }
.nav-links .has-dropdown { position: relative; }
.dropdown-panel {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  padding-top: 14px; /* invisible hover bridge — keeps :hover alive across the visual gap */
  display: none;
  min-width: 320px;
}
.has-dropdown:hover .dropdown-panel, .has-dropdown:focus-within .dropdown-panel { display: block; }
.dropdown-panel-inner {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-soft); padding: 18px;
  display: grid; grid-template-columns: 1fr; gap: 4px;
}
.dropdown-panel a { padding: 9px 12px; border-radius: 8px; font-weight: 500; }
.dropdown-panel a:hover { background: var(--bone); color: var(--green-600); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-phone { font-family: var(--font-mono); font-weight: 600; font-size: 0.92rem; }
.nav-actions .nav-cta { display: none; }
@media (min-width: 992px) { .nav-actions .nav-cta { display: inline-flex; } }
.nav-links .nav-cta-mobile { display: none; }
.nav-toggle {
  display: none; background: none; border: none; padding: 6px;
  width: 44px; height: 44px; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 991px) {
  .brand { font-size: 1.1rem; }
  .nav-phone { display: none; }
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bone);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 8px var(--gutter) 24px;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 16px 2px; font-size: 1.1rem; border-bottom: 1px solid var(--line-soft); }
  .nav-links .has-dropdown { position: static; }
  .nav-links .dropdown-panel {
    position: static; transform: none; padding-top: 0; display: none; min-width: 0;
  }
  .nav-links .has-dropdown .dropdown-panel { display: block; }
  .nav-links .dropdown-panel-inner {
    background: transparent; box-shadow: none; border: none;
    padding: 0 0 0 16px; display: grid; gap: 0;
  }
  .nav-links .dropdown-panel a { padding: 12px 2px; border-bottom: 1px dashed var(--line-soft); font-size: 1rem; }
  .nav-links .nav-cta-mobile,
  .nav-links .nav-cta-mobile:hover {
    display: flex; margin-top: 18px; width: 100%; border-bottom: none;
    color: var(--white);
  }
}

/* 6. Hero & quote widget ---------------------------------------------------------- */
.hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
}
.hero .container { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.hero-badges {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--green-600);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-badges::before {
  content: "\00B7";
  flex-shrink: 0;
}
.hero h1 { letter-spacing: -0.02em; }
.hero-lede { font-size: 1.15rem; max-width: 46ch; }
.hero-stats { display: flex; gap: clamp(20px, 4vw, 44px); margin-top: 36px; flex-wrap: wrap; }
.hero-stat .num { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; color: var(--green-deep); display: block; }
.hero-stat .label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.quote-widget {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-soft); padding: 28px; position: sticky; top: calc(var(--nav-h) + 24px);
}
.quote-widget .qw-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.quote-widget h3 { margin-bottom: 18px; }
.qw-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.qw-option {
  border: 1.5px solid var(--line); border-radius: 10px; padding: 14px 10px; background: var(--paper);
  font-weight: 600; font-size: 0.9rem; text-align: center; transition: all 0.15s var(--ease);
}
.qw-option:hover, .qw-option.selected { border-color: var(--green); background: rgba(9,117,69,0.06); color: var(--green-deep); }
.qw-footnote { font-family: var(--font-mono); font-size: 0.68rem; color: var(--muted); text-align: center; letter-spacing: 0.04em; }

/* 7. Marquee ---------------------------------------------------------- */
.marquee { background: var(--ink); overflow: hidden; padding: 14px 0; }
.marquee-track { display: flex; gap: 48px; white-space: nowrap; animation: scroll-left 32s linear infinite; width: max-content; }
.marquee-track span { font-family: var(--font-mono); font-size: 1rem; letter-spacing: 0.12em; color: rgba(255,255,255,0.55); text-transform: uppercase; }
.marquee-track span.accent { color: var(--lime); }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 8. Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-size: 0.96rem; font-weight: 600; letter-spacing: normal; text-transform: none;
  padding: 14px 23px; border-radius: 100px; border: none; cursor: pointer; transition: all 0.18s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--green); color: var(--white); box-shadow: rgba(9, 117, 69, 0.6) 0px 6px 18px -6px; }
.btn-primary:hover { background: var(--green-600); }
.btn-lime { background: var(--lime); color: var(--green-ink); box-shadow: rgba(123, 217, 60, 0.6) 0px 6px 18px -6px; }
.btn-lime:hover { background: var(--lime-soft); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.btn-sm { padding: 11px 18px; font-size: 0.85rem; }

/* 9. Cards & sections ---------------------------------------------------------- */
.card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); padding: 28px; }
.service-card .num { font-family: var(--font-mono); color: var(--green-600); font-size: 0.85rem; margin-bottom: 12px; display: block; }
.service-card h3 { margin-bottom: 10px; }
.service-card a.learn-more { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-600); font-weight: 700; }
.story-badge { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: var(--white); font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; }
.trust-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.trust-chip { font-size: 0.85rem; font-weight: 600; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 8px 16px; }

/* 9b. Draft progress ---------------------------------------------------------- */
.draft-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-md);
}
.draft-stage { display: none; }
.draft-stage.active { display: block; animation: draft-fade 0.35s var(--ease); }
@keyframes draft-fade { from { opacity: 0; } to { opacity: 1; } }
.draft-stage-img { width: 100%; aspect-ratio: 4/3; display: block; object-fit: cover; object-position: center; }
.draft-stage-panel {
  min-height: clamp(240px, 32vw, 360px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px 24px; gap: 4px;
  background-image: var(--grid-lines);
  background-size: var(--grid-size) var(--grid-size);
}
.draft-stage-panel .panel-num {
  font-family: var(--font-display); font-weight: 800; line-height: 1;
  font-size: clamp(3.2rem, 7vw, 5.5rem); color: rgba(9, 117, 69, 0.16);
}
.draft-stage-panel h3 { font-size: clamp(1.35rem, 2.2vw, 1.9rem); margin: 0; }
.draft-caption {
  position: relative;
  padding: 18px 24px;
  background: var(--ink);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.draft-caption h3 { color: var(--white); margin: 4px 0; font-size: 1.25rem; }
.draft-caption .counter { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; color: var(--lime); }
.draft-progress-bar-track { height: 4px; background: rgba(255,255,255,0.15); }
.draft-progress-bar-fill { height: 100%; width: 0%; background: var(--lime); transition: width 0.4s var(--ease); }
.draft-tabs { display: flex; flex-wrap: wrap; background: var(--ink); }
.draft-tab {
  flex: 1 1 auto; min-width: 110px;
  padding: 14px 8px; text-align: center; font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255,255,255,0.55);
  background: none; border: none; border-right: 1px solid rgba(255,255,255,0.12); cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.draft-tab:last-child { border-right: none; }
.draft-tab.active { color: var(--lime); font-weight: 700; }
.draft-tab .dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.3); flex-shrink: 0; }
.draft-tab.active .dot { background: var(--lime); }

/* 11. Process steps ---------------------------------------------------------- */
.step-card { position: relative; padding-top: 8px; }
.step-card .step-num { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; color: rgba(9,117,69,0.22); display: block; margin-bottom: 8px; }

/* 12. Case studies ---------------------------------------------------------- */
.cs-card { border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); }
.cs-card .cs-img { aspect-ratio: 4/3; background: var(--bone-2); }
.cs-card .cs-body { padding: 20px 22px; }
.cs-tags { display: flex; gap: 8px; margin-bottom: 10px; }
.cs-tag { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; background: var(--bone); padding: 4px 9px; border-radius: 4px; color: var(--muted); }

/* 13. Testimonials ---------------------------------------------------------- */
.testimonial-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line-soft); padding: 26px; box-shadow: var(--shadow-sm); }
.testimonial-card .stars { color: var(--lime); font-size: 0.95rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card .who { font-weight: 700; margin-top: 14px; }
.testimonial-card .meta { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }

/* 14. Service areas ---------------------------------------------------------- */
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.area-chip { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 9px 18px; font-weight: 600; font-size: 0.88rem; }
.area-chip:hover { border-color: var(--green); color: var(--green-deep); }

/* 15. FAQ accordion ---------------------------------------------------------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink);
}
.faq-q .icon { font-family: var(--font-mono); flex-shrink: 0; color: var(--green-600); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s var(--ease); }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding-bottom: 20px; }

/* 16. Blog cards ---------------------------------------------------------- */
.blog-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line-soft); overflow: hidden; box-shadow: var(--shadow-sm); }
.blog-card .bc-img { aspect-ratio: 16/9; background: var(--bone-2); overflow: hidden; }
.blog-card .bc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card .bc-body { padding: 22px; }
.blog-card .bc-eyebrow { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-600); margin-bottom: 8px; display: block; }

/* 17. CTA banner ---------------------------------------------------------- */
.cta-banner { background: var(--green-deep); color: var(--white); border-radius: var(--radius); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.cta-banner h2, .cta-banner p { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.75); }
.final-cta { text-align: center; }
.final-cta .phone-link { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--lime); display: block; margin: 18px 0; }

/* 18. Footer ---------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.75); padding: 64px 0 28px; }
.site-footer h4 { color: var(--white); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--font-mono); margin-bottom: 18px; }
.site-footer a { color: rgba(255,255,255,0.65); }
.site-footer a:hover { color: var(--lime); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; font-size: 0.8rem; flex-wrap: wrap; gap: 12px; }

/* 19. Forms ---------------------------------------------------------- */
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px; font-family: var(--font-body);
  font-size: 0.95rem; background: var(--paper);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--green); }
.form-status.ok { color: var(--lime); font-weight: 600; }
.form-status.error { color: #e05d5d; font-weight: 600; }

/* 20. Blog post content ---------------------------------------------------------- */
.post-content { font-size: 1.05rem; line-height: 1.75; color: var(--ink-soft); }
.post-content h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--ink); margin: 2.5rem 0 1rem; }
.post-content h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--ink); margin: 1.75rem 0 0.75rem; }
.post-content p { margin: 0 0 1.25rem; }
.post-content ul, .post-content ol { margin: 0 0 1.25rem; padding-left: 1.4em; }
.post-content li { margin-bottom: 0.5em; }
.post-content a { color: var(--green-600); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 2px; }
.post-content a:hover { color: var(--green-deep); }
.post-content strong { color: var(--ink); font-weight: 700; }
.post-content figure { margin: 2rem 0; }
.post-content figure img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.post-content figcaption { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); margin-top: 8px; text-align: center; }

.post-toc { background: var(--bone); border-left: 4px solid var(--green); border-radius: 4px; padding: 20px 24px; margin: 2rem 0 2.5rem; }
.post-toc-label { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 0.75rem; color: var(--ink); }
.post-toc-list { margin: 0; padding-left: 1.2em; }
.post-toc-list a { color: var(--ink-soft); text-decoration: none; }
.post-toc-list a:hover { color: var(--green-600); text-decoration: underline; }

.post-content blockquote { border-left: 4px solid var(--lime); background: var(--paper); padding: 14px 22px; margin: 1.75rem 0; font-style: italic; color: var(--ink-soft); border-radius: 0 8px 8px 0; }
.post-content blockquote strong { color: var(--green-deep); font-style: normal; }

.post-content .table-responsive { overflow-x: auto; margin: 1.75rem 0; }
.post-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.post-table th, .post-table td { padding: 10px 14px; border: 1px solid var(--line); text-align: left; }
.post-table th { background: var(--bone); font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.post-table tr:nth-child(even) td { background: var(--paper); }

.faq-list { margin-top: 8px; }

.video-frame { position: relative; width: 100%; padding-top: 56.25%; margin: 2rem 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 21. Responsive ---------------------------------------------------------- */
@media (max-width: 991px) {
  .hero .container { grid-template-columns: 1fr; }
  .quote-widget { position: static; }
  .split { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .qw-options { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
