@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Space+Grotesk:wght@400;500;700&display=swap');

:root{
  color-scheme:dark;
  --bg:#07111d;
  --bg2:#0d1730;
  --panel:rgba(10,18,35,.78);
  --panel-strong:rgba(255,255,255,.05);
  --line:rgba(255,255,255,.09);
  --text:#edf3ff;
  --muted:#97a5c4;
  --accent:#6ed1ff;
  --accent-2:#ffbf5c;
  --good:#35f08c;
  --shadow:0 24px 80px rgba(0,0,0,.34);
}

*{box-sizing:border-box}
html,body{min-height:100%}
body{
  margin:0;
  color:var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(110,209,255,.18), transparent 26%),
    radial-gradient(circle at 84% 10%, rgba(255,191,92,.12), transparent 22%),
    linear-gradient(180deg,#07101d 0%,#0a1327 45%,#060b13 100%);
  font-family:"Space Grotesk","Segoe UI","Trebuchet MS",sans-serif;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size:84px 84px;
  mask-image:radial-gradient(circle at center, rgba(0,0,0,.65), transparent 75%);
  opacity:.8;
}

a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}

.page{
  position:relative;
  max-width:1180px;
  margin:0 auto;
  padding:28px 18px 56px;
}

.site-nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:14px 18px;
  margin-bottom:22px;
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(8,14,28,.68);
  backdrop-filter:blur(18px);
  box-shadow:var(--shadow);
  flex-wrap:wrap;
}

.site-brand{
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--text);
  text-decoration:none;
}

.site-brand img{
  width:46px;
  height:46px;
  border-radius:14px;
  object-fit:cover;
  border:1px solid rgba(255,255,255,.08);
}

.site-brand strong{
  display:block;
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.2rem;
  line-height:1.05;
}

.site-brand span{
  display:block;
  color:var(--muted);
  font-size:.78rem;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.nav-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.nav-links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  color:var(--text);
  text-decoration:none;
  background:rgba(255,255,255,.03);
  font-size:.9rem;
}

.hero-card,
.content-card{
  border:1px solid var(--line);
  border-radius:28px;
  background:var(--panel);
  box-shadow:var(--shadow);
  backdrop-filter:blur(18px);
}

.hero-card{
  padding:32px;
  margin-bottom:22px;
  overflow:hidden;
  position:relative;
}

.hero-card::after{
  content:"";
  position:absolute;
  right:-120px;
  bottom:-120px;
  width:320px;
  height:320px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(110,209,255,.18), transparent 64%);
  filter:blur(10px);
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:9px 14px;
  border-radius:999px;
  background:rgba(53,240,140,.08);
  border:1px solid rgba(53,240,140,.24);
  color:#aef1cb;
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.78rem;
}

.eyebrow::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--good);
  box-shadow:0 0 22px rgba(53,240,140,.5);
}

.hero-card h1{
  margin:18px 0 12px;
  font-family:"Bebas Neue",Impact,sans-serif;
  font-size:clamp(3rem,6vw,5.8rem);
  line-height:.92;
  letter-spacing:.01em;
  text-transform:uppercase;
}

.hero-card p{
  max-width:70ch;
  color:var(--muted);
  line-height:1.75;
  font-size:1rem;
  margin:0;
}

.actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:11px 15px;
  border-radius:14px;
  border:1px solid rgba(110,209,255,.24);
  background:linear-gradient(145deg, rgba(110,209,255,.16), rgba(255,191,92,.10));
  color:var(--text);
  text-decoration:none;
  font-size:.92rem;
}

.button.secondary{
  background:rgba(255,255,255,.03);
  border-color:var(--line);
}

.grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:18px;
}

.content-card{
  padding:24px;
}

.content-card h2,
.content-card h3{
  margin:0 0 12px;
  font-family:Georgia,"Times New Roman",serif;
}

.content-card p,
.content-card li{
  color:var(--muted);
  line-height:1.8;
}

.content-card ul{
  padding-left:18px;
}

.card-stack{
  display:grid;
  gap:18px;
}

.article-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:16px;
}

.article-card{
  padding:18px;
  border-radius:22px;
  background:var(--panel-strong);
  border:1px solid rgba(255,255,255,.08);
}

.article-card .tag{
  color:var(--accent);
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.68rem;
  margin-bottom:10px;
}

.article-card h3,
.article-card h4{
  margin:0 0 10px;
  font-size:1.14rem;
  line-height:1.45;
}

.article-card p{
  margin:0 0 12px;
}

.meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  color:var(--muted);
  font-size:.85rem;
}

.page-footer{
  margin-top:22px;
  padding:18px 22px;
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(8,14,28,.68);
  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  color:var(--muted);
}

.page-footer a{color:var(--text)}

.table-wrap{
  overflow:auto;
}

table{
  width:100%;
  border-collapse:collapse;
}

th,td{
  padding:14px 12px;
  border-bottom:1px solid rgba(255,255,255,.08);
  text-align:left;
}

th{
  color:var(--text);
  font-size:.88rem;
  text-transform:uppercase;
  letter-spacing:.12em;
}

form{
  display:grid;
  gap:14px;
}

label{
  display:grid;
  gap:8px;
  color:var(--text);
  font-size:.92rem;
}

input, textarea, select{
  width:100%;
  padding:13px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.03);
  color:var(--text);
  font:inherit;
}

textarea{min-height:180px;resize:vertical}

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

article.longform h1{
  margin:18px 0 10px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(2rem,4vw,3.2rem);
  line-height:1.08;
}

article.longform .dek{
  color:#c6d0e4;
  font-size:1.05rem;
  line-height:1.7;
  margin-bottom:18px;
}

article.longform .meta{
  margin-bottom:18px;
}

article.longform p{
  margin:0 0 18px;
}

@media (max-width: 980px){
  .grid{grid-template-columns:1fr}
  .hero-card{padding:24px}
  .hero-card h1{font-size:clamp(2.5rem,11vw,4.8rem)}
}
