:root {
  --bg: #090707;
  --bg-2: #120d0d;
  --panel: rgba(18, 13, 13, 0.82);
  --panel-2: rgba(26, 18, 18, 0.92);
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.18);
  --text: #f7f0ed;
  --muted: rgba(247, 240, 237, 0.74);
  --muted-soft: rgba(247, 240, 237, 0.52);
  --red: #f05b49;
  --red-strong: #ff7863;
  --red-deep: #7e241f;
  --red-glow: rgba(240, 91, 73, 0.35);
  --blue: #4f93ff;
  --gold: #ffc96e;
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  --content: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 12% 0%, rgba(240, 91, 73, 0.3), transparent 24%),
    radial-gradient(circle at 88% 8%, rgba(240, 91, 73, 0.16), transparent 22%),
    radial-gradient(circle at 50% 20%, rgba(66, 17, 13, 0.2), transparent 45%),
    linear-gradient(180deg, #3a1514 0%, #170f0f 20%, #0b0909 52%, #090707 100%);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.74), transparent 88%);
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
}

.section {
  padding: 42px 0;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-strong);
  margin-bottom: 16px;
}

.section-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px var(--red-glow);
}

.nav-shell {
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  backdrop-filter: blur(24px);
  background: rgba(9, 7, 7, 0.54);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  object-fit: contain;
  flex-shrink: 0;
}

.brand-logo-wide {
  width: 72px;
  height: 52px;
}

.brand-copy strong {
  display: block;
  font-family: "Archivo", sans-serif;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.brand-copy span {
  display: block;
  margin-top: 5px;
  font-size: 0.8rem;
  color: var(--muted-soft);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.pill,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.pill:hover,
.button:hover {
  transform: translateY(-1px);
  border-color: var(--line-2);
}

.pill {
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.button {
  cursor: pointer;
  font-family: "Archivo", sans-serif;
  letter-spacing: 0.03em;
}

.button-primary {
  color: #fff;
  background: linear-gradient(180deg, #ff7863, #d94b38);
  border-color: rgba(255, 121, 101, 0.65);
  box-shadow: 0 14px 36px rgba(123, 29, 20, 0.38);
}

.button-primary:hover {
  box-shadow: 0 18px 42px rgba(123, 29, 20, 0.52);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.button-block {
  width: 100%;
}

.hero-actions-centered {
  justify-content: center;
}

.is-hidden {
  display: none !important;
}

.hero {
  padding-top: 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 52px;
  align-items: center;
}

.hero-copy h1,
.page-hero-copy h1,
.section-heading h2,
.cta-card h2,
.spotlight-copy h2,
.stacked-callout h3 {
  font-family: "Archivo", sans-serif;
  letter-spacing: -0.04em;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(240, 91, 73, 0.12);
  border: 1px solid rgba(240, 91, 73, 0.26);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 14px var(--red-glow);
}

.hero-copy h1 {
  font-size: clamp(2.9rem, 7vw, 5.8rem);
  line-height: 0.92;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.accent {
  color: var(--red);
}

.hero-sub,
.page-hero-copy p,
.section-heading p,
.spotlight-copy p,
.cta-card p,
.panel-header p,
.panel-note,
.footer-brand p,
.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.7;
}

.hero-sub {
  max-width: 42rem;
  font-size: 1.08rem;
  margin-bottom: 28px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.stat-card,
.floating-card,
.panel,
.spotlight,
.cta-card,
.legal-card,
.feature-device,
.hero-device,
.stacked-callout,
.preview-row,
.ex-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(29, 21, 21, 0.88), rgba(12, 9, 9, 0.94));
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 18px;
  border-radius: 20px;
}

.stat-card strong {
  display: block;
  font-family: "Archivo", sans-serif;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.hero-visual {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 91, 73, 0.18), rgba(240, 91, 73, 0.03) 55%, transparent 72%);
  filter: blur(12px);
}

.hero-device,
.feature-device {
  position: relative;
  border-radius: 42px;
  padding: 10px;
  background: linear-gradient(180deg, #2a2020, #0f0b0b);
}

.hero-device {
  width: 320px;
}

.hero-device img {
  border-radius: 34px;
}

.feature-device {
  width: 300px;
}

.feature-device img {
  border-radius: 33px;
}

.floating-card {
  position: absolute;
  width: 230px;
  padding: 16px;
  border-radius: 20px;
  backdrop-filter: blur(18px);
}

.floating-card strong,
.spotlight-panel-header strong,
.preview-row span,
.panel-header h2,
.results-header h2,
.ex-info h3,
.page-hero-copy h1,
.legal-card h2,
.cta-card h2 {
  font-family: "Archivo", sans-serif;
}

.floating-card strong {
  display: block;
  margin-bottom: 6px;
}

.floating-card small,
.floating-label {
  display: block;
  color: var(--muted);
  line-height: 1.55;
}

.floating-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red-strong);
  margin-bottom: 8px;
}

.floating-card-top {
  top: 70px;
  right: -10px;
}

.floating-card-bottom {
  bottom: 62px;
  left: -18px;
}

.spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 32px;
  padding: 34px;
  border-radius: var(--radius-xl);
}

.spotlight-list,
.feature-list,
.legal-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spotlight-list li,
.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  line-height: 1.6;
}

.spotlight-list li::before,
.feature-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 10px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--red);
}

.spotlight-panel {
  border-radius: 28px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.spotlight-panel-header {
  margin-bottom: 18px;
}

.spotlight-panel-header span,
.footer-links span {
  display: block;
  color: var(--muted-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  margin-bottom: 10px;
}

.preview-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.preview-pill,
.meta-chip,
.feature-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-pill,
.meta-chip {
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.preview-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.preview-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
}

.preview-row strong {
  color: var(--red-strong);
}

.preview-row small {
  color: var(--muted-soft);
}

.section-heading {
  text-align: center;
  margin-bottom: 46px;
}

.section-heading h2,
.cta-card h2,
.spotlight-copy h2,
.stacked-callout h3,
.panel-header h2,
.page-hero-copy h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 0.96;
  margin-bottom: 16px;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 56px;
  margin: 0 auto 94px;
  padding: 0 20px;
}

.feature-row-reverse {
  flex-direction: row-reverse;
}

.feature-visual {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
}

.feature-copy {
  flex: 1;
  min-width: 0;
}

.feature-tag {
  gap: 7px;
  padding: 7px 12px;
  margin-bottom: 16px;
  background: rgba(240, 91, 73, 0.1);
  border: 1px solid rgba(240, 91, 73, 0.22);
  color: #fff;
}

.feature-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.pro-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 120, 0.55);
  background: linear-gradient(135deg, rgba(255, 220, 140, 0.2), rgba(240, 91, 73, 0.22));
  color: #ffd991;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.pro-badge::before {
  content: ;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffd991;
  box-shadow: 0 0 10px rgba(255, 217, 145, 0.55);
}

.feature-copy h3 {
  font-family: "Archivo", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.feature-copy p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.cta-card {
  border-radius: var(--radius-xl);
  padding: 42px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.page-hero {
  padding-top: 54px;
  padding-bottom: 18px;
}

.page-hero-copy {
  max-width: 760px;
}

.page-content {
  padding-top: 24px;
}

.generator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 24px;
  align-items: start;
}

.panel {
  border-radius: var(--radius-lg);
  padding: 28px;
}

.panel-secondary {
  position: sticky;
  top: 100px;
}

.panel-header {
  margin-bottom: 22px;
}

.panel-header h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.panel-note {
  margin-top: 16px;
  font-size: 0.92rem;
}

.field {
  margin-bottom: 24px;
}

.field label {
  display: block;
  margin-bottom: 10px;
  font-family: "Archivo", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.opt {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: "Manrope", sans-serif;
}

.opt:hover {
  background: var(--surface-2);
  border-color: var(--line-2);
}

.opt.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 0 14px var(--red-glow);
}

.equip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}

.equip-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1.5px solid var(--line);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.18s ease;
}

.equip-grid label.checked {
  background: rgba(240, 91, 73, 0.12);
  border-color: var(--red);
}

.equip-grid input {
  display: none;
}

.stacked-callout {
  border-radius: 24px;
  padding: 22px;
  margin-top: 24px;
}

.stacked-callout h3 {
  font-size: 1.35rem;
  line-height: 1.16;
  margin: 0 0 16px;
}

.results {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.results-header h2 {
  font-size: 1.6rem;
}

.results-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ex-card {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.ex-main {
  display: grid;
  grid-template-columns: 100px 1fr 220px;
  gap: 20px;
  padding: 20px;
  align-items: start;
}

.ex-img,
.ex-img-placeholder {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-sm);
}

.ex-img {
  object-fit: cover;
  background: var(--surface);
}

.ex-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  font-size: 2rem;
  opacity: 0.3;
}

.ex-info .ex-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.ex-tag {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ex-tag.muscle {
  background: rgba(79, 147, 255, 0.15);
  color: var(--blue);
}

.ex-tag.equip {
  background: var(--surface);
  color: var(--muted);
}

.ex-prescription {
  min-width: 0;
}

.set-table {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.set-row {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 6px 12px;
  border-radius: 10px;
  background: var(--surface);
  font-size: 0.85rem;
}

.set-num {
  min-width: 52px;
  font-family: "Archivo", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.set-reps {
  font-family: "Archivo", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
}

.set-detail {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(240, 91, 73, 0.06);
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
}

.set-detail .label {
  min-width: 40px;
  font-weight: 700;
}

.ex-expand {
  overflow: hidden;
  max-height: 0;
  padding: 0 20px;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.ex-card.open .ex-expand {
  max-height: 600px;
  padding: 0 20px 20px;
}

.ex-expand-toggle {
  display: block;
  width: 100%;
  padding: 10px;
  background: none;
  border: none;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.instructions-list {
  list-style: none;
}

.instructions-list li {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--muted);
  line-height: 1.6;
}

.instructions-list li:last-child {
  border-bottom: none;
}

.step-num {
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red);
  flex-shrink: 0;
}

.cta-bar {
  text-align: center;
  padding-top: 8px;
}

.cta-bar p {
  color: var(--muted);
  margin: 14px 0 18px;
}

.empty-state {
  border-radius: 24px;
  padding: 44px 22px;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.empty-state .icon {
  font-size: 3rem;
  margin-bottom: 14px;
  opacity: 0.45;
}

.legal-card {
  max-width: 820px;
  margin: 0 auto;
  border-radius: 30px;
  padding: 34px;
}

.legal-card h2 {
  font-size: 1.2rem;
  margin: 28px 0 12px;
  color: var(--red-strong);
}

.legal-card ul {
  margin: 0 0 14px;
}

.legal-card li {
  padding-left: 18px;
  position: relative;
}

.legal-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.site-footer {
  padding: 18px 0 36px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(140px, 1fr));
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  max-width: 440px;
}

.footer-brand .brand-logo {
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted-soft);
  font-size: 0.88rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .spotlight,
  .generator-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .panel-secondary {
    position: static;
  }

  .feature-row,
  .feature-row-reverse {
    flex-direction: column;
    gap: 28px;
    margin-bottom: 72px;
  }
}

@media (max-width: 760px) {
  .wrap,
  .nav-inner {
    width: min(calc(100% - 24px), var(--content));
  }

  .nav-inner {
    min-height: 68px;
    position: relative;
    gap: 12px;
  }

  .nav-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    padding: 14px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(12, 9, 9, 0.98);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }

  .nav.nav-open .nav-links {
    display: flex;
  }

  .nav-links .pill,
  .nav-links .button {
    width: 100%;
  }

  .brand-copy span {
    display: none;
  }

  .brand {
    gap: 10px;
    max-width: calc(100% - 56px);
  }

  .brand-logo-wide {
    width: 60px;
    height: 44px;
  }

  .brand-copy strong {
    font-size: 0.94rem;
    letter-spacing: 0.06em;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-grid {
    gap: 30px;
  }

  .hero-copy h1,
  .page-hero-copy h1 {
    font-size: clamp(2.4rem, 11vw, 3.8rem);
  }

  .hero-visual {
    min-height: 0;
    flex-direction: column;
    gap: 14px;
    padding-top: 8px;
  }

  .hero-device,
  .feature-device {
    width: 260px;
  }

  .floating-card {
    position: static;
    width: min(100%, 320px);
    padding: 14px;
  }

  .hero-glow {
    width: 300px;
    height: 300px;
  }

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

  .cta-card {
    padding: 30px 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .ex-main {
    grid-template-columns: 80px 1fr;
    gap: 14px;
  }

  .ex-img,
  .ex-img-placeholder {
    width: 80px;
    height: 80px;
  }

  .ex-prescription {
    grid-column: 1 / -1;
  }

  .legal-card,
  .panel,
  .spotlight {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .nav-links {
    padding: 12px;
    border-radius: 20px;
  }

  .nav-links .pill,
  .nav-links .button {
    min-height: 44px;
    font-size: 0.86rem;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

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

  .preview-row {
    grid-template-columns: 24px 1fr;
  }

  .preview-row small {
    grid-column: 2;
  }
}

.premium-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.premium-thumb {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 16px 40px rgba(0,0,0,0.28);
}

@media (max-width: 900px) {
  .premium-gallery {
    grid-template-columns: 1fr;
  }
}
