/* Public marketing pages.
 *
 * Layered on top of app.css - reuses the same design tokens (--brand, --text,
 * etc.). The admin/portal layouts keep their own typographic scale; this file
 * adds the wider hero/section scale that marketing pages need.
 */

.marketing-body {
  background: #fff;
  color: var(--text);
}

.marketing-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.marketing-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.marketing-header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.marketing-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-strong);
}
.marketing-brand:hover { text-decoration: none; }
.marketing-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 14px;
}
.marketing-brand-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.005em;
}

.marketing-nav {
  display: flex;
  gap: 22px;
  margin-left: 8px;
}
.marketing-nav-link {
  position: relative;
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  padding: 6px 2px;
}
.marketing-nav-link:hover { color: var(--text-strong); text-decoration: none; }
.marketing-nav-link.is-active {
  color: var(--text-strong);
}
.marketing-nav-link.is-active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--brand);
}

.marketing-header-cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.marketing-link {
  color: var(--text-strong);
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
}
.marketing-link:hover { color: var(--brand-strong); text-decoration: none; }

/* ---------- Buttons ---------- */
.button-primary {
  background: var(--text-strong);
  border: 0;
  border-radius: var(--radius-btn);
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 18px;
  display: inline-block;
  text-decoration: none;
  transition: background 120ms ease;
}
.button-primary:hover { background: var(--text); color: #fff; text-decoration: none; }

.button-secondary {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  color: var(--text-strong);
  font-weight: 500;
  font-size: 14px;
  padding: 9px 17px;
  display: inline-block;
  text-decoration: none;
  transition: background 120ms ease, border-color 120ms ease;
}
.button-secondary:hover { background: var(--panel-soft); border-color: var(--muted-soft); text-decoration: none; color: var(--text-strong); }

.button-lg { padding: 14px 24px; font-size: 15px; }
.button-sm { padding: 6px 12px; font-size: 12px; }

/* The hero/footer CTA - the one place amber gets the spotlight. */
.marketing-cta-button {
  background: var(--brand);
  color: #fff;
}
.marketing-cta-button:hover { background: var(--brand-strong); color: #fff; }

/* ---------- Main ---------- */
.marketing-main {
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.hero--with-image .hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
}
.hero-inner {
  position: relative;
  text-align: left;
  max-width: 600px;
  z-index: 2;
}
.hero-art {
  margin: 0;
  position: relative;
}
.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(31, 27, 22, 0.06), 0 24px 48px -20px rgba(31, 27, 22, 0.25);
  border: 1px solid var(--line);
}
@media (max-width: 880px) {
  .hero--with-image .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 24px;
}
.hero-eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--brand);
}
.hero-headline {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  margin: 0 0 24px;
  max-width: 880px;
  font-weight: 500;
  color: var(--text-strong);
}
.hero--with-image .hero-headline {
  font-size: clamp(36px, 4.4vw, 56px);
}
.hero-headline em {
  font-style: italic;
  color: var(--brand-strong);
  font-weight: 500;
}
.hero-subhead {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--muted);
  line-height: 1.5;
  max-width: 620px;
  margin: 0 0 36px;
}
.hero-ctas {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
}

/* ---------- Section scaffolding ---------- */
.marketing-section {
  padding: 72px 0;
}
.marketing-section-alt {
  background: var(--panel-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.marketing-section-narrow .marketing-container { max-width: 880px; }

.section-head {
  text-align: left;
  margin-bottom: 44px;
  max-width: 720px;
}
.section-head h1,
.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 14px;
}
.section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 16px;
}
.section-head .eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--brand);
}
.section-head .muted { font-size: 16px; line-height: 1.55; }
.section-head-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-head-center .eyebrow { justify-content: center; }
.section-head-center .muted { margin-left: auto; margin-right: auto; }
.section-cta {
  margin-top: 28px;
  text-align: center;
}
.section-cta-padded {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding-top: 24px;
}

/* ---------- Feature grid ----------
 * Editorial layout - column rules instead of card boxes. Reads like a
 * spread, not a six-pack of AI feature tiles. Icons hidden by default;
 * if a section wants them, opt in with .feature-grid--with-icons.
 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.feature-card {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 32px 28px 36px;
}
.feature-card:hover { background: var(--panel-soft); }
.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 10px;
}
.feature-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}
/* Icon row hidden - kept in markup but invisible.
 * Opt-in: add .feature-grid--with-icons on the parent .feature-grid. */
.feature-icon { display: none; }
.feature-grid--with-icons .feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 0;
  background: transparent;
  color: var(--brand);
  margin-bottom: 18px;
}
.feature-grid--with-icons .feature-icon svg { width: 24px; height: 24px; }

/* ---------- How it works ---------- */
.howit-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px 32px;
}
.howit-steps li {
  display: block;
}
.howit-step-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 500;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 16px;
}
.howit-steps h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 10px;
}
.howit-steps p { color: var(--muted); margin: 0; font-size: 15px; line-height: 1.55; }

/* ---------- Get started ---------- */
.getstarted-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 22px;
}
.getstarted-steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  padding: 28px 32px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.getstarted-steps .howit-step-num {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  margin: 6px 0 0;
}
.getstarted-steps .howit-step-num::before { content: "0"; }
.getstarted-steps h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 10px;
}
.getstarted-steps p {
  color: var(--muted);
  margin: 0 0 12px;
  line-height: 1.6;
}
.getstarted-steps p:last-child { margin-bottom: 0; }
.getstarted-aside {
  margin-top: 40px;
  padding: 24px 28px;
  background: var(--brand-soft);
  border: 1px solid var(--brand);
  border-width: 0 0 0 3px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.getstarted-aside h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 6px;
}
.getstarted-aside p { margin: 0 0 10px; color: var(--text); }
.getstarted-aside p { color: var(--text); margin: 0 0 8px; }

/* ---------- Feature rows (features.php) ---------- */
.features-stack {
  display: grid;
  gap: 56px;
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.feature-row-reverse { direction: rtl; }
.feature-row-reverse > * { direction: ltr; }
.feature-row h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 500;
  line-height: 1.15;
  margin: 8px 0 14px;
}
.feature-row p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0 0 14px; }
.feature-row .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.feature-row .eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--brand);
}
.feature-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.feature-bullets li {
  position: relative;
  padding-left: 24px;
  color: var(--text);
}
.feature-bullets li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--brand);
}

.feature-row-art {
  display: flex;
  align-items: center;
  justify-content: center;
}
.art-tile {
  width: 100%;
  max-width: 380px;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  display: grid;
  gap: 4px;
  color: var(--text-strong);
  box-shadow: var(--shadow-md);
  font-family: var(--font-mono);
  font-size: 13px;
}
.art-tile strong { font-family: var(--font-sans); font-size: 16px; font-weight: 600; }
.art-tile .muted { color: var(--muted); font-size: 13px; }
.art-tile .pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  margin-bottom: 4px;
}

/* ---------- Pricing (public) ---------- */
.plans-grid-public {
  margin-top: 18px;
}
.plan-card-cta {
  display: block;
  text-align: center;
  margin-top: 14px;
}

/* ---------- Billing-cycle toggle (Monthly / Yearly) ---------- */
.billing-cycle-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto 32px;
  padding: 4px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  /* Center under the .section-head-center heading */
  display: flex;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}
.billing-cycle-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease, box-shadow 120ms ease;
}
.billing-cycle-option:hover { color: var(--text-strong); background: transparent; }
.billing-cycle-option.is-active {
  background: #fff;
  color: var(--text-strong);
  box-shadow: var(--shadow-sm);
}
.billing-cycle-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #d1fae5;
  color: #047857;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Cycle-specific bits inside each plan card */
.plan-card-price-cycle[hidden],
.plan-card-cycle-meta[hidden] { display: none !important; }
.plan-card-cycle-meta {
  margin: 6px 0 0;
  display: grid;
  gap: 2px;
}
/* Landing-preview compact variant - single inline line under the price
 * instead of a stacked meta block. */
.plan-card-cycle-meta-inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 4px 0 0;
}
.plan-card-billed-line {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.plan-card-savings-line {
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-size: 12px;
}
.plan-card-savings {
  color: #047857;
  font-weight: 700;
}
.plan-card-months-free {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  background: #d1fae5;
  color: #065f46;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* ---------- Card alignment ----------
 * .plan-card is already a flex column (in app.css). Pin the CTA to
 * the bottom with margin-top:auto so cards with different feature
 * list lengths still line their buttons up. */
.plans-grid-public .plan-card {
  height: 100%;
}
.plans-grid-public .plan-card .plan-card-cta {
  margin-top: auto;
}

/* ---------- Wide custom / Enterprise card ----------
 * Renders below the grid as a single horizontal row so it doesn't
 * leave an orphan slot in a 3-column layout. Different shape signals
 * "talk to sales, not checkout". */
.plan-card-custom {
  cursor: default;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin-top: 18px;
  padding: 28px 32px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
}
.plan-card-custom:hover {
  border-color: var(--muted-soft);
  transform: none;
  box-shadow: var(--shadow-md);
}
.plan-card-custom-body { display: grid; gap: 6px; }
.plan-card-custom-body .plan-card-name { font-size: 20px; }
.plan-card-custom-cta {
  display: grid;
  gap: 12px;
  justify-items: end;
  align-content: center;
}
.plan-card-custom-cta .plan-card-price-amount { font-size: 22px; font-weight: 700; }
.plan-card-custom-cta .plan-card-cta {
  margin-top: 0;
  padding: 10px 22px;
}
.plan-card-features-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 4px;
}
.plan-card-features-inline li {
  padding-left: 22px;
}

@media (max-width: 720px) {
  .plan-card-custom {
    grid-template-columns: 1fr;
  }
  .plan-card-custom-cta {
    justify-items: start;
  }
}

.pricing-faq {
  margin-top: 56px;
  display: grid;
  gap: 12px;
}
.pricing-faq h3 {
  font-size: 18px;
  margin: 0 0 12px;
}
.pricing-faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}
.pricing-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-strong);
  list-style: none;
}
.pricing-faq summary::-webkit-details-marker { display: none; }
.pricing-faq summary::after {
  content: '+';
  float: right;
  color: var(--muted);
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
}
.pricing-faq details[open] summary::after { content: '−'; }
.pricing-faq details p {
  color: var(--muted);
  margin: 10px 0 0;
}

/* ---------- About / Contact ---------- */
.about-narrative {
  max-width: 640px;
  margin: 0 auto 40px;
}
.about-narrative p {
  font-size: 17px;
  color: var(--text);
  margin: 0 0 16px;
  line-height: 1.7;
}

/* Contact list - inline horizontal strip, shown only when there's
 * something to show. Sits between the narrative and the form.
 */
.about-contact-list {
  list-style: none;
  padding: 24px 28px;
  margin: 0 0 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.about-contact-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
}
.about-contact-label {
  font-size: 12px;
  color: var(--muted);
}
.about-contact-list a {
  color: var(--text-strong);
  font-weight: 500;
}
.about-contact-list a:hover { color: var(--brand-strong); }

.contact-form-wrap {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  max-width: 720px;
  margin: 0 auto;
}
.contact-form-wrap h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  margin: 0 0 6px;
  font-size: 26px;
  line-height: 1.2;
}
.contact-form-wrap > .muted { margin: 0 0 22px; }
/* Single grid drives ALL vertical rhythm - every direct child of the form
 * is a row, and the gap is the only thing controlling between-row spacing.
 * Avoids the per-label margin tangles. */
.contact-form {
  display: grid;
  gap: 22px;
}
.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.contact-form label > span .muted {
  color: var(--muted);
  font-weight: 400;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  padding: 11px 13px;
  font: inherit;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-input);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form .form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.contact-form button[type="submit"] { justify-self: start; margin-top: 4px; }
.contact-honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.contact-success {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
.contact-success strong { display: block; margin-bottom: 4px; }
.contact-error {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  margin-bottom: 14px;
}

/* ---------- CTA banner ---------- */
.marketing-cta-banner {
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.marketing-cta-banner-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  padding: 56px 56px;
}
.marketing-cta-banner h2 {
  font-family: var(--font-serif);
  color: #fff;
  font-weight: 500;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
  margin: 0 0 8px;
  max-width: 520px;
}
.marketing-cta-banner .muted { color: rgba(255, 255, 255, 0.85); margin: 0; max-width: 520px; }
.marketing-cta-banner .button-primary {
  background: var(--text-strong);
  color: #fff;
}
.marketing-cta-banner .button-primary:hover { background: #fff; color: var(--brand-strong); }
.marketing-cta-banner .button-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.marketing-cta-banner .button-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
@media (max-width: 720px) {
  .marketing-cta-banner-inner { padding: 40px 28px; }
}

/* ---------- Footer ---------- */
.marketing-footer {
  background: var(--bg);
  color: var(--muted);
  padding: 72px 0 32px;
  margin-top: 0;
  border-top: 1px solid var(--line);
}
.marketing-footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 56px;
  margin-bottom: 48px;
}
.marketing-footer-brand {
  display: flex;
  gap: 14px;
}
.marketing-footer-brand strong {
  color: var(--text-strong);
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 17px;
  display: block;
  margin-bottom: 6px;
}
.marketing-footer-brand p { color: var(--muted); font-size: 14px; margin: 0; max-width: 320px; line-height: 1.5; }
.marketing-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.marketing-footer-col { display: flex; flex-direction: column; gap: 10px; }
.marketing-footer-heading {
  color: var(--text-strong);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 6px;
}
.marketing-footer-col a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}
.marketing-footer-col a:hover { color: var(--text-strong); text-decoration: none; }

.marketing-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted-soft);
  font-size: 12px;
}

/* ---------- Admin extras moved to app.css ----------
   .nav-badge / .nav-badge-warn / .form-section-heading / .pill / .row-new /
   .cell-preview / .cell-actions live in app.css, which the marketing layout
   loads anyway. Keeping them only in app.css drops a silent cascade fight
   over `.nav-badge` (was brand in marketing.css, text-strong in app.css)
   and `.form-section-heading` (was uppercase in marketing.css, plain in
   app.css). */

/* ---------- Releases / updates feed ---------- */
.release-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 18px;
}
.release-card-latest {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(31, 27, 22, 0.04), 0 12px 32px -16px rgba(31, 27, 22, 0.14);
  padding: 32px;
}
.release-card-history { padding: 22px 26px; }
.release-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.release-card-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
}
.release-card-version {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 500;
  color: var(--text-strong);
  margin: 0;
}
.release-card-latest .release-card-version {
  font-size: 24px;
}
.release-card-date {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  margin-left: auto;
}
.release-card-summary {
  font-size: 16px;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.5;
}
.release-card-latest .release-card-summary { font-size: 18px; }
.release-card-body {
  color: var(--text);
  margin: 0 0 16px;
}
.release-notes-html p { margin: 0 0 10px; line-height: 1.6; }
.release-notes-html ul, .release-notes-html ol { margin: 0 0 10px; padding-left: 22px; }
.release-notes-html li { margin-bottom: 4px; }
.release-notes-html strong { color: var(--text-strong); }
.release-notes-html code {
  background: var(--panel-soft);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 13px;
}
.release-card-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}
.release-card-cta .muted { font-size: 12px; }
.release-card-cta code {
  background: var(--panel-soft);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 12px;
}
.release-history-heading {
  margin: 40px 0 14px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.release-history {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Admin pill variants moved to app.css. */

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row-reverse { direction: ltr; }
  .feature-row-art { order: 2; }
  .about-grid { grid-template-columns: 1fr; }
  .marketing-footer-inner { grid-template-columns: 1fr; }
  .marketing-footer-cols { grid-template-columns: repeat(2, 1fr); }
  .marketing-nav { display: none; }
  .marketing-header-cta .marketing-link { display: none; }
  .hero { padding: 56px 0 48px; }
  .marketing-section { padding: 48px 0; }
}
@media (max-width: 520px) {
  .marketing-footer-cols { grid-template-columns: 1fr; }
  .contact-form .form-grid-2 { grid-template-columns: 1fr; }
}
