/* =========================================================================
   Trimzio Theme front-end stylesheet (light).
   The website is light; the editor app itself stays dark, so the hero
   mockup scopes the dark tokens locally to keep depicting the real app.
   ====================================================================== */

:root {
  color-scheme: light;

  --bg: #f6f8fb;
  --panel: #ffffff;
  --panel-2: #eef2f7;
  --elev: #e4eaf3;
  --border: rgba(15, 23, 42, .09);
  --border-strong: rgba(15, 23, 42, .16);
  --text: #0f172a;
  --text-dim: #55657a;

  --accent: #2f6bff;
  --accent-2: #f59e0b;
  --green: #0ea371;
  --danger: #dc2626;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;

  --shadow-1: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-2: 0 10px 30px -10px rgba(15, 23, 42, .16);
  --shadow-3: 0 24px 70px -20px rgba(15, 23, 42, .25);
  --ring: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent);

  --ease: cubic-bezier(.4, 0, .2, 1);

  --header-h: 64px;
  --container: 1120px;
}

::selection { background: color-mix(in srgb, var(--accent) 22%, transparent); }

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

html {
  scroll-behavior: smooth;
  /* --wp-admin--admin-bar--height only exists when the admin bar renders */
  scroll-padding-top: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 0px) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.01em;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.trz-skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 200;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: top .15s var(--ease);
}
.trz-skip-link:focus { top: 12px; text-decoration: none; }

/* ---------- layout ---------- */

.trz-container {
  width: min(var(--container), 100% - 40px);
  margin-inline: auto;
}

.trz-container-narrow { --container: 760px; }

.trz-main { min-height: 60vh; }

.trz-section { padding: 88px 0; }
.trz-section-alt {
  background: linear-gradient(180deg, #eef2f8, var(--bg));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trz-kicker {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}

.trz-section-title { font-size: clamp(26px, 4vw, 38px); }
.trz-section-sub {
  margin: 0 0 36px;
  max-width: 640px;
  color: var(--text-dim);
  font-size: 17px;
}

.trz-accent-text {
  background: linear-gradient(90deg, var(--accent), #7c5cf0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */

.trz-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--panel);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease);
}
.trz-btn:hover {
  background: var(--panel-2);
  text-decoration: none;
  transform: translateY(-1px);
}
.trz-btn:focus-visible { outline: none; box-shadow: var(--ring); }

.trz-btn-accent {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 20px -8px color-mix(in srgb, var(--accent) 70%, transparent);
}
.trz-btn-accent:hover {
  background: color-mix(in srgb, var(--accent) 88%, #000);
  color: #fff;
  box-shadow: 0 10px 26px -8px color-mix(in srgb, var(--accent) 70%, transparent);
}

.trz-btn-big { padding: 14px 28px; font-size: 16px; }

.trz-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.trz-cta-center { justify-content: center; }

/* ---------- header ---------- */

.trz-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: color-mix(in srgb, #ffffff 78%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.trz-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-1);
}

/* Logged-in users: WP pins #wpadminbar to the viewport top, so the sticky
   header must stick below it. Core exposes the bar height as a CSS var
   (32px desktop, 46px <= 782px). */
body.admin-bar .trz-header {
  top: var(--wp-admin--admin-bar--height, 32px);
}

.trz-header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.trz-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.01em;
}
.trz-brand:hover { text-decoration: none; }
.trz-brand-mark { font-size: 22px; line-height: 1; }
.trz-brand img.custom-logo { max-height: 34px; width: auto; }

.trz-nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }

.trz-nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.trz-nav-list a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--text-dim);
  font-size: 15px;
  font-weight: 500;
}
.trz-nav-list a:hover {
  color: var(--text);
  background: var(--panel-2);
  text-decoration: none;
}

.trz-nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.trz-nav-toggle-bar {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s var(--ease);
}
.trz-nav-toggle[aria-expanded="true"] .trz-nav-toggle-bar:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.trz-nav-toggle[aria-expanded="true"] .trz-nav-toggle-bar:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */

.trz-hero {
  position: relative;
  padding: 96px 0 72px;
  text-align: center;
  overflow: hidden;
}
.trz-hero-small { padding-bottom: 24px; }

.trz-hero-glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 130%;
  background:
    radial-gradient(46% 60% at 50% 8%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%),
    radial-gradient(30% 42% at 78% 20%, color-mix(in srgb, #7c5cf0 7%, transparent), transparent 70%);
  pointer-events: none;
}

.trz-hero > .trz-container { position: relative; }

.trz-hero-title {
  font-size: clamp(32px, 6vw, 56px);
  letter-spacing: -.02em;
  margin-bottom: 18px;
}

.trz-hero-sub {
  max-width: 660px;
  margin: 0 auto;
  color: var(--text-dim);
  font-size: clamp(16px, 2.2vw, 19px);
}

.trz-hero .trz-cta-row { justify-content: center; }

.trz-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  color: var(--text-dim);
  font-size: 14px;
}
.trz-trust-row li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  margin-right: 7px;
}

/* ---------- hero editor mock (stays dark: it depicts the app) ---------- */

.trz-mock {
  /* Scoped dark tokens so the mock keeps the app's real look. */
  --panel: #141a23;
  --panel-2: #1b222d;
  --elev: #242e3c;
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .15);
  --text: #e9eef4;
  --text-dim: #8a97a8;
  --mock-accent: #4f8cff;

  max-width: 820px;
  margin: 60px auto 0;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3);
  overflow: hidden;
  text-align: left;
}

.trz-mock-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  background: var(--panel-2);
  border-bottom: 1px solid var(--border);
}
.trz-mock-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--elev);
}
.trz-mock-title {
  margin-left: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
}

.trz-mock-stage {
  height: clamp(180px, 32vw, 300px);
  display: grid;
  place-items: center;
  background: radial-gradient(120% 120% at 50% 0%, #0a0f16 0%, #05070a 70%);
}
.trz-mock-play {
  width: 64px; height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--mock-accent) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--mock-accent) 45%, transparent);
  color: #fff;
  font-size: 22px;
  padding-left: 4px;
}

.trz-mock-timeline {
  position: relative;
  height: 34px;
  margin: 10px 14px 0;
  background: rgba(30, 37, 45, .55);
  border-radius: 7px;
}
.trz-mock-timeline-audio { height: 22px; margin-bottom: 14px; opacity: .8; }

.trz-mock-clip {
  position: absolute;
  top: 4px; bottom: 4px;
  left: var(--x);
  width: var(--w);
  border-radius: 5px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--mock-accent) 75%, #fff 6%), color-mix(in srgb, var(--mock-accent) 60%, #000 12%));
  border: 1px solid color-mix(in srgb, var(--mock-accent) 80%, #fff 10%);
}
.trz-mock-clip-b {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-2) 75%, #fff 6%), color-mix(in srgb, var(--accent-2) 60%, #000 12%));
  border-color: color-mix(in srgb, var(--accent-2) 80%, #fff 10%);
}
.trz-mock-clip-audio {
  background: linear-gradient(180deg, #1d7a56, #135640);
  border-color: rgba(52, 211, 153, .6);
}

.trz-mock-playhead {
  position: absolute;
  top: -6px; bottom: -6px;
  left: 47%;
  width: 2px;
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, .75);
  border-radius: 2px;
}

/* ---------- cards & grids ---------- */

.trz-grid { display: grid; gap: 18px; }
.trz-grid-2 { grid-template-columns: repeat(2, 1fr); }
.trz-grid-3 { grid-template-columns: repeat(3, 1fr); }
.trz-grid-4 { grid-template-columns: repeat(4, 1fr); }

.trz-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-1);
  transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.trz-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
  box-shadow: var(--shadow-2);
}
.trz-card h3 { font-size: 17px; margin: 0 0 8px; }
.trz-card p { margin: 0; color: var(--text-dim); font-size: 14.5px; }

.trz-card-icon {
  font-size: 26px;
  line-height: 1;
  margin-bottom: 14px;
}

.trz-step { text-align: left; }
.trz-step-num {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  color: var(--accent);
  font-weight: 700;
}

/* ---------- feature detail sections ---------- */

.trz-feature-group { margin-top: 46px; }
.trz-feature-group:first-of-type { margin-top: 0; }
.trz-feature-group h3 {
  font-size: 21px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.trz-feature-group .trz-group-icon { font-size: 24px; }

.trz-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}
.trz-feature-list li {
  position: relative;
  padding: 14px 16px 14px 40px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  font-size: 14.5px;
}
.trz-feature-list li strong { color: var(--text); display: block; margin-bottom: 2px; }
.trz-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 15px; top: 13px;
  color: var(--green);
  font-weight: 700;
}

/* ---------- pricing ---------- */

.trz-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  gap: 22px;
  justify-content: center;
  align-items: stretch;
}

.trz-price-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-1);
}
.trz-price-card-featured {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  box-shadow: var(--shadow-2);
  position: relative;
}

.trz-price-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.trz-price-name { font-size: 20px; margin: 0 0 4px; }
.trz-price-desc { color: var(--text-dim); font-size: 14.5px; margin: 0 0 18px; }
.trz-price-amount { font-size: 42px; font-weight: 800; letter-spacing: -.02em; }
.trz-price-amount small { font-size: 15px; font-weight: 500; color: var(--text-dim); }

.trz-price-features {
  list-style: none;
  margin: 22px 0 26px;
  padding: 0;
  display: grid;
  gap: 10px;
  flex: 1;
}
.trz-price-features li { color: var(--text-dim); font-size: 14.5px; }
.trz-price-features li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  margin-right: 9px;
}
.trz-price-features li.trz-soon::before { content: "◦"; color: var(--text-dim); }

.trz-price-card .trz-btn { justify-content: center; }

/* ---------- FAQ ---------- */

.trz-faq-list { display: grid; gap: 12px; max-width: 760px; margin: 0 auto; }

.trz-faq {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.trz-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  font-weight: 600;
  font-size: 15.5px;
}
.trz-faq summary::-webkit-details-marker { display: none; }
.trz-faq summary::after {
  content: "+";
  flex: none;
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--panel-2);
  color: var(--text-dim);
  font-size: 17px;
  transition: transform .2s var(--ease);
}
.trz-faq[open] summary::after { transform: rotate(45deg); }
.trz-faq[open] summary { border-bottom: 1px solid var(--border); }
.trz-faq-body { padding: 15px 20px 19px; color: var(--text-dim); font-size: 14.5px; }
.trz-faq-body p { margin: 0 0 .7em; }
.trz-faq-body p:last-child { margin-bottom: 0; }

/* ---------- contact ---------- */

.trz-contact-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 34px;
  align-items: start;
}

.trz-form {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-1);
}

.trz-form-row { margin-bottom: 18px; }
.trz-form-row label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 7px;
}
.trz-form-row input[type="text"],
.trz-form-row input[type="email"],
.trz-form-row select,
.trz-form-row textarea {
  width: 100%;
  padding: 11px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.trz-form-row textarea { min-height: 150px; resize: vertical; }
.trz-form-row input:focus,
.trz-form-row select:focus,
.trz-form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--ring);
}

.trz-form-honeypot {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.trz-notice {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  margin-bottom: 22px;
  border: 1px solid;
}
.trz-notice-success {
  background: color-mix(in srgb, var(--green) 10%, #fff);
  border-color: color-mix(in srgb, var(--green) 40%, transparent);
  color: #095c40;
}
.trz-notice-error {
  background: color-mix(in srgb, var(--danger) 8%, #fff);
  border-color: color-mix(in srgb, var(--danger) 35%, transparent);
  color: #8f1d1d;
}

.trz-contact-aside .trz-card { margin-bottom: 16px; }

/* ---------- donate ---------- */

.trz-donate-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 34px;
  align-items: start;
}
.trz-donate-aside .trz-card { margin-bottom: 16px; }

.trz-donate-fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 20px;
}
.trz-donate-fieldset legend {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 9px;
  padding: 0;
}

.trz-amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.trz-amount-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.trz-amount-pill span {
  display: block;
  text-align: center;
  padding: 11px 6px;
  font-weight: 600;
  font-size: 15px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .15s var(--ease), background .15s var(--ease), box-shadow .15s var(--ease);
}
.trz-amount-pill input:checked + span {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 9%, #fff);
  box-shadow: var(--ring);
}
.trz-amount-pill input:focus-visible + span { box-shadow: var(--ring); }

.trz-amount-custom { margin-bottom: 0; }
.trz-amount-custom input[type="number"] {
  width: 100%;
  padding: 11px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.trz-amount-custom input[type="number"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--ring);
}

.trz-gw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.trz-gw-option { position: relative; }
.trz-gw-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.trz-gw-box {
  display: flex;
  flex-direction: column;
  gap: 3px;
  height: 100%;
  padding: 13px 14px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .15s var(--ease), background .15s var(--ease), box-shadow .15s var(--ease);
}
.trz-gw-option input:checked + .trz-gw-box {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 9%, #fff);
  box-shadow: var(--ring);
}
.trz-gw-option input:focus-visible + .trz-gw-box { box-shadow: var(--ring); }
.trz-gw-icon { font-size: 20px; }
.trz-gw-label { font-weight: 600; font-size: 14.5px; }
.trz-gw-note { font-size: 12.5px; color: var(--text-dim); }

.trz-donate-smallprint {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--text-dim);
}

/* ---------- privacy band ---------- */

.trz-privacy-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 7%, #fff), var(--panel));
  border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--border));
  border-radius: var(--radius-lg);
  padding: 44px 46px;
  box-shadow: var(--shadow-2);
}
.trz-privacy-band p { color: var(--text-dim); max-width: 620px; }
.trz-privacy-icon { font-size: 84px; line-height: 1; }

.trz-check-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.trz-check-list li { color: var(--text); font-size: 15px; }
.trz-check-list li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  margin-right: 9px;
}

/* ---------- final CTA ---------- */

.trz-final-cta { text-align: center; }
.trz-final-cta .trz-section-sub { margin-inline: auto; }

/* ---------- prose (About story, legal pages, generic pages) ---------- */

.trz-prose-page { padding: 72px 0 88px; }
.trz-page-header h1 { font-size: clamp(28px, 4.5vw, 40px); margin-bottom: 28px; }

.trz-prose h2 { font-size: 24px; margin-top: 1.6em; }
.trz-prose h2:first-child { margin-top: 0; }
.trz-prose h3 { font-size: 19px; margin-top: 1.4em; }
.trz-prose p, .trz-prose ul, .trz-prose ol { color: var(--text-dim); }
.trz-prose li { margin-bottom: .4em; }
.trz-prose strong { color: var(--text); }
.trz-prose blockquote {
  margin: 1.4em 0;
  padding: 4px 22px;
  border-left: 3px solid var(--accent);
  background: var(--panel);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.trz-prose code {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1px 6px;
  font-size: .92em;
}

.trz-about-story { margin-bottom: 8px; }

.trz-legal-updated {
  color: var(--text-dim);
  font-size: 14px;
  margin: -14px 0 30px;
}

/* ---------- index / archive fallback ---------- */

.trz-index-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.trz-index-title { font-size: 21px; margin: 0 0 6px; }
.trz-index-title a { color: var(--text); }
.trz-index-title a:hover { color: var(--accent); text-decoration: none; }

/* ---------- 404 ---------- */

.trz-404 { padding: 110px 0; text-align: center; }
.trz-404-icon { font-size: 56px; margin-bottom: 18px; }
.trz-404 h1 { font-size: clamp(24px, 4vw, 34px); }
.trz-404 p { color: var(--text-dim); }
.trz-404 .trz-cta-row { justify-content: center; }

/* ---------- footer ---------- */

.trz-footer {
  border-top: 1px solid var(--border);
  background: #eef2f8;
  padding: 56px 0 30px;
  margin-top: 40px;
}

.trz-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
}

.trz-footer-tagline {
  margin: 14px 0 0;
  max-width: 380px;
  color: var(--text-dim);
  font-size: 14.5px;
}

.trz-footer-col h3 {
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.trz-footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.trz-footer-col a { color: var(--text); font-size: 15px; }
.trz-footer-col a:hover { color: var(--accent); text-decoration: none; }

.trz-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 13.5px;
}
.trz-footer-bottom p { margin: 0; }

/* ---------- reveal on scroll ---------- */

@media (prefers-reduced-motion: no-preference) {
  .trz-card, .trz-privacy-band, .trz-mock, .trz-price-card {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .5s var(--ease), transform .5s var(--ease),
                border-color .18s var(--ease), box-shadow .18s var(--ease);
  }
  .trz-reveal-in, .no-js .trz-card, .no-js .trz-privacy-band, .no-js .trz-mock, .no-js .trz-price-card {
    opacity: 1;
    transform: none;
  }
  .trz-card.trz-reveal-in:hover { transform: translateY(-3px); }
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .trz-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .trz-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .trz-footer-grid { grid-template-columns: 1fr 1fr; }
  .trz-footer-brand { grid-column: 1 / -1; }
  .trz-contact-grid { grid-template-columns: 1fr; }
  .trz-donate-grid { grid-template-columns: 1fr; }
  .trz-amount-grid { grid-template-columns: repeat(2, 1fr); }
  .trz-gw-grid { grid-template-columns: 1fr; }
  .trz-feature-list { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .trz-section { padding: 64px 0; }

  .trz-nav-toggle { display: flex; }

  .trz-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px 20px 22px;
    background: color-mix(in srgb, #ffffff 96%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-2);
    display: none;
  }
  .trz-nav.is-open { display: flex; }

  body.admin-bar .trz-nav {
    top: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 46px));
  }

  .trz-nav-list { flex-direction: column; align-items: stretch; }
  .trz-nav-list a { display: block; padding: 12px 14px; font-size: 16px; }
  .trz-nav-cta { justify-content: center; margin-top: 8px; }

  .trz-privacy-band { grid-template-columns: 1fr; padding: 32px 26px; }
  .trz-privacy-icon { display: none; }

  .trz-pricing-grid { grid-template-columns: 1fr; }
  .trz-grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .trz-grid-4, .trz-grid-3 { grid-template-columns: 1fr; }
  .trz-footer-grid { grid-template-columns: 1fr; }
  .trz-hero { padding-top: 64px; }
  .trz-btn-big { width: 100%; justify-content: center; }
}
