/* =====================================================
   FONTS
   ===================================================== */
@font-face {
  font-family: "Cruinn";
  src: url("assets/fonts/Cruinn Thin.ttf") format("truetype");
  font-weight: 100;
  font-display: swap;
}
@font-face {
  font-family: "Cruinn";
  src: url("assets/fonts/Cruinn Light.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Cruinn";
  src: url("assets/fonts/Cruinn Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Cruinn";
  src: url("assets/fonts/Cruinn Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Cruinn";
  src: url("assets/fonts/Cruinn Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Cruinn";
  src: url("assets/fonts/Cruinn Black.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}

/* =====================================================
   TOKENS
   ===================================================== */
:root {
  --red:      #BB0701;
  --red-dark: #A80500;
  --orange:   #E04C26;
  --beige:    #F4EEE2;
  --green:    #2C5A19;
  --yellow:   #FBBA16;
  --blue:     #9BCCD0;
  --black:    #202020;

  --max-width: 1160px;
  --gutter: clamp(26px, 5.5vw, 48px);
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Cruinn", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  background: var(--beige);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: "Cruinn", "Helvetica Neue", Arial, sans-serif;
  border: none;
  background: none;
  cursor: pointer;
}

button:disabled { cursor: not-allowed; }

ul { list-style: none; }

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
h1, h2, h3 {
  font-family: "Cruinn", sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

h1 {
  font-weight: 900;
  font-size: clamp(52px, 9vw, 96px);
  line-height: 0.93;
}

h2 {
  font-weight: 700;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 0.93;
}

h3 {
  font-weight: 700;
  font-size: clamp(14px, 1.8vw, 18px);
  line-height: 1.1;
  letter-spacing: 0.04em;
}

/* Slogans */
.section-lead {
  font-family: "Cruinn", sans-serif;
  font-weight: 700;
  text-transform: none;
  line-height: 0.9;
  font-size: clamp(15px, 2vw, 22px);
}

/* Body */
p, li {
  font-family: "Cruinn", sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.1;
}

/* Eyebrow */
.eyebrow {
  font-family: "Cruinn", sans-serif;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-block;
}

/* =====================================================
   LAYOUT
   ===================================================== */
.container {
  width: min(100% - var(--gutter) * 2, var(--max-width));
  margin-inline: auto;
}

section { padding-block: clamp(64px, 8vw, 120px); }

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
/* heading sized to its longest line so JS can cap the lead width to match */
.section-head h2 { width: fit-content; max-width: 100%; }

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 238, 226, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(187, 7, 1, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}

.logo {
  font-family: "Cruinn", sans-serif;
  font-weight: 900;
  font-size: clamp(11px, 1.2vw, 14px);
  line-height: 1.05;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  transition: opacity 0.2s;
}
.logo:hover { opacity: 0.7; }

.main-nav {
  display: flex;
  gap: clamp(14px, 2.2vw, 28px);
}
.main-nav a {
  font-family: "Cruinn", sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: rgba(32, 32, 32, 0.5);
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--black); }

.btn-header-cta {
  font-family: "Cruinn", sans-serif;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 10px;
  background: var(--red);
  color: var(--beige);
  white-space: nowrap;
  transition: background 0.15s, transform 0.18s, box-shadow 0.18s;
}
.btn-header-cta:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(187, 7, 1, 0.32);
}

/* =====================================================
   HERO  —  beige bg
   ===================================================== */
.hero {
  background: var(--beige);
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(64px, 8vw, 120px);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.hero-content { display: grid; gap: 28px; }
.hero-content h1 { color: var(--black); }

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: fit-content;
  align-items: stretch;
}

.btn-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 40px;
  border-radius: 16px;
  background: var(--red);
  color: var(--beige);
  font-family: "Cruinn", sans-serif;
  font-weight: 900;
  font-size: clamp(16px, 2vw, 20px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.15s, transform 0.18s, box-shadow 0.18s;
}
.btn-cta:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(187, 7, 1, 0.38);
}

/* iPhone mockup PNG */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.iphone-stage {
  width: fit-content;
  position: relative;
  z-index: 1;
  /* no background — the PNG already has its own dark bezel */
  filter: drop-shadow(0 32px 64px rgba(0,0,0,0.45)) drop-shadow(0 8px 24px rgba(0,0,0,0.3));
}

.iphone-mockup {
  width: min(300px, 54vw);
  display: block;
  flex-shrink: 0;
}

/* =====================================================
   STATS  —  red bg
   ===================================================== */
.stats {
  padding-block: clamp(48px, 6vw, 80px);
  background: var(--red);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat { min-width: 0; }

.stat-num {
  display: inline-block;
  position: relative;          /* anchor for the "+" suffix */
  font-family: "Cruinn", sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1;
  color: var(--beige);
}
/* "+" sits outside the digits so the number centers on its digits alone */
.stat-plus {
  position: absolute;
  left: 100%;
  top: 0;
}
.stat-label {
  display: block;
  font-family: "Cruinn", sans-serif;
  font-weight: 500;
  font-size: clamp(12px, 1.4vw, 15px);
  color: rgba(244, 238, 226, 0.6);
  margin-top: 8px;
  text-transform: lowercase;
}

/* =====================================================
   PROBLEM / SOLUTION  —  beige bg
   ===================================================== */
.problem { background: var(--beige); }

.problem-grid {
  display: grid;
  gap: 10px;
}

.problem-row {
  display: grid;
  grid-template-columns: 1fr 36px 1fr;
  align-items: stretch;       /* before/after cells match height in a row */
  gap: 10px;
}

.problem-cell {
  display: flex;
  align-items: center;
  padding: clamp(16px, 2vw, 22px) clamp(20px, 2.5vw, 28px);
  border-radius: 14px;
  font-family: "Cruinn", sans-serif;
  font-weight: 700;
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.3;
}

.problem-cell--before {
  background: rgba(32, 32, 32, 0.05);
  border: 1px solid rgba(32, 32, 32, 0.08);
  color: rgba(32, 32, 32, 0.72);
  text-decoration: line-through;
  text-decoration-color: rgba(32, 32, 32, 0.4);
  text-decoration-thickness: 1px;
}

.problem-cell--after {
  background: var(--red);
  border: 1px solid var(--red);
  color: rgba(244, 238, 226, 0.95);
}

.problem-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cruinn", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: rgba(32, 32, 32, 0.2);
}

/* =====================================================
   HOW IT WORKS  —  dark bg
   ===================================================== */
.how { background: var(--black); }

.how .eyebrow      { color: var(--orange); }
.how h2            { color: var(--beige); }
.how .section-lead { color: rgba(244, 238, 226, 0.45); }

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
}

.feature {
  padding: clamp(28px, 3vw, 40px);
  border-radius: 20px;
  background: rgba(244, 238, 226, 0.05);
  border: 1px solid rgba(244, 238, 226, 0.1);
  display: grid;
  gap: 16px;
  align-content: start;
}

.feature-num {
  font-family: "Cruinn", sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1;
  color: var(--red);
}
.feature h3 { color: var(--beige); }
.feature p  {
  font-family: "Cruinn", sans-serif;
  font-weight: 500;
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.25;
  color: rgba(244, 238, 226, 0.62);
}

/* =====================================================
   FOR WHOM  —  beige bg
   ===================================================== */
.for-whom { background: var(--beige); }

.section-lead { color: rgba(32, 32, 32, 0.58); }

.levels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 20px);
}

.level {
  padding: clamp(20px, 2.5vw, 28px);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(187, 7, 1, 0.1);
  display: grid;
  gap: 10px;
  align-content: start;
}

.level-name {
  font-family: "Cruinn", sans-serif;
  font-weight: 700;
  font-size: clamp(13px, 1.6vw, 17px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--red);
}
.level p {
  font-family: "Cruinn", sans-serif;
  font-weight: 500;
  font-size: clamp(13px, 1.5vw, 16px);
  line-height: 1.25;
  color: rgba(32, 32, 32, 0.65);
}

/* =====================================================
   WHERE  —  dark bg · clubs carousel
   ===================================================== */
.where { background: var(--black); }

.where .eyebrow      { color: var(--yellow); }
.where h2            { color: var(--beige); }
.where .section-lead { color: rgba(244, 238, 226, 0.5); }

.clubs-carousel { position: relative; }

.clubs-track {
  display: flex;
  gap: clamp(12px, 1.8vw, 20px);
  overflow: hidden;          /* clips but allows JS scrollLeft */
  -webkit-overflow-scrolling: touch;
  user-select: none;
}

.club-card {
  display: block;            /* ensure <a> renders as block */
  flex: 0 0 clamp(220px, 24vw, 300px);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(244, 238, 226, 0.05);
  border: 1px solid rgba(251, 186, 22, 0.2);
  transition: border-color 0.2s;
}
.club-card[href]:hover { border-color: rgba(251, 186, 22, 0.5); cursor: pointer; }

.club-img-wrap {
  aspect-ratio: 1 / 1;       /* square container */
  background: rgba(244, 238, 226, 0.06);  /* soft placeholder while loading */
  overflow: hidden;
}

.club-img {
  width: 100%;
  height: 100%;
  object-fit: contain;       /* full logo, no crop */
  display: block;
  transition: transform 0.4s ease;
}
.club-card:hover .club-img { transform: scale(1.04); }

.club-info {
  padding: clamp(16px, 2vw, 22px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.clubs-nav {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  justify-content: flex-end;
}

.clubs-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(251, 186, 22, 0.3);
  background: rgba(244, 238, 226, 0.06);
  color: rgba(244, 238, 226, 0.65);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
}
.clubs-btn:hover:not(:disabled) {
  background: rgba(244, 238, 226, 0.12);
  border-color: rgba(251, 186, 22, 0.65);
  color: var(--beige);
}
.clubs-btn:disabled { opacity: 0.25; cursor: not-allowed; }

.location-badge {
  font-family: "Cruinn", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  background: rgba(251, 186, 22, 0.12);
  border: 1px solid rgba(251, 186, 22, 0.25);
  padding: 4px 10px;
  border-radius: 6px;
  width: fit-content;
}

.location-badge--city {
  color: var(--blue);
  background: rgba(155, 204, 208, 0.12);
  border-color: rgba(155, 204, 208, 0.25);
}

.location-name {
  font-family: "Cruinn", sans-serif;
  font-weight: 700;
  font-size: clamp(15px, 2vw, 20px);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--beige);
}

/* =====================================================
   ORGANIZERS  —  beige bg
   ===================================================== */
.organizers { background: var(--beige); }

.org-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 72px);
  margin-bottom: clamp(36px, 5vw, 52px);
}

.org-title {
  font-family: "Cruinn", sans-serif;
  font-weight: 700;
  font-size: clamp(15px, 1.8vw, 19px);
  text-transform: lowercase;
  color: var(--red);
  line-height: 0.9;
  margin-bottom: 20px;
}

.org-col ul { display: grid; gap: 12px; }

.org-col li {
  padding-left: 18px;
  position: relative;
  font-family: "Cruinn", sans-serif;
  font-weight: 500;
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.3;
  color: rgba(32, 32, 32, 0.8);
}
.org-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 14px;
  background: var(--black);
  color: var(--beige);
  font-family: "Cruinn", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -16px rgba(32, 32, 32, 0.5);
}

/* =====================================================
   JOIN  —  red bg
   ===================================================== */
.join { background: var(--red); }

.join-inner {
  display: grid;
  gap: clamp(24px, 3.5vw, 36px);
  max-width: 700px;
}

.join .eyebrow { color: rgba(244, 238, 226, 0.6); }
.join h2       { color: var(--beige); }

.join-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: fit-content;
  align-items: stretch;
}

.btn-join {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 40px;
  border-radius: 16px;
  background: #fff;
  color: var(--red);
  font-family: "Cruinn", sans-serif;
  font-weight: 900;
  font-size: clamp(16px, 2vw, 20px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.15s, transform 0.18s, box-shadow 0.18s;
}
.btn-join:hover {
  background: #f7f0e6;
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(255, 255, 255, 0.38);
}

/* =====================================================
   FOOTER  —  dark bg
   ===================================================== */
.site-footer {
  background: var(--black);
  padding-block: clamp(40px, 5vw, 60px) 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: nowrap;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.footer-brand { flex-shrink: 0; }

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  flex-shrink: 1;
  min-width: 0;   /* allow the block to shrink so the nav wraps instead of overflowing */
}

.footer-logo {
  font-family: "Cruinn", sans-serif;
  font-weight: 900;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
  margin-bottom: 8px;
}
.footer-tagline {
  font-family: "Cruinn", sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: rgba(244, 238, 226, 0.35);
  text-transform: lowercase;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: flex-end;
}
.footer-nav a {
  font-family: "Cruinn", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: rgba(244, 238, 226, 0.5);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--beige); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  justify-content: flex-end;
}
.footer-legal a {
  font-family: "Cruinn", sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: rgba(244, 238, 226, 0.28);
  transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(244, 238, 226, 0.55); }

/* =====================================================
   DOWNLOAD MODAL
   ===================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(32, 32, 32, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.modal-overlay.modal--open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--beige);
  border-radius: 24px;
  padding: clamp(28px, 5vw, 44px);
  width: min(440px, 100%);
  position: relative;
  transform: scale(0.94) translateY(12px);
  transition: transform 0.32s cubic-bezier(0.34, 1.4, 0.64, 1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
}
.modal-overlay.modal--open .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(32, 32, 32, 0.08);
  color: rgba(32, 32, 32, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.modal-close:hover {
  background: rgba(32, 32, 32, 0.15);
  color: var(--black);
}

.modal-heading {
  font-size: clamp(32px, 5vw, 48px);
  color: var(--black);
  margin-top: 14px;
  margin-bottom: 18px;
}

.modal-stores {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-store-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 20px;
  border-radius: 14px;
  background: var(--black);
  color: var(--beige);
  transition: transform 0.15s, box-shadow 0.15s;
}
.modal-store-btn:not(.store-soon):hover {
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(32, 32, 32, 0.25);
}
.modal-store-btn.store-soon {
  opacity: 0.32;
  pointer-events: none;
}

.modal-store-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
}

.modal-store-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.modal-store-name {
  font-family: "Cruinn", sans-serif;
  font-weight: 700;
  font-size: clamp(15px, 2vw, 17px);
  letter-spacing: 0.03em;
}
.modal-store-status {
  font-family: "Cruinn", sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 238, 226, 0.42);
}
.modal-store-btn:not(.store-soon) .modal-store-status {
  color: rgba(244, 238, 226, 0.65);
}

/* =====================================================
   INNER PAGES  (contacts, privacy, terms)
   ===================================================== */
.page-breadcrumb {
  border-bottom: 1px solid rgba(32, 32, 32, 0.08);
  padding: 11px 0;
  background: var(--beige);
}
.page-breadcrumb .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.breadcrumb-back {
  font-family: "Cruinn", sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: rgba(32, 32, 32, 0.45);
  transition: color 0.2s;
}
.breadcrumb-back:hover { color: var(--black); }

.page-hero {
  background: var(--beige);
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(64px, 8vw, 100px);
}
.page-hero h1 { color: var(--black); }
.page-hero .section-lead { max-width: 560px; margin-top: 16px; }

/* Contacts */
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: clamp(40px, 5vw, 56px);
  max-width: 480px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(187, 7, 1, 0.1);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.contact-card:hover {
  background: #fff;
  border-color: rgba(187, 7, 1, 0.22);
  transform: translateY(-2px);
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--red);
  color: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-type {
  display: block;
  font-family: "Cruinn", sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--black);
}
.contact-value {
  display: block;
  font-family: "Cruinn", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: rgba(32, 32, 32, 0.55);
  margin-top: 3px;
}

/* Legal pages */
.legal-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(32px, 4vw, 48px);
  padding: 18px 28px;
  border-radius: 14px;
  background: rgba(32, 32, 32, 0.05);
  border: 1px solid rgba(32, 32, 32, 0.08);
  font-family: "Cruinn", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: rgba(32, 32, 32, 0.45);
}

/* =====================================================
   BRAND ILLUSTRATIONS
   ===================================================== */
.problem, .for-whom, .organizers { position: relative; overflow: hidden; }

.problem > .container,
.for-whom > .container,
.organizers > .container { position: relative; z-index: 1; }

.section-illo {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* dices — на уровне середины заголовка, правее */
.illo-dices {
  width: clamp(90px, 11vw, 140px);
  right: 12%;
  top: clamp(110px, 13vw, 150px);
  transform: rotate(-10deg);
  mix-blend-mode: multiply;
  opacity: 0.9;
}

/* racket-with-ball — над карточкой "Топ России и СНГ", без перекрытия */
.illo-racket-ball {
  width: clamp(95px, 11vw, 140px);
  right: clamp(40px, 5vw, 64px);
  top: clamp(24px, 3.5vw, 50px);
  bottom: auto;
  transform: rotate(6deg);
  mix-blend-mode: multiply;
  opacity: 0.82;
}

/* man-with-hands-up — прижат к нижнему краю секции (обрезан снизу) */
.illo-handsup {
  width: clamp(100px, 12vw, 155px);
  right: clamp(16px, 3vw, 48px);
  bottom: 0;
  mix-blend-mode: multiply;
  opacity: 0.78;
}

@media (max-width: 900px) {
  .illo-dices {
    width: clamp(62px, 15vw, 105px);
    right: 5%;
    top: clamp(44px, 8vw, 90px);
  }
  .illo-racket-ball {
    width: clamp(42px, 9.5vw, 74px);
    right: 5%;
    top: clamp(18px, 3.5vw, 40px);
  }
  .illo-handsup {
    width: clamp(64px, 15vw, 110px);
    right: 4%;
    bottom: 0;
  }
}

/* =====================================================
   VISUAL ENHANCEMENTS
   ===================================================== */

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Button gradient sweep — dark buttons (white shimmer) */
.btn-cta,
.btn-primary { position: relative; overflow: hidden; }

.btn-cta::after,
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-15deg);
  pointer-events: none;
}
.btn-cta:hover::after,
.btn-primary:hover::after { animation: btn-sweep 0.55s ease forwards; }

/* white button (.btn-join) — dark shimmer */
.btn-join { position: relative; overflow: hidden; }

.btn-join::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.07), transparent);
  transform: skewX(-15deg);
  pointer-events: none;
}
.btn-join:hover::after { animation: btn-sweep 0.55s ease forwards; }

@keyframes btn-sweep { to { left: 130%; } }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-content { order: 2; text-align: center; }
  .hero-cta  { align-items: center; margin-inline: auto; }
  .hero-visual { order: 1; }

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

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

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

  /* CTA stays put; the nav shrinks and scrolls horizontally if it doesn't fit */
  .header-inner { gap: 14px; }
  .logo, .btn-header-cta { flex-shrink: 0; }
  .main-nav {
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: clamp(10px, 1.8vw, 22px);
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { font-size: 13px; white-space: nowrap; }
}

@media (max-width: 768px) {
  .org-grid { grid-template-columns: 1fr; gap: 32px; }
  .levels   { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  /* CTA stays on the top row; nav drops to its own full-width scrollable row */
  .header-inner { flex-wrap: wrap; row-gap: 12px; }
  .logo          { order: 1; }
  .btn-header-cta { order: 2; }
  .main-nav      { order: 3; flex-basis: 100%; }

  /* footer stacks into a left-aligned column */
  .footer-inner { flex-direction: column; gap: 20px; }
  .footer-right  { align-items: flex-start; }
  .footer-nav    { justify-content: flex-start; }
  .footer-legal  { justify-content: flex-start; }

  /* before/after blocks share the same height even when stacked */
  .problem-row {
    grid-template-columns: 1fr;
    grid-auto-rows: 1fr;
    gap: 6px;
  }
  .problem-arrow { display: none; }
}

@media (max-width: 560px) {
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    text-align: center;
  }
  .iphone-stage  { border-radius: 44px; }
  .iphone-mockup { width: min(260px, 75vw); }

  /* scale headings down so long words never get clipped */
  h1 { font-size: clamp(36px, 11vw, 52px); }
  h2 { font-size: clamp(30px, 8.5vw, 46px); }
}
