/* ============ GYMCIRCLE ============ */
:root {
  --bg: #0b0a08;
  --panel: #131110;
  --card: #1a1613;
  --line: #292420;
  --text: #f2ece4;
  --muted: #9d938a;
  --accent: #ff4d00;
  --accent-soft: rgba(255, 77, 0, 0.13);
  --gold: #d9a63b;
  --display: "Anton", "Arial Narrow", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
/* film grain */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 2000; pointer-events: none;
  opacity: 0.05;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="180" height="180"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2" stitchTiles="stitch"/><feColorMatrix type="saturate" values="0"/></filter><rect width="100%25" height="100%25" filter="url(%23n)"/></svg>');
}
::selection { background: var(--accent); color: #fff; }
a { color: inherit; }
h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.02;
}

/* ============ nav ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem clamp(1.25rem, 5vw, 4.5rem);
  background: rgba(11, 10, 8, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex; align-items: center; gap: 0.55rem;
  font-weight: 700; letter-spacing: 0.12em; text-decoration: none; font-size: 0.95rem;
}
.logo { width: 30px; height: 30px; }
.nav nav { display: flex; align-items: center; gap: 1.7rem; }
.nav nav a {
  text-decoration: none; color: var(--muted);
  font-weight: 500; font-size: 0.9rem; transition: color 0.15s;
}
.nav nav a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent); color: #fff !important;
  padding: 0.5rem 1.05rem; border-radius: 9px; font-weight: 600 !important;
}
.nav-cta:hover { background: #ff6a2b; }
@media (max-width: 640px) { .nav nav a:not(.nav-cta) { display: none; } }

/* ============ hero ============ */
.hero {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem; align-items: center;
  padding: clamp(3rem, 8vh, 6rem) clamp(1.25rem, 5vw, 4.5rem) 4rem;
  min-height: 78vh;
}
.relaunch-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--accent-soft); border: 1px solid rgba(255, 77, 0, 0.35);
  border-radius: 999px; padding: 0.32rem 0.9rem 0.32rem 0.45rem;
  font-size: 0.78rem; font-weight: 600; color: var(--text);
  margin-bottom: 1.3rem;
}
.relaunch-pill b {
  background: var(--accent); color: #fff;
  border-radius: 999px; padding: 0.08rem 0.55rem;
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em;
}
.hero h1 {
  font-size: clamp(3.2rem, 8.5vw, 6.8rem);
  margin-bottom: 1.4rem;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.lede {
  color: var(--muted); font-size: 1.1rem; max-width: 32rem;
  margin-bottom: 2.2rem;
}
.proof { margin-top: 1.4rem; color: var(--muted); font-size: 0.88rem; }

.store-buttons { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.store-buttons.center { justify-content: center; }
.store-btn {
  display: flex; align-items: center; gap: 0.65rem;
  background: var(--text); color: #131110; text-decoration: none;
  padding: 0.6rem 1.15rem; border-radius: 12px;
  transition: transform 0.12s ease;
}
.store-btn:hover { transform: scale(1.03); }
.store-btn svg { width: 20px; height: 24px; }
.store-btn small { display: block; font-size: 0.6rem; line-height: 1; opacity: 0.65; }
.store-btn strong { font-size: 1rem; line-height: 1.2; }

/* season / gamification widget */
.ui-label.gold { color: var(--gold); }
.lvl-row { display: flex; gap: 0.6rem; align-items: center; margin-bottom: 0.55rem; }
.lvl-ring .ring-arc { stroke: var(--gold); }
.lvl-info { display: flex; flex-direction: column; line-height: 1.3; }
.lvl-info strong { font-size: 0.85rem; }
.lvl-info small { color: var(--muted); font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.08em; }
.lg-line {
  background: rgba(217, 166, 59, 0.08); border: 1px solid rgba(217, 166, 59, 0.28);
  color: var(--gold); font-size: 0.66rem; font-weight: 600;
  padding: 0.38rem 0.55rem; border-radius: 9px; margin-bottom: 0.6rem;
}
.chal { margin-bottom: 0.5rem; }
.chal-top { display: flex; justify-content: space-between; font-size: 0.68rem; margin-bottom: 0.25rem; }
.chal-top span:last-child { color: var(--muted); }
.chal-bar { height: 5px; background: #2a2521; border-radius: 999px; overflow: hidden; }
.chal-bar b { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.badge-row { display: flex; gap: 0.35rem; margin-top: 0.65rem; flex-wrap: wrap; }
.badge {
  font-size: 0.58rem; font-weight: 600; border: 1px solid var(--line);
  color: var(--muted); border-radius: 999px; padding: 0.16rem 0.5rem;
}
.badge.on { border-color: var(--gold); color: var(--gold); }
.badge.more { border-style: dashed; }

/* ============ phone mockup — Train tab ============ */
.hero-visual { position: relative; display: grid; place-items: center; }
.glow-bg {
  position: absolute; inset: 8% 12%;
  background: radial-gradient(closest-side, rgba(255, 77, 0, 0.22), transparent);
  filter: blur(34px); z-index: 0;
}
.phone {
  position: relative; z-index: 1;
  width: min(300px, 78vw);
  background: #000; border-radius: 46px;
  border: 2px solid #35302b;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65), 0 0 0 6px rgba(255, 255, 255, 0.02);
  padding: 10px; overflow: hidden;
  transform: rotate(-1.5deg);
}
.phone-shot { display: block; width: 100%; height: auto; border-radius: 38px; }
.shot-img { display: block; width: 100%; height: auto; border-radius: 12px; margin: 0.15rem 0 0.6rem; }
.rec-line { font-size: 0.72rem; color: var(--muted); margin-bottom: 0.55rem; text-align: center; }
.rec-line b { color: #6fce8b; font-size: 0.85rem; }
.phone-island {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 30%; height: 24px; background: #000; border-radius: 999px; z-index: 3;
}
.phone-screen {
  height: 100%; border-radius: 38px; overflow: hidden;
  background: radial-gradient(120% 60% at 80% 0%, #1d130c 0%, #100e0c 45%);
  padding: 0.85rem 0.75rem 0;
  display: flex; flex-direction: column; gap: 0.55rem;
}
.ui-status {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.68rem; font-weight: 600; padding: 0.15rem 0.55rem 0;
}
.ui-batt {
  width: 21px; height: 10px; border: 1px solid var(--muted);
  border-radius: 3px; display: inline-block; padding: 1px;
}
.ui-batt i { display: block; height: 100%; width: 80%; background: var(--muted); border-radius: 1px; }

.ui-appbar { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0.3rem 0; }
.ui-apptitle { font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; }
.ring { width: 34px; height: 34px; }
.ring-arc { stroke: var(--accent); }
.ring-num { fill: var(--text); font-size: 10px; font-weight: 700; font-family: var(--body); }

.ui-week { display: flex; justify-content: space-between; padding: 0.15rem 0.3rem; }
.ui-week .day {
  display: flex; flex-direction: column; align-items: center; gap: 0.1rem;
  width: 26px; padding: 0.2rem 0; border-radius: 999px;
}
.ui-week .day b { font-size: 0.78rem; font-weight: 600; }
.ui-week .day small { font-size: 0.56rem; color: var(--muted); }
.ui-week .today { outline: 1.5px solid var(--accent); outline-offset: 2px; }
.ui-week .today b { color: var(--accent); }

.ui-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 0.7rem 0.8rem; font-size: 0.72rem;
}
.ui-today-top { display: flex; justify-content: space-between; align-items: center; }
.ui-eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.6rem; }
.ui-link { color: var(--muted); font-size: 0.66rem; }
.ui-today-mid { display: flex; justify-content: space-between; align-items: center; margin: 0.35rem 0 0.3rem; }
.ui-big { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.ui-start {
  background: var(--accent); color: #fff; font-weight: 700; font-size: 0.78rem;
  padding: 0.42rem 1rem; border-radius: 999px;
  box-shadow: 0 4px 18px rgba(255, 77, 0, 0.45);
}
.ui-today-meta { color: var(--muted); font-size: 0.64rem; margin-bottom: 0.45rem; }
.ui-segments { display: flex; gap: 0.25rem; }
.ui-segments i { flex: 1; height: 4px; background: #2a2521; border-radius: 999px; overflow: hidden; display: block; }
.ui-segments b { display: block; height: 100%; background: var(--accent); border-radius: 999px; }

.ui-grid2 { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 0.55rem; flex: 1; min-height: 0; }
.ui-label {
  color: var(--muted); font-size: 0.56rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 0.45rem;
}
.ui-label.accent { color: var(--accent); }

/* bodyweight card */
.ui-bw-sub { color: var(--muted); font-size: 0.68rem; line-height: 1.5; }
.ui-bw-add { display: flex; align-items: center; gap: 0.4rem; color: var(--accent); font-weight: 700; font-size: 0.72rem; margin-top: 1.4rem; }
.ui-plus {
  width: 20px; height: 20px; border: 1.5px solid var(--accent); border-radius: 50%;
  display: grid; place-items: center; font-size: 0.8rem; line-height: 1;
}

.ui-slide { margin-bottom: 0.5rem; }
.ui-slide-top { display: flex; justify-content: space-between; font-size: 0.64rem; margin-bottom: 0.25rem; }
.ui-slide-top span:last-child { color: var(--muted); }
.ui-track { position: relative; height: 3px; background: #2a2521; border-radius: 999px; }
.ui-track i {
  position: absolute; top: -2.5px; width: 8px; height: 8px;
  background: var(--accent); border-radius: 50%;
}

.ui-tabbar {
  display: flex; justify-content: space-around; align-items: center;
  border-top: 1px solid var(--line);
  padding: 0.55rem 0 0.9rem; margin: 0 -0.75rem;
  font-size: 0.58rem; color: var(--muted); font-weight: 600;
}
.ui-tabbar .on { color: var(--accent); }
.ui-fab {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent); display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(255, 77, 0, 0.5);
  margin-top: -16px;
}
.ui-fab svg { width: 22px; height: 22px; }

/* ============ marquee ============ */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 0.85rem 0;
  background: var(--panel);
}
.marquee-track {
  display: flex; align-items: center; gap: 2.2rem;
  width: max-content;
  animation: ticker 40s linear infinite;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 0.92rem; letter-spacing: 0.06em;
  color: var(--muted);
}
.marquee-track i { color: var(--accent); font-style: normal; font-size: 0.5rem; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ============ how it works ============ */
.how { padding: 5rem clamp(1.25rem, 5vw, 4.5rem); display: flex; flex-direction: column; gap: 5.5rem; }
.row {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 5rem); align-items: center;
  max-width: 62rem; margin: 0 auto; width: 100%;
}
.row:nth-child(even) .row-copy { order: 2; }
.row:nth-child(even) .row-visual { order: 1; }
.num {
  font-family: var(--display); font-size: 1rem; color: var(--accent);
  letter-spacing: 0.15em;
}
.row-copy h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); margin: 0.4rem 0 1rem; }
.row-copy p { color: var(--muted); max-width: 30rem; }
.row-visual { display: grid; place-items: center; }
.mini-card {
  width: min(300px, 100%);
  background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; padding: 1rem 1.1rem; font-size: 0.8rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.tilt-l { transform: rotate(-2deg); }
.tilt-r { transform: rotate(2deg); }

/* logger widget */
.ui-card-head { display: flex; justify-content: space-between; align-items: center; }
.ui-card-title { font-weight: 700; font-size: 0.92rem; }
.ui-bolt { font-size: 0.75rem; border: 1px solid var(--accent); border-radius: 50%; width: 22px; height: 22px; display: grid; place-items: center; }
.ui-meta { color: var(--muted); font-size: 0.68rem; margin: 0.25rem 0 0.6rem; }
.ui-cols, .ui-row { display: grid; grid-template-columns: 2rem 1fr 1.2fr; gap: 0.4rem; align-items: center; }
.ui-cols { color: var(--muted); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.3rem; }
.ui-row { padding: 0.3rem 0; color: var(--muted); font-variant-numeric: tabular-nums; font-size: 0.75rem; }
.ui-row .fill { background: var(--accent-soft); color: var(--text); border-radius: 8px; padding: 0.25rem 0.5rem; font-weight: 600; }
.ui-row .ghost { color: #4d453e; padding: 0.25rem 0.5rem; border: 1px dashed #2f2925; border-radius: 8px; }
.ui-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 0.55rem; }
.ui-add { color: var(--accent); font-weight: 700; font-size: 0.75rem; }
.ui-timer { color: var(--muted); font-size: 0.72rem; font-variant-numeric: tabular-nums; }

/* circles widget */
.circ-row { display: flex; align-items: center; gap: 0.65rem; padding: 0.45rem 0; border-bottom: 1px solid #221d19; }
.circ-row:last-child { border-bottom: none; }
.circ-ic {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: #2c3a42; color: #cfe3ee; font-weight: 800;
  display: grid; place-items: center; font-size: 0.85rem;
}
.circ-ic.alt { background: #42302c; color: #eed6cf; }
.circ-ic.grad { background: linear-gradient(135deg, #ffb347, var(--accent)); color: #fff; }
.circ-info { display: flex; flex-direction: column; line-height: 1.35; }
.circ-info strong { font-size: 0.8rem; }
.circ-info small { color: var(--muted); font-size: 0.68rem; }

/* PR widget */
.pr-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.4rem 1.1rem 1.1rem; }
.pr-trophy { font-size: 1.7rem; filter: drop-shadow(0 0 14px rgba(217, 166, 59, 0.45)); }
.pr-label { color: var(--gold); text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.6rem; font-weight: 700; margin: 0.55rem 0 0.3rem; }
.pr-lift { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; }
.pr-weight { color: var(--muted); font-size: 0.85rem; margin-top: 0.15rem; }
.pr-foot { color: var(--muted); font-size: 0.68rem; margin-top: 0.9rem; border-top: 1px solid #221d19; padding-top: 0.7rem; width: 100%; }

/* coach widget */
.coach-target { font-weight: 800; font-size: 1.55rem; letter-spacing: -0.02em; }
.coach-sub { color: var(--muted); font-size: 0.75rem; margin: 0.2rem 0 0.7rem; }
.coach-note {
  background: #221c17; border-radius: 10px; padding: 0.55rem 0.65rem;
  font-size: 0.7rem; color: var(--muted); line-height: 1.5;
}

/* recovery + identity stack */
.stack2 { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.stack2 .mini-card { width: min(230px, 100%); }
.rec-scale { display: flex; align-items: center; gap: 0.45rem; margin-bottom: 0.7rem; }
.rec-scale span { color: var(--muted); font-size: 0.6rem; }
.rec-scale i {
  flex: 1; height: 4px; border-radius: 999px;
  background: linear-gradient(90deg, #c8503c, #d0a13c, #4c9a5f);
}
.rec-group {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 600;
  padding: 0.4rem 0; border-bottom: 1px solid #221d19;
}
.rec-group b { margin-left: auto; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot.g { background: #4c9a5f; }
.dot.y { background: #d0a13c; }
.dot.r { background: #c8503c; }
.rec-cta {
  display: block; text-align: center;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 0.72rem;
  padding: 0.45rem 0.6rem; border-radius: 999px; margin-top: 0.8rem;
  box-shadow: 0 4px 16px rgba(255, 77, 0, 0.4);
}
.id-type { font-weight: 800; font-size: 1.05rem; margin-bottom: 0.3rem; }
.id-sub { color: var(--muted); font-size: 0.7rem; line-height: 1.5; }
.id-stats { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; margin: 0.8rem 0; gap: 0.3rem; }
.id-stats b { display: block; font-size: 0.95rem; }
.id-stats small { color: var(--muted); font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.05em; }
.id-share {
  border: 1px solid var(--accent); color: var(--accent);
  border-radius: 999px; text-align: center;
  padding: 0.4rem; font-weight: 700; font-size: 0.72rem;
}

/* ============ third space statement ============ */
.statement {
  background: var(--panel); border-block: 1px solid var(--line);
  text-align: center; padding: 4.5rem clamp(1.25rem, 5vw, 4.5rem);
}
.statement h2 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); margin-bottom: 1rem; }
.statement h2 em { font-style: normal; color: var(--accent); }
.statement p { color: var(--muted); max-width: 34rem; margin: 0 auto; font-size: 1.05rem; }
.gym-cap { margin-top: 1.2rem !important; font-size: 0.85rem !important; }
.shot-duo { display: flex; gap: 1.4rem; justify-content: center; align-items: flex-start; flex-wrap: wrap; margin-top: 2.2rem; }
.duo-img {
  width: min(250px, 82vw); height: auto; display: block;
  border-radius: 20px; border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}

/* gym page widget */
.gympage {
  max-width: 400px; margin: 2rem auto 0;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden; text-align: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.gym-head {
  background: linear-gradient(180deg, #2a1a10, rgba(26, 22, 19, 0));
  padding: 1.4rem 1rem 0.9rem;
}
.gym-name { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.gym-sub { color: var(--muted); font-size: 0.8rem; margin: 0.1rem 0 0.7rem; }
.gym-rank {
  display: inline-block; border: 1px solid var(--accent);
  border-radius: 999px; padding: 0.3rem 0.9rem;
  font-size: 0.78rem; font-weight: 600;
}
.gym-rank b { color: var(--accent); }
.gym-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; padding: 0.9rem; }
.gs {
  background: #211c18; border-radius: 14px; padding: 0.75rem 0.6rem; text-align: left;
}
.gs b { display: block; font-size: 1.35rem; font-weight: 800; line-height: 1.2; }
.gs small { color: var(--muted); font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.1em; }

/* ============ faq ============ */
.faq { padding: 5rem clamp(1.25rem, 5vw, 4.5rem); max-width: 50rem; margin: 0 auto; width: 100%; }
.faq h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); margin-bottom: 2rem; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.05rem 0.2rem; }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; font-weight: 600; list-style: none;
  position: relative; padding-right: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0.2rem; top: -0.1rem;
  color: var(--accent); font-weight: 700; font-size: 1.2rem;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 0.6rem; max-width: 42rem; }
.faq a { color: var(--accent); }

/* ============ founders (compact) ============ */
.founders { padding: 3.5rem clamp(1.25rem, 5vw, 4.5rem); }
.founders-inner {
  max-width: 40rem; margin: 0 auto;
  border-left: 3px solid var(--accent); padding-left: 1.4rem;
}
.founders-note { color: var(--muted); font-size: 0.98rem; }
.founders-sig { color: var(--text); font-size: 0.9rem; font-weight: 600; margin-top: 0.8rem; }

/* ============ cta ============ */
.cta {
  text-align: center; position: relative; overflow: hidden;
  padding: 6.5rem clamp(1.25rem, 5vw, 4.5rem);
  border-top: 1px solid var(--line);
}
.cta::before {
  content: "GYMCIRCLE";
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--display); font-size: clamp(6rem, 22vw, 17rem);
  color: transparent; -webkit-text-stroke: 1px rgba(242, 236, 228, 0.05);
  pointer-events: none; white-space: nowrap;
}
.cta h2 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); margin-bottom: 0.7rem; position: relative; }
.cta p { color: var(--muted); margin-bottom: 2.2rem; position: relative; }
.cta .store-buttons { position: relative; }

/* ============ footer ============ */
footer { border-top: 1px solid var(--line); padding: 2rem clamp(1.25rem, 5vw, 4.5rem) 1.4rem; }
.foot-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1.5rem; flex-wrap: wrap;
}
.foot-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: 0.88rem; }
.foot-links a:hover { color: var(--accent); }
.copyright { color: var(--muted); font-size: 0.78rem; margin-top: 1.6rem; }

/* ============ responsive ============ */
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 3rem; }
  .hero-visual { order: 2; margin-top: 2rem; }
  .row, .row:nth-child(even) { grid-template-columns: 1fr; }
  .row:nth-child(even) .row-copy { order: 1; }
  .row:nth-child(even) .row-visual { order: 2; }
  .row-visual { justify-items: start; }
  .mini-card { width: min(320px, 100%); }
  .stack2 { justify-content: flex-start; }
}

/* ============ legal pages ============ */
.legal { max-width: 44rem; margin: 0 auto; padding: 3.5rem 1.25rem; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 0.4rem; }
.legal .updated { color: var(--muted); margin-bottom: 2rem; }
.legal h2 { font-size: 1.15rem; margin: 2rem 0 0.5rem; font-family: var(--body); font-weight: 700; text-transform: none; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2rem; margin: 0.5rem 0; }
.legal a { color: var(--accent); }
