/* Invincible You — core stylesheet */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-v12-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-v12-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-v12-latin-900.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-v22-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-v22-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-v22-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-v24-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-v24-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #0a0c12;
  --bg-alt: #0d1017;
  --surface: #131826;
  --surface-2: #171d2f;
  --border: #262d42;
  --text: #eceef6;
  --muted: #a3abc2;
  --faint: #8b93ab;
  --accent: #7c3aed;
  --accent-soft: #a78bfa;
  --accent-2: #22d3ee;
  --font-display: "Unbounded", "Space Grotesk", system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --cut-card: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  --cut-btn: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  --cut-img: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

/* Pure-CSS environment: radial glows, faint grid, scanlines */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(720px 480px at 88% -8%, rgba(124, 58, 237, 0.16), transparent 62%),
    radial-gradient(560px 420px at -12% 34%, rgba(34, 211, 238, 0.07), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 4px),
    linear-gradient(rgba(124, 58, 237, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.045) 1px, transparent 1px);
  background-size: auto, auto, auto, 76px 76px, 76px 76px;
}

::selection { background: rgba(34, 211, 238, 0.28); color: var(--text); }

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

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { text-wrap: balance; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 12, 18, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.site-header::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.55) 30%, rgba(34, 211, 238, 0.55) 70%, transparent);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 20px; max-width: var(--maxw); margin: 0 auto;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.92rem;
  letter-spacing: 0.01em; color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand span em { font-style: normal; color: var(--accent-2); }

.main-nav ul { display: flex; gap: 2px; list-style: none; }
.main-nav a {
  position: relative;
  display: block; padding: 10px 14px;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--muted);
}
.main-nav a:hover { color: var(--text); text-decoration: none; }
.main-nav a::after {
  content: "";
  position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--accent-2); }

.nav-toggle {
  display: none;
  background: rgba(19, 24, 38, 0.7);
  border: 1px solid var(--border);
  clip-path: var(--cut-btn);
  color: var(--text); padding: 10px 12px; cursor: pointer;
  font-family: var(--font-mono); font-size: 1rem; min-width: 48px; min-height: 48px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--bg-alt);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - clamp(28px, 4.5vw, 56px)), 0 100%);
}
.hero img.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.5;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(640px 420px at 82% 12%, rgba(124, 58, 237, 0.28), transparent 62%),
    linear-gradient(100deg, rgba(10, 12, 18, 0.92) 0%, rgba(10, 12, 18, 0.62) 48%, rgba(10, 12, 18, 0.28) 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 3px);
}
.hero-content {
  position: relative; max-width: var(--maxw); margin: 0 auto;
  padding: 110px 20px 120px;
  animation: hero-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2rem, 5.4vw, 4.1rem);
  line-height: 1.08; letter-spacing: -0.02em;
  max-width: 13ch;
  text-shadow: 0 4px 40px rgba(10, 12, 18, 0.8);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(92deg, var(--accent-soft) 0%, var(--accent-2) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lede {
  margin-top: 22px; max-width: 54ch;
  color: #c9d0e4; font-size: 1.1rem; font-weight: 500;
  text-shadow: 0 2px 18px rgba(10, 12, 18, 0.8);
}
.hero .cta-row { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 24px;
  font-family: var(--font-display); font-weight: 500;
  font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase;
  clip-path: var(--cut-btn);
  border: 1px solid transparent;
  cursor: pointer; min-height: 48px;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: linear-gradient(100deg, var(--accent) 0%, #5b21b6 100%);
  color: #fff;
}
.btn-primary:hover {
  text-decoration: none;
  box-shadow: inset 0 0 22px rgba(196, 181, 253, 0.35);
}
.btn-ghost {
  background: rgba(19, 24, 38, 0.72);
  border-color: rgba(163, 171, 194, 0.35);
  color: var(--text);
}
.btn-ghost:hover {
  text-decoration: none;
  border-color: var(--accent-2);
  box-shadow: inset 0 0 18px rgba(34, 211, 238, 0.14);
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.008) 0 2px, transparent 2px 10px),
    var(--bg-alt);
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.45) 25%, rgba(34, 211, 238, 0.45) 75%, transparent) 1;
}
.section > .wrap > h2 {
  position: relative;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  letter-spacing: -0.01em;
  padding-bottom: 14px; margin-bottom: 14px;
}
.section > .wrap > h2::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 64px; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  clip-path: polygon(0 0, 100% 0, calc(100% - 3px) 100%, 0 100%);
}
.section .section-sub { color: var(--muted); margin-bottom: 36px; max-width: 62ch; }
.section > .wrap > p { margin-bottom: 14px; max-width: 75ch; }
.section > .wrap > p.meta { margin-bottom: 18px; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  clip-path: var(--cut-card);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 58, 237, 0.65);
  box-shadow: inset 0 0 34px rgba(124, 58, 237, 0.12);
}
.card > img {
  aspect-ratio: 16 / 9; object-fit: cover; width: 100%;
  clip-path: var(--cut-img);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0.92;
}
.card:hover > img { transform: scale(1.03); opacity: 1; }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-tag {
  align-self: flex-start;
  font-family: var(--font-mono); font-size: 0.66rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent-2); background: rgba(34, 211, 238, 0.09);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  padding: 4px 12px;
  transition: background-color 0.18s ease;
}
.card:hover .card-tag { background: rgba(34, 211, 238, 0.16); }
.card h3 { font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; line-height: 1.45; }
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--accent-2); text-decoration: none; }
.card p { color: var(--muted); font-size: 0.94rem; flex: 1; }
.card .read-more {
  font-family: var(--font-mono); font-weight: 700; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.12em;
}

/* ---------- Article ---------- */
.article-hero {
  margin: 40px 0 28px;
  clip-path: var(--cut-card);
  border: 1px solid var(--border);
}
.article { max-width: 760px; margin: 0 auto; padding: 48px 20px 80px; }
.article h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 3.8vw, 2.3rem);
  line-height: 1.22; letter-spacing: -0.015em;
  margin-bottom: 16px;
}
.meta {
  font-family: var(--font-mono); font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--faint);
}
.article .meta { margin-bottom: 30px; }
.article h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 1.12rem; letter-spacing: 0;
  margin: 40px 0 14px;
}
.article h3 { font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; margin: 30px 0 10px; }
.article p { margin-bottom: 16px; color: #cfd5e4; }
.article a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(34, 211, 238, 0.45); }
.article a:not(.btn):hover { text-decoration-color: var(--accent-2); }
.article ul, .article ol { margin: 0 0 16px 22px; color: #cfd5e4; }
.article li { margin-bottom: 8px; }
.article li::marker { color: var(--accent-2); }
.article blockquote {
  position: relative;
  padding: 8px 0 8px 56px;
  margin: 28px 0;
  color: #d6dbea; font-size: 1.08rem; font-weight: 500;
}
.article blockquote::before {
  content: "\201C";
  position: absolute; left: 0; top: -14px;
  font-family: var(--font-display); font-weight: 900; font-size: 3.2rem;
  color: var(--accent);
}
.article .callout {
  background: var(--surface-2);
  border: 1px solid var(--border);
  clip-path: var(--cut-card);
  padding: 20px 24px; margin: 28px 0;
  font-size: 0.97rem;
}
.article .callout strong { color: var(--accent-2); }
nav.related { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border); }
nav.related h2 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  margin: 0 0 14px;
}
nav.related ul { list-style: none; margin: 0; }
nav.related li { margin-bottom: 10px; }
nav.related a { font-weight: 500; }

/* ---------- Score badge ---------- */
.score {
  display: inline-flex; align-items: baseline; gap: 10px;
  margin: 4px 0 6px;
  padding: 14px 24px 14px 20px;
  background: linear-gradient(120deg, rgba(124, 58, 237, 0.4), rgba(19, 24, 38, 0.95) 55%, rgba(34, 211, 238, 0.22));
  border: 1px solid rgba(124, 58, 237, 0.5);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.score .num {
  font-family: var(--font-display); font-weight: 900; font-size: 2.3rem; line-height: 1;
  background: linear-gradient(92deg, #d8ccff 0%, var(--accent-2) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.score .den {
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--muted);
}

/* ---------- Tables ---------- */
.table-scroll {
  overflow-x: auto; margin: 24px 0;
  border: 1px solid var(--border);
  background: var(--bg-alt);
}
table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); }
tr:last-child td { border-bottom: 0; }
th {
  font-family: var(--font-mono); font-weight: 700; font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--accent-2);
  background: rgba(124, 58, 237, 0.08);
}
td { color: #cfd5e4; }
tbody tr { transition: background-color 0.12s ease; }
tbody tr:hover { background: rgba(124, 58, 237, 0.07); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label {
  display: block; margin-bottom: 8px;
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--muted);
}
input[type="text"], input[type="email"], textarea, select {
  width: 100%; padding: 13px 16px;
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text); font-size: 16px; font-family: var(--font-body);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.28);
}
textarea { min-height: 150px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.84rem; color: var(--muted); margin-top: 12px; }
.form-status {
  margin-top: 16px; padding: 14px 18px; display: none;
  font-family: var(--font-mono); font-size: 0.8rem;
  clip-path: var(--cut-btn);
}
.form-status.ok { display: block; background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.4); color: #86efac; }
.form-status.err { display: block; background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.4); color: #fca5a5; }

/* ---------- Contact layout ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.info-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.info-list li {
  background: var(--surface); border: 1px solid var(--border);
  clip-path: var(--cut-card);
  padding: 18px 20px;
}
.info-list .k {
  font-family: var(--font-mono); font-size: 0.66rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent-2); margin-bottom: 6px;
}

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team-card {
  background: var(--surface); border: 1px solid var(--border);
  clip-path: var(--cut-card);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.team-card:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 58, 237, 0.65);
  box-shadow: inset 0 0 34px rgba(124, 58, 237, 0.12);
}
.team-card img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; clip-path: var(--cut-img); }
.team-card .team-body { padding: 18px 20px 22px; }
.team-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 0.92rem; }
.team-card .role {
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--accent-2); margin: 6px 0 10px;
}
.team-card p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--bg-alt); margin-top: 48px; }
.site-footer::before {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.55) 30%, rgba(34, 211, 238, 0.55) 70%, transparent);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px;
  padding: 52px 20px 36px; max-width: var(--maxw); margin: 0 auto;
}
.site-footer h4 {
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--accent-2); margin-bottom: 14px;
}
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.site-footer a { color: #c6ccdd; font-size: 0.92rem; }
.site-footer a:hover { color: var(--accent-2); }
.footer-about p { color: var(--muted); font-size: 0.9rem; margin-top: 12px; max-width: 34ch; }
.footer-legal {
  border-top: 1px solid var(--border); padding: 22px 20px;
  text-align: center; color: var(--faint);
  font-family: var(--font-mono); font-size: 0.72rem;
}
.footer-legal p { margin-bottom: 5px; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  background: rgba(15, 19, 30, 0.97);
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.6) 30%, rgba(34, 211, 238, 0.6) 70%, transparent) 1;
  padding: 20px; display: none;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.55);
}
.cookie-banner.visible { display: block; }
.cookie-inner { max-width: var(--maxw); margin: 0 auto; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.cookie-text { flex: 1 1 320px; font-size: 0.88rem; color: var(--muted); }
.cookie-text a { font-weight: 600; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 11px 18px; font-size: 0.68rem; }
.cookie-settings { margin-top: 16px; display: none; width: 100%; }
.cookie-settings.open { display: block; }
.cookie-settings label {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 500;
  text-transform: none; letter-spacing: 0;
  padding: 8px 0; color: #c6ccdd; cursor: pointer;
}
.cookie-settings input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--accent); }

/* ---------- Misc ---------- */
.breadcrumb {
  font-family: var(--font-mono); font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--faint); padding: 20px 0 0;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent-2); }
.page-head { padding: 44px 0 12px; }
.page-head h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.6rem, 3.8vw, 2.5rem);
  letter-spacing: -0.015em;
}
.page-head p { color: var(--muted); margin-top: 12px; max-width: 64ch; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .card-grid, .card-grid.two, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(13, 16, 23, 0.98);
    border-bottom: 1px solid var(--border);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 12px 16px 18px; }
  .main-nav a { padding: 13px 14px; min-height: 48px; font-size: 0.78rem; }
  .main-nav a::after { left: 14px; right: auto; width: 40px; bottom: 8px; }
  .hero-content { padding: 72px 20px 88px; }
}

@media (max-width: 560px) {
  .card-grid, .card-grid.two, .team-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .score { padding: 12px 18px 12px 16px; }
  .score .num { font-size: 1.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-content { animation: none; }
  .card, .card > img, .team-card, .btn, .main-nav a::after, tbody tr { transition: none; }
}
