/* N1 Home 2026 (Final) */
:root{
  --n1-primary-900:#0a2f6f;
  --n1-primary-800:#0d47a1;
  --n1-primary-700:#1455bf;
  --n1-primary-600:#1e6bff;

  --n1-border:#dbe3f0;
  --n1-text:#0b1220;
  --n1-muted:#475569;

  --n1-card:#ffffff;
  --n1-shadow:0 12px 32px rgba(15,23,42,.12);
  --n1-soft-shadow:0 6px 18px rgba(13,71,161,.12);

  --n1-warm:#dd7b14;
  --n1-max:1200px;
  --n1-radius:18px;
}

.n1h-home{
  color:var(--n1-text);
}

.n1h-container{
  max-width:var(--n1-max);
  margin:0 auto;
  padding:clamp(16px,2.4vw,24px);
}

.n1h-muted{color:var(--n1-muted);}

/* Buttons */
.n1h-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  border-radius:999px;
  border:1px solid transparent;
  padding:.78rem 1.15rem;
  font-weight:900;
  line-height:1;
  color:#fff;
  background:var(--n1-primary-700);
  box-shadow:var(--n1-soft-shadow);
  transition:transform .18s, box-shadow .18s;
  text-decoration:none;
  white-space:nowrap;
  font-size:.95rem;
}
.n1h-btn:hover{
  transform:translateY(-1px);
  box-shadow:var(--n1-shadow);
}
.n1h-btn-primary{
  background:linear-gradient(90deg,var(--n1-primary-700),var(--n1-primary-600));
}
.n1h-btn-warm{
  background:linear-gradient(90deg,#e2912d,var(--n1-warm));
}
.n1h-btn-ghost{
  background:#fff;
  color:var(--n1-primary-800);
  border-color:#c7d2fe;
  box-shadow:none;
}
.n1h-btn-ghost:hover{
  box-shadow:var(--n1-soft-shadow);
}

/* Hero */
.n1h-hero{
  background:linear-gradient(180deg,#f7fbff,#eef5ff);
  border-bottom:1px solid var(--n1-border);
}
.n1h-hero-card{
  background:var(--n1-card);
  border-radius:22px;
  border:1px solid #e5e7eb;
  box-shadow:var(--n1-shadow);
  display:grid;
  grid-template-columns:minmax(0,1.65fr) minmax(0,1.35fr);
  overflow:hidden;
}
@media (max-width: 900px){
  .n1h-hero-card{grid-template-columns:1fr;}
}
.n1h-hero-media{background:#000;}
.n1h-hero-media img{width:100%;height:auto;display:block;}

.n1h-hero-body{padding:18px 18px 16px;}
.n1h-hero-kicker{
  font-size:.78rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:#1d4ed8;
  margin-bottom:4px;
}
.n1h-hero-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin-bottom:8px;
}
.n1h-pill{
  display:inline-flex;
  align-items:center;
  padding:3px 9px;
  border-radius:999px;
  background:#dbeafe;
  color:#1d4ed8;
  font-size:.75rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.n1h-pill-muted{
  background:#eff6ff;
  color:#1e3a8a;
}
.n1h-date{
  font-size:.8rem;
  color:#6b7280;
  font-weight:700;
}
.n1h-link{
  font-weight:900;
  color:#1d4ed8;
  text-decoration:none;
  font-size:.88rem;
}
.n1h-link:hover{text-decoration:underline;}
.n1h-hero-title{
  margin:.15rem 0 .4rem;
  font-size:clamp(22px,2.2vw,28px);
  font-weight:1000;
}
.n1h-hero-title a{color:inherit;text-decoration:none;}
.n1h-hero-title a:hover{text-decoration:underline;}
.n1h-hero-excerpt{
  margin:0 0 12px;
  font-size:.95rem;
  color:var(--n1-muted);
  line-height:1.6;
}
.n1h-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

/* Upsell bar */
.n1h-upsell{
  background:#fff;
  border-bottom:1px solid #e5e7eb;
}
.n1h-upsell-box{
  background:#fff;
  border:1px solid var(--n1-border);
  border-radius:16px;
  padding:12px 14px;
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  box-shadow:0 6px 18px rgba(13,71,161,.08);
}
@media (max-width: 860px){
  .n1h-upsell-box{flex-direction:column;align-items:flex-start;}
}
.n1h-upsell-text{font-weight:900;}
.n1h-upsell-sub{display:block;color:#64748b;font-weight:700;font-size:.9rem;margin-top:2px;}
.n1h-upsell-actions{display:flex;gap:10px;flex-wrap:wrap;}

/* Top tables section */
.n1h-top{
  background:linear-gradient(180deg,#eef5ff,#f7fbff);
  border-top:1px solid var(--n1-border);
}
.n1h-section-header{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.n1h-h2{
  margin:0;
  font-size:clamp(22px,2.2vw,28px);
  font-weight:1000;
}
.n1h-h3{
  margin:0;
  font-size:1.05rem;
  font-weight:1000;
}
.n1h-top-sub{
  margin:.35rem 0 14px;
  color:var(--n1-muted);
  max-width:880px;
  line-height:1.55;
}

.n1h-top-grid{
  display:grid;
  gap:16px;
}
.n1h-cols-2{
  grid-template-columns:repeat(12,1fr);
}
.n1h-cols-2 > .n1h-top-card{
  grid-column:span 12;
}
@media (min-width: 980px){
  .n1h-cols-2{grid-template-columns:repeat(12,1fr);}
  .n1h-cols-2 > .n1h-top-card{grid-column:span 6;}
}

.n1h-top-card{
  background:#fff;
  border:1px solid #e6eef9;
  border-radius:18px;
  box-shadow:var(--n1-soft-shadow);
  overflow:hidden;
}
.n1h-top-card-header{
  padding:12px 14px 8px;
}
.n1h-top-card-titlewrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}
.n1h-empty{
  padding:0 14px 14px;
  color:#64748b;
  margin:0;
  font-weight:700;
}

/* Table */
.n1h-tablewrap{overflow:auto;border-top:1px solid #e9eef9;}
.n1h-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  min-width:740px; /* ensures columns don't squish */
}
.n1h-table thead th{
  background:#1e3a8a;
  color:#fff;
  font-weight:900;
  font-size:.78rem;
  letter-spacing:.02em;
  text-transform:none;
  padding:10px 10px;
  border-right:1px solid rgba(255,255,255,.14);
  white-space:nowrap;
}
.n1h-table thead th:first-child{border-top-left-radius:10px;}
.n1h-table thead th:last-child{border-top-right-radius:10px;border-right:none;}
.n1h-table tbody td{
  padding:9px 10px;
  border-bottom:1px solid #eef2ff;
  font-size:.9rem;
  color:var(--n1-text);
  vertical-align:middle;
  background:#fff;
}
.n1h-table tbody tr:nth-child(even) td{
  background:#f8fbff;
}

.n1h-td-rank{
  width:36px;
  color:#64748b;
  font-weight:900;
}
.n1h-playercell{
  display:flex;
  align-items:center;
  gap:8px;
}
.n1h-flag{font-size:1rem;line-height:1;}
.n1h-playerlink{
  color:#1d4ed8;
  font-weight:900;
  text-decoration:none;
}
.n1h-playerlink:hover{text-decoration:underline;}
.n1h-birth{color:#64748b;font-weight:800;font-size:.85rem;}

.n1h-teamcell{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:240px;
}
.n1h-teamlogo{
  width:18px;
  height:18px;
  border-radius:4px;
  object-fit:contain;
  background:#fff;
  border:1px solid #e2e8f0;
}
.n1h-teamname{color:#0f172a;font-weight:700;}
.n1h-td-stars{white-space:nowrap;}

/* Footer */
.n1h-top-footer{
  padding:10px 14px 12px;
  border-top:1px solid #eef2ff;
}
.n1h-subtle-link{
  color:#1d4ed8;
  font-weight:900;
  text-decoration:none;
  font-size:.9rem;
}
.n1h-subtle-link:hover{text-decoration:underline;}

/* Line chart */
.n1h-lines{
  background:#fff;
  border-top:1px solid #e5e7eb;
  border-bottom:1px solid #e5e7eb;
}
.n1h-lines-grid{
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(0,1.2fr);
  gap:18px;
  align-items:center;
}
@media (max-width: 900px){
  .n1h-lines-grid{grid-template-columns:1fr;}
}
.n1h-shot{
  border-radius:18px;
  border:1px solid var(--n1-border);
  overflow:hidden;
  box-shadow:0 10px 30px rgba(15,23,42,.08);
  background:#fff;
}
.n1h-shot img{width:100%;height:auto;display:block;}
.n1h-lines-copy .n1h-h2{margin-bottom:8px;}
.n1h-bullets{margin:10px 0 0 18px;color:var(--n1-muted);}
.n1h-bullets li{margin:.25rem 0;line-height:1.45;}

/* Pricing */
.n1h-pricing{background:#fff;}
.n1h-pricing-head{margin-bottom:12px;}
.n1h-plans{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:16px;
}
.n1h-plan{
  grid-column:span 12;
  background:#fff;
  border:1px solid var(--n1-border);
  border-radius:22px;
  box-shadow:var(--n1-soft-shadow);
  padding:14px 16px;
}
@media (min-width: 980px){
  .n1h-plan-primary{grid-column:span 7;}
  .n1h-plan:not(.n1h-plan-primary){grid-column:span 5;}
}
.n1h-price{
  font-size:2rem;
  font-weight:1000;
  color:var(--n1-primary-800);
  margin:4px 0 8px;
}
.n1h-price-sub{font-size:.95rem;color:#64748b;font-weight:900;}
.n1h-plan-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:12px;
}
.n1h-badge{
  display:inline-flex;
  align-items:center;
  padding:4px 10px;
  border-radius:999px;
  background:#fff7ed;
  color:#9a3412;
  font-weight:900;
  font-size:.78rem;
  border:1px solid #fed7aa;
  margin-bottom:6px;
}
.n1h-faq{
  margin-top:12px;
  padding-top:12px;
  border-top:1px dashed #dbe3f0;
  color:#64748b;
  font-weight:800;
}
