/* Load after style.css and login.css. Typography refinement only. */

@media (min-width: 801px) {
  .brand { gap: 9px; }
  .brand-name { font-size: 28px; letter-spacing: -1.1px; }
  .brand-name sup { font-size: 6px; top: 5px; }
  .demo-label { font-size: 12px; font-weight: 300; }
  .login-trigger { font-size: 14px; font-weight: 400; }

  .eyebrow { font-size: 12px; font-weight: 300; letter-spacing: 2.8px; }
  .intro-copy h1 {
    font-size: clamp(25px, 1.65vw, 28px);
    font-weight: 300;
    line-height: 1.22;
    letter-spacing: .1px;
  }
  .intro-subtitle {
    font-size: clamp(12px, .78vw, 13px);
    font-weight: 300;
    line-height: 1.55;
  }

  .nav-item { font-size: clamp(14px, 1vw, 15px); font-weight: 300; }
  .nav-number { font-size: 12px; }
  .rotation-value { font-size: 22px; font-weight: 300; }
  .rotation-caption { font-size: 12px; font-weight: 300; }

  .card-heading {
    font-size: clamp(12px, .8vw, 13px);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -.1px;
  }
  .card-heading small { font-size: 12px; font-weight: 300; line-height: 1.35; }
  .card-copy { width: 48%; gap: 3px; }
  .card-copy strong {
    font-size: clamp(24px, 1.7vw, 26px);
    font-weight: 300;
    line-height: 1.12;
    letter-spacing: -.45px;
  }
  .card-copy > span {
    font-size: clamp(12px, .75vw, 12px);
    font-weight: 300;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: normal;
  }
  .motion-controls button { font-size: 12px; font-weight: 300; }
  .motion-controls button + button span { font-size: 12px; }
}

/* The narrow desktop cards need two lines of readable supporting copy. */
@media (min-width: 801px) and (max-width: 1250px) {
  .brand-name { font-size: 25px; }
  .login-trigger { font-size: 13px; }
  .card-copy { top: 44%; }
  .card-copy > span { font-size: 12px; line-height: 1.35; }
}

/* Dialogs use the same lighter hierarchy while fields remain easy to read. */
.resource-dialog h2 {
  font-size: 24px;
  font-weight: 300;
  line-height: 1.25;
}
.resource-description { font-size: 13px; line-height: 1.6; }
.resource-list li { font-size: 12px; line-height: 1.55; }

#login-dialog { font-size: 13px; }
#login-dialog h2 {
  font-size: 24px;
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -.02em;
}
#login-dialog .snl-brand { font-size: 12px; font-weight: 400; }
#login-dialog .snl-header p { font-size: 13px; font-weight: 300; }
#login-dialog label { font-size: 12px; font-weight: 400; }
#login-dialog input { font-size: 14px; }
#login-dialog input::placeholder { font-size: 12px; }
#login-dialog .snl-submit { font-size: 15px; font-weight: 400; }
#login-dialog .snl-recovery-copy { font-size: 13px; }

@media (max-width: 800px) {
  .brand-name { font-size: 23px; }
  .demo-label { font-size: 12px; }
  .eyebrow { font-size: 12px; font-weight: 300; letter-spacing: 2.5px; }
  .intro-copy h1 {
    font-size: clamp(21px, 5vw, 26px);
    font-weight: 300;
    line-height: 1.32;
    letter-spacing: -.2px;
  }
  .intro-subtitle { font-size: 12px; font-weight: 300; line-height: 1.65; }
  .nav-item { font-size: 13px; font-weight: 300; }
  .nav-number { font-size: 12px; }
  .rotation-value { font-size: 21px; font-weight: 300; }
  .rotation-caption { font-size: 12px; }

  .feature-card { min-height: 168px; }
  .card-heading { font-size: 13px; font-weight: 400; line-height: 1.3; }
  .card-heading small { font-size: 12px; font-weight: 300; line-height: 1.35; }
  .card-copy { top: 48%; width: 48%; gap: 3px; }
  .card-copy strong {
    font-size: 24px;
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -.45px;
  }
  .card-copy > span {
    font-size: 12px;
    font-weight: 300;
    line-height: 1.4;
    white-space: normal;
  }
  .motion-controls button,
  .motion-controls button + button span,
  .drag-hint { font-size: 12px; }
  .resource-dialog h2 { font-size: 22px; }
  .resource-description { font-size: 13px; }
  .resource-eyebrow { font-size: 12px; letter-spacing: 1.7px; }

  /* SVG text scales with its viewBox; compensate for the small chart. */
  .funnel-chart text { font-size: 24px; transform: translateY(8px); }

  #login-dialog h2 { font-size: 22px; }
  #login-dialog label { font-size: 13px; }
  #login-dialog input { font-size: 16px; }
  #login-dialog input::placeholder { font-size: 14px; }
  #login-dialog .snl-demo-note,
  #login-dialog .snl-text-button,
  #login-dialog .snl-status { font-size: 12px; }
}

@media (min-width: 421px) and (max-width: 600px) {
  .funnel-chart text { font-size: 18px; transform: translateY(5px); }
}

@media (min-width: 601px) and (max-width: 800px) {
  .funnel-chart text { font-size: 16px; transform: translateY(4px); }
}
/* Prerendered volume uses the same motion on every supported browser. */
.hero-media{position:absolute;inset:0;pointer-events:none;z-index:3}
.motion-video-layer{position:absolute;inset:0;transform-origin:50% 50%;transition:transform .3s ease-out}
.brand-motion-video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;pointer-events:none;transition:opacity .08s linear}
.brand-motion-video.is-active{opacity:1}
.hero-rig.is-loading .hero-fallback,.hero-rig.is-loading .fallback-glint{opacity:0!important}
.hero-rig.is-ready .hero-fallback{display:none}
.hero-reflection canvas{display:block;width:100%;height:auto;transform:scaleY(-.32) translateY(-100%) scaleX(var(--reflection-zoom,1));transform-origin:50% 0}
.hero-rig .hero-media canvas{opacity:1}
.is-entering .feature-card:nth-child(1){animation-delay:3.65s}
.is-entering .feature-card:nth-child(2){animation-delay:3.77s}
.is-entering .feature-card:nth-child(3){animation-delay:3.89s}
.is-entering .rotation-controls{animation-delay:3.3s}
.is-entering .hero-reflection{animation:reflectionEnter 1.8s 1s both}
@media(min-width:801px){
 .brand-symbol{width:55px;height:36px}
 .brand-symbol img{width:66px;left:-5px;top:-3px}
 .hero-rig{width:76svh;max-width:52%;height:48.5%;top:18.5%}
 .hero-shadow{width:32%;left:34%;opacity:.7}
 .hero-reflection{width:68svh;max-width:46%;opacity:.16}
 .login-trigger{min-width:200px;height:41px}
 .nav-item{height:50px}
 .nav-item svg{width:25px;height:25px}
}
@media(min-width:801px) and (max-width:1250px){.login-trigger{min-width:180px}.nav-item{height:46px}}
.funnel-labels{position:absolute;right:5%;bottom:5%;width:47%;display:flex;justify-content:space-between;font-size:12px;font-weight:300;line-height:1.2;color:#bacdd8}
@media(max-width:800px){.funnel-labels{right:4%;width:43%;bottom:5%;font-size:12px}}
@media(max-width:800px){.card-copy{top:46%}}
@media(min-width:801px) and (max-width:1000px){.experience{min-height:800px}}
