/* TeleMamba marketing site — v3 "dense / bento dashboard", built out to production copy.
   v7 PLATINUM identity: dark navy/black bg, single platinum metallic accent,
   sharp 2px edges only, no skew/bevel, Bebas Neue + Space Grotesk + Inter + JetBrains Mono. */

:root {
  --bg: #070B14;
  --surface: #0C1322;
  --surface-2: #111A2E;
  --line: #1B2438;
  --line-2: #3A4867;
  --text: #EEF2F9;
  --text-dim: #9AA6BE;
  --text-on-plat: #0B0E16;
  --acc: #C9D5EA;
  --plat: linear-gradient(135deg, #FFFFFF 0%, #D8E1F0 35%, #C9D5EA 55%, #98A5BC 100%);
  --radius: 2px;
  --font-display: "Bebas Neue", sans-serif;
  --font-ui: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --wrap: 1240px;
}

* { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100%; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; }
table { border-collapse: collapse; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--font-mono); }

/* ---------- noise overlay ---------- */
.tm-noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Reveal-on-scroll is enhancement only — content is ALWAYS visible by default.
   JS may animate a small translateY shift in; it must never gate opacity. */
.tm-reveal { opacity: 1; }

.tm-divider {
  position: relative; height: 2px; width: 100%; background: var(--line);
  overflow: hidden; margin: 8px 0 0;
}
.tm-divider::after {
  content: ""; position: absolute; inset: 0; width: 0%;
  background: var(--plat); transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.tm-divider.tm-drawn::after { width: 100%; }

/* ---------- text / buttons ---------- */
.tm-plat-text {
  background: var(--plat); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.tm-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border: none; border-radius: var(--radius);
  background: var(--plat); color: var(--text-on-plat);
  font-family: var(--font-ui); font-weight: 700; font-size: 13px;
  letter-spacing: 0.03em; text-transform: uppercase; cursor: pointer;
  box-shadow: 4px 4px 0 0 #000;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.tm-btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 0 #000; }
.tm-btn-primary:active { transform: translate(0, 0); box-shadow: 2px 2px 0 0 #000; }

.tm-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: transparent; color: var(--text);
  font-family: var(--font-ui); font-weight: 700; font-size: 13px;
  letter-spacing: 0.03em; text-transform: uppercase; cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.tm-btn-ghost:hover { border-color: var(--acc); background: rgba(201, 213, 234, 0.06); }

.tm-sheen { position: relative; overflow: hidden; }
.tm-sheen::after {
  content: ""; position: absolute; top: 0; left: -50%; width: 30%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0) 20%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 80%, transparent 100%);
  transition: left 0.6s ease;
}
.tm-sheen:hover::after { left: 130%; }

/* magnetic hover — JS sets transform on mousemove; this just adds the settle-back easing */
.tm-magnetic { transition: transform 0.2s ease-out; }

/* ---------- icons ---------- */
.ic { width: 18px; height: 18px; }
.ic-acc { filter: brightness(0) invert(1); opacity: 0.92; }

/* ================= NAV ================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 11, 20, 0.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 400; letter-spacing: 0.04em; font-size: 26px;
  flex-shrink: 0;
}
.brand-mark { display: block; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.tm-btn-primary) {
  font-family: var(--font-ui); font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--text-dim); transition: color 0.15s ease;
}
.nav-links a:not(.tm-btn-primary):hover { color: var(--text); }
.nav-cta-mobile { display: none; }

.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text); display: block; }

/* ================= HERO — the video is the hero, big, first thing seen ================= */
.hero { padding: 76px 0 80px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.hero-logo-bg {
  position: absolute; top: 50%; left: 64%; width: 820px; max-width: none;
  transform: translate(-50%, -50%); z-index: 0; pointer-events: none;
}
.hero-logo-bg::before {
  content: ""; position: absolute; inset: -10%;
  background: radial-gradient(closest-side, rgba(110,99,245,0.30), rgba(59,138,255,0.14) 55%, transparent 75%);
}
.hero-logo-bg > img:first-child { position: relative; width: 100%; display: block; opacity: 0.34; }
.hero-logo-tg {
  position: absolute; width: 66px; top: 6%; right: 10%; opacity: 0.9;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.5));
}
.hero-logo-star { position: absolute; pointer-events: none; }
.hero-logo-star-1 { width: 118px; bottom: 10%; right: 6%; opacity: 0.9; transform: rotate(-14deg); }
.hero-logo-star-2 { width: 74px; top: 4%; right: 32%; opacity: 0.75; transform: rotate(16deg); z-index: 0; }

.hero-girl {
  position: absolute; left: 0; bottom: -80px; top: -44px; width: 390px; z-index: 0;
  pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 96%);
  mask-image: linear-gradient(90deg, #000 55%, transparent 96%);
}
.hero-girl-img { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0.8; }
.hero-girl-badge {
  position: absolute; left: 20px; bottom: 134px; z-index: 1;
  display: flex; align-items: center; gap: 7px;
  background: rgba(7,11,20,0.78); backdrop-filter: blur(6px); border: 1px solid var(--line-2);
  padding: 8px 12px; border-radius: var(--radius);
}
.hero-girl-star { width: 32px; height: 32px; flex-shrink: 0; }
.hero-girl-amount { color: #4ADE80; font-size: 15px; font-weight: 700; }
.hero-girl-permonth { color: var(--text-dim); font-size: 11px; font-weight: 400; }

.hero-inner {
  display: flex; align-items: center; justify-content: flex-start;
  gap: 44px; flex-wrap: wrap; position: relative; z-index: 1;
  padding-left: 340px;
}
.hero-text { max-width: 580px; flex: 1 1 480px; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.6vw, 64px);
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}
.hero-title .tm-plat-text {
  background: none !important; background-image: none !important;
  color: #C9D5EA !important; -webkit-text-fill-color: #C9D5EA !important;
}
.hero-sub { color: var(--text-dim); font-size: 17px; max-width: 480px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.hero-video { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero-video-frame {
  width: 320px; aspect-ratio: 316 / 640; border-radius: var(--radius);
  border: 1px solid var(--line-2); overflow: hidden; position: relative;
  background: #000; box-shadow: 0 0 0 1px #000, 0 30px 70px -16px rgba(0,0,0,0.7), 0 0 60px -8px rgba(201,213,234,0.14);
}
.hero-video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-flow {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center;
  font-size: 11px; color: var(--text-dim); letter-spacing: 0.03em; text-transform: uppercase;
}
.hero-flow-step { display: inline-flex; align-items: center; gap: 5px; }
.hero-flow-step .ic { width: 13px; height: 13px; opacity: 0.85; }
.hero-flow-star { width: 18px; height: 18px; }
.hero-flow-arrow { opacity: 0.5; }

/* ================= SHOWCASE — real screenshots, compact side by side ================= */
.showcase { padding: 20px 0 70px; }
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.showcase-shot {
  margin: 0; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; position: relative; background: var(--surface);
  display: flex; flex-direction: column;
}
.showcase-shot img { width: 100%; height: auto; display: block; }
.showcase-shot::before {
  content: ""; position: absolute; top: 0; left: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, #fff, var(--acc), #98A5BC);
  transition: width 0.5s ease; z-index: 2;
}
.showcase-shot:hover::before { width: 100%; }
.showcase-shot figcaption {
  padding: 14px 18px; font-family: var(--font-ui); font-size: 13px;
  color: var(--text-dim); border-top: 1px solid var(--line);
}

/* ================= SECTION HEAD ================= */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.eyebrow {
  display: inline-block; font-family: var(--font-ui); font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--acc); margin-bottom: 10px;
}
.section-head h2 {
  font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 38px);
  letter-spacing: 0.01em; text-transform: uppercase; line-height: 1.1;
}
.section-sub { color: var(--text-dim); margin-top: 10px; font-size: 14px; }

/* ================= BENTO GRID ================= */
.bento-section { padding: 40px 0 70px; }
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 128px;
  grid-auto-flow: dense;
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.tile {
  background: var(--surface);
  padding: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.tile-stat {
  grid-column: span 1;
  grid-row: span 1;
  justify-content: center;
  gap: 8px;
}
.stat-num {
  font-size: 30px;
  font-weight: 700;
  background: var(--plat);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.stat-label { font-size: 12.5px; color: var(--text-dim); line-height: 1.4; }

.tile-feat {
  grid-column: span 1;
  grid-row: span 1;
  justify-content: center;
  gap: 6px;
}
.tile-feat .ic { width: 20px; height: 20px; margin-bottom: 4px; }
.tile-feat h3 { font-family: var(--font-ui); font-size: 14px; letter-spacing: 0.01em; }
.tile-feat p { font-size: 12.5px; color: var(--text-dim); margin: 0; }

.tile-quote {
  grid-column: span 2;
  grid-row: span 1;
  justify-content: center;
  gap: 10px;
  background: var(--surface-2);
}
.tile-quote p { font-size: 14px; font-style: italic; color: var(--text); margin: 0; line-height: 1.5; }
.quote-attr { font-size: 11px; color: var(--text-dim); }

.tile-trust {
  grid-column: 1 / -1;
  grid-row: span 1;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}
.trust-label {
  font-family: var(--font-ui); font-size: 11.5px; letter-spacing: 0.06em;
  color: var(--text-dim); text-transform: uppercase; white-space: nowrap; flex-shrink: 0;
}
.trust-marquee {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.trust-track { display: flex; gap: 28px; width: max-content; animation: tm-marquee 22s linear infinite; }
.trust-row { display: flex; gap: 28px; flex-shrink: 0; width: max-content; }
@keyframes tm-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 14px)); } }
.trust-mark {
  font-family: var(--font-ui); font-weight: 700; letter-spacing: 0.02em;
  color: var(--text-dim); font-size: 13px; opacity: 0.8; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 5px;
}
.trust-star-ic { width: 15px; height: 15px; }

.tile::before {
  content: "";
  position: absolute; top: 0; left: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, #fff, var(--acc), #98A5BC);
  transition: width 0.35s ease;
  z-index: 2;
}
.tile:hover::before { width: 100%; }

/* ================= CREATOR SPOTLIGHT — telestars-style proof cards, our sharp language ================= */
.spotlight { padding: 30px 0 80px; }
.spotlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.spotlight-card { background: var(--surface); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.spotlight-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, #fff, var(--acc), #98A5BC); transition: width 0.35s ease; z-index: 2;
}
.spotlight-card:hover::before { width: 100%; }
.spotlight-photo {
  aspect-ratio: 4 / 5; background: var(--surface-2); position: relative;
  overflow: hidden; border-bottom: 1px solid var(--line);
}
.spotlight-photo picture { display: block; width: 100%; height: 100%; }
.spotlight-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 1; }
.spotlight-badge {
  position: absolute; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, #3B8AFF 0%, #6E63F5 45%, #B948D6 100%);
  backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 13px; border-radius: var(--radius); font-size: 14.5px; z-index: 1;
  box-shadow: 0 8px 20px -4px rgba(0,0,0,0.5);
}
.spotlight-badge .spotlight-star-ic { width: 32px; height: 32px; flex-shrink: 0; }
.spotlight-badge .mono { color: #fff; }
.spotlight-badge .spotlight-usd { color: rgba(255,255,255,0.85); }
.spotlight-usd { color: var(--text-dim); font-size: 12.5px; }
.spotlight-body { padding: 16px 18px 18px; }
.spotlight-name { font-family: var(--font-ui); font-weight: 700; font-size: 14px; }
.spotlight-handle { font-weight: 400; color: var(--text-dim); font-size: 12.5px; margin-left: 4px; }
.spotlight-line { font-size: 13px; color: var(--text-dim); margin: 6px 0 12px; line-height: 1.4; }
.spotlight-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.spotlight-tags span {
  font-family: var(--font-ui); font-size: 10.5px; letter-spacing: 0.02em;
  border: 1px solid var(--line-2); border-radius: var(--radius); padding: 4px 9px; color: var(--text-dim);
}

/* ================= BENEFITS — third use of the colorful Telegram motif ================= */
.benefits { padding: 70px 0; }
.benefits-eyebrow { color: rgba(255,255,255,0.85) !important; }
.benefits-h2 { color: #fff; }
.benefits-star {
  position: absolute; top: -34px; right: 8%; width: 130px; height: 130px;
  opacity: 0.2; transform: rotate(20deg); pointer-events: none; z-index: 1;
}
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: rgba(0,0,0,0.25); border: 1px solid rgba(0,0,0,0.25); position: relative; z-index: 2; }
.benefit {
  background: var(--surface); padding: 18px 16px; display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: var(--text-dim); line-height: 1.4; position: relative; overflow: hidden;
}
.benefit .ic { flex-shrink: 0; margin-top: 1px; }
.benefit::before {
  content: ""; position: absolute; top: 0; left: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, #fff, var(--acc), #98A5BC); transition: width 0.35s ease;
}
.benefit:hover::before { width: 100%; }

/* ================= PRICING TABLE ================= */
.pricing { padding: 30px 0 90px; }
.price-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.price-table { width: 100%; min-width: 620px; }
.price-table th, .price-table td {
  padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--line);
  font-size: 13.5px; color: var(--text-dim);
}
.price-table thead th { border-bottom: 1px solid var(--line-2); vertical-align: top; padding-top: 30px; }
.row-label { text-align: left; color: var(--text); font-size: 13px; white-space: nowrap; }
.th-plan { font-family: var(--font-ui); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; font-size: 13px; color: var(--text); margin-bottom: 6px; }
.th-price { font-size: 20px; color: var(--text); }
.th-price span { font-size: 11px; color: var(--text-dim); font-family: var(--font-body); margin-left: 3px; }
.th-recommended { background: rgba(201, 213, 234, 0.05); position: relative; }
.price-table thead .th-recommended { border-left: 1px solid var(--line-2); border-right: 1px solid var(--line-2); }
.price-badge {
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  background: var(--plat); color: var(--text-on-plat);
  font-family: var(--font-ui); font-size: 9.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 3px 9px; border-radius: var(--radius); white-space: nowrap;
}
.row-cta td { border-bottom: none; padding-top: 20px; padding-bottom: 20px; }
.price-cta { width: 100%; justify-content: center; }
.price-table-5 { min-width: 880px; }
.row-note { display: block; font-size: 9.5px; opacity: 0.7; margin-top: 2px; }

/* ================= FAQ ================= */
.faq-section { padding: 30px 0 90px; }
.faq-list { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 4px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-ui); font-size: 14.5px; font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { font-family: var(--font-mono); color: var(--acc); font-size: 16px; transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item p { margin: 0 4px 18px; font-size: 13.5px; color: var(--text-dim); max-width: 640px; }

/* ================= JOIN / COMMUNITY — the one intentional Telegram-branded section ================= */
.join-section { padding: 70px 0 80px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.join-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; z-index: 2; }
.join-text h2 { font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px); text-transform: uppercase; letter-spacing: 0.01em; max-width: 520px; color: #fff; }
.join-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

.tg-pattern-bg {
  position: relative; overflow: hidden;
  background:
    linear-gradient(135deg, #3B8AFF 0%, #6E63F5 45%, #B948D6 100%);
}
.tg-pattern-bg::before {
  content: ""; position: absolute; inset: 0; opacity: 0.14; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cpath d='M14 40 L52 22 c2-1 3.5 0.5 3 3l-7 33c-0.6 2.4-2 3-4 1.8l-11-8 -5.4 5.2c-0.6 0.6-1.1 1.1-2.2 1.1l0.8-11.4 20.8-18.8c0.9-0.8-0.2-1.3-1.4-0.5l-25.7 16.2 -11-3.5c-2.4-0.8-2.5-2.4 0.5-3.6Z' fill='none' stroke='%23FFFFFF' stroke-width='1.4'/%3E%3C/svg%3E");
  background-size: 72px 72px;
}
.join-section .join-text .section-sub { color: rgba(255,255,255,0.82); }
.join-star-deco {
  position: absolute; top: -30px; right: -20px; width: 220px; height: 220px;
  opacity: 0.22; transform: rotate(18deg); pointer-events: none; z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.25));
}
.join-btn-tg { display: inline-flex; align-items: center; gap: 9px; }
.join-btn-ic { width: 18px; height: 18px; }

/* ================= MID-PAGE TELEGRAM BANNER — second use of the colorful motif ================= */
.mid-banner { padding: 44px 0; text-align: center; }
.mid-banner-inner { position: relative; z-index: 2; }
.mid-banner h2 {
  font-family: var(--font-display); color: #fff; text-transform: uppercase;
  font-size: clamp(22px, 3.4vw, 32px); letter-spacing: 0.01em; margin-bottom: 6px;
}
.mid-banner p { color: rgba(255,255,255,0.85); font-size: 14px; margin: 0; }
.mid-banner-star {
  position: absolute; top: -40px; left: 6%; width: 130px; height: 130px;
  opacity: 0.2; transform: rotate(-14deg); pointer-events: none; z-index: 1;
}

/* ================= FOOTER ================= */
.footer { padding: 48px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding: 40px 0 32px; }
.footer-brand p { color: var(--text-dim); font-size: 13px; margin-top: 10px; max-width: 220px; }
.footer-col h4 { font-family: var(--font-ui); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-dim); margin: 0 0 12px; }
.footer-col a { display: block; font-size: 13.5px; color: var(--text-dim); padding: 5px 0; }
.footer-col a:hover { color: var(--text); }
.footer-tg-link { display: flex !important; align-items: center; gap: 7px; }
.footer-tg-ic { width: 15px; height: 15px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: var(--text-dim); padding-top: 20px; }

/* legal pages (terms/privacy) */
.legal-main { padding: 48px 0 90px; }
.legal-main .wrap { max-width: 780px; }
.legal-main h1 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 42px); text-transform: uppercase; margin-bottom: 6px; }
.legal-updated { color: var(--text-dim); font-size: 12.5px; margin-bottom: 36px; }
.legal-main h2 { font-family: var(--font-ui); font-size: 16px; text-transform: uppercase; letter-spacing: 0.02em; margin: 36px 0 12px; color: var(--acc); }
.legal-main p, .legal-main li { font-size: 14px; color: var(--text-dim); line-height: 1.7; }
.legal-main ul { margin: 10px 0; padding-left: 20px; list-style: disc; }
.legal-main li { margin-bottom: 6px; }
.legal-back { display: inline-block; margin-top: 40px; }

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .nav-links {
    display: none; flex-direction: column; align-items: flex-start;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 16px 24px 20px; gap: 4px; z-index: 60;
  }
  .nav.nav-open .nav-links { display: flex; }
  .nav-links a:not(.tm-btn-primary) { padding: 10px 0; width: 100%; }
  .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta-mobile { display: inline-flex; margin-top: 12px; }

  .hero-inner { justify-content: center; text-align: center; padding-left: 0; }
  .hero-text { text-align: center; }
  .hero-sub { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-video-frame { width: 240px; }
  .hero-logo-bg { width: 460px; }
  .hero-girl {
    position: relative; left: auto; top: auto; bottom: auto; order: -1;
    width: 100%; height: 220px; margin-bottom: 4px;
    border: 1px solid var(--line-2); border-radius: var(--radius);
    -webkit-mask-image: none; mask-image: none;
  }
  .hero-girl-img { object-position: top center; }
  .hero-girl-badge { bottom: 14px; }

  .showcase-grid { grid-template-columns: 1fr; gap: 28px; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-quote { grid-column: 1 / -1; }
  .tile-trust { grid-column: 1 / -1; }

  .spotlight-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .join-inner { justify-content: center; text-align: center; }
  .join-text h2 { max-width: none; }
  .join-star-deco { width: 140px; height: 140px; top: -20px; right: -20px; }
}

@media (max-width: 640px) {
  .hero { padding: 36px 0 32px; }
  .hero-video-frame { width: 220px; }
  .hero-logo-bg { width: 320px; }
  .showcase { padding: 10px 0 50px; }

  .bento { grid-template-columns: 1fr; }
  .tile-stat, .tile-feat, .tile-quote, .tile-trust {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }
  .tile-trust { flex-direction: column; align-items: flex-start; gap: 10px; }
  .trust-marquee { width: 100%; }

  .spotlight-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
