:root {
  --mact-green: #075c4c;
  --mact-green-dark: #034036;
  --mact-green-soft: #0e7560;
  --mact-cream: #f5ebd7;
  --mact-paper: #fffaf0;
  --mact-turquoise: #3a9e9c;
  --mact-blue: #245f74;
  --mact-gold: #d7ad52;
  --mact-red: #a9553d;
  --mact-ink: #17211d;
  --mact-muted: #5f6e67;
  --mact-line: rgba(7, 92, 76, 0.16);
  --mact-shadow: 0 24px 70px rgba(3, 64, 54, 0.13);
  --mact-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --mact-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mact-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --mact-floral-image: url('/assets/mact-floral-placeholder.svg');
}

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

html {
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
  background: var(--mact-cream);
}

body.mact-page {
  margin: 0;
  overflow-x: clip;
  overscroll-behavior: none;
  background: var(--mact-cream);
  color: var(--mact-ink);
  font-family: var(--mact-sans);
  line-height: 1.65;
}

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

.mact-shell {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.mact-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(7, 92, 76, 0.12);
  background: rgba(245, 235, 215, 0.93);
  backdrop-filter: blur(18px);
}

.mact-nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.mact-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--mact-ink);
  text-decoration: none;
}

.mact-brand-mark {
  position: relative;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50% 50% 46% 54%;
  background: var(--mact-green);
  box-shadow: 0 10px 25px rgba(7, 92, 76, 0.24);
}

.mact-brand-mark::before,
.mact-brand-mark::after {
  content: "";
  position: absolute;
  width: 21px;
  height: 21px;
  border: 1px solid rgba(245, 235, 215, 0.75);
  border-radius: 50% 0 50% 0;
  transform: rotate(45deg);
}

.mact-brand-mark::after {
  transform: rotate(135deg);
}

.mact-brand-copy {
  display: grid;
  line-height: 1.02;
}

.mact-brand-copy strong {
  font-family: var(--mact-serif);
  font-size: 1.24rem;
  letter-spacing: -0.03em;
}

.mact-brand-copy small {
  margin-top: 5px;
  color: var(--mact-muted);
  font-family: var(--mact-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mact-links {
  display: flex;
  align-items: center;
  gap: 23px;
}

.mact-links a {
  color: var(--mact-muted);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.mact-links a:hover,
.mact-links a:focus-visible {
  color: var(--mact-green);
}

.mact-links .studio-link {
  padding: 9px 13px;
  border: 1px solid rgba(122, 37, 40, 0.2);
  border-radius: 999px;
  color: #7a2528;
  background: rgba(255, 250, 240, 0.58);
}

.mact-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 78px);
  background: var(--mact-cream);
}

.mact-hero-grid {
  min-height: calc(100svh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.92fr);
}

.mact-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: clamp(64px, 8vw, 112px) clamp(44px, 8vw, 110px);
  background: var(--mact-cream);
}

.mact-hero-copy::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 40px;
  width: 92px;
  height: 92px;
  opacity: 0.22;
  background:
    radial-gradient(circle, var(--mact-turquoise) 0 13%, transparent 14%),
    conic-gradient(from 22.5deg, transparent 0 10%, var(--mact-green) 10% 13%, transparent 13% 22%, var(--mact-green) 22% 25%, transparent 25% 35%, var(--mact-green) 35% 38%, transparent 38% 47%, var(--mact-green) 47% 50%, transparent 50% 60%, var(--mact-green) 60% 63%, transparent 63% 72%, var(--mact-green) 72% 75%, transparent 75% 85%, var(--mact-green) 85% 88%, transparent 88%);
  border-radius: 50%;
}

.mact-hero-inner {
  width: min(100%, 760px);
  margin: 0 auto;
}

.mact-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--mact-green);
  font-family: var(--mact-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.mact-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--mact-gold);
}

.mact-launch {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 8px 12px;
  border: 1px solid rgba(7, 92, 76, 0.16);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.66);
  color: var(--mact-green-dark);
  font-size: 0.8rem;
  font-weight: 800;
}

.mact-launch::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mact-gold);
  box-shadow: 0 0 0 5px rgba(215, 173, 82, 0.16);
}

.mact-hero h1,
.mact-section-title,
.mact-quote,
.mact-cta h2 {
  font-family: var(--mact-serif);
}

.mact-hero h1 {
  max-width: 780px;
  margin: 0 0 24px;
  font-size: clamp(3.4rem, 6.6vw, 6.5rem);
  font-weight: 620;
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.mact-hero h1 em {
  color: var(--mact-green);
  font-style: normal;
}

.mact-lead {
  max-width: 700px;
  margin: 0;
  color: var(--mact-muted);
  font-size: clamp(1.08rem, 1.8vw, 1.34rem);
  line-height: 1.72;
}

.mact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.mact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid var(--mact-green);
  border-radius: 999px;
  background: var(--mact-green);
  color: white;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.mact-button:hover,
.mact-button:focus-visible {
  background: var(--mact-green-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(3, 64, 54, 0.2);
}

.mact-button.secondary {
  border-color: rgba(7, 92, 76, 0.25);
  background: transparent;
  color: var(--mact-green-dark);
}

.mact-button.secondary:hover,
.mact-button.secondary:focus-visible {
  background: rgba(7, 92, 76, 0.06);
  color: var(--mact-green-dark);
  box-shadow: none;
}

.mact-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 28px;
  color: #48584f;
  font-size: 0.88rem;
  font-weight: 700;
}

.mact-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mact-proof span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mact-gold);
}

.mact-hero-art {
  position: relative;
  min-height: calc(100svh - 78px);
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
  background:
    linear-gradient(rgba(3, 64, 54, 0.1), rgba(3, 64, 54, 0.25)),
    var(--mact-floral-image) center / cover no-repeat,
    var(--mact-green);
}

.mact-hero-art::after {
  content: "";
  position: absolute;
  inset: 38px;
  z-index: 1;
  border: 1px solid rgba(245, 235, 215, 0.6);
  border-radius: 48% 52% 50% 50% / 46% 48% 52% 54%;
  box-shadow: inset 0 0 0 14px rgba(215, 173, 82, 0.18);
  pointer-events: none;
}

.mact-app-card {
  position: relative;
  z-index: 2;
  width: min(78%, 430px);
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(245, 235, 215, 0.55);
  border-radius: 34px 34px 90px 34px;
  background: rgba(3, 64, 54, 0.82);
  color: var(--mact-paper);
  text-align: center;
  box-shadow: 0 30px 70px rgba(1, 37, 31, 0.38);
  backdrop-filter: blur(10px);
}

.mact-app-mark {
  width: 92px;
  height: 92px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(245, 235, 215, 0.85);
  border-radius: 50%;
  background: rgba(58, 158, 156, 0.36);
  color: var(--mact-paper);
  font-family: var(--mact-serif);
  font-size: 1.7rem;
  font-weight: 700;
  box-shadow: inset 0 0 0 10px rgba(215, 173, 82, 0.15);
}

.mact-app-card strong {
  display: block;
  font-family: var(--mact-serif);
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.mact-app-card p {
  margin: 14px auto 0;
  max-width: 320px;
  color: rgba(255, 250, 240, 0.76);
  font-size: 0.92rem;
}

.mact-band {
  border-top: 1px solid var(--mact-line);
  border-bottom: 1px solid var(--mact-line);
  background: rgba(255, 250, 240, 0.58);
}

.mact-band-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.mact-band-item {
  padding: 26px 24px;
  text-align: center;
}

.mact-band-item + .mact-band-item {
  border-left: 1px solid var(--mact-line);
}

.mact-band-item strong,
.mact-band-item span {
  display: block;
}

.mact-band-item strong {
  color: var(--mact-green-dark);
  font-family: var(--mact-serif);
  font-size: 1.13rem;
}

.mact-band-item span {
  margin-top: 4px;
  color: var(--mact-muted);
  font-size: 0.82rem;
}

.mact-section {
  position: relative;
  padding: clamp(78px, 10vw, 126px) 0;
}

.mact-section-head {
  max-width: 820px;
  margin-bottom: 46px;
}

.mact-section-title {
  margin: 14px 0 17px;
  font-size: clamp(2.45rem, 5vw, 4.7rem);
  font-weight: 620;
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.mact-section-copy {
  margin: 0;
  color: var(--mact-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(42px, 8vw, 96px);
  align-items: start;
}

.mission-intro {
  position: sticky;
  top: 118px;
}

.mission-intro h2 {
  margin: 14px 0 18px;
  font-family: var(--mact-serif);
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.mission-intro p {
  color: var(--mact-muted);
  font-size: 1.06rem;
}

.mission-list {
  display: grid;
  gap: 16px;
}

.mission-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 25px;
  border: 1px solid var(--mact-line);
  border-radius: 22px 22px 54px 22px;
  background: rgba(255, 250, 240, 0.72);
  box-shadow: 0 14px 38px rgba(3, 64, 54, 0.055);
}

.mission-number {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(58, 158, 156, 0.14);
  color: var(--mact-green);
  font-family: var(--mact-mono);
  font-size: 0.76rem;
  font-weight: 800;
}

.mission-card h3 {
  margin: 3px 0 8px;
  font-family: var(--mact-serif);
  font-size: 1.28rem;
}

.mission-card p {
  margin: 0;
  color: var(--mact-muted);
}

.offer-section {
  overflow: hidden;
  background: var(--mact-green-dark);
  color: var(--mact-paper);
}

.offer-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background: var(--mact-floral-image) center / 680px auto repeat;
}

.offer-section > .mact-shell {
  position: relative;
  z-index: 1;
}

.offer-section .mact-kicker {
  color: #e3c775;
}

.offer-section .mact-section-copy {
  color: rgba(255, 250, 240, 0.72);
}

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

.offer-card {
  min-height: 390px;
  padding: 30px;
  border: 1px solid rgba(245, 235, 215, 0.14);
  border-radius: 26px 26px 80px 26px;
  background: rgba(255, 250, 240, 0.07);
  backdrop-filter: blur(4px);
}

.offer-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(245, 235, 215, 0.28);
  border-radius: 50%;
  background: rgba(58, 158, 156, 0.18);
  color: #f0d98d;
  font-family: var(--mact-mono);
  font-size: 0.74rem;
  font-weight: 800;
}

.offer-card h3 {
  margin: 24px 0 12px;
  font-family: var(--mact-serif);
  font-size: 1.72rem;
}

.offer-card p {
  color: rgba(255, 250, 240, 0.72);
}

.offer-list {
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 250, 240, 0.9);
  font-size: 0.9rem;
}

.offer-list li {
  position: relative;
  padding-left: 18px;
}

.offer-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mact-gold);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--mact-line);
  border-left: 1px solid var(--mact-line);
}

.value-card {
  min-height: 255px;
  padding: 28px;
  border-right: 1px solid var(--mact-line);
  border-bottom: 1px solid var(--mact-line);
  background: rgba(255, 250, 240, 0.48);
}

.value-card span {
  color: var(--mact-green);
  font-family: var(--mact-mono);
  font-size: 0.7rem;
}

.value-card h3 {
  margin: 44px 0 12px;
  font-family: var(--mact-serif);
  font-size: 1.42rem;
}

.value-card p {
  margin: 0;
  color: var(--mact-muted);
  font-size: 0.92rem;
}

.support-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 7vw, 72px);
  border: 1px solid var(--mact-line);
  border-radius: 34px 34px 100px 34px;
  background: var(--mact-paper);
  box-shadow: var(--mact-shadow);
}

.support-panel::before {
  content: "";
  position: absolute;
  top: -130px;
  right: -90px;
  width: 360px;
  height: 360px;
  opacity: 0.18;
  background: var(--mact-floral-image) center / cover no-repeat;
  border-radius: 50%;
}

.support-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(38px, 7vw, 82px);
}

.support-copy h2 {
  margin: 14px 0 18px;
  font-family: var(--mact-serif);
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.support-copy p {
  color: var(--mact-muted);
}

.support-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.support-option {
  padding: 20px;
  border: 1px solid var(--mact-line);
  border-radius: 18px 18px 42px 18px;
  background: rgba(245, 235, 215, 0.48);
}

.support-option strong,
.support-option span {
  display: block;
}

.support-option strong {
  color: var(--mact-green-dark);
  font-family: var(--mact-serif);
  font-size: 1.06rem;
}

.support-option span {
  margin-top: 6px;
  color: var(--mact-muted);
  font-size: 0.87rem;
}

.mact-cta-wrap {
  padding: 0 0 clamp(84px, 10vw, 126px);
}

.mact-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 7vw, 76px);
  border-radius: 34px 34px 100px 34px;
  background: var(--mact-red);
  color: var(--mact-paper);
  box-shadow: var(--mact-shadow);
}

.mact-cta::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 290px;
  height: 290px;
  opacity: 0.24;
  background: var(--mact-floral-image) center / cover no-repeat;
  border-radius: 50%;
}

.mact-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
}

.mact-cta h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.mact-cta p {
  max-width: 670px;
  margin: 18px 0 0;
  color: rgba(255, 250, 240, 0.8);
}

.mact-cta .mact-button {
  flex: 0 0 auto;
  border-color: var(--mact-paper);
  background: var(--mact-paper);
  color: var(--mact-red);
}

.mact-cta .mact-button:hover,
.mact-cta .mact-button:focus-visible {
  background: #f2dfbd;
  color: #8c402f;
}

.mact-footer {
  padding: 34px 0 42px;
  border-top: 1px solid var(--mact-line);
  color: var(--mact-muted);
  font-size: 0.88rem;
}

.mact-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.mact-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.mact-footer a {
  color: var(--mact-green-dark);
  text-decoration: none;
}

@media (max-width: 980px) {
  .mact-hero-grid,
  .mission-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .mact-hero-copy,
  .mact-hero-art {
    min-height: auto;
  }

  .mact-hero-art {
    min-height: 680px;
  }

  .mission-intro {
    position: static;
  }

  .offer-grid {
    grid-template-columns: 1fr;
  }

  .offer-card {
    min-height: auto;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mact-band-grid {
    grid-template-columns: 1fr;
  }

  .mact-band-item + .mact-band-item {
    border-top: 1px solid var(--mact-line);
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .mact-shell {
    width: min(100% - 28px, 1180px);
  }

  .mact-header {
    position: static;
  }

  .mact-links {
    display: none;
  }

  .mact-hero-copy {
    padding: 58px 28px 64px;
  }

  .mact-hero h1 {
    font-size: clamp(3rem, 15vw, 4.9rem);
  }

  .mact-hero-art {
    min-height: 580px;
  }

  .mact-app-card {
    width: min(82%, 420px);
  }

  .values-grid,
  .support-options {
    grid-template-columns: 1fr;
  }

  .mact-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
