/* ── Variables ── */
:root {
  /* Brand palette — sourced from logo + theme.json + live global styles */
  --color-bg:           #ffffff;
  --color-surface:      #f8fafc;   /* theme-1 */
  --color-green:        #22c55e;   /* logo arrow + "Rank" / primary CTA */
  --color-green-light:  #4ade80;   /* logo gradient end */
  --color-green-hover:  #16a34a;
  --color-cyan:         #06b6d4;   /* logo "AI" / accent + links + labels */
  --color-cyan-light:   #0ea5e9;   /* logo "AI" gradient start */
  --color-navy:         #1b3a6b;   /* logo "Fix My" text + icon arc start */
  --color-navy-dark:    #0d1f4e;   /* logo icon base */
  --color-text:         #0d1426;   /* theme-5 — headings */
  --color-text-dark:    #2d2d2d;   /* body text */
  --color-text-ui:      #111827;   /* names, labels */
  --color-muted:        #64748b;   /* theme-3 — slate */
  --color-border:       #e5e7eb;

  /* Typography */
  --font-heading: "Space Grotesk", sans-serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-size-sm:   clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.179), 16px);
  --font-size-md:   clamp(20px, 1.25rem  + ((1vw - 3.2px) * 0.357), 24px);
  --font-size-lg:   clamp(23px, 1.44rem  + ((1vw - 3.2px) * 1.335), 38px);
  --font-size-xl:   clamp(33px, 2.089rem + ((1vw - 3.2px) * 2.373), 60px);
  --font-size-xxl:  clamp(40px, 2.5rem   + ((1vw - 3.2px) * 3.571), 80px);

  /* Layout */
  --max-width:        1440px;
  --content-width:    620px;
  --radius:           8px;
  --radius-pill:      9999px;
}

/* ── Inter font ── */
@font-face {
  font-family: "Inter";
  font-style:  normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("https://fixmyairank.com/wp-content/themes/assembler/assets/fonts/inter/InterVariable.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style:  italic;
  font-weight: 100 800;
  font-display: swap;
  src: url("https://fixmyairank.com/wp-content/themes/assembler/assets/fonts/inter/InterVariable-Italic.woff2") format("woff2");
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--color-text-dark);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--color-cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
p { max-width: 900px; }

h1, h2 { font-family: var(--font-heading); }
h1 { line-height: 1.1; letter-spacing: -0.02em; }
h2 { line-height: 1.2; letter-spacing: -0.015em; }
h3 { line-height: 1.3; }

/* ── Layout ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.container--narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}
.container--content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Header ── */
.site-header {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  background: #0a1628;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  display: flex;
  align-items: center;
}
.site-logo img {
  height: 38px;
  width: auto;
}
.site-logo:hover { text-decoration: none; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.site-nav a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  transition: color 0.15s ease;
}
.site-nav a:hover { text-decoration: none; color: #fff; }
.site-nav a.active { color: #fff; }
.btn-nav {
  background: var(--color-green);
  color: #fff !important;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.btn-nav:hover { background: var(--color-green-hover); text-decoration: none !important; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: calc(0.667em + 2px) calc(1.333em + 2px);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: background 0.15s, color 0.15s;
  text-align: center;
}
.btn-primary {
  background: var(--color-green);
  color: #fff;
}
.btn-primary:hover { background: var(--color-green-hover); color: #fff; text-decoration: none; }
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-text);
}
.btn-outline:hover { background: var(--color-text); color: #fff; text-decoration: none; }
.btn-cyan {
  background: var(--color-cyan);
  color: #fff;
}
.btn-cyan:hover { background: #0891b2; color: #fff; text-decoration: none; }
.btn-outline-light {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.6); text-decoration: none; }

/* ── Hero ── */
.hero {
  padding: 0;
  background: linear-gradient(160deg, #060e1a 0%, #0d1f4e 55%, #1a3a6b 100%);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background-image:
    linear-gradient(rgba(255,255,255,0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.09) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.9) 100%);
  mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.9) 100%);
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
.hero-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.5rem;
  padding: 5rem 0 4rem;
}
.hero-copy { text-align: center; max-width: 900px; }
.hero h1 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}
.hero-sub {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-cyan-light);
  margin-bottom: 1rem;
}
.hero-body {
  font-size: 0.975rem;
  color: rgba(255,255,255,0.68);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}
.hero-trust {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.03em;
}
.hero-form-label {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}
.hero-form-wrap { width: 100%; max-width: 900px; }
.hero-form-wrap .form-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: none;
  margin: 0;
  grid-template-columns: 1fr 1fr 1fr;
}
.hero-form-wrap .form-card--two-col { grid-template-columns: 1fr 1fr; }
.hero-form-wrap .form-card-title { color: #ffffff; }
.hero-form-wrap .form-group label { color: rgba(255,255,255,0.75); text-align: left; }
.hero-form-wrap .form-group input,
.hero-form-wrap .form-group select {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: #ffffff;
}
.hero-form-wrap .form-group input::placeholder { color: rgba(255,255,255,0.35); }
.hero-form-wrap .form-group input:focus,
.hero-form-wrap .form-group select:focus {
  border-color: var(--color-cyan);
  background: rgba(255,255,255,0.15);
}
.hero-form-wrap .form-group select option { color: #0f172a; }
.hero-form-wrap .form-check label,
.hero-form-wrap .form-disclaimer { color: rgba(255,255,255,0.5); }
.hero-form-wrap .form-check a { color: rgba(255,255,255,0.7); }
.hero-form-wrap .form-section-label { color: var(--color-cyan-light); }
.form-group--full { grid-column: 1 / -1; }
.form-section-label {
  grid-column: 1 / -1;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-cyan);
  margin: 0.75rem 0 -0.25rem;
}
.form-section-label:first-of-type { margin-top: 0; }
.form-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  grid-column: 1 / -1;
  margin-bottom: 0.25rem;
}
.hero-wave {
  line-height: 0;
  margin-top: -1px;
}
.hero-wave svg { display: block; width: 100%; height: 72px; }

/* ── Testimonials ── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.testimonial-quote::before {
  content: '\201C';
  display: block;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--color-cyan);
  margin-bottom: -0.75rem;
  font-family: Georgia, serif;
}
.testimonial-quote p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-dark);
  font-style: italic;
}
.testimonial-name { margin-top: auto; }
.testimonial-name strong { display: block; font-size: 0.9rem; font-weight: 700; color: var(--color-text); }
.testimonial-name em { display: block; font-size: 0.825rem; font-style: normal; color: var(--color-muted); margin-top: 0.15rem; }

/* ── Feature grid (6-up) ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.feature-item {
  border-left: 3px solid var(--color-cyan);
  padding-left: 1.25rem;
}
.feature-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}
.feature-item p { font-size: 0.9rem; color: var(--color-muted); line-height: 1.65; }

/* ── Card step number ── */
.card-step {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-cyan);
  margin-bottom: 0.6rem;
}

/* ── Form extras ── */
.form-section-header { text-align: center; margin-bottom: 2rem; }
.form-section-header .section-lead { margin: 0 auto; }
.req { color: var(--color-green); }
.opt { color: rgba(255,255,255,0.4); font-weight: 400; font-size: 0.8em; }
.value-prop-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 1.5rem 0; text-align: left; }
.value-prop { display: flex; flex-direction: column; gap: 0.15rem; padding-left: 1rem; border-left: 2px solid var(--color-cyan); }
.value-prop strong { color: #ffffff; font-size: 0.95rem; }
.value-prop p { color: rgba(255,255,255,0.65); font-size: 0.875rem; margin: 0; }
@media (max-width: 700px) { .value-prop-list { grid-template-columns: 1fr; } }
.form-subgrid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .form-subgrid-2 { grid-template-columns: 1fr; } }
.form-disclaimer {
  font-size: 0.78rem;
  color: var(--color-muted);
  margin-top: 1rem;
  line-height: 1.5;
}

/* ── Section ── */
.section { padding: 5rem 0; }
.section--alt {
  background: var(--color-surface);
}
.section--tint {
  background: #eef9ff;
}
.section--dark {
  background: linear-gradient(160deg, #060e1a 0%, #0d2744 100%);
}
.section--dark .section-label { color: var(--color-cyan-light); }
.section--dark .section-title { color: #ffffff; }
.section--dark .section-lead  { color: rgba(255,255,255,0.65); }
.section--dark .card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}
.section--dark .card h3 { color: #ffffff; }
.section--dark .card p   { color: rgba(255,255,255,0.65); }
.section--dark .card-step { color: var(--color-cyan-light); }
.section--dark .step .step-title { color: #ffffff; }
.section--dark .step p { color: rgba(255,255,255,0.65); }
.section--cta {
  background: linear-gradient(135deg, #060e1a 0%, #0a1628 45%, #0d2744 100%);
  text-align: center;
}
.cta-wave { line-height: 0; margin-top: 3rem; }
.cta-wave svg { display: block; width: 100%; height: 72px; }
.section--cta .section-title { color: #ffffff; }
.section--cta .section-lead  { color: rgba(255,255,255,0.68); margin-left: auto; margin-right: auto; }
.section-label {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--color-cyan);
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: var(--font-size-md);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1rem;
}
.section-lead {
  font-size: 1rem;
  color: var(--color-muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}
.card p { color: var(--color-muted); font-size: 0.95rem; line-height: 1.6; }

.insight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.insight-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.15s, transform 0.15s;
}
.insight-card:hover { border-color: var(--color-cyan); transform: translateY(-2px); }
.insight-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(6,182,212,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.insight-icon svg { width: 20px; height: 20px; color: var(--color-cyan); }
.insight-card h3 { font-size: 1rem; font-weight: 700; color: var(--color-text); margin-bottom: 0.5rem; }
.insight-card p { color: var(--color-muted); font-size: 0.875rem; line-height: 1.65; }
@media (max-width: 900px) { .insight-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .insight-grid { grid-template-columns: 1fr; } }

.report-picker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  width: 100%;
  max-width: 1000px;
}
.report-picker-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: left;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.report-picker-card:hover {
  border-color: var(--color-cyan);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}
.report-picker-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(6,182,212,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.report-picker-icon svg { width: 19px; height: 19px; color: var(--color-cyan-light); }
.report-picker-card h3 { font-size: 0.95rem; font-weight: 700; color: #ffffff; }
.report-picker-card p { font-size: 0.8rem; color: rgba(255,255,255,0.6); line-height: 1.5; }
.report-picker-cta { font-size: 0.8rem; font-weight: 600; color: var(--color-cyan-light); margin-top: auto; }
.report-picker-note { font-size: 0.8rem; color: rgba(255,255,255,0.4); margin-top: 1.25rem; }
@media (max-width: 900px) { .report-picker-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .report-picker-grid { grid-template-columns: 1fr; } }

/* ── Forms ── */
.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-card .form-check,
.form-card .form-submit,
.form-card .form-message,
.form-card .form-disclaimer { grid-column: 1 / -1; }
.form-group { margin-bottom: 0; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-ui);
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-cyan);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-check { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted); }
.form-check input { width: auto; margin-top: 3px; }
.two-col-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 768px) { .two-col-feature { grid-template-columns: 1fr; gap: 2rem; } }
.form-submit { width: 100%; margin-top: 1.25rem; padding: 0.8rem; font-size: 1rem; }
.form-message { margin-top: 1rem; padding: 0.75rem 1rem; border-radius: var(--radius); font-size: 0.9rem; display: none; }
.form-message.success { background: #dcfce7; color: #166534; display: block; }
.form-message.error   { background: #fee2e2; color: #991b1b; display: block; }

/* ── Blog listing ── */
.post-list { list-style: none; display: flex; flex-direction: column; gap: 2.5rem; }
.post-list-item { border-bottom: 1px solid var(--color-border); padding-bottom: 2.5rem; }
.post-list-item:last-child { border-bottom: none; }
.post-list-date { font-size: 0.825rem; color: var(--color-muted); margin-bottom: 0.4rem; }
.post-list-title { font-size: 1.25rem; font-weight: 700; color: var(--color-text); margin-bottom: 0.5rem; }
.post-list-title a { color: inherit; }
.post-list-title a:hover { color: var(--color-cyan); text-decoration: none; }
.post-list-excerpt { color: var(--color-muted); font-size: 0.95rem; line-height: 1.65; }

/* ── Post ── */
.post { padding: 3rem 0 5rem; }
.post-header { margin-bottom: 2.5rem; }
.post-date { font-size: 0.825rem; color: var(--color-muted); margin-bottom: 0.5rem; }
.post-header h1 {
  font-size: var(--font-size-lg);
  font-weight: 800;
  color: var(--color-text);
}
.post-lead { font-size: 1.1rem; color: var(--color-muted); margin-top: 0.75rem; line-height: 1.65; }
.post-content h2 { font-size: 1.4rem; font-weight: 700; color: var(--color-text); margin: 2.5rem 0 0.75rem; }
.post-content h3 { font-size: 1.1rem; font-weight: 700; color: var(--color-text); margin: 1.75rem 0 0.5rem; }
.post-content p { margin-bottom: 1.1rem; }
.post-content ul, .post-content ol { margin: 0.5rem 0 1.25rem 1.5rem; }
.post-content li { margin-bottom: 0.4rem; }
.post-content blockquote {
  border-left: 4px solid var(--color-cyan);
  padding: 0.5rem 1.25rem;
  margin: 2rem 0;
  color: var(--color-muted);
  font-style: italic;
}
.post-content blockquote::before {
  content: '\201C';
  display: block;
  font-size: 3rem;
  line-height: 1;
  color: var(--color-cyan);
  margin-bottom: -1rem;
  font-family: Georgia, serif;
}
.post-content code {
  background: var(--color-surface);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.875em;
  color: var(--color-text);
}
.post-content pre { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.25rem; margin: 1.5rem 0; overflow-x: auto; }
.post-content pre code { background: none; padding: 0; font-size: 0.875em; }

/* ── Page hero ── */
.page-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(160deg, #060e1a 0%, #0d1f4e 55%, #1a3a6b 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background-image:
    linear-gradient(rgba(255,255,255,0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.09) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.9) 100%);
  mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.9) 100%);
  pointer-events: none;
  z-index: 0;
}
.page-hero > .container,
.page-hero > .container--post,
.page-hero > .container--narrow { position: relative; z-index: 1; }
.page-hero h1 { font-size: var(--font-size-lg); font-weight: 800; color: #ffffff; }
.page-lead { font-size: 1.1rem; color: rgba(255,255,255,0.68); margin-top: 0.5rem; line-height: 1.6; }
.page-hero .post-date { font-size: 0.825rem; color: rgba(255,255,255,0.45); margin-bottom: 0.5rem; }
.page-content { padding: 3rem 0 5rem; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-col-title { font-size: 1.3rem; font-weight: 700; color: var(--color-text); margin-bottom: 1rem; }
.contact-col p { color: var(--color-muted); line-height: 1.7; }

/* ── Glossary ── */
.glossary-section-heading { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-cyan); margin: 3rem 0 1rem; }
.glossary-list { display: flex; flex-direction: column; gap: 0; margin: 0; }
.glossary-item { padding: 1.5rem 0; border-bottom: 1px solid var(--color-border); }
.glossary-item:first-child { border-top: 1px solid var(--color-border); }
.glossary-item dt { font-size: 1rem; font-weight: 700; color: var(--color-text); margin-bottom: 0.5rem; display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; }
.glossary-item dd { margin: 0; color: var(--color-muted); line-height: 1.75; font-size: 0.95rem; }
.glossary-badge { display: inline-block; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-green); border: 1px solid var(--color-green); border-radius: 3px; padding: 0.15em 0.5em; white-space: nowrap; flex-shrink: 0; }
.gloss-connect-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 2rem; }
.gloss-connect-item { padding: 1.25rem 0 1.25rem 1.25rem; border-left: 3px solid var(--color-cyan); border-bottom: 1px solid var(--color-border); margin-bottom: 1.5rem; }
.gloss-connect-heading { font-size: 1rem; font-weight: 700; color: var(--color-text); margin-bottom: 0.4rem; }
.gloss-connect-item p { margin: 0; color: var(--color-muted); line-height: 1.7; font-size: 0.95rem; }

/* ── Prose (page layout content) ── */
.prose { max-width: 900px; }
.prose h2 { font-size: 1.4rem; font-weight: 700; color: var(--color-text); margin: 2.5rem 0 0.75rem; }
.prose h3 { font-size: 1.1rem; font-weight: 700; color: var(--color-text); margin: 1.75rem 0 0.5rem; }
.prose p  { margin-bottom: 1.1rem; line-height: 1.7; }
.prose ul, .prose ol { margin: 0.5rem 0 1.25rem 1.5rem; }
.prose li { margin-bottom: 0.4rem; line-height: 1.6; }
.prose a  { color: var(--color-cyan); }

/* ── FAQ accordion ── */
.faq-list { list-style: none; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.1rem 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text);
}
.faq-question::after { content: "+"; font-size: 1.25rem; color: var(--color-muted); }
.faq-item.open .faq-question::after { content: "−"; color: var(--color-cyan); }
.faq-answer { display: none; padding-bottom: 1.1rem; color: var(--color-muted); line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

/* ── Steps ── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.step { display: flex; flex-direction: column; gap: 0.5rem; }
.step-num { font-size: 2rem; font-weight: 800; color: var(--color-cyan); line-height: 1; font-family: var(--font-heading); }
.step-title { font-size: 1rem; font-weight: 700; color: var(--color-text); }
.step p { font-size: 0.9rem; color: var(--color-muted); line-height: 1.7; }
@media (max-width: 768px) { .steps-grid { grid-template-columns: 1fr; } }

/* ── Service cards ── */
.service-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; }
.service-card-title { font-size: 1.1rem; font-weight: 700; color: var(--color-text); margin: 0.4rem 0 0.75rem; }
.service-card-lead { font-size: 0.9rem; font-weight: 500; color: var(--color-text); line-height: 1.6; margin-bottom: 1rem; border-bottom: 1px solid var(--color-border); padding-bottom: 1rem; }
.service-card p:not(.service-card-lead):not(.section-label) { font-size: 0.875rem; color: var(--color-muted); line-height: 1.75; }
.service-card-cta { margin-top: auto; padding-top: 1.5rem; }
.btn-sm { font-size: 0.875rem; padding: 0.5rem 1.25rem; }
@media (max-width: 900px) { .service-card-grid { grid-template-columns: 1fr; } }

/* ── Report comparison cards ── */
.compare-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; align-items: stretch; }
.compare-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.compare-card--featured { border-color: var(--color-cyan); box-shadow: 0 0 0 1px var(--color-cyan); }
.compare-card-flag {
  position: absolute;
  top: -0.7rem;
  left: 1.75rem;
  background: var(--color-cyan);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2em 0.7em;
  border-radius: 999px;
}
.compare-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(6,182,212,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.compare-card-icon svg { width: 19px; height: 19px; color: var(--color-cyan); }
.compare-card h3 { font-size: 1rem; font-weight: 700; color: var(--color-text); margin-bottom: 0.5rem; }
.compare-card-lead { font-size: 0.85rem; color: var(--color-muted); line-height: 1.55; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--color-border); }
.compare-card .check-list { flex: 1; margin-bottom: 1.5rem; }
.compare-card .check-list li { font-size: 0.825rem; }
.compare-card .btn { width: 100%; text-align: center; margin-top: auto; }
@media (max-width: 900px) { .compare-card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .compare-card-grid { grid-template-columns: 1fr; } }

/* ── About page ── */
.about-shift { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.5rem; align-items: stretch; margin-top: 2.5rem; }
.about-shift-divider { font-size: 2rem; color: var(--color-cyan); font-weight: 300; display: flex; align-items: center; }
.about-shift-heading { font-size: 1rem; font-weight: 700; color: var(--color-text); margin: 0.4rem 0 0.6rem; }
.about-shift-col p { font-size: 0.9rem; color: var(--color-muted); line-height: 1.7; }
.about-shift-box {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.about-shift-box .about-shift-heading { color: #fff; }
.about-shift-box p { color: rgba(255,255,255,0.6); }
.mission-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; }
.mission-pillar h4 { font-size: 0.95rem; font-weight: 700; color: var(--color-text); margin-bottom: 0.5rem; }
.mission-pillar p { font-size: 0.875rem; color: var(--color-muted); line-height: 1.7; }
.founder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 2rem; }
.founder-card { display: flex; flex-direction: column; gap: 0.85rem; }
.founder-card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.founder-photo { width: 64px !important; height: 64px !important; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.founder-name { font-size: 1.2rem; font-weight: 700; color: var(--color-text); }
.founder-title { font-size: 0.8rem; color: var(--color-cyan); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.founder-card p:not(.founder-title) { font-size: 0.9rem; color: var(--color-muted); line-height: 1.8; }
@media (max-width: 768px) {
  .about-shift { grid-template-columns: 1fr; }
  .about-shift-divider { display: none; }
  .mission-pillars { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; }
}

/* ── TangySlice callout ── */
.tangy-callout { display: grid; grid-template-columns: 1fr auto; gap: 4rem; align-items: start; }
.tangy-callout-heading { font-size: var(--font-size-md); font-weight: 800; color: var(--color-text); margin-bottom: 1rem; }
.tangy-callout-copy p { color: var(--color-muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 0.85rem; }
.tangy-service-list { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.25rem; }
.tangy-service-list li { font-size: 0.9rem; color: var(--color-muted); padding-left: 1.25rem; position: relative; }
.tangy-service-list li::before { content: "→"; position: absolute; left: 0; color: var(--color-cyan); font-weight: 600; }
.tangy-callout-badge { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--color-text); border-radius: var(--radius); padding: 2rem 2.5rem; min-width: 200px; }
.tangy-logo-wrap { background: #ffffff; border-radius: calc(var(--radius) - 2px); padding: 1.25rem 1.5rem; display: flex; align-items: center; justify-content: center; }
.tangy-wordmark { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 800; color: #fff; line-height: 1.2; letter-spacing: -0.02em; }
.tangy-badge-sub { font-size: 0.75rem; color: rgba(255,255,255,0.45); margin-top: 0.75rem; }
@media (max-width: 768px) { .tangy-callout { grid-template-columns: 1fr; } .tangy-callout-badge { display: none; } }

/* ── Status pages ── */
.status-icon { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }
.status-icon svg { width: 26px; height: 26px; }
.status-icon--success { background: rgba(34,197,94,0.12); color: var(--color-green); }
.status-icon--error { background: rgba(239,68,68,0.1); color: #ef4444; }
.status-icon--warning { background: rgba(234,179,8,0.1); color: #ca8a04; }
.workflow-steps { list-style: none; margin: 0; padding: 0; text-align: left; display: flex; flex-direction: column; gap: 1rem; }
.workflow-step { display: flex; gap: 1rem; align-items: flex-start; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1rem 1.25rem; }
.workflow-step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--color-cyan); color: #fff; font-size: 0.8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 0.1rem; }
.workflow-step-body { flex: 1; }
.workflow-step-body strong { display: block; font-size: 0.95rem; color: var(--color-text); margin-bottom: 0.25rem; }
.workflow-step-body p { margin: 0; font-size: 0.875rem; color: var(--color-muted); line-height: 1.6; }

/* ── Report index (hero nav) ── */
.report-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 2rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  overflow: hidden;
}
.report-index-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.25rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background 0.15s;
}
.report-index-item:last-child { border-right: none; }
.report-index-item:hover { background: rgba(255,255,255,0.06); text-decoration: none; color: #fff; }
.report-index-icon { width: 22px; height: 22px; color: var(--color-cyan); margin-bottom: 0.35rem; flex-shrink: 0; }
.report-index-name { font-size: 1rem; font-weight: 700; color: #fff; line-height: 1.2; }
.report-index-desc { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 0.1rem; }

/* ── Reports page ── */
.report-lead { font-size: 1.1rem; color: var(--color-muted); line-height: 1.7; margin-bottom: 1.5rem; max-width: 52ch; }
.report-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.report-divider { border: none; border-top: 1px solid var(--color-border); margin: 2rem 0; }
.report-details p { color: var(--color-muted); font-size: 0.95rem; line-height: 1.7; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.75rem; }
.check-list li { font-size: 0.9rem; color: var(--color-muted); padding-left: 1.5rem; position: relative; line-height: 1.6; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--color-green); font-weight: 700; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin-top: 1.5rem; }
.compare-table th { text-align: left; padding: 0.75rem 1rem; color: var(--color-text); font-weight: 700; font-size: 0.875rem; border-bottom: 2px solid var(--color-border); }
.compare-table th:not(:first-child) { text-align: center; }
.compare-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--color-border); color: var(--color-muted); font-size: 0.875rem; }
.compare-table td:not(:first-child) { text-align: center; }
.compare-table td.check { color: var(--color-green); font-weight: 700; font-size: 1.1rem; }

/* ── Pagination ── */
.pagination { display: flex; gap: 0.5rem; margin-top: 3rem; }
.pagination a, .pagination span {
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--color-text);
}
.pagination .current { background: var(--color-cyan); color: #fff; border-color: var(--color-cyan); }

/* ── Footer ── */
.site-footer {
  border-top: none;
  padding: 3.5rem 0 2.5rem;
  background: #060e1a;
}
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; align-items: start; }
.footer-logo img { height: 39px; width: auto; margin-bottom: 0.6rem; }
.footer-tagline { color: rgba(255,255,255,0.45); font-size: 0.875rem; margin-top: 0; }
.social-links { display: flex; gap: 0.75rem; margin-top: 1rem; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.55); transition: background 0.15s, color 0.15s; }
.social-links a:hover { background: rgba(255,255,255,0.16); color: #fff; text-decoration: none; }
.social-links svg { width: 16px; height: 16px; }
.footer-nav { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-nav-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.3); margin-bottom: 0.35rem; }
.footer-nav a { font-size: 0.875rem; color: rgba(255,255,255,0.5); }
.footer-nav a:hover { color: #fff; text-decoration: none; }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.3); border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; margin-top: 0.5rem; }

/* ── Testimonial quotes ── */
.testimonial-quote::before {
  content: '\201C';
  display: block;
  font-size: 4rem;
  line-height: 1;
  color: var(--color-cyan);
  margin-bottom: -1.5rem;
  font-family: Georgia, serif;
}
.testimonial-name strong { display: block; font-weight: 700; color: var(--color-text-ui); }
.testimonial-name em { display: block; font-size: 0.875rem; font-style: italic; color: var(--color-muted); }

/* ── Blog post ── */
.page-hero--post { padding: 3rem 0 2.5rem; }

.post-breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: rgba(255,255,255,0.4); margin-bottom: 1.25rem; }
.post-breadcrumb a { color: rgba(255,255,255,0.55); }
.post-breadcrumb a:hover { color: #fff; text-decoration: none; }

.post-category-badge { display: inline-block; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-cyan); border: 1px solid rgba(6,182,212,0.4); border-radius: 3px; padding: 0.15em 0.5em; }

.post-meta { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.5rem; font-size: 0.825rem; color: rgba(255,255,255,0.5); }
.post-meta-author { display: flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.75); font-weight: 500; }
.post-meta-avatar { width: 28px; height: 28px; border-radius: 50%; background: rgba(6,182,212,0.2); color: var(--color-cyan); font-size: 0.7rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.post-meta-sep { color: rgba(255,255,255,0.2); }
.post-tag { display: inline-block; font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.2em 0.5em; border-radius: 3px; background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.45); }

.post-takeaways-wrap { background: #f0fdf4; border-top: 3px solid var(--color-green); padding: 1.75rem 0; }
.post-takeaways-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #15803d; margin-bottom: 0.75rem; }
.post-takeaways ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; margin: 0; padding: 0; }
.post-takeaways li { display: flex; gap: 0.6rem; font-size: 0.95rem; color: var(--color-text-dark); line-height: 1.5; max-width: none; }
.post-takeaways li::before { content: "✓"; color: var(--color-green); font-weight: 700; flex-shrink: 0; }

.post-body-wrap { padding: 3rem 0 2rem; }
.post-layout { display: grid; grid-template-columns: 1fr 240px; gap: 3rem; align-items: start; max-width: 1080px; margin: 0 auto; padding: 0 2rem; }
.post-layout > article { min-width: 0; }
.container--post { max-width: 1080px; margin: 0 auto; padding: 0 2rem; }

.post-sidebar { position: sticky; top: 5rem; display: flex; flex-direction: column; gap: 1.5rem; }

.post-toc-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-muted); margin-bottom: 0.75rem; }
.post-toc-list { list-style: none; }
.post-toc-item { display: block; font-size: 0.825rem; color: var(--color-muted); padding: 0.35rem 0 0.35rem 0.75rem; border-left: 2px solid var(--color-border); line-height: 1.4; transition: color 0.15s, border-color 0.15s; }
.post-toc-item:hover { color: var(--color-text); text-decoration: none; border-left-color: var(--color-border); }
.post-toc-item.active { color: var(--color-cyan); border-left-color: var(--color-cyan); font-weight: 500; }

.post-share-buttons { display: flex; gap: 0.5rem; }
.post-share-btn { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--color-surface); border: 1px solid var(--color-border); color: var(--color-muted); cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s; text-decoration: none; }
.post-share-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.post-share-btn:hover { background: var(--color-text); color: #fff; border-color: var(--color-text); text-decoration: none; }
.post-share-btn.copied { background: var(--color-green); color: #fff; border-color: var(--color-green); }

.post-section-heading { font-size: 1.2rem; font-weight: 700; color: var(--color-text); margin-bottom: 1.25rem; }

.post-faq-wrap { padding: 2.5rem 0; border-top: 1px solid var(--color-border); }

.post-author-wrap { padding: 2.5rem 0; border-top: 1px solid var(--color-border); }
.post-author { display: flex; gap: 1.25rem; align-items: flex-start; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.5rem; }
.post-author-avatar { width: 52px; height: 52px; border-radius: 50%; background: rgba(6,182,212,0.12); color: var(--color-cyan); font-size: 1rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.post-author-photo { width: 52px !important; height: 52px !important; min-width: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; display: block; }
.post-author-body { flex: 1; }
.post-author-name { display: block; font-size: 0.95rem; font-weight: 700; color: var(--color-text); margin-bottom: 0.15rem; }
.post-author-title { display: block; font-size: 0.75rem; color: var(--color-cyan); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem; }
.post-author-body p { font-size: 0.875rem; color: var(--color-muted); line-height: 1.7; margin-bottom: 0.75rem; }
.post-author-links { display: flex; gap: 0.75rem; }
.post-author-links a { font-size: 0.8rem; font-weight: 600; color: var(--color-cyan); }

.post-related-wrap { padding: 2.5rem 0; border-top: 1px solid var(--color-border); }
.post-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.post-related-card { display: flex; flex-direction: column; align-items: flex-start; gap: 0.4rem; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.25rem; color: inherit; text-decoration: none; transition: border-color 0.15s; }
.post-related-card:hover { border-color: var(--color-cyan); text-decoration: none; color: inherit; }
.post-related-card h3 { font-size: 0.9rem; font-weight: 700; color: var(--color-text); line-height: 1.4; }
.post-related-card p { font-size: 0.8rem; color: var(--color-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: none; }
.post-related-meta { font-size: 0.75rem; color: var(--color-muted); margin-top: auto; }

@media (max-width: 860px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .post-toc { display: none; }
}

/* ── Blog index ── */
.blog-post-count { font-size: 0.8rem; color: rgba(255,255,255,0.35); margin-top: 0.75rem; letter-spacing: 0.05em; }

.blog-index-wrap { padding: 3rem 0 5rem; }

.blog-filter { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.blog-filter-btn { background: none; border: 1px solid var(--color-border); border-radius: var(--radius-pill); padding: 0.35rem 0.9rem; font-size: 0.8rem; font-weight: 600; color: var(--color-muted); cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s; font-family: var(--font-sans); }
.blog-filter-btn:hover { border-color: var(--color-cyan); color: var(--color-cyan); }
.blog-filter-btn.active { background: var(--color-cyan); border-color: var(--color-cyan); color: #fff; }

.blog-featured { display: grid; grid-template-columns: 1fr auto; align-items: start; background: #eef9ff; border: 1px solid rgba(6,182,212,0.3); border-radius: var(--radius); padding: 2rem 2.5rem; margin-bottom: 2rem; text-decoration: none; color: inherit; transition: border-color 0.15s; position: relative; overflow: hidden; }
.blog-featured:hover { border-color: var(--color-cyan); text-decoration: none; color: inherit; }
.blog-featured-flag { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-cyan); border: 1px solid rgba(6,182,212,0.3); border-radius: 3px; padding: 0.2em 0.6em; white-space: nowrap; margin-top: 0.2rem; height: fit-content; }
.blog-featured-meta { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.blog-featured-title { font-size: 1.5rem; font-weight: 700; color: var(--color-text); line-height: 1.3; margin-bottom: 0.75rem; font-family: var(--font-heading); }
.blog-featured-excerpt { font-size: 0.95rem; color: var(--color-muted); line-height: 1.65; margin-bottom: 1.25rem; max-width: 65ch; }
.blog-author-row { display: flex; align-items: center; gap: 0.5rem; }
.blog-author-avatar { width: 26px; height: 26px; border-radius: 50%; background: rgba(6,182,212,0.15); color: var(--color-cyan); font-size: 0.65rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.blog-author-avatar--photo { object-fit: cover; }
.blog-author-avatar--sm { width: 22px; height: 22px; font-size: 0.6rem; }
.blog-author-name { font-size: 0.825rem; font-weight: 500; color: var(--color-text-dark); }
.blog-meta-item { font-size: 0.8rem; color: var(--color-muted); }
.blog-meta-sep { color: var(--color-border); font-size: 0.8rem; }
.blog-read-link { font-size: 0.825rem; font-weight: 600; color: var(--color-cyan); margin-left: auto; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.blog-card { display: flex; flex-direction: column; justify-content: space-between; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: border-color 0.15s; }
.blog-card:hover { border-color: var(--color-cyan); text-decoration: none; color: inherit; }
.blog-card-top { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; margin-bottom: 1.25rem; padding: 1.5rem 1.5rem 0; }
.blog-card-title { font-size: 1rem; font-weight: 700; color: var(--color-text); line-height: 1.4; font-family: var(--font-heading); }
.blog-card-excerpt { font-size: 0.85rem; color: var(--color-muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; max-width: none; }
.blog-card-footer { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; padding: 1rem 1.5rem; border-top: 1px solid var(--color-border); margin-top: auto; }

.blog-pagination { display: flex; align-items: center; justify-content: center; gap: 0.4rem; margin-top: 3rem; }
.blog-page-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 0.5rem; border: 1px solid var(--color-border); border-radius: var(--radius); font-size: 0.875rem; color: var(--color-text); text-decoration: none; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.blog-page-btn:hover { border-color: var(--color-cyan); color: var(--color-cyan); text-decoration: none; }
.blog-page-btn--current { background: var(--color-cyan); border-color: var(--color-cyan); color: #fff; font-weight: 600; }
.blog-page-btn--arrow { font-size: 1rem; }
.blog-page-btn--disabled { color: var(--color-border); pointer-events: none; }

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-flag { display: none; }
}

/* ── Tables ── */
.post-content table,
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1.75rem 0;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.post-content table thead,
.prose table thead {
  background: var(--color-navy);
}
.post-content table th,
.prose table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
  border-bottom: 2px solid rgba(255,255,255,0.1);
}
.post-content table td,
.prose table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-dark);
  vertical-align: top;
  line-height: 1.6;
}
.post-content table tbody tr:last-child td,
.prose table tbody tr:last-child td {
  border-bottom: none;
}
.post-content table tbody tr:nth-child(even),
.prose table tbody tr:nth-child(even) {
  background: var(--color-surface);
}
.post-content table tbody tr:hover,
.prose table tbody tr:hover {
  background: #eef9ff;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-layout { padding: 3.5rem 0 3rem; }
  .hero-form-wrap .form-card { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .form-card { grid-template-columns: 1fr; }
  .hero-form-wrap .form-card { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-nav a:not(.btn-nav) { display: none; }
  .section { padding: 3.5rem 0; }
}
