/* ============================================================
   Fast Glover — Design tokens
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root {
  --bg: #0a0a0f;
  --bg-elevated: #101018;
  --surface: #15151f;
  --surface-2: #1b1b28;
  --border: rgba(139, 92, 246, 0.22);
  --border-bright: rgba(0, 229, 255, 0.35);

  --blue: #00e5ff;
  --blue-dim: #0891a8;
  --violet: #8b5cf6;
  --violet-deep: #5b21b6;

  --text: #eef0f7;
  --text-muted: #9494ab;
  --text-faint: #5f5f76;

  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'IBM Plex Sans', 'Segoe UI', sans-serif;

  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;

  --container: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

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

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

::selection {
  background: var(--violet);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* Ambient particle backdrop -------------------------------------------- */
.particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.4;
  filter: blur(0.5px);
  animation: drift linear infinite;
}
.particles span:nth-child(odd) { background: var(--violet); }
@keyframes drift {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 0.5; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-110vh) translateX(20px); opacity: 0; }
}

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 12px;
  height: 12px;
  background: var(--blue);
  border-radius: 2px;
  transform: rotate(45deg);
  box-shadow: 0 0 12px var(--blue);
}
.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-s);
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--surface-2);
}
.nav-cta {
  border: 1px solid var(--border-bright);
  padding: 9px 18px !important;
  border-radius: var(--radius-s);
  color: var(--blue) !important;
}
.nav-cta:hover {
  background: rgba(0, 229, 255, 0.08);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 12px;
  }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-s);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #050508;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.25);
}
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--border-bright);
  background: var(--surface-2);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: 110px 0 90px;
  z-index: 1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.eyebrow-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-dim);
  font-family: var(--font-display);
  font-size: 0.85rem;
  margin-bottom: 20px;
}
.eyebrow-line::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--blue);
}
.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  color: var(--text);
}
.hero h1 em {
  font-style: normal;
  color: var(--blue);
}
.hero-sub {
  margin-top: 22px;
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* 3D badge stack ---------------------------------------------------- */
.badge-stack {
  perspective: 1200px;
  height: 420px;
  position: relative;
}
.badge-stack-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: stack-rotate 26s linear infinite;
}
@keyframes stack-rotate {
  from { transform: rotateY(0deg) rotateX(6deg); }
  to   { transform: rotateY(360deg) rotateX(6deg); }
}
.badge {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 210px;
  height: 84px;
  margin: -42px 0 0 -105px;
  background: linear-gradient(155deg, var(--surface-2), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.badge span { color: var(--blue); }

/* ============================================================
   Sections
   ============================================================ */
.section {
  position: relative;
  z-index: 1;
  padding: 90px 0;
}
.section-alt {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}
.section-head p {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Summary / tilt cards ------------------------------------------------ */
.tilt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 900px) {
  .tilt-grid { grid-template-columns: 1fr; }
}
.tilt-card-wrap { perspective: 900px; }
.tilt-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 32px;
  height: 100%;
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}
.tilt-card:hover {
  border-color: var(--border-bright);
  box-shadow: 0 24px 50px rgba(0,0,0,0.45);
}
.tilt-card .num {
  font-family: var(--font-display);
  color: var(--blue-dim);
  font-size: 0.85rem;
  margin-bottom: 18px;
  display: block;
}
.tilt-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.tilt-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
}
.tilt-card .learn-more {
  display: inline-block;
  margin-top: 22px;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.92rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.tilt-card:hover .learn-more { border-color: var(--blue); }

/* Marquee -------------------------------------------------------------- */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 30px 0;
  background: var(--bg-elevated);
  position: relative;
  z-index: 1;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 64px;
  animation: scroll-left 32s linear infinite;
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-faint);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s ease;
}
.marquee-item:hover { color: var(--blue); }
.marquee-item::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--violet);
  border-radius: 50%;
}

/* CTA banner ------------------------------------------------------------ */
.cta-banner {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: var(--container);
  margin-top: 20px;
  padding: 64px 56px;
  border-radius: var(--radius-l);
  background: linear-gradient(135deg, rgba(139,92,246,0.14), rgba(0,229,255,0.08));
  border: 1px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-banner h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); max-width: 20ch; }
.cta-banner p { color: var(--text-muted); margin-top: 10px; max-width: 42ch; }

/* ============================================================
   Steps (About)
   ============================================================ */
.steps {
  display: grid;
  gap: 0;
}
.step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 34px 0;
  border-top: 1px solid var(--border);
}
.step:last-child { border-bottom: 1px solid var(--border); }
.step-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: transparent;
  -webkit-text-stroke: 1px var(--border-bright);
}
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { color: var(--text-muted); max-width: 60ch; }

.highlight-card {
  margin-top: 60px;
  padding: 40px;
  border-radius: var(--radius-l);
  border: 1px solid var(--border-bright);
  background: radial-gradient(circle at 20% 20%, rgba(0,229,255,0.08), transparent 60%), var(--surface);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
}
@media (max-width: 700px) {
  .highlight-card { grid-template-columns: 1fr; }
  .step { grid-template-columns: 56px 1fr; }
}
.highlight-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-m);
  background: linear-gradient(135deg, var(--blue), var(--violet));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.highlight-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.highlight-card p { color: var(--text-muted); }

/* ============================================================
   Author cards
   ============================================================ */
.author-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  perspective: 1000px;
}
.author-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  overflow: hidden;
  transition: transform 0.1s ease, border-color 0.2s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.author-card:hover { border-color: var(--border-bright); }
.author-media {
  display: flex;
  gap: 0;
  height: 190px;
  background: var(--bg-elevated);
}
.author-photo, .book-cover {
  width: 50%;
  height: 100%;
  object-fit: cover;
  background: var(--surface-2);
}
.author-photo-fallback, .book-cover-fallback {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--text-faint);
  background: linear-gradient(160deg, var(--surface-2), var(--bg-elevated));
}
.author-body { padding: 26px; }
.author-body h3 { font-size: 1.15rem; }
.author-body .book-title {
  color: var(--blue-dim);
  font-size: 0.9rem;
  margin-top: 4px;
  font-style: normal;
}
.author-body .book-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 14px;
}
.author-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-small {
  padding: 9px 16px;
  font-size: 0.85rem;
}
.press-tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.press-tag {
  font-size: 0.78rem;
  padding: 5px 11px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.press-tag:hover {
  color: var(--blue);
  border-color: var(--border-bright);
}

/* ============================================================
   Services
   ============================================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 800px) {
  .service-grid { grid-template-columns: 1fr; }
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 30px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.service-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card .benefit-label {
  color: var(--blue-dim);
  font-size: 0.8rem;
  font-family: var(--font-display);
  display: block;
  margin-top: 16px;
  margin-bottom: 6px;
}
.service-card p.benefit { color: var(--text-muted); font-size: 0.92rem; }
.service-card p.desc { color: var(--text-muted); font-size: 0.95rem; }

.arc-feature {
  margin-top: 40px;
  padding: 44px;
  border-radius: var(--radius-l);
  background: linear-gradient(135deg, rgba(139,92,246,0.16), rgba(0,229,255,0.06));
  border: 1px solid var(--border-bright);
}
.arc-feature .eyebrow-line { color: var(--blue); }
.arc-feature h3 { font-size: 1.6rem; margin-bottom: 14px; }
.arc-feature-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 700px) {
  .arc-feature-grid { grid-template-columns: 1fr; }
}
.arc-feature-grid h4 {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 8px;
}
.arc-feature-grid p { color: var(--text-muted); font-size: 0.95rem; }

/* ============================================================
   Contact
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: start;
}
@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
}
.contact-info h2 { font-size: 1.9rem; }
.contact-info p { color: var(--text-muted); margin-top: 16px; max-width: 42ch; }
.contact-detail {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-detail-item {
  font-size: 0.95rem;
  color: var(--text-muted);
}
.contact-detail-item strong { color: var(--text); display: block; margin-bottom: 2px; }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 40px;
}
.field {
  position: relative;
  margin-bottom: 26px;
}
.field input,
.field select {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  padding: 16px 14px 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.98rem;
  transition: border-color 0.2s ease;
}
.field input:focus, .field select:focus {
  border-color: var(--blue);
  outline: none;
}
.field label {
  position: absolute;
  left: 15px;
  top: 15px;
  color: var(--text-faint);
  font-size: 0.98rem;
  pointer-events: none;
  transition: transform 0.15s ease, font-size 0.15s ease, color 0.15s ease, top 0.15s ease;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field.select-filled label {
  top: 7px;
  font-size: 0.72rem;
  color: var(--blue-dim);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.field .select-arrow {
  position: absolute;
  right: 16px;
  top: 20px;
  color: var(--text-faint);
  pointer-events: none;
  font-size: 0.8rem;
}
.form-status {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--blue);
  min-height: 20px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 50px 0 34px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--blue); }
.footer-bottom {
  margin-top: 30px;
  color: var(--text-faint);
  font-size: 0.82rem;
}

/* Page hero (interior pages) --------------------------------------- */
.page-hero {
  padding: 80px 0 50px;
  position: relative;
  z-index: 1;
}
.page-hero h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.page-hero p { color: var(--text-muted); margin-top: 16px; max-width: 56ch; font-size: 1.05rem; }


/* ============================================================
   MOBILE & TABLET FIXES (max-width: 860px)
   Additive overrides only. Every rule above this line is the
   original desktop styling and is intentionally left untouched;
   nothing below applies to screens wider than 860px.
   ============================================================ */
@media (max-width: 860px) {

  /* --- Page gutters & section rhythm ---------------------------- */
  .container { padding: 0 20px; }
  .nav { padding: 14px 20px; }
  .nav-links.open { top: 100%; }
  .nav-links.open a { display: block; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .page-hero { padding: 48px 0 28px; }

  /* --- Hero: stack text, then the 3D ring ------------------------
     The desktop two-column grid never collapsed, which squeezed the
     headline into a sliver and let the ring spill over it. */
  .hero { padding: 44px 0 20px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 2.9rem); }
  .hero-sub { max-width: none; font-size: 1.02rem; margin-top: 16px; }
  .hero-actions { margin-top: 26px; gap: 12px; }
  .hero-actions .btn {
    flex: 1 1 150px;
    justify-content: center;
    white-space: nowrap;
  }

  /* --- 3D badge ring ---------------------------------------------
     Radius is set inline in the HTML, so the whole ring is scaled
     with the individual `scale` property (3 values = true 3D scale,
     so depth shrinks with width and the ring stays circular).
     A steeper tilt makes the ring read as a ring, not a flat strip. */
  .badge-stack {
    height: 260px;
    width: 100%;
    margin: 0 auto;
    perspective: 1000px;
    isolation: isolate;
  }
  .badge-stack::before {
    content: '';
    position: absolute;
    inset: 8% 4%;
    z-index: -1;
    pointer-events: none;
    background:
      radial-gradient(closest-side, rgba(0, 229, 255, 0.16), transparent 70%),
      radial-gradient(closest-side at 60% 60%, rgba(139, 92, 246, 0.20), transparent 75%);
    filter: blur(8px);
  }
  .badge-stack-inner {
    scale: 1 1 1;
    translate: 0 -12px;   /* perspective pushes the ring low; re-centre it */
    animation-name: stack-rotate-mobile;
  }
  @keyframes stack-rotate-mobile {
    from { transform: rotateX(-20deg) rotateY(0deg); }
    to   { transform: rotateX(-20deg) rotateY(360deg); }
  }
  .badge {
    border-color: var(--border-bright);
    background: linear-gradient(155deg, #20203a, #12121d);
    box-shadow:
      0 0 22px rgba(0, 229, 255, 0.14),
      0 18px 34px rgba(0, 0, 0, 0.55);
    font-size: 1.08rem;
    /* Hide the far side of the ring so no badge shows mirrored text */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  /* --- Summary cards -----------------------------------------------
     .tilt-card is an <a>; as an inline box its border/background broke
     into fragments across text lines. Make it a real block. */
  .tilt-card {
    display: block;
    padding: 26px 22px;
  }
  .tilt-grid { gap: 18px; }

  /* --- Banners & feature panels -------------------------------------- */
  .cta-banner {
    padding: 36px 24px;
    gap: 22px;
    margin-left: 20px;
    margin-right: 20px;
  }
  .cta-banner h2 { max-width: none; }
  .cta-banner .btn { width: 100%; justify-content: center; }
  .highlight-card { padding: 26px 22px; margin-top: 40px; gap: 18px; }
  .arc-feature { padding: 28px 22px; margin-top: 28px; }
  .step { gap: 16px; padding: 26px 0; }
  .step-num { font-size: 1.9rem; }

  /* --- Cards that would otherwise force sideways scroll --------------- */
  .author-grid { grid-template-columns: 1fr; gap: 22px; }
  .service-card { padding: 24px 22px; }
  .contact-card { padding: 26px 20px; }
  .contact-layout { gap: 32px; }

  /* --- Footer --------------------------------------------------------- */
  .footer-grid { flex-direction: column; gap: 18px; }
  .footer-links { gap: 14px 20px; }
}

/* Ring sizing by phone width. The full ring is ~390px wide x ~216px tall
   at scale 1, so each step fills the screen width with a ~16px gutter and
   the box is sized to the ring (no dead space above or below it). */
@media (max-width: 430px) {
  .badge-stack { height: 236px; }
  .badge-stack-inner { scale: 0.9 0.9 0.9; translate: 0 -11px; }
}
@media (max-width: 375px) {
  .badge-stack { height: 216px; }
  .badge-stack-inner { scale: 0.82 0.82 0.82; translate: 0 -10px; }
}
@media (max-width: 340px) {
  .badge-stack { height: 196px; }
  .badge-stack-inner { scale: 0.72 0.72 0.72; translate: 0 -9px; }
  .hero-actions .btn { flex-basis: 100%; }
}


/* ============================================================
   NETWORK LOGOS, RADIO GUARANTEE, PDF SAMPLES
   New component styles, appended after the base and mobile
   blocks above. Existing rules are not edited.
   ============================================================ */

/* --- 3D ring: brand logos sit on a light plate inside each badge.
       Logos must never render mirrored, so the far side of the ring is
       hidden on every screen size (the mobile block already did this). */
.badge {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.badge--logo { padding: 8px; }
.badge-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  border-radius: 7px;
  padding: 6px 12px;
}

/* --- Marquee: logo chips. Chip height + padding keep the strip at the
       same overall height the text version had. */
.marquee-wrap { padding: 22px 0; }
.marquee-item--logo::before { display: none; }
.marquee-logo {
  display: block;
  height: 44px;
  width: auto;
  padding: 6px 12px;
  background: #fff;
  border-radius: 8px;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}
.marquee-item--logo:hover .marquee-logo { opacity: 1; }

/* --- Radio guarantee band --------------------------------------------- */
.guarantee { padding: 72px 0; }
.guarantee-card {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 44px 52px;
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-l);
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(0, 229, 255, 0.07)),
    var(--surface);
}
.guarantee-icon {
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  border: 1px solid var(--border-bright);
  background: rgba(0, 229, 255, 0.07);
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.18);
}
.guarantee-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text);
  max-width: 52ch;
}

/* --- PDF samples -------------------------------------------------------- */
.sample-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.sample-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
}
.sample-thumb {
  display: block;
  aspect-ratio: 760 / 520;
  margin-bottom: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  transition: border-color 0.2s ease;
}
.sample-thumb:hover { border-color: var(--border-bright); }
.sample-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.sample-card h3 {
  font-size: 1.2rem;
  line-height: 1.3;
  margin-bottom: 10px;
}
.sample-desc { color: var(--text-muted); font-size: 0.96rem; }
.sample-meta { margin-top: 12px; color: var(--text-muted); font-size: 0.85rem; }
.sample-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
}

/* --- Footer trademark note (home page) ----------------------------------- */
.footer-legal { margin-top: 8px; max-width: 70ch; }

/* --- Tablet and phone ---------------------------------------------------- */
@media (max-width: 860px) {
  .guarantee { padding: 44px 0; }
  .guarantee-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 28px 22px;
  }
  .guarantee-icon { width: 60px; height: 60px; }
  .guarantee-icon svg { width: 32px; height: 32px; }
  .guarantee-text { font-size: clamp(1.2rem, 5.4vw, 1.5rem); }

  .sample-grid { grid-template-columns: 1fr; gap: 18px; }
  .sample-card { padding: 18px; }
  .sample-actions .btn {
    flex: 1 1 140px;
    justify-content: center;
    padding: 13px 16px;
  }
}
