/* SENIP / NIP Landing Page — Material-inspired minimal design */
:root{
  --primary: #0060A0;
  --primary-2: #00B0F0;
  --accent: #F0A000;
  --bg: #F6FAFD;
  --surface: #FFFFFF;
  --text: #0B1F33;
  --muted: #4A637A;
  --border: rgba(11,31,51,.10);

  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --shadow-1: 0 1px 2px rgba(0,0,0,.06), 0 2px 6px rgba(0,0,0,.06);
  --shadow-2: 0 8px 24px rgba(0,0,0,.12);
  --shadow-3: 0 20px 50px rgba(0,0,0,.16);

  --container: 1120px;
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }
body{
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

a{ color: inherit; }
.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
}

.skip-link{
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--surface);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  box-shadow: var(--shadow-2);
  z-index: 9999;
}
.skip-link:focus{ left: 12px; }

.appbar{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(246, 250, 253, .82);
  border-bottom: 1px solid var(--border);
}
.appbar__inner{
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 180px;
}
.brand__logo{
  height: 65px;
  width: auto;
  object-fit: contain;
}
.brand__divider{
  width: 1px;
  height: 36px;
  background: var(--border);
}

.nav{
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__link{
  text-decoration: none;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
}
.nav__link:hover{
  background: rgba(0, 96, 160, .10);
  color: var(--text);
}
.nav__link:focus-visible{
  outline: 3px solid rgba(0, 176, 240, .45);
  outline-offset: 2px;
}

.main{ padding-bottom: 24px; }

.hero{
  position: relative;
  overflow: hidden;
  padding: 38px 0 22px;
}
.hero__grid{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: stretch;
}

.hero__title{
  margin: 14px 0 10px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero__subtitle{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
}

.hero__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.chip-row{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.chip{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 96, 160, .10);
  color: var(--text);
  font-weight: 500;
  border: 1px solid rgba(0, 96, 160, .12);
}
.chip--ghost{
  background: rgba(0,0,0,.02);
  border: 1px solid var(--border);
  color: var(--muted);
}
.chip .material-icons{ font-size: 18px; }

.hero__stats{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.stat{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 12px;
  box-shadow: var(--shadow-1);
  min-width: 140px;
}
.stat__value{
  display: block;
  font-weight: 700;
  color: var(--primary);
}
.stat__label{
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.hero__card{
  position: relative;
}
.hero-card__surface{
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 176, 240, .14), rgba(255, 255, 255, 1));
  border: 1px solid rgba(0, 176, 240, .20);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow-2);
}
.hero-card__icon{
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(0, 96, 160, .12);
  border: 1px solid rgba(0, 96, 160, .16);
  margin-bottom: 12px;
}
.hero-card__icon .material-icons{ font-size: 26px; color: var(--primary); }
.hero-card__title{
  margin: 0 0 8px;
  font-size: 18px;
}
.hero-card__text{
  margin: 0 0 14px;
  color: var(--muted);
}
.hero-card__bullets{
  display: grid;
  gap: 10px;
}
.bullet{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.bullet .material-icons{ color: var(--primary); }

.hero__backdrop{
  position: absolute;
  inset: -160px -120px auto auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 30% 30%, rgba(0, 176, 240, .35), transparent 55%),
              radial-gradient(circle at 70% 60%, rgba(240, 160, 0, .28), transparent 60%),
              radial-gradient(circle at 40% 70%, rgba(0, 96, 160, .25), transparent 58%);
  opacity: .95;
  pointer-events: none;
}

.section{ padding: 34px 0; }
.section--alt{
  background: linear-gradient(180deg, rgba(0, 96, 160, .06), rgba(246, 250, 253, 0));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section__header{ margin-bottom: 16px; }
.section__title{
  margin: 0 0 8px;
  font-size: 24px;
  letter-spacing: -0.01em;
}
.section__subtitle{
  margin: 0;
  color: var(--muted);
}

.grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: rgba(0, 176, 240, .28);
}
.card__head{
  display: flex;
  gap: 12px;
  align-items: center;
}
.logo-pill{
  width: 62px;
  height: 62px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: rgba(0, 176, 240, .10);
  border: 1px solid rgba(0, 176, 240, .20);
  overflow: hidden;
  flex: 0 0 auto;
}
.logo-pill img{
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.card__title{
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.card__acronym{
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.card__desc{
  margin: 0;
  color: var(--muted);
}
.card__actions{
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.badge{
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 96, 160, .08);
  border: 1px solid rgba(0, 96, 160, .12);
  color: var(--primary);
  font-weight: 500;
  font-size: 12px;
}
.badge--tonal{
  background: rgba(0, 176, 240, .10);
  border-color: rgba(0, 176, 240, .22);
  color: #0A4E75;
}
.badge--accent{
  background: rgba(240, 160, 0, .12);
  border-color: rgba(240, 160, 0, .25);
  color: #7A4C00;
}
.badge--restricted{
  background: rgba(0,0,0,.05);
  border-color: rgba(0,0,0,.10);
  color: #273444;
}

.btn{
  appearance: none;
  border: 0;
  text-decoration: none;
  user-select: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: transform .1s ease, background-color .18s ease, box-shadow .18s ease;
  position: relative;
  overflow: hidden;
}
.btn .material-icons{ font-size: 20px; }
.btn:active{ transform: translateY(1px); }
.btn:focus-visible{
  outline: 3px solid rgba(0, 176, 240, .45);
  outline-offset: 2px;
}

.btn--filled{
  color: white;
  background: linear-gradient(135deg, var(--primary), #0A79C2);
  box-shadow: 0 8px 18px rgba(0,96,160,.25);
}
.btn--filled:hover{ box-shadow: 0 12px 26px rgba(0,96,160,.30); }

.btn--tonal{
  color: var(--text);
  background: rgba(0, 96, 160, .08);
  border: 1px solid rgba(0, 96, 160, .10);
}
.btn--tonal:hover{ background: rgba(0, 96, 160, .10); }

.btn--disabled{
  filter: saturate(.5);
  opacity: .72;
  cursor: not-allowed;
  box-shadow: none;
}
.btn--disabled:active{ transform: none; }

.btn::after{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--rx, 50%) var(--ry, 50%), rgba(255,255,255,.42), transparent 55%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.btn.ripple::after{ opacity: 1; }

.about{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
  align-items: start;
}
.about__points{
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.point{
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255,255,255,.75);
  border: 1px solid var(--border);
}
.point .material-icons{ color: var(--primary); margin-top: 2px; }
.point h3{ margin: 0 0 4px; font-size: 16px; }
.point p{ margin: 0; color: var(--muted); }

.about__card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow-1);
}
.about__card h3{ margin: 0 0 10px; font-size: 16px; }
.about__card p{ margin: 0 0 12px; color: var(--muted); }
.about__card code{
  background: rgba(0,0,0,.04);
  padding: 2px 6px;
  border-radius: 8px;
}
.mini-steps{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.mini-steps li{ margin: 6px 0; }

.footer{
  padding: 22px 0 34px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,.55);
}
.footer__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.footer__title{
  margin: 0;
  font-weight: 700;
}
.footer__meta{
  margin: 6px 0 0;
  color: var(--muted);
}
.footer__link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.02);
}
.footer__link:hover{ background: rgba(0, 96, 160, .08); }

.icon-btn{
  border: 0;
  background: rgba(0,0,0,.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.icon-btn:hover{ background: rgba(0,0,0,.05); }
.icon-btn:focus-visible{
  outline: 3px solid rgba(0, 176, 240, .45);
  outline-offset: 2px;
}

.dialog{
  border: none;
  padding: 0;
  max-width: 560px;
  width: calc(100% - 32px);
  border-radius: 20px;
  box-shadow: var(--shadow-3);
}
.dialog::backdrop{ background: rgba(11, 31, 51, .52); }
.dialog__surface{ padding: 18px; background: var(--surface); }
.dialog__header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.dialog__header h3{ margin: 0; font-size: 16px; }
.dialog__cta{ margin: 12px 0 10px; }
.dialog__small{ margin: 0; color: var(--muted); font-size: 13px; }

@media (max-width: 900px){
  .hero__grid{ grid-template-columns: 1fr; }
  .about{ grid-template-columns: 1fr; }
  .nav{ display: none; }
}
