/* Gyrodile — landing page styles (from Gyrodile Landing.dc.html helmet) */
  html, body { margin: 0; padding: 0; background: #f4f4f5; }
  body { font-family: 'DM Sans', ui-sans-serif, system-ui, sans-serif; color: #18181b; }
  a { color: #18181b; text-decoration: none; }
  a:hover { color: #09090b; }
  ::placeholder { color: #a1a1aa; }
  @keyframes gyroWordIn { 0% { opacity: 0; transform: translateY(18px); } 100% { opacity: 1; transform: translateY(0); } }
  @keyframes gyroMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
  @keyframes gyroFadeUp { 0% { opacity: 0; transform: translateY(24px); } 100% { opacity: 1; transform: translateY(0); } }
  @keyframes gyroPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
  @keyframes gyroFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
  @keyframes gyroFloat2 { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(8px) rotate(-2deg); } }
  @keyframes gyroGlow { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }
  @supports (animation-timeline: view()) {
    [data-reveal] { animation: gyroFadeUp 0.7s ease both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  }

  /* responsive */
  @media (max-width: 1024px) {
    div[style*="repeat(4"] { grid-template-columns: repeat(2, 1fr) !important; }
    h1 { font-size: clamp(40px, 8vw, 64px) !important; line-height: 1.1 !important; }
  }
  @media (max-width: 900px) {
    div[style*="1.4fr"], div[style*="1.2fr"], div[style*="1.1fr"], div[style*="1.6fr"], div[style*="1.3fr"], a[style*="1.3fr"],
    div[style*="columns:1fr 1fr"], div[style*="columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
    div[style*="repeat(3"] { grid-template-columns: repeat(2, 1fr) !important; }
    h2 { font-size: 32px !important; line-height: 1.2 !important; }
    div[style*="96px 64px"], div[style*="80px 64px"] { padding: 56px 28px 48px !important; }
    div[style*="gap:28px"], div[style*="gap: 28px"] { display: none !important; }
    div[style*="position:sticky"] div[style*="gap:28px"] { display: none !important; }
  }
  @media (max-width: 640px) {
    div[style*="repeat(4"], div[style*="repeat(3"] { grid-template-columns: 1fr !important; }
    h1 { font-size: 36px !important; }
    h2 { font-size: 28px !important; }
    div[style*="140px 1fr"] { grid-template-columns: 90px 1fr 1fr !important; font-size: 13px !important; }
    div[style*="padding:56px 48px"], div[style*="padding: 56px 48px"], div[style*="padding:64px 48px"], div[style*="padding: 64px 48px"], div[style*="padding:72px 48px"], div[style*="padding: 72px 48px"], div[style*="padding:48px"], div[style*="padding: 48px"] { padding: 32px 22px !important; }
    div[style*="gap:64px"], div[style*="gap: 64px"] { gap: 28px !important; }
  }

  /* responsive v2 - heroes */
  @media (max-width: 900px) {
    div[style*="height:52px"][style*="font-size:40px"], div[style*="height: 52px"] { font-size: 26px !important; height: 36px !important; margin-top: 8px !important; }
    div[style*="padding:88px 24px"] { padding: 40px 12px 0 !important; }
    div[style*="gap:32px"][style*="display:flex"] { flex-wrap: wrap !important; gap: 20px !important; }
    div[style*="gap:64px"][style*="display:grid"], div[style*="gap: 64px"][style*="display:grid"] { gap: 32px !important; }
    div[style*="font-size:34px"][style*="tabular-nums"], span[style*="font-size:34px"] { font-size: 26px !important; }
    div[style*="min-height:420px"] { min-height: 300px !important; }
    div[style*="max-width:1232px"] { padding-left: 10px !important; padding-right: 10px !important; }
    div[style*="align-items:end"] { align-items: start !important; }
  }
  @media (max-width: 640px) {
    div[style*="height:52px"][style*="font-size:40px"], div[style*="height: 52px"] { font-size: 20px !important; height: 30px !important; }
    span[style*="font-size:28px"] { font-size: 22px !important; }
    img[style*="height:260px"] { width: 140px !important; height: 185px !important; }
    div[style*="padding:64px 24px 88px"] { padding: 32px 16px 56px !important; }
    a[style*="padding:15px 30px"], a[style*="padding: 15px 30px"] { padding: 13px 22px !important; font-size: 14px !important; }
    div[style*="font-size:48px"], span[style*="font-size:48px"] { font-size: 32px !important; }
  }

  /* responsive v3 - hero stats */
  @media (max-width: 640px) {
    div[style*="repeat(4"][style*="border-top"] { grid-template-columns: repeat(2, 1fr) !important; gap: 20px 12px !important; margin-top: 32px !important; padding-top: 28px !important; }
    div[style*="repeat(4"][style*="border-top"] span[style*="font-size:34px"] { font-size: 24px !important; }
    div[style*="repeat(4"][style*="border-top"] span[style*="font-size:13px"] { font-size: 12px !important; }
  }

  /* leaks list: no rule above first item */
  [data-leaklist] > [data-first-flat]:first-child { border-top: none !important; padding-top: 0 !important; }

  /* responsive v4 - section headers stack */
  @media (max-width: 640px) {
    div[style*="align-items:baseline"][style*="justify-content:space-between"], div[style*="align-items: baseline"][style*="justify-content: space-between"] { display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 12px !important; }
    div[style*="align-items:baseline"][style*="justify-content:space-between"] p, div[style*="align-items: baseline"][style*="justify-content: space-between"] p { text-align: left !important; max-width: 100% !important; }
  }

  /* responsive v5 - all card grids single column on phones */
  @media (max-width: 640px) {
    div[style*="repeat(2,1fr)"], div[style*="repeat(2, 1fr)"] { grid-template-columns: 1fr !important; }
  }

  /* WP port additions */
  /* Client logo strip: static centered row on wide screens, looping CSS marquee
     at <=1024px — replaces the vw-based variant switch in the design runtime. */
  .gyro-marquee-loop { display: none !important; }
  @media (max-width: 1024px) {
    .gyro-marquee-wide { display: none !important; }
    .gyro-marquee-loop { display: flex !important; }
  }
