/* ============================================================
   Partners Unlimited — 2026 redesign
   Simple, static, single shared stylesheet
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --ink: #0b1220;
  --ink-soft: #334155;
  --body: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-soft: #eef2f7;

  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-dark: #0b1020;
  --bg-dark-2: #111a2e;

  --brand: #7c3aed;
  --brand-dark: #6d28d9;
  --brand-ink: #4c1d95;
  --brand-soft: #f3eefe;
  --accent: #2563eb;

  --grad: linear-gradient(120deg, #7c3aed 0%, #2563eb 100%);
  --grad-soft: linear-gradient(120deg, rgba(124, 58, 237, .12), rgba(37, 99, 235, .12));

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 12px rgba(15, 23, 42, .05);
  --shadow-md: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 24px 60px -24px rgba(15, 23, 42, .28);

  --container: 72rem;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }

a {
  color: var(--brand-dark);
  text-decoration: none;
  transition: color .2s ease;
}
a:hover { color: var(--brand); }

ul, ol { margin: 0; padding: 0; list-style: none; }

address { font-style: normal; }

button { font: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: rgba(124, 58, 237, .18); }

/* ---------- Layout helpers ---------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section { padding-block: clamp(4rem, 8vw, 6.5rem); }

.section-soft { background: var(--bg-soft); }

.section-head { max-width: 46rem; }
.section-head.is-center {
  margin-inline: auto;
  text-align: center;
}

/* Eyebrow label, e.g. "about us" / "why us" */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1.1rem;
}
.eyebrow::after {
  content: "";
  width: 2.75rem;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}
.eyebrow.is-center::before {
  content: "";
  width: 2.75rem;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.lead { font-size: 1.075rem; color: var(--ink-soft); }

.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2;
  letter-spacing: .01em;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(124, 58, 237, .55);
}
.btn-primary:hover {
  background: var(--brand-dark);
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(124, 58, 237, .6);
}

.btn-light {
  background: #fff;
  color: var(--brand-ink);
  box-shadow: var(--shadow-sm);
}
.btn-light:hover { color: var(--brand-dark); box-shadow: var(--shadow-md); }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .65);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--brand-dark);
  border-color: rgba(124, 58, 237, .45);
}
.btn-outline:hover {
  background: var(--brand-soft);
  color: var(--brand-ink);
}

/* Text link with arrow */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  color: var(--brand-dark);
}
.link-more svg { transition: transform .2s ease; }
.link-more:hover svg { transform: translateX(4px); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 6px 24px -18px rgba(15, 23, 42, .35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand-logo img { height: 54px; width: auto; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.main-nav a {
  display: inline-block;
  padding: .55rem .85rem;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .2s ease, background-color .2s ease;
}
.main-nav a:hover { color: var(--brand-dark); background: var(--brand-soft); }
.main-nav a[aria-current="page"] {
  color: var(--brand-ink);
  background: var(--brand-soft);
  font-weight: 600;
}
.main-nav .nav-cta {
  margin-left: .6rem;
  padding: .55rem 1.2rem;
  font-weight: 600;
  color: var(--brand-dark);
  border: 1px solid rgba(124, 58, 237, .4);
  border-radius: 999px;
}
.main-nav .nav-cta:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* Hamburger */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  box-shadow: var(--shadow-lg);
  padding: .75rem 1.25rem 1.25rem;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: .8rem 1rem;
  border-radius: 12px;
  font-weight: 500;
  color: var(--ink-soft);
}
.mobile-nav a:hover { background: var(--bg-soft); color: var(--brand-dark); }
.mobile-nav a[aria-current="page"] {
  color: var(--brand-ink);
  background: var(--brand-soft);
  font-weight: 600;
}
.mobile-nav .mobile-nav-cta {
  margin-top: .6rem;
  text-align: center;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}
.mobile-nav .mobile-nav-cta:hover { background: var(--brand-dark); color: #fff; }

/* ============================================================
   Hero (home)
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(92svh, 860px);
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero-media, .page-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img, .page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after, .page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(8, 10, 24, .82) 0%, rgba(8, 10, 24, .55) 45%, rgba(8, 10, 24, .28) 100%),
    linear-gradient(to top, rgba(8, 10, 24, .55), transparent 45%);
}

.hero-content {
  max-width: 44rem;
  padding-block: clamp(6rem, 12vw, 9rem);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #ddd0fe;
  margin-bottom: 1.25rem;
}
.hero-eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, .85);
  max-width: 34rem;
  margin-bottom: 2.25rem;
}

/* ============================================================
   Page hero (inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: clamp(300px, 42vw, 460px);
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

/* Hero variant without a photo (gradient only) */
.page-hero-plain {
  background: linear-gradient(120deg, #150b2e 0%, #4c1d95 55%, #2563eb 135%);
}
.page-hero-plain::after { display: none; }

/* ============================================================
   Home — about strip
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

/* Why-us cards */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.75rem;
}

.why-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.why-card .why-card-media {
  aspect-ratio: 37 / 27;
  overflow: hidden;
}
.why-card .why-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.why-card:hover .why-card-media img { transform: scale(1.06); }
.why-card .why-card-body {
  padding: 1.15rem 1.35rem 1.35rem;
}
.why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.why-card h3::before {
  content: "";
  width: .5rem;
  height: .5rem;
  flex-shrink: 0;
  border-radius: 3px;
  background: var(--grad);
}

/* CTA band (discover / join) */
.cta-band {
  position: relative;
  isolation: isolate;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.cta-band .cta-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.cta-band .cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(76, 29, 149, .92), rgba(37, 99, 235, .82));
}
.cta-band.cta-band-dark::after {
  background: linear-gradient(120deg, rgba(8, 10, 24, .9), rgba(30, 20, 60, .82));
}
.cta-band h2, .cta-band h3, .cta-band p { color: #fff; }
.cta-band .cta-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: .5rem;
}
.cta-band .cta-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: rgba(255, 255, 255, .88);
  margin-bottom: 2rem;
}
.cta-band .btn { margin-top: .25rem; }

/* Membership strip (home) */
.membership-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 2rem;
  margin-top: 2.25rem;
}
.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.feature img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: .2rem;
}
.feature h3 { font-size: 1.06rem; margin-bottom: .35rem; }
.feature p { font-size: .94rem; margin: 0; color: var(--muted); }

.frame-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.frame-img img { width: 100%; }

/* ============================================================
   Inner page content
   ============================================================ */
.content-split {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.prose h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  font-weight: 700;
  margin: 2.25rem 0 1rem;
}
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 1.1rem; }
.prose strong { color: var(--ink); }

.prose ul.bullets {
  margin: 0 0 1.4rem;
  display: grid;
  gap: .65rem;
}
.prose ul.bullets li {
  position: relative;
  padding-left: 1.5rem;
}
.prose ul.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: .55rem;
  height: .55rem;
  border-radius: 3px;
  background: var(--grad);
  transform: rotate(45deg);
}

/* Highlighted intro line (e.g. PEOPLE - PEOPLE - PEOPLE) */
.value-shout {
  display: inline-block;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--brand-ink);
  background: var(--brand-soft);
  border: 1px solid rgba(124, 58, 237, .18);
  padding: .6rem 1.2rem;
  border-radius: 12px;
  margin-bottom: 1.1rem;
}

.side-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}
.side-photo img { width: 100%; }

/* Divided statement list (How We Operate) */
.divided-list { border-top: 1px solid var(--line); }
.divided-list > div {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.divided-list p { margin: 0; }

/* Rule cards (Membership) */
.rule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.rule-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.rule-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.rule-card .rule-title { font-weight: 700; color: var(--ink); margin-bottom: .7rem; }
.rule-card ul.bullets-sm {
  display: grid;
  gap: .45rem;
  margin-top: .4rem;
}
.rule-card ul.bullets-sm li {
  position: relative;
  padding-left: 1.25rem;
  font-size: .95rem;
}
.rule-card ul.bullets-sm li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: .45rem;
  height: .45rem;
  border-radius: 2px;
  background: var(--grad);
  transform: rotate(45deg);
}

/* Application banner (Membership page) */
.apply-panel {
  margin-top: clamp(3rem, 6vw, 5rem);
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  text-align: center;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
}
.apply-panel .apply-title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: .75rem;
}
.apply-panel p { max-width: 40rem; margin-inline: auto; }
.apply-panel .btn { margin-top: 1rem; }

/* ============================================================
   Contact page
   ============================================================ */
.info-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0 3.5rem;
}
.info-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.info-card .info-card-title {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
}
.info-card .info-card-title svg { color: var(--brand); }
.info-card address { color: var(--body); line-height: 1.8; }
.info-card p { margin: 0; }

/* Form */
.form-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-md);
}
.form-card fieldset { border: 0; padding: 0; margin: 0; }
.form-card legend {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.5rem;
  padding: 0;
}
.form-grid { display: grid; gap: 1.25rem; }

.field label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: .45rem;
}
.field label .req { color: #dc2626; }
.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .8rem 1rem;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, .12);
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.captcha-row img {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 4px 8px;
  height: 42px;
  width: auto;
}
.captcha-row input { max-width: 220px; }

.form-actions { margin-top: .5rem; display: flex; justify-content: flex-end; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--bg-dark);
  color: #94a3b8;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .7fr .9fr 1.2fr;
  gap: 2.5rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.footer-col h5 {
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 1.1rem;
}
.footer-col ul { display: grid; gap: .55rem; }
.footer-col a { color: #94a3b8; font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.footer-col address {
  line-height: 1.8;
  font-size: .95rem;
}
.footer-address {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
}
.footer-address svg { flex-shrink: 0; margin-top: .3rem; color: var(--brand); }

.social-row { display: flex; gap: .6rem; margin-top: .25rem; }
.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, .25);
  color: #cbd5e1;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.social-row a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}
.social-row svg { width: 16px; height: 16px; }

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, .14);
  padding-block: 1.4rem;
  font-size: .88rem;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { margin: 0; }

/* ============================================================
   Member area (login page)
   ============================================================ */
.ma-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line-soft);
}
.ma-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}
.ma-header .brand-logo img { width: 132px; }
.ma-actions { display: flex; align-items: center; gap: .7rem; }
.ma-header .ma-nav ul { display: flex; align-items: center; gap: .25rem; }
.ma-header .ma-nav a {
  padding: .5rem .8rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.ma-header .ma-nav a:hover { color: var(--brand-dark); background: var(--brand-soft); }

.ma-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 340px;
  padding-block: 4rem;
  color: #fff;
  overflow: hidden;
}
.ma-hero-media { position: absolute; inset: 0; z-index: -2; }
.ma-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.ma-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(8, 10, 24, .82), rgba(30, 20, 60, .6));
}
.ma-hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: .6rem;
}
.ma-hero p {
  color: rgba(255, 255, 255, .85);
  font-size: 1.1rem;
  margin: 0;
}

.ma-main {
  background: var(--bg-soft);
  padding-block: clamp(3rem, 6vw, 5rem);
}
.login-card {
  max-width: 26.5rem;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2.25rem 2rem;
}
.login-card h2 {
  text-align: center;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.login-extra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .9rem;
}
.checkbox {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.checkbox input { width: 1rem; height: 1rem; accent-color: var(--brand); }
.login-card .btn { width: 100%; margin-top: 1.25rem; }
.login-alt { text-align: center; margin: 1.25rem 0 0; font-size: .93rem; }

.pw-field { position: relative; }
.pw-toggle {
  position: absolute;
  right: .6rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: .35rem;
  border-radius: 8px;
  display: inline-flex;
}
.pw-toggle:hover { color: var(--brand-dark); background: var(--brand-soft); }
.pw-field input { padding-right: 2.75rem; }

/* Member area footer */
.ma-footer {
  position: relative;
  background-color: var(--bg-dark);
  background-image: url("../img/member-pattern.png");
  background-size: cover;
  background-position: center;
  color: #94a3b8;
}
.ma-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 24, .88);
}
.ma-footer > .container { position: relative; }
.ma-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 3rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.ma-footer .brand-logo img {
  width: 150px;
  background: #fff;
  border-radius: 12px;
  padding: .5rem .75rem;
  margin-bottom: 1rem;
}
.ma-footer h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}
.ma-footer ul { display: grid; gap: .55rem; }
.ma-footer a { color: #94a3b8; font-size: .95rem; }
.ma-footer a:hover { color: #fff; }
.ma-footer .info-list li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  margin-bottom: .8rem;
  font-size: .95rem;
  line-height: 1.65;
}
.ma-footer .info-list svg { flex-shrink: 0; margin-top: .25rem; color: var(--brand); }

/* ============================================================
   Reveal on scroll (progressive enhancement — content is
   visible by default; animation only applies when JS is on)
   ============================================================ */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
}
html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
  .btn:hover, .why-card:hover, .rule-card:hover { transform: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }

  .split,
  .membership-grid,
  .content-split { grid-template-columns: 1fr; }

  .side-photo { position: static; max-width: 34rem; }

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

  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .ma-footer-grid { grid-template-columns: 1fr 1fr; }

  .ma-header .ma-nav { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .why-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .rule-grid { grid-template-columns: 1fr; }
  .info-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ma-footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 78svh; }
  .captcha-row input { max-width: none; flex: 1; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .ma-actions .btn { padding: .6rem 1.1rem; font-size: .88rem; }
}
