/* Team Diamond Elite — draft site styles
   Ice, silver, and deep navy. Fire/amber network palette removed. */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("assets/fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("assets/fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #070b16;
  --bg-soft: #0b1220;
  --bg-elev: #121a2c;
  --text: #f4f7fb;
  --text-muted: #b9c5d4;
  --text-dim: #8b99ab;
  --ice-bright: #f2fbff;
  --ice: #c8ecff;
  --ice-mid: #7ad3ff;
  --ice-hot: #4eb8f0;
  --silver: #e8eef4;
  --silver-2: #c5d0dc;
  --platinum: #d7e0ea;
  --line: rgba(200, 220, 240, 0.12);
  --line-strong: rgba(200, 220, 240, 0.22);
  --card: rgba(180, 210, 240, 0.05);
  --ink: #071018;
  --focus: #7ad3ff;
  --ph: #9ee7ff;
  --ph-bg: rgba(90, 200, 255, 0.1);
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 4.25rem;
  --wrap: 70rem;
  --gutter: 1.25rem;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 90% 55% at 50% -15%, rgba(80, 160, 220, 0.18), transparent 58%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(90, 180, 230, 0.08), transparent 60%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--ice);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ice-bright);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 100;
  background: var(--ice-bright);
  color: var(--ink);
  font-weight: 700;
  padding: 0.6rem 1rem;
  border-radius: 0 0 0.5rem 0.5rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
  color: var(--ink);
}

.wrap {
  width: min(var(--wrap), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 22, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.header-inner > .btn {
  margin-left: auto;
  justify-self: end;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand:hover {
  color: inherit;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-text strong {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, var(--ice) 70%, var(--ice-mid) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text span {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver-2);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.75rem;
  background: var(--card);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

.nav-toggle[aria-expanded="true"] .icon-open,
.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.site-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 0 1rem;
}

@media (max-width: 899px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav {
    width: 100%;
    margin: 0;
    display: none;
    padding-bottom: 1.1rem;
  }

  .site-nav.is-open {
    display: flex;
    flex-basis: 100%;
  }
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.7rem 0.85rem;
  border-radius: 0.7rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.site-nav .btn {
  margin-top: 0.35rem;
  text-align: center;
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
  }

  .site-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 0.15rem;
    padding: 0;
    width: auto;
    margin: 0;
    grid-column: 2 / 4;
  }

  .site-nav a {
    padding: 0.45rem 0.7rem;
    font-size: 0.82rem;
    letter-spacing: 0.01em;
  }

  .site-nav .btn {
    margin-top: 0;
    margin-left: 0.55rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
}

.btn-primary {
  background: linear-gradient(135deg, #f7fcff 0%, #c8ecff 52%, #7ad3ff 100%);
  color: var(--ink);
  box-shadow: 0 8px 28px rgba(80, 180, 230, 0.28);
}

.btn-primary:hover {
  color: var(--ink);
  filter: brightness(1.06);
}

.btn-secondary {
  background: rgba(120, 200, 255, 0.08);
  color: var(--ice-bright);
  border-color: rgba(140, 215, 255, 0.55);
}

.btn-secondary:hover {
  color: #fff;
  background: rgba(120, 200, 255, 0.16);
}

.btn-ghost {
  background: transparent;
  color: var(--ice);
  border-color: rgba(122, 211, 255, 0.35);
}

.btn-ghost:hover {
  color: var(--ice-bright);
  border-color: var(--ice-mid);
}

.btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.85;
  position: relative;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 2.75rem 0 3.5rem;
  text-align: center;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  left: 50%;
  top: -6rem;
  transform: translateX(-50%);
  width: 52rem;
  height: 28rem;
  background: radial-gradient(ellipse at center, rgba(120, 200, 255, 0.28) 0%, rgba(40, 100, 170, 0.14) 42%, transparent 70%);
}

.hero-glow-corner {
  position: absolute;
  right: -8rem;
  bottom: -10rem;
  width: 26rem;
  height: 26rem;
  background: radial-gradient(circle, rgba(180, 220, 255, 0.14), transparent 70%);
}

.hero-facet {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035) 25%, transparent 25% 50%, rgba(122, 211, 255, 0.03) 50% 75%, transparent 75%);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 20%, transparent 75%);
}

.hero-diamond {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(26rem, 78vw);
  height: min(26rem, 78vw);
  transform: translate(-50%, -52%) rotate(45deg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(90, 180, 230, 0.04) 42%, transparent 72%);
  border: 1px solid rgba(200, 230, 255, 0.14);
  box-shadow:
    inset 0 0 80px rgba(120, 200, 255, 0.06),
    0 0 80px rgba(80, 160, 220, 0.08);
}

.hero-diamond::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(200, 230, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 50%);
}

.hero-diamond::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 70%);
}

.spark {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--ice-bright);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(200, 240, 255, 0.8);
  opacity: 0.7;
  animation: sparkle 3.6s ease-in-out infinite;
}

.spark.s1 { left: 18%; top: 28%; animation-delay: 0s; }
.spark.s2 { right: 20%; top: 34%; width: 5px; height: 5px; animation-delay: 0.8s; }
.spark.s3 { left: 28%; bottom: 22%; width: 4px; height: 4px; animation-delay: 1.4s; }
.spark.s4 { right: 26%; bottom: 26%; animation-delay: 2.1s; }
.spark.s5 { left: 50%; top: 18%; width: 5px; height: 5px; margin-left: 9rem; animation-delay: 0.5s; }

@keyframes sparkle {
  0%, 100% { opacity: 0.25; transform: rotate(45deg) scale(0.8); }
  50% { opacity: 0.9; transform: rotate(45deg) scale(1); }
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ice-mid);
}

.hero h1 {
  margin: 1rem 0 0;
}

.hero-team-word {
  display: block;
  font-size: clamp(1.15rem, 3.2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: var(--ice);
  margin: 0 0 0.35em;
  padding-left: 0.46em;
}

.hero-main {
  display: block;
  font-size: clamp(3rem, 11vw, 6.6rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #e8f4ff 42%, #9fd8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 28px rgba(120, 200, 255, 0.18));
}

.network-credit {
  display: inline-block;
  margin-top: 1.35rem;
  padding: 0.45rem 0.95rem;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver-2);
}

.hero-lead {
  max-width: 38rem;
  margin: 1.6rem auto 0;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.hero-lead strong {
  color: #fff;
  font-weight: 700;
}

.hero .cta-row {
  justify-content: center;
  margin-top: 1.75rem;
}

.hero-note {
  max-width: 36rem;
  margin: 1rem auto 0;
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* Sections */
.section {
  padding: 3.25rem 0;
  position: relative;
}

.section.alt {
  background: linear-gradient(180deg, rgba(180, 210, 240, 0.035), rgba(255, 255, 255, 0));
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ice-mid);
}

.section h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.lede {
  margin: 0.85rem 0 0;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.subhead {
  margin: 2.2rem 0 1rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Cards */
.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .card-grid.benefits {
    grid-template-columns: repeat(6, 1fr);
  }

  .card-grid.benefits .card:nth-child(1),
  .card-grid.benefits .card:nth-child(2),
  .card-grid.benefits .card:nth-child(3) {
    grid-column: span 2;
  }

  .card-grid.benefits .card:nth-child(4),
  .card-grid.benefits .card:nth-child(5) {
    grid-column: span 3;
  }

  .card-grid.culture {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.25rem 1.35rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0.85rem 0 0;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0.5rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.icon-badge {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--ice-bright), var(--ice-mid));
  color: var(--ink);
  font-weight: 900;
  font-size: 0.95rem;
}

.icon-badge.silver {
  background: linear-gradient(135deg, #ffffff, var(--silver-2));
  color: var(--ink);
}

/* Steps */
.steps {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.25rem 1.4rem;
}

.step h3 {
  margin: 0.8rem 0 0;
  font-size: 1.12rem;
  font-weight: 800;
}

.step p {
  margin: 0.5rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.step-link {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ice-mid);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.step-link:hover {
  color: var(--ice-bright);
  text-decoration: underline;
}

/* Split lists */
.split {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
}

.panel h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
}

.panel ul,
.content ul {
  margin: 0.7rem 0 0;
  padding: 0 0 0 1.15rem;
  color: var(--text-muted);
}

.panel li + li,
.content li + li {
  margin-top: 0.45rem;
}

.eligibility {
  margin-top: 1rem;
  padding: 1.3rem 1.25rem;
  border-radius: var(--radius);
  border: 1px dashed rgba(122, 211, 255, 0.4);
  background: rgba(90, 200, 255, 0.05);
}

.eligibility h3 {
  margin: 0;
  font-size: 1.05rem;
}

.eligibility p {
  margin: 0.55rem 0 0;
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.7rem;
  max-width: 50rem;
}

.faq-list details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 2.6rem 1rem 1.15rem;
  position: relative;
  border-radius: var(--radius-sm);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.5rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--ice-mid);
  border-bottom: 2px solid var(--ice-mid);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.16s ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.faq-q {
  flex: 1 1 12rem;
  min-width: 0;
}

.faq-body {
  padding: 0 1.15rem 1.15rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.faq-body p {
  margin: 0;
}

.faq-body p + p {
  margin-top: 0.7rem;
}

/* Apply / contact */
.apply-box {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .apply-box {
    grid-template-columns: 1.2fr 1fr;
    align-items: stretch;
  }
}

.apply-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.3rem;
}

.apply-card.featured {
  border-color: rgba(122, 211, 255, 0.35);
  background: linear-gradient(180deg, rgba(80, 160, 220, 0.14), rgba(255, 255, 255, 0.03));
}

.apply-card h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
}

.apply-card p {
  margin: 0.6rem 0 0;
  color: var(--text-muted);
}

.apply-card .cta-row {
  margin-top: 1.15rem;
}

.contact-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-list strong {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-value {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.2rem 0 2.6rem;
  background: #05080f;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: flex-start;
}

.footer-brand {
  max-width: 24rem;
}

.footer-brand p {
  margin: 0.7rem 0 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.network-credit-footer {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--silver-2);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.1rem;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 1.8rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  color: var(--text-dim);
  font-size: 0.82rem;
}

/* Legal pages */
.legal {
  padding: 2.5rem 0 4rem;
}

.legal h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.legal .meta {
  margin: 0.8rem 0 1.6rem;
  color: var(--ice);
  font-weight: 600;
  font-size: 0.92rem;
}

.legal .content {
  max-width: 44rem;
}

.legal .content h2 {
  margin: 1.8rem 0 0.5rem;
  font-size: 1.2rem;
}

.legal .content p,
.legal .content li {
  color: var(--text-muted);
}

.legal .content p {
  margin: 0.7rem 0 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .spark {
    animation: none;
    opacity: 0.45;
  }
}

@media (min-width: 640px) {
  :root {
    --gutter: 1.75rem;
  }
}
