/* ============================================================
   Sortoma marketing site — shared stylesheet
   Lean, fast, no external resources. System font stack.
   ============================================================ */

:root {
  /* Brand */
  --brand: #6366F1;
  --brand-600: #5457e6;
  --brand-700: #4338ca;
  --brand-50: #eef2ff;
  --brand-100: #e0e7ff;
  --violet: #8b5cf6;

  /* Bucket accents */
  --urgent: #e11d48;
  --today: #2563eb;
  --later: #64748b;
  --marketing: #d97706;
  --catchall: #9333ea;
  --alerts: #0ea5e9;

  /* Neutrals */
  --ink: #0f172a;
  --body: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-soft: #eef2f6;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-tint: #f5f6ff;
  --white: #ffffff;

  /* Shape */
  --radius: 14px;
  --radius-lg: 20px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .05);
  --shadow: 0 8px 24px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 60px rgba(49, 46, 129, .14);

  /* Layout */
  --maxw: 1120px;
  --gutter: 24px;

  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.02em;
  font-weight: 800;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.22rem; font-weight: 700; }
h4 { font-size: 1.02rem; font-weight: 700; }

p { margin: 0 0 1rem; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin: .3rem 0; }

strong { color: var(--ink); font-weight: 700; }

/* Focus visibility for accessibility */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- Layout helpers ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; margin-inline: auto; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-tint { background: var(--bg-soft); }
.section-brand-tint { background: linear-gradient(180deg, var(--brand-50), #ffffff); }
.center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: .6rem;
}
.lead { font-size: 1.16rem; color: var(--muted); }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px;
  border-radius: 0 0 8px 0; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: inherit; font-size: 1rem; font-weight: 600;
  padding: .72rem 1.3rem; border-radius: var(--radius-pill);
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
  white-space: nowrap; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(99, 102, 241, .35); }
.btn-primary:hover { background: var(--brand-600); box-shadow: 0 10px 22px rgba(99, 102, 241, .42); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: #cbd5e1; }
.btn-ghost { background: transparent; color: var(--brand-700); }
.btn-ghost:hover { background: var(--brand-50); }
.btn-lg { padding: .9rem 1.7rem; font-size: 1.06rem; }
.btn-block { width: 100%; }
.btn-white { background:#fff; color: var(--brand-700); }
.btn-outline-white { background: transparent; color:#fff; border-color: rgba(255,255,255,.6); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; gap: 1rem;
  height: 66px; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.brand:hover { text-decoration: none; }
.nav-links {
  display: flex; align-items: center; gap: .35rem; list-style: none;
  margin: 0 auto 0 1.4rem; padding: 0;
}
.nav-links a {
  color: var(--body); font-weight: 500; font-size: .96rem;
  padding: .5rem .7rem; border-radius: 8px; text-decoration: none;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-links a[aria-current="page"] { color: var(--brand-700); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.nav-signin { color: var(--ink); font-weight: 600; padding: .5rem .6rem; }

/* Mobile nav (CSS-only via checkbox) */
.nav-toggle { display: none; }
.nav-toggle-label {
  display: none; cursor: pointer; padding: 8px; margin-left: auto;
  border-radius: 8px; border: 1px solid var(--line); background: #fff;
}
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block; width: 22px; height: 2px; background: var(--ink);
  position: relative; border-radius: 2px; transition: .2s;
}
.nav-toggle-label span::before,
.nav-toggle-label span::after { content: ""; position: absolute; }
.nav-toggle-label span::before { top: -7px; }
.nav-toggle-label span::after { top: 7px; }

@media (max-width: 880px) {
  .nav-toggle-label { display: inline-flex; }
  .nav-links {
    position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    margin: 0; padding: 8px var(--gutter) 16px;
    box-shadow: var(--shadow); display: none;
  }
  .nav-links a { padding: .8rem .4rem; border-radius: 8px; }
  .nav-cta .nav-signin { display: none; }
  .nav-toggle:checked ~ .nav-links { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 80% -8%, rgba(139, 92, 246, .18), transparent 60%),
    radial-gradient(900px 480px at 0% 0%, rgba(99, 102, 241, .16), transparent 55%),
    linear-gradient(180deg, var(--brand-50), #ffffff 75%);
  padding: 84px 0 72px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero h1 { margin-bottom: .35em; }
.hero .lead { font-size: 1.24rem; color: #475569; max-width: 38ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1rem; }
.hero-note { font-size: .9rem; color: var(--muted); display: flex; align-items: center; gap: .4rem; }
.hero-note svg { color: var(--brand); flex: none; }

@media (max-width: 900px) {
  .hero { padding: 56px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero .lead { max-width: none; }
}

/* ---------- Inbox mockup (hero visual) ---------- */
.mock {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft);
}
.mock-dot { width: 11px; height: 11px; border-radius: 50%; background: #e2e8f0; }
.mock-dot.r { background: #fca5a5; } .mock-dot.y { background: #fcd34d; } .mock-dot.g { background: #86efac; }
.mock-title { margin-left: 8px; font-size: .82rem; color: var(--muted); font-weight: 600; }
.mock-body { padding: 14px; display: grid; gap: 10px; }
.mock-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start;
  padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: 12px; background: #fff;
}
.mock-row:hover { border-color: var(--brand-100); }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .82rem;
  background: var(--brand);
}
.mock-from { font-weight: 700; color: var(--ink); font-size: .92rem; }
.mock-subj { font-size: .9rem; color: var(--body); }
.mock-summary { font-size: .82rem; color: var(--muted); margin-top: 3px; }
.mock-summary b { color: var(--body); }

/* ---------- Tags / bucket chips ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .74rem; font-weight: 700; letter-spacing: .01em;
  padding: 4px 10px; border-radius: var(--radius-pill); white-space: nowrap;
}
.tag .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tag-urgent { color: var(--urgent); background: #fee2e8; }
.tag-today { color: var(--today); background: #dbeafe; }
.tag-later { color: var(--later); background: #e2e8f0; }
.tag-marketing { color: var(--marketing); background: #fef3c7; }
.tag-catchall { color: var(--catchall); background: #f3e8ff; }
.tag-alerts { color: #0369a1; background: #e0f2fe; }

/* ---------- Trust strip ---------- */
.trust { padding: 30px 0; border-bottom: 1px solid var(--line); background: #fff; }
.trust p { text-align: center; color: var(--muted); font-size: .82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; margin: 0 0 16px; }
.trust-items {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 40px;
  color: var(--body); font-weight: 600;
}
.trust-items span { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.trust-items svg { color: var(--brand); flex: none; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
  transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #dfe5ef; }
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-700); margin-bottom: 16px;
}
.card .icon svg { width: 24px; height: 24px; }

/* ---------- "How it works" steps ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px 24px; box-shadow: var(--shadow-sm); }
.step .num {
  counter-increment: step; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--violet)); margin-bottom: 14px;
}
.step .num::before { content: counter(step); }

/* ---------- Bucket showcase ---------- */
.buckets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 880px) { .buckets { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .buckets { grid-template-columns: 1fr; } }
.bucket {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 18px;
  background: #fff; box-shadow: var(--shadow-sm); border-top: 3px solid var(--bk, var(--brand));
}
.bucket h3 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; }
.bucket .swatch { width: 11px; height: 11px; border-radius: 50%; background: var(--bk); flex: none; }
.bucket p { font-size: .94rem; margin: .5rem 0 0; color: var(--muted); }

/* ---------- Feature detail rows (features page) ---------- */
.feature-block { padding: 56px 0; border-top: 1px solid var(--line-soft); }
.feature-block:first-of-type { border-top: 0; }
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feature-split.flip .feature-text { order: 2; }
@media (max-width: 880px) {
  .feature-split { grid-template-columns: 1fr; gap: 28px; }
  .feature-split.flip .feature-text { order: 0; }
}
.feature-text h2 { margin-bottom: .5rem; }
.checklist { list-style: none; padding: 0; margin: 1rem 0 0; }
.checklist li { display: flex; gap: .6rem; align-items: flex-start; margin: .55rem 0; color: var(--body); }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234338ca' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
}
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 20px;
}
.panel-soft { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }

/* Mini comment / chat bubbles */
.bubble { background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: 12px;
  padding: 10px 12px; margin: 8px 0; font-size: .9rem; }
.bubble .who { font-weight: 700; color: var(--ink); font-size: .82rem; }
.bubble .mention { color: var(--brand-700); font-weight: 600; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.plan {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
}
.plan.popular { border-color: var(--brand); box-shadow: var(--shadow-lg); position: relative; }
.plan.popular::before {
  content: "Most popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; padding: 5px 14px; border-radius: var(--radius-pill);
}
.plan h3 { font-size: 1.3rem; margin-bottom: .2rem; }
.plan .blurb { color: var(--muted); font-size: .95rem; min-height: 2.8em; margin-bottom: 1rem; }
.plan .price { display: flex; align-items: baseline; gap: 6px; margin-bottom: .2rem; }
.plan .price .amt { font-size: 2.6rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.plan .price .per { color: var(--muted); font-size: .95rem; }
.plan .annual-note { font-size: .82rem; color: var(--brand-700); font-weight: 600; min-height: 1.4em; margin-bottom: 1.2rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.plan ul li { display: flex; gap: .55rem; align-items: flex-start; padding: .42rem 0; font-size: .95rem; border-top: 1px solid var(--line-soft); }
.plan ul li:first-child { border-top: 0; }
.plan ul li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234338ca' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
.plan .btn { margin-top: auto; }

/* Billing toggle (static, informational) */
.billing-toggle {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 auto 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: 6px; box-shadow: var(--shadow-sm);
}
.billing-toggle span { padding: 6px 16px; border-radius: var(--radius-pill); font-weight: 600; font-size: .92rem; color: var(--muted); }
.billing-toggle span.on { background: var(--brand); color: #fff; }
.save-badge { display:inline-block; background: #dcfce7; color:#15803d; font-weight:700; font-size:.78rem; padding:3px 9px; border-radius: var(--radius-pill); }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.compare { width: 100%; border-collapse: collapse; min-width: 560px; background:#fff; }
table.compare th, table.compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); font-size: .95rem; }
table.compare thead th { background: var(--bg-soft); color: var(--ink); font-weight: 700; }
table.compare tbody th { font-weight: 600; color: var(--body); }
table.compare td { text-align: center; }
table.compare td:first-child, table.compare th:first-child { text-align: left; }
table.compare tr:last-child td, table.compare tr:last-child th { border-bottom: 0; }
.tick { color: #16a34a; font-weight: 800; }
.dash { color: var(--line); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  padding: 0; margin-bottom: 12px; box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 1.04rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.4rem; color: var(--brand); font-weight: 400; transition: transform .2s; line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 20px; color: var(--body); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(135deg, var(--brand), var(--violet));
  color: #fff; border-radius: var(--radius-lg); padding: 52px 40px; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 52ch; margin-inline: auto; font-size: 1.1rem; }
.cta-band .hero-cta { justify-content: center; margin-top: 1.6rem; }
.cta-band .hero-note { color: rgba(255,255,255,.85); justify-content: center; }
.cta-band .hero-note svg { color: #fff; }

/* ---------- Use-case rows ---------- */
.usecase { padding: 52px 0; border-top: 1px solid var(--line-soft); }
.usecase:first-of-type { border-top: 0; }
.pain-help { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 18px; }
@media (max-width: 720px) { .pain-help { grid-template-columns: 1fr; } }
.pain-help .box { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background:#fff; }
.pain-help .box.pain { background: #fff7f8; border-color: #fecdd3; }
.pain-help .box.help { background: var(--bg-tint); border-color: var(--brand-100); }
.pain-help .box h4 { display: flex; align-items: center; gap: 8px; margin-bottom: .6rem; }
.pain-help .box.pain h4 { color: var(--urgent); }
.pain-help .box.help h4 { color: var(--brand-700); }
.pain-help ul { margin: 0; padding-left: 1.1rem; }

/* ---------- Article / blog ---------- */
.article { max-width: 720px; margin: 0 auto; }
.article-head { text-align: center; margin-bottom: 36px; }
.article-meta { color: var(--muted); font-size: .92rem; margin-top: .5rem; }
.article-meta a { color: var(--brand-700); }
.prose { font-size: 1.08rem; color: #29303d; }
.prose h2 { margin-top: 2.2rem; font-size: 1.55rem; }
.prose h3 { margin-top: 1.6rem; font-size: 1.2rem; }
.prose p { margin: 0 0 1.1rem; }
.prose ul, .prose ol { margin: 0 0 1.2rem; padding-left: 1.4rem; }
.prose li { margin: .45rem 0; }
.prose blockquote {
  margin: 1.5rem 0; padding: 12px 20px; border-left: 4px solid var(--brand);
  background: var(--brand-50); border-radius: 0 10px 10px 0; color: var(--ink); font-style: italic;
}
.prose .callout {
  background: var(--bg-tint); border: 1px solid var(--brand-100); border-radius: var(--radius);
  padding: 18px 20px; margin: 1.5rem 0;
}
.prose .callout p:last-child { margin-bottom: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4rem 0; }

.post-list { display: grid; gap: 22px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 720px) { .post-list { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; }
.post-card .cat { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-700); }
.post-card h3 { margin: .4rem 0; font-size: 1.2rem; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--brand-700); }
.post-card .excerpt { color: var(--muted); font-size: .96rem; }
.post-card .read { margin-top: auto; font-weight: 600; color: var(--brand-700); padding-top: 12px; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: .88rem; color: var(--muted); padding: 18px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li::after { content: "/"; margin-left: 6px; color: var(--line); }
.crumbs li:last-child::after { content: ""; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand-700); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(180deg, var(--brand-50), #fff); padding: 56px 0 40px; text-align: center; }
.page-hero .lead { max-width: 60ch; margin-inline: auto; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: .94rem; }
.field input, .field textarea, .field select {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.field textarea { min-height: 130px; resize: vertical; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background:#fff; box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.contact-card h3 { margin-bottom: .3rem; font-size: 1.05rem; }
.note { font-size: .85rem; color: var(--muted); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 96px 0; }
.notfound .code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--brand), var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.04em; }

/* ---------- Values (about) ---------- */
.value h3 { display: flex; align-items: center; gap: 10px; }
.value .icon { margin-bottom: 0; width: 38px; height: 38px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
@media (max-width: 620px) { .stat-row { grid-template-columns: 1fr; } }
.stat .big { font-size: 2.4rem; font-weight: 800; color: var(--brand-700); letter-spacing: -.03em; }
.stat .label { color: var(--muted); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: #0b1020; color: #cbd5e1; padding: 56px 0 28px; margin-top: 8px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 28px; filter: brightness(0) invert(1); opacity: .96; }
.footer-brand p { color: #94a3b8; font-size: .92rem; margin-top: 12px; max-width: 32ch; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .5rem 0; }
.site-footer a { color: #cbd5e1; font-size: .94rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 20px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  color: #94a3b8; font-size: .86rem;
}
.footer-bottom a { color: #94a3b8; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.hide { display: none; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
