/*
 * SiliconFlow-inspired global layout width.
 * Keep content centered while making better use of wide desktop screens.
 */
html body #tokennau-homepage-prototype .tn-wrap{
  width:100%;
  max-width:1440px;
  margin-left:auto;
  margin-right:auto;
  padding-left:24px;
  padding-right:24px;
}

/* Let wider cards breathe without spreading their content too far apart. */
@media(min-width:1280px){
  html body #tokennau-homepage-prototype .tn-agent-grid{gap:16px}
  html body #tokennau-homepage-prototype .tn-scenario-grid{gap:20px}
  html body #tokennau-homepage-prototype .tn-solution-overview-grid{gap:20px}
  html body #tokennau-homepage-prototype .tn-solution-overview{gap:30px}
  html body #tokennau-homepage-prototype .tn-landing{gap:84px}
}

@media(max-width:900px){
  html body #tokennau-homepage-prototype .tn-wrap{
    padding-left:22px;
    padding-right:22px;
  }
}

@media(max-width:620px){
  html body #tokennau-homepage-prototype .tn-wrap{
    padding-left:16px;
    padding-right:16px;
  }

  /* The proof section previously added its own extra inset on mobile. */
  html body #tokennau-homepage-prototype .tn-proof-row{
    padding-left:0;
    padding-right:0;
  }
}

/* SiliconFlow-inspired top navigation: full-width alignment and larger type rhythm. */
html body #tokennau-homepage-prototype .tn-nav{
  height:78px;
  padding:0;
  border-bottom:0;
  background:rgba(255,255,255,.88);
  box-shadow:0 8px 30px rgba(15,23,42,.06);
  backdrop-filter:blur(20px) saturate(150%);
}

html body #tokennau-homepage-prototype .tn-nav > .tn-wrap{
  max-width:none;
  padding-left:32px;
  padding-right:32px;
}

html body #tokennau-homepage-prototype .tn-brand{
  flex:0 0 auto;
  gap:10px;
  min-height:46px;
  color:#1e293b;
  font-size:18px;
  font-weight:650;
  line-height:1;
  letter-spacing:-.025em;
}

html body #tokennau-homepage-prototype .tn-logo-img{
  width:34px;
  height:38px;
}

html body #tokennau-homepage-prototype .tn-navlinks{
  flex:0 1 auto;
  gap:36px;
  margin-left:80px;
}

html body #tokennau-homepage-prototype .tn-navlinks a{
  padding:8px 0;
  border-radius:0;
  color:#1e293b;
  font-size:16px;
  font-weight:400;
  line-height:1.5;
  letter-spacing:0;
  white-space:nowrap;
}

html body #tokennau-homepage-prototype .tn-navlinks a:hover,
html body #tokennau-homepage-prototype .tn-navlinks a.is-active{
  background:transparent;
  color:#743aed;
}

html body #tokennau-homepage-prototype .tn-navlinks a.is-active{
  font-weight:500;
}

html body #tokennau-homepage-prototype .tn-nav-actions{
  margin-left:auto;
  gap:16px;
}

html body #tokennau-homepage-prototype .tn-nav-actions .tn-btn{
  min-height:39px;
  padding:7px 16px;
  border-radius:999px;
  font-size:15px;
  font-weight:500;
  line-height:1;
  box-shadow:none;
}

html body #tokennau-homepage-prototype .tn-nav-actions .tn-btn-quiet{
  padding-left:4px;
  padding-right:4px;
  color:#1e293b;
}

html body #tokennau-homepage-prototype .tn-nav-actions .tn-btn-quiet:hover{
  border-color:transparent;
  background:transparent;
  color:#743aed;
  box-shadow:none;
}

html body #tokennau-homepage-prototype .tn-nav-actions .tn-btn-primary{
  min-width:92px;
  border-color:#743aed;
  background:#743aed;
  color:#fff;
}

html body #tokennau-homepage-prototype .tn-nav-actions .tn-btn-primary:hover{
  border-color:#672fd8;
  background:#672fd8;
  color:#fff;
}

@media(max-width:1100px){
  html body #tokennau-homepage-prototype .tn-nav > .tn-wrap{
    padding-left:24px;
    padding-right:24px;
  }
  html body #tokennau-homepage-prototype .tn-navlinks{
    gap:22px;
    margin-left:42px;
  }
  html body #tokennau-homepage-prototype .tn-navlinks a{font-size:15px}
  html body #tokennau-homepage-prototype .tn-nav-actions{gap:10px}
}

@media(max-width:900px){
  html body #tokennau-homepage-prototype .tn-navlinks{
    gap:18px;
    margin-left:30px;
  }
}

@media(max-width:620px){
  html body #tokennau-homepage-prototype .tn-nav{
    height:66px;
    background:rgba(255,255,255,.95);
  }
  html body #tokennau-homepage-prototype .tn-nav > .tn-wrap{
    padding-left:16px;
    padding-right:16px;
  }
  html body #tokennau-homepage-prototype .tn-brand{
    min-height:46px;
    font-size:17px;
  }
  html body #tokennau-homepage-prototype .tn-logo-img{
    width:31px;
    height:34px;
  }
  html body #tokennau-homepage-prototype .tn-nav-actions .tn-btn-primary{
    min-width:auto;
    min-height:38px;
    padding:7px 15px;
    font-size:14px;
  }
}

/* Keep the complete desktop navigation visible until the mobile layout takes over. */
@media(min-width:761px){
  html body #tokennau-homepage-prototype .tn-navlinks a:nth-child(4){display:flex}
}

@media(max-width:760px){
  html body #tokennau-homepage-prototype .tn-navlinks{display:none}
  html body #tokennau-homepage-prototype .tn-nav-actions .tn-btn:first-child{display:none}
}

/* The demo button is the only navigation action on mobile. */
@media(max-width:760px){
  html body #tokennau-homepage-prototype .tn-nav-actions .tn-btn-primary:first-child{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }
}
