/* ---------- Web fonts ----------
   Self-hosted variable fonts so the site renders identically on every OS
   (no reliance on system fonts) and no visitor data is sent to a third-party
   font CDN. One variable .woff2 per family covers all weights. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-variable.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("fonts/jetbrains-mono-variable.woff2") format("woff2");
}

:root {
  --magnolia: #b01e3c;
  --magnolia-dark: #8a1730;
  --ink: #111111;
  --muted: #5c5c5c;
  --bg: #f4f2ee;
  --card-bg: #ffffff;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 18px 50px rgba(0, 0, 0, 0.16);
  --maxw: 1080px;
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Landing page ---------- */
.landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
}

.landing__intro {
  max-width: 560px;
  margin-bottom: 56px;
}

.landing__intro h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.landing__intro p {
  color: var(--muted);
  font-size: 1.05rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
  max-width: var(--maxw);
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 56px 36px;
  min-height: 340px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.card:hover,
.card:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  outline: none;
}

.card__media {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__media img {
  max-height: 130px;
  max-width: 100%;
  object-fit: contain;
}

.card--studio .card__media img {
  max-height: 90px;
}

.card__title {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card__desc {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 320px;
}

.card__cta {
  margin-top: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}

.card--magnolia:hover .card__cta {
  color: var(--magnolia);
}

.card--studio:hover .card__cta {
  color: var(--ink);
}

.card__release {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 2px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--muted);
}

.card__release-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #2ea043;
  box-shadow: 0 0 0 0 rgba(46, 160, 67, 0.5);
  animation: card-release-pulse 2s ease-out infinite;
}

.card__release-sep {
  color: rgba(0, 0, 0, 0.25);
}

.card__release--no-date .card__release-sep,
.card__release--no-date #mag-card-release-date {
  display: none;
}

@keyframes card-release-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(46, 160, 67, 0.45); }
  70%  { box-shadow: 0 0 0 6px rgba(46, 160, 67, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 160, 67, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .card__release-dot { animation: none; }
}

.landing__footer {
  margin-top: 56px;
  color: var(--muted);
  font-size: 0.85rem;
}

.page__footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.legal {
  letter-spacing: 0.01em;
  margin-bottom: 4px;
}

/* ---------- Sub pages ---------- */
.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 48px;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--ink);
}

.page__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  margin-bottom: 48px;
}

.page__header img {
  max-height: 120px;
  max-width: 100%;
  object-fit: contain;
}

.page--studio .page__header img {
  max-height: 100px;
}

.page__header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.page__lead {
  font-size: 1.15rem;
  color: var(--muted);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.page__body h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 40px 0 12px;
  letter-spacing: -0.01em;
}

.page__body p {
  margin-bottom: 16px;
  color: #2a2a2a;
}

.page__body ul {
  margin: 0 0 16px 1.2em;
  color: #2a2a2a;
}

.page__body li {
  margin-bottom: 8px;
}

.btn {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.btn-row--center {
  justify-content: center;
  margin-top: 8px;
  margin-bottom: 8px;
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
  margin-bottom: 32px;
}

.platforms__label {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.platforms__pill {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--magnolia);
  background: rgba(176, 30, 60, 0.1);
  border: 1px solid rgba(176, 30, 60, 0.25);
  padding: 5px 14px;
  border-radius: 999px;
}

.btn-row .btn {
  margin-top: 0;
}

.btn--magnolia {
  background: var(--magnolia);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--magnolia);
  border: 2px solid var(--magnolia);
  padding: 12px 26px;
}

.btn--outline:hover {
  background: var(--magnolia);
  color: #fff;
}

.btn--ink {
  background: var(--ink);
  color: #fff;
}

.page--magnolia .accent {
  color: var(--magnolia);
}

/* ---------- Pricing ---------- */
.pricing {
  list-style: none;
  margin: 8px 0 16px;
  padding: 0;
}

.pricing li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  color: #2a2a2a;
}

.pricing li:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.pricing .price {
  font-weight: 700;
  white-space: nowrap;
}

.pricing-note {
  font-size: 0.9rem;
  color: var(--muted);
}

.studio-address {
  display: block;
  margin-top: 28px;
  font-style: normal;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- Screenshot gallery (horizontal scroll) ---------- */
.shots {
  display: flex;
  gap: 20px;
  margin: 24px 0 8px;
  padding-bottom: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.shot {
  margin: 0;
  flex: 0 0 88%;
  max-width: 88%;
  scroll-snap-align: center;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
}

.shot figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 280px;
    padding: 44px 28px;
  }
}

/* ==========================================================================
   MAGNOLIA — pro/technical dark product page
   All selectors scoped under .magnolia-body so other pages are untouched.
   ========================================================================== */
.magnolia-body {
  --m-bg: #0b0b0d;
  --m-bg-2: #101013;
  --m-surface: #161619;
  --m-surface-2: #1c1c20;
  --m-border: rgba(255, 255, 255, 0.09);
  --m-border-strong: rgba(255, 255, 255, 0.16);
  --m-text: #ededf0;
  --m-muted: #9a9aa6;
  --m-faint: #6c6c78;
  --m-red: #b01e3c;
  --m-red-bright: #f0506b;
  --m-glow: rgba(176, 30, 60, 0.35);
  --m-maxw: 1120px;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  background: var(--m-bg);
  color: var(--m-text);
}

.magnolia-body main {
  display: block;
}

.magnolia-body section {
  position: relative;
}

/* ---- shared eyebrow label ---- */
.magnolia-body .mag-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--m-red-bright);
  margin-bottom: 18px;
}

.magnolia-body .accent {
  color: var(--m-red-bright);
  font-weight: 600;
}

/* ---- section scaffolding ---- */
.magnolia-body .mag-section {
  max-width: var(--m-maxw);
  margin: 0 auto;
  padding: 96px 28px;
}

.magnolia-body .mag-section h2,
.magnolia-body .mag-feature h2,
.magnolia-body .mag-mission h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 18px;
}

.magnolia-body .mag-section > p {
  color: var(--m-muted);
  font-size: 1.05rem;
  max-width: 620px;
}

/* ---- top nav ---- */
.magnolia-body .mag-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--m-maxw);
  margin: 0 auto;
  padding: 16px 28px;
  background: rgba(11, 11, 13, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--m-border);
}

.magnolia-body .mag-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 1.05rem;
  color: var(--m-text);
}

.magnolia-body .mag-nav__brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.magnolia-body .mag-nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
}

.magnolia-body .mag-nav__links a {
  color: var(--m-muted);
  font-weight: 600;
  transition: color 0.2s ease;
}

.magnolia-body .mag-nav__links a:hover {
  color: var(--m-text);
}

.magnolia-body .mag-nav__cta {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--m-red);
  color: #fff !important;
  transition: background 0.2s ease, transform 0.2s ease;
}

.magnolia-body .mag-nav__cta:hover {
  background: #c8294a;
  transform: translateY(-1px);
}

/* ---- hero ---- */
.magnolia-body .mag-hero {
  overflow: hidden;
  padding: 80px 28px 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, var(--m-glow), transparent 60%),
    linear-gradient(180deg, var(--m-bg-2), var(--m-bg));
}

.magnolia-body .mag-hero__inner {
  max-width: var(--m-maxw);
  margin: 0 auto;
  text-align: center;
}

.magnolia-body .mag-hero__title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin-bottom: 22px;
}

.magnolia-body .mag-hero__sub {
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--m-muted);
}

.magnolia-body .mag-hero__btns {
  margin-top: 0;
}

/* ---- latest-release badge ---- */
.magnolia-body .mag-release {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 auto 22px;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--m-surface);
  border: 1px solid var(--m-border);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--m-muted);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.magnolia-body .mag-release:hover {
  border-color: var(--m-border-strong);
  background: var(--m-surface-2);
  transform: translateY(-1px);
}

.magnolia-body .mag-release__dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #3fb950;
  box-shadow: 0 0 0 0 rgba(63, 185, 80, 0.55);
  animation: mag-release-pulse 2s ease-out infinite;
}

.magnolia-body .mag-release__ver {
  color: var(--m-text);
  font-weight: 600;
}

.magnolia-body .mag-release__sep {
  color: var(--m-faint);
}

.magnolia-body .mag-release--no-date .mag-release__sep,
.magnolia-body .mag-release--no-date .mag-release__date {
  display: none;
}

@keyframes mag-release-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(63, 185, 80, 0.5); }
  70%  { box-shadow: 0 0 0 7px rgba(63, 185, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 185, 80, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .magnolia-body .mag-release__dot { animation: none; }
}

.magnolia-body .mag-platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.magnolia-body .mag-platform {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--m-text);
  background: var(--m-surface);
  border: 1px solid var(--m-border);
  padding: 10px 18px;
  border-radius: 999px;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.magnolia-body .mag-platform:hover {
  border-color: var(--m-border-strong);
  background: var(--m-surface-2);
  transform: translateY(-2px);
}

.magnolia-body .mag-platform__logo {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.magnolia-body .mag-hero__platforms {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--m-faint);
}

.magnolia-body .mag-hero__shot {
  margin: 64px auto 0;
  max-width: 1000px;
  transform: perspective(2200px) rotateX(2.5deg);
  transform-origin: center top;
}

/* ---- screenshots ----
   The screenshots are real macOS window captures: they already carry the
   window's own chrome (traffic lights, toolbar) and a soft drop shadow on a
   transparent margin. So we add no frame — just an alpha-aware drop-shadow
   (which follows the PNG's rounded edges, unlike box-shadow).
   No margin reset here: it would override .mag-hero__shot's centering. */
.magnolia-body .mag-shot img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 40px 70px rgba(0, 0, 0, 0.55));
}

/* ---- stat strip ---- */
.magnolia-body .mag-stats {
  max-width: var(--m-maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--m-border);
  border-top: 1px solid var(--m-border);
  border-bottom: 1px solid var(--m-border);
  margin-top: 80px;
}

.magnolia-body .mag-stat {
  background: var(--m-bg);
  padding: 40px 24px;
  text-align: center;
}

.magnolia-body .mag-stat__num {
  display: block;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--m-text);
  line-height: 1;
}

.magnolia-body .mag-stat__label {
  display: block;
  margin-top: 12px;
  font-size: 0.86rem;
  color: var(--m-muted);
}

/* ---- mission ---- */
.magnolia-body .mag-mission {
  max-width: 820px;
}

.magnolia-body .mag-mission p {
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--m-muted);
  margin-bottom: 16px;
  max-width: none;
}

/* ---- alternating feature blocks ---- */
.magnolia-body .mag-feature {
  max-width: var(--m-maxw);
  margin: 0 auto;
  padding: 64px 28px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 64px;
}

.magnolia-body .mag-feature--reverse .mag-feature__text {
  order: 2;
}

.magnolia-body .mag-feature__text p {
  color: var(--m-muted);
  font-size: 1.08rem;
  line-height: 1.6;
  margin-bottom: 22px;
}

.magnolia-body .mag-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.magnolia-body .mag-checks li {
  position: relative;
  padding-left: 30px;
  color: var(--m-text);
  font-size: 1rem;
  line-height: 1.5;
}

.magnolia-body .mag-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--m-red);
  box-shadow: 0 0 0 4px rgba(176, 30, 60, 0.18);
}

.magnolia-body .mag-checks li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 7px;
  width: 6px;
  height: 3px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* ---- analytical tools list ---- */
.magnolia-body .mag-toollist {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.magnolia-body .mag-tool {
  background: var(--m-surface);
  border: 1px solid var(--m-border);
  border-radius: 14px;
  padding: 22px 24px;
  transition: border-color 0.2s ease;
}

.magnolia-body .mag-tool:hover {
  border-color: var(--m-border-strong);
}

.magnolia-body .mag-tool dt {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--m-text);
  margin-bottom: 6px;
}

.magnolia-body .mag-tool dd {
  margin: 0;
  color: var(--m-muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

/* ---- feature card grid ---- */
.magnolia-body .mag-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.magnolia-body .mag-card {
  background: var(--m-surface);
  border: 1px solid var(--m-border);
  border-radius: 16px;
  padding: 30px 28px;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.magnolia-body .mag-card:hover {
  border-color: var(--m-border-strong);
  background: var(--m-surface-2);
  transform: translateY(-4px);
}

.magnolia-body .mag-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.magnolia-body .mag-card p {
  color: var(--m-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.magnolia-body .mag-card--accent {
  background: linear-gradient(160deg, rgba(176, 30, 60, 0.18), var(--m-surface));
  border-color: rgba(176, 30, 60, 0.4);
}

.magnolia-body .mag-card--accent h3 {
  color: var(--m-red-bright);
}

/* ---- supported formats ---- */
.magnolia-body .mag-formats {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.magnolia-body .mag-format {
  background: var(--m-surface);
  border: 1px solid var(--m-border);
  border-radius: 14px;
  padding: 24px 20px;
}

.magnolia-body .mag-format h4 {
  font-size: 0.78rem;
  font-family: var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--m-red-bright);
  margin-bottom: 12px;
}

.magnolia-body .mag-format p {
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--m-muted);
  word-spacing: 0.1em;
}

.magnolia-body .mag-fineprint {
  margin-top: 20px;
  font-size: 0.86rem;
  color: var(--m-faint);
}

/* ---- licence ---- */
.magnolia-body .mag-licence {
  max-width: var(--m-maxw);
  margin: 0 auto;
  padding: 40px 28px 110px;
}

.magnolia-body .mag-licence__card {
  background:
    radial-gradient(ellipse 70% 120% at 100% 0%, var(--m-glow), transparent 55%),
    var(--m-surface);
  border: 1px solid var(--m-border-strong);
  border-radius: 24px;
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
}

.magnolia-body .mag-licence__card p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--m-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.magnolia-body .mag-licence__btns {
  justify-content: center;
  margin-top: 32px;
}

/* ---- buttons (override shared .btn for dark) ---- */
.magnolia-body .btn--magnolia {
  background: var(--m-red);
  box-shadow: 0 12px 30px -10px var(--m-glow);
}

.magnolia-body .btn--magnolia:hover {
  background: #c8294a;
}

.magnolia-body .btn--outline {
  color: var(--m-text);
  border-color: var(--m-border-strong);
}

.magnolia-body .btn--outline:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: var(--m-red-bright);
}

/* ---- footer ---- */
.magnolia-body .mag-footer {
  border-top: 1px solid var(--m-border);
  background: var(--m-bg-2);
}

.magnolia-body .mag-footer__inner {
  max-width: var(--m-maxw);
  margin: 0 auto;
  padding: 56px 28px;
  text-align: center;
  color: var(--m-muted);
  font-size: 0.88rem;
}

.magnolia-body .mag-footer__inner .mag-nav__brand {
  margin-bottom: 22px;
}

.magnolia-body .mag-footer .legal {
  letter-spacing: 0.01em;
}

.magnolia-body .mag-footer a {
  color: var(--m-muted);
  transition: color 0.2s ease;
}

.magnolia-body .mag-footer a:hover {
  color: var(--m-red-bright);
}

.magnolia-body .mag-footer__copy {
  margin-top: 8px;
  color: var(--m-faint);
}

/* ---- privacy band ---- */
.magnolia-body .mag-privacy {
  max-width: var(--m-maxw);
  border-top: 1px solid var(--m-border);
}

.magnolia-body .mag-privacy__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.magnolia-body .mag-privacy__head p {
  margin: 0 auto;
  color: var(--m-muted);
  font-size: 1.08rem;
}

.magnolia-body .mag-privacy__points {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.magnolia-body .mag-privacy__point {
  background: var(--m-surface);
  border: 1px solid var(--m-border);
  border-radius: 16px;
  padding: 28px 26px;
  text-align: center;
}

.magnolia-body .mag-privacy__point strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--m-red-bright);
  margin-bottom: 10px;
}

.magnolia-body .mag-privacy__point span {
  color: var(--m-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* ---- responsive ---- */
@media (max-width: 900px) {
  .magnolia-body .mag-feature {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 28px;
  }
  .magnolia-body .mag-feature--reverse .mag-feature__text {
    order: 0;
  }
  .magnolia-body .mag-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .magnolia-body .mag-formats {
    grid-template-columns: repeat(2, 1fr);
  }
  .magnolia-body .mag-privacy__points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .magnolia-body .mag-nav__links {
    gap: 16px;
  }
  .magnolia-body .mag-nav__links a:not(.mag-nav__cta) {
    display: none;
  }
  .magnolia-body .mag-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .magnolia-body .mag-grid {
    grid-template-columns: 1fr;
  }
  .magnolia-body .mag-toollist {
    grid-template-columns: 1fr;
  }
  .magnolia-body .mag-formats {
    grid-template-columns: 1fr;
  }
  .magnolia-body .mag-hero__shot {
    transform: none;
    margin-top: 40px;
  }
  .magnolia-body .mag-section {
    padding: 64px 24px;
  }
}
