/* ===================================================================
   ImageToolsFree — Premium Design System
   Warm, approachable, trustworthy. Forest green + warm neutrals.
   Display: Newsreader (editorial serif) · UI/body: DM Sans
   =================================================================== */

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

:root {
  /* Warm neutral surfaces */
  --bg:        #f5f2ea;   /* page background — warm cream */
  --surface:   #fffdf8;   /* warm white cards */
  --surface-2: #ffffff;   /* pure white for inputs/elevated */
  --sand:      #efe9db;   /* alt section band */
  --sand-2:    #e9e2d1;

  /* Ink */
  --ink:    #1c1b16;
  --body:   #45413a;
  --muted:  #6f6b60;
  --faint:  #9a948700;

  /* Lines */
  --line:      #e6e1d3;
  --line-soft: #efebe0;
  --line-strong:#d8d2c2;

  /* Forest green brand */
  --green-50:  #eef5ef;
  --green-100: #d8ebe0;
  --green-200: #b3d8c5;
  --green:     #16704b;   /* primary */
  --green-600: #135f40;
  --green-700: #0e4c33;
  --green-800: #0a3a27;
  --green-ink: #0d3a28;

  /* Warm clay — used sparingly as a highlight only */
  --clay:    #c06a3a;
  --clay-50: #f6ece3;

  /* Radii */
  --r-xl: 22px;
  --r-lg: 16px;
  --r:    12px;
  --r-sm: 9px;
  --pill: 999px;

  /* Soft, warm-tinted shadows */
  --sh-sm: 0 1px 2px rgba(40,34,22,.05), 0 1px 1px rgba(40,34,22,.04);
  --sh:    0 2px 6px rgba(40,34,22,.05), 0 8px 22px rgba(40,34,22,.06);
  --sh-md: 0 4px 14px rgba(40,34,22,.06), 0 18px 40px rgba(40,34,22,.08);
  --sh-lg: 0 10px 30px rgba(14,76,51,.10), 0 30px 70px rgba(40,34,22,.10);
  --sh-green: 0 8px 22px rgba(22,112,75,.18);

  --ring: 0 0 0 4px rgba(22,112,75,.16);

  --wrap: 1120px;

  /* Legacy aliases — keep older inline-styled content on the new palette */
  --accent: var(--green);
  --accent-light: var(--green-50);
  --accent-dark: var(--green-700);
  --border: var(--line);
  --text: var(--ink);
  --radius: var(--r-lg);
  --radius-sm: var(--r-sm);
  --danger: #c0392b;
}

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--body);
  min-height: 100vh;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* faint paper grain on the page */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .5;
  background-image: radial-gradient(circle at 50% 50%, rgba(22,112,75,.025) 0, transparent 60%);
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.01em; }

.serif {
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: -.012em;
}
.serif-i { font-style: italic; font-family: 'Newsreader', Georgia, serif; }

a { color: inherit; }
::selection { background: var(--green-100); color: var(--green-800); }

/* ---------- shared layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: clamp(1.1rem, 4vw, 2rem); position: relative; z-index: 1; }
.eyebrow {
  font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green); display: inline-flex; align-items: center; gap: .5rem;
}
.eyebrow::before { content: ''; width: 18px; height: 1.5px; background: var(--green); border-radius: 2px; }

/* ===================================================================
   ICONS
   =================================================================== */
.ic { width: 1.25em; height: 1.25em; display: inline-block; vertical-align: -.18em; flex: none; }
svg.ic { stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ===================================================================
   NAVBAR
   =================================================================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  max-width: var(--wrap); margin: 0 auto; height: 66px;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .62rem; text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: linear-gradient(150deg, var(--green) 0%, var(--green-700) 100%);
  display: grid; place-items: center; color: #fff;
  box-shadow: var(--sh-sm), inset 0 1px 0 rgba(255,255,255,.18);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-name {
  font-size: 1.12rem; font-weight: 700; letter-spacing: -.025em; color: var(--ink);
}
.brand-name b { color: var(--green); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: .15rem; list-style: none; }
.nav-links a {
  text-decoration: none; font-size: .9rem; font-weight: 500; color: var(--muted); white-space: nowrap;
  padding: .5rem .72rem; border-radius: var(--r-sm); transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--green-50); color: var(--green-700); }
.nav-links a.active { background: var(--green-50); color: var(--green-700); font-weight: 600; }
.nav-cta {
  text-decoration: none; font-size: .88rem; font-weight: 600; color: #fff !important;
  background: var(--green); padding: .55rem 1.05rem !important; border-radius: var(--pill);
  box-shadow: var(--sh-green); transition: background .15s, transform .12s;
}
.nav-cta:hover { background: var(--green-700) !important; transform: translateY(-1px); }
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--surface);
  border-radius: var(--r-sm); cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: .1rem;
    position: absolute; top: 66px; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: .6rem clamp(1.1rem,4vw,2rem) 1rem; box-shadow: var(--sh-md);
  }
  .nav.open .nav-links a { padding: .7rem .8rem; }
}

/* ===================================================================
   BUTTONS
   =================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .72rem 1.4rem; border-radius: var(--pill); border: 1px solid transparent;
  font-family: inherit; font-size: .94rem; font-weight: 600; cursor: pointer;
  text-decoration: none; transition: background .15s, color .15s, transform .12s, box-shadow .15s, border-color .15s;
  white-space: nowrap;
}
.btn:active { transform: scale(.975); }
.btn .ic { width: 1.15em; height: 1.15em; }
.btn-primary { background: var(--green); color: #fff; box-shadow: var(--sh-green); }
.btn-primary:hover { background: var(--green-700); transform: translateY(-1px); box-shadow: var(--sh-md); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); box-shadow: var(--sh-sm); }
.btn-secondary:hover { background: var(--surface-2); border-color: var(--green-200); color: var(--green-700); }
.btn-ghost { background: transparent; color: var(--green-700); }
.btn-ghost:hover { background: var(--green-50); }
.btn-lg { padding: .92rem 1.8rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ===================================================================
   HERO (home)
   =================================================================== */
.hero { position: relative; overflow: hidden; padding: clamp(3.2rem, 8vw, 6rem) 0 clamp(2.4rem, 5vw, 3.6rem); }
.hero-rings {
  position: absolute; top: 50%; left: 50%; width: min(1100px, 150vw); aspect-ratio: 1;
  transform: translate(-50%, -54%); pointer-events: none; z-index: 0; opacity: .55;
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 68%);
  mask-image: radial-gradient(circle, #000 0%, transparent 68%);
}
.hero-rings circle { fill: none; stroke: var(--green-200); stroke-width: .6; opacity: .5; }
.hero-in { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; text-align: center; }
.hero h1 {
  font-family: 'Newsreader', Georgia, serif; font-weight: 500;
  font-size: clamp(2.6rem, 6.4vw, 4.7rem); line-height: 1.02; letter-spacing: -.022em;
  margin: 1.4rem 0 0;
}
.hero h1 em { font-style: italic; color: var(--green); }
.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--muted); line-height: 1.6;
  max-width: 560px; margin: 1.4rem auto 0;
}
.trust-row {
  display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; margin-top: 2rem;
}
.chip {
  display: inline-flex; align-items: center; gap: .42rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--pill);
  padding: .46rem .95rem; font-size: .85rem; font-weight: 500; color: var(--body);
  box-shadow: var(--sh-sm);
}
.chip .ic { width: 16px; height: 16px; color: var(--green); }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--green-50); border: 1px solid var(--green-100); color: var(--green-700);
  padding: .4rem 1rem; border-radius: var(--pill); font-size: .82rem; font-weight: 600; letter-spacing: .01em;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-100); }

/* ===================================================================
   SECTIONS
   =================================================================== */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-sand { background: var(--sand); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-surface { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin: 0 auto clamp(2rem,4vw,3rem); text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.section-head h2 {
  font-family: 'Newsreader', Georgia, serif; font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: -.02em; margin-top: .7rem;
}
.section-head h2 em { font-style: italic; color: var(--green); }
.section-head p { color: var(--muted); font-size: 1.05rem; margin-top: .8rem; }

/* ---------- tool cards grid ---------- */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 1.15rem; }
.tool-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.6rem 1.5rem 1.4rem; text-decoration: none;
  display: flex; flex-direction: column; gap: .7rem; overflow: hidden;
  box-shadow: var(--sh-sm); transition: transform .2s cubic-bezier(.2,.7,.3,1), box-shadow .2s, border-color .2s;
}
.tool-card:hover { transform: translateY(-5px); border-color: var(--green-200); box-shadow: var(--sh-md); }
.tool-ic {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green-50); color: var(--green); border: 1px solid var(--green-100);
  transition: background .2s, color .2s;
}
.tool-ic svg { width: 25px; height: 25px; }
.tool-card:hover .tool-ic { background: var(--green); color: #fff; border-color: var(--green); }
.tool-card h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; }
.tool-card p { font-size: .92rem; color: var(--muted); line-height: 1.6; flex: 1; }
.tool-go {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 600; color: var(--green);
  margin-top: .25rem;
}
.tool-go svg { width: 16px; height: 16px; transition: transform .18s; }
.tool-card:hover .tool-go svg { transform: translateX(4px); }
.tool-card .tag {
  position: absolute; top: 1.15rem; right: 1.15rem; font-size: .66rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--clay);
  background: var(--clay-50); padding: .2rem .5rem; border-radius: var(--pill);
}

/* ---------- feature list ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.4rem 1.8rem; }
.feat { display: flex; gap: 1rem; align-items: flex-start; }
.feat-ic {
  width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--green); box-shadow: var(--sh-sm);
}
.feat-ic svg { width: 22px; height: 22px; }
.feat h4 { font-size: 1.02rem; font-weight: 700; margin-bottom: .25rem; }
.feat p { font-size: .92rem; color: var(--muted); line-height: 1.6; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; counter-reset: step; }
@media (max-width: 720px){ .steps { grid-template-columns: 1fr; } }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.6rem 1.5rem; box-shadow: var(--sh-sm);
}
.step-num {
  font-family: 'Newsreader', serif; font-size: 1.5rem; font-weight: 600; color: var(--green);
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green-50); border: 1px solid var(--green-100); margin-bottom: 1rem;
}
.step h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: .35rem; }
.step p { font-size: .92rem; color: var(--muted); line-height: 1.6; }

/* ---------- stat band ---------- */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 720px){ .stat-band { grid-template-columns: repeat(2,1fr); } }
.stat { text-align: center; padding: 1rem; }
.stat strong {
  display: block; font-family: 'Newsreader', serif; font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.8rem); color: var(--green); line-height: 1;
}
.stat span { font-size: .85rem; color: var(--muted); font-weight: 500; margin-top: .4rem; display: block; }

/* ===================================================================
   PROSE (content / blog / legal)
   =================================================================== */
.prose { max-width: 760px; color: var(--body); }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-family: 'Newsreader', serif; font-weight: 600; font-size: 1.7rem; margin-top: 2.4rem; }
.prose h3 { font-size: 1.2rem; font-weight: 700; margin-top: 1.8rem; }
.prose p { line-height: 1.8; color: var(--body); }
.prose a { color: var(--green-700); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--green); }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { line-height: 1.8; margin-top: .4rem; }
.prose strong { color: var(--ink); }
.prose blockquote {
  border-left: 3px solid var(--green-200); padding: .3rem 0 .3rem 1.2rem; color: var(--muted);
  font-family: 'Newsreader', serif; font-style: italic; font-size: 1.15rem;
}

/* ===================================================================
   FAQ / details
   =================================================================== */
.faq { display: flex; flex-direction: column; gap: .6rem; }
details {
  border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
details[open] { border-color: var(--green-200); box-shadow: var(--sh-sm); }
summary {
  list-style: none; cursor: pointer; padding: 1rem 1.2rem; font-weight: 600; font-size: .98rem; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
summary::-webkit-details-marker { display: none; }
summary .pm {
  flex: none; width: 22px; height: 22px; position: relative; color: var(--green);
}
summary .pm::before, summary .pm::after {
  content: ''; position: absolute; background: currentColor; border-radius: 2px;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
summary .pm::before { width: 12px; height: 2px; }
summary .pm::after { width: 2px; height: 12px; transition: transform .2s; }
details[open] summary .pm::after { transform: translate(-50%,-50%) scaleY(0); }
details > p, details > div { padding: 0 1.2rem 1.1rem; font-size: .94rem; color: var(--muted); line-height: 1.75; }

/* ===================================================================
   ADS
   =================================================================== */
.ad-wrap {
  position: relative; max-width: var(--wrap); margin: 1.4rem auto 0; padding-inline: clamp(1.1rem,4vw,2rem);
}
.ad-slot {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  min-height: 96px; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.ad-slot::after {
  content: 'Advertisement'; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--faint); position: absolute; top: .35rem; left: 50%; transform: translateX(-50%);
  opacity: 0;  /* label drawn via .ad-label instead */
}
.ad-label { text-align: center; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); opacity: .7; margin: 0 auto .4rem; max-width: var(--wrap); padding-inline: clamp(1.1rem,4vw,2rem); }
.ad-sidebar { min-height: 250px; }

/* ===================================================================
   FOOTER
   =================================================================== */
.footer { background: var(--green-ink); color: #d7e7df; margin-top: 4rem; }
.footer a { color: #b9d4c8; text-decoration: none; transition: color .15s; }
.footer a:hover { color: #fff; }
.footer-top {
  max-width: var(--wrap); margin: 0 auto; padding: clamp(2.6rem,5vw,3.6rem) clamp(1.1rem,4vw,2rem) 2.4rem;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem;
}
@media (max-width: 820px){ .footer-top { grid-template-columns: 1fr 1fr; gap: 1.8rem; } }
@media (max-width: 480px){ .footer-top { grid-template-columns: 1fr; } }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name b { color: #7fd3ad; }
.footer-tag { color: #9fc2b3; font-size: .92rem; line-height: 1.7; margin-top: .9rem; max-width: 30ch; }
.footer-col h5 {
  color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col a { font-size: .92rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
}
.footer-bottom-in {
  max-width: var(--wrap); margin: 0 auto; padding: 1.4rem clamp(1.1rem,4vw,2rem);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-size: .82rem; color: #9fc2b3;
}
.footer-badges { display: flex; gap: .5rem; flex-wrap: wrap; }
.footer-badges span {
  display: inline-flex; align-items: center; gap: .35rem; font-size: .76rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #cfe6db;
  padding: .3rem .7rem; border-radius: var(--pill);
}
.footer-badges svg { width: 14px; height: 14px; }

/* ===================================================================
   CONTENT PAGES (about, contact, legal, blog)
   =================================================================== */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--line); padding: clamp(2.6rem,6vw,4.4rem) 0 clamp(2rem,4vw,3rem); position: relative; overflow: hidden; }
.page-hero::after {
  content: ''; position: absolute; top: -40%; right: -10%; width: 480px; height: 480px;
  background: radial-gradient(circle, var(--green-50) 0%, transparent 68%); pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .eyebrow { margin-bottom: .9rem; }
.page-hero h1 { font-family: 'Newsreader', serif; font-weight: 500; font-size: clamp(2.2rem,5vw,3.4rem); letter-spacing: -.02em; line-height: 1.05; }
.page-hero h1 em, .page-hero h1 span { font-style: italic; color: var(--green); }
.page-hero p { color: var(--muted); font-size: 1.1rem; margin-top: .95rem; max-width: 60ch; line-height: 1.6; }
.content-wrap { max-width: 820px; margin: 0 auto; padding: clamp(2.2rem,5vw,3.6rem) clamp(1.1rem,4vw,2rem); position: relative; z-index: 1; }

/* forms */
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .45rem; color: var(--ink); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
  font-family: inherit; font-size: 1rem; color: var(--ink); background: var(--surface-2); transition: border-color .15s, box-shadow .15s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--green); box-shadow: var(--ring); }
.form-group textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.form-group select { cursor: pointer; }

.info-grid { margin-top: 1.4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px){ .info-grid { grid-template-columns: 1fr; } }
.info-card { background: var(--sand); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .35rem; }
.info-card span { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.info-card p, .info-card a { font-size: .95rem; color: var(--ink); text-decoration: none; font-weight: 600; }
.success-msg {
  display: none; background: var(--green-50); border: 1px solid var(--green-100); border-radius: var(--r);
  padding: 1rem 1.25rem; margin-top: 1rem; color: var(--green-700); font-weight: 600; text-align: center;
}

/* blog list */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.4rem; }
.post-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  text-decoration: none; display: flex; flex-direction: column; box-shadow: var(--sh-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--green-200); }
.post-thumb { aspect-ratio: 16 / 9; display: grid; place-items: center; color: #fff; position: relative; overflow: hidden; }
.post-thumb svg { width: 56px; height: 56px; opacity: .92; }
.post-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.post-tag { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.post-card h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.post-card p { font-size: .92rem; color: var(--muted); line-height: 1.6; flex: 1; }
.post-meta { font-size: .8rem; color: var(--faint); display: flex; align-items: center; gap: .5rem; margin-top: .3rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; margin-top: 1.1rem; color: var(--muted); font-size: .9rem; }
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); }


#toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(140%);
  background: var(--ink); color: #fff; padding: .8rem 1.5rem; border-radius: var(--pill);
  font-size: .9rem; font-weight: 500; z-index: 999; pointer-events: none; box-shadow: var(--sh-lg);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
#toast.show { transform: translateX(-50%) translateY(0); }

/* ===================================================================
   ANIMATIONS
   =================================================================== */
@keyframes rise { from { transform: translateY(18px); } to { transform: none; } }
/* Base state is always visible (capture / print / reduced-motion safe).
   Animation only adds a gentle slide — opacity is never touched. */
.rise { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .7s cubic-bezier(.2,.7,.3,1); }
}
