:root{
  --bg: #0b0f14;
  --bg-2: #070a0f;
  --accent: #ffb000;
  --accent-2: #ff6a00;
  --accent-3: #ffd36a;
  --text: #e7edf6;
  --muted: rgba(231,237,246,.72);
  --border: rgba(255,255,255,.12);
  --shadow: 0 18px 55px rgba(0,0,0,.55);
  --radius: 18px;
  --maxw: 1120px;
  --gutter: 24px;
}

*{ box-sizing:border-box; }
html, body{ height:100%; }

body{
  margin:0;
  font-family: "Exo 2", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow: hidden;
}

.bg-fixed{
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 12% 18%, rgba(255,176,0,.22), transparent 60%),
    radial-gradient(760px 520px at 88% 72%, rgba(255,106,0,.16), transparent 62%),
    radial-gradient(520px 420px at 78% 18%, rgba(255,211,106,.10), transparent 62%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.bg-fixed::before{
  content:"";
  position:absolute;
  inset:-1px;
  background:
    radial-gradient(620px 380px at 85% 50%, rgba(255,176,0,.18), transparent 64%),
    radial-gradient(560px 380px at 15% 78%, rgba(255,106,0,.14), transparent 64%);
  filter: blur(10px);
  opacity: .95;
}
.bg-fixed::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(120% 80% at 50% 25%, transparent 40%, rgba(0,0,0,.55) 100%);
  opacity: .9;
}

.page-shell{
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header-inner,
.content-wrap,
.site-footer-inner{
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.site-header{
  flex: 0 0 auto;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(90deg, rgba(255,176,0,.10) 0%, rgba(10,18,30,.88) 28%, rgba(5,11,20,.96) 68%, rgba(255,176,0,.06) 100%);
  backdrop-filter: blur(10px);
}

.site-header-inner{
  padding-top: 14px;
  padding-bottom: 14px;
}

.site-header-inner--brand{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.site-brand{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
  color: var(--text);
  min-width: 220px;
  flex: 0 1 auto;
}

.site-brand-logo{
  width: 46px;
  height: 46px;
  display:block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  background: rgba(255,255,255,.04);
  object-fit: cover;
  flex: 0 0 auto;
}

.site-brand-copy{
  display:flex;
  flex-direction:column;
  line-height:1.12;
}

.site-brand-title{
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  letter-spacing: .2px;
}

.site-brand-subtitle{
  margin-top: 3px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.site-top-nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
  margin-left:auto;
}

.site-top-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: rgba(231,237,246,.88);
  text-decoration:none;
  font-weight:700;
  transition: transform .12s ease, background .12s ease, border-color .12s ease, color .12s ease;
}

.site-top-link:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.05);
  border-color: rgba(255,176,0,.28);
  color: var(--text);
}

.site-main{
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 26px 0 42px;
}

.site-footer{
  flex: 0 0 auto;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(11,15,20,.55);
  backdrop-filter: blur(10px);
}
.site-footer-inner{
  padding-top: 14px;
  padding-bottom: 14px;
  color: rgba(231,237,246,.60);
  font-size: 14px;
}

.footer-row{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  flex-wrap:wrap;
}

.footer-brand{
  display:flex;
  flex-direction:column;
  gap:6px;
  color: rgba(231,237,246,.72);
  font-size: 14px;
}

.footer-brand strong{
  color: var(--text);
  font-size: 15px;
}

.footer-nav{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.footer-nav a{
  color: rgba(231,237,246,.72);
  text-decoration:none;
  font-size:14px;
}

.footer-nav a:hover{
  color: var(--accent-3);
}

.footer-bottom{
  margin-top:12px;
  padding-top:12px;
  border-top: 1px solid rgba(255,255,255,.08);
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  color: rgba(231,237,246,.55);
  font-size: 13px;
}

h1, h2, h3{ letter-spacing: .1px; }
h1{ margin: 10px 0 14px; font-size: 40px; line-height: 1.12; }
h2{ margin: 34px 0 10px; font-size: 24px; line-height: 1.2; }
h3{ margin: 20px 0 8px; font-size: 18px; }

p{
  margin: 0 0 14px;
  color: rgba(231,237,246,.86);
  line-height: 1.65;
}

a{ color: var(--accent-3); }
a:hover{ color: #ffe2a0; }

hr{
  border: 0;
  height: 1px;
  background: rgba(255,255,255,.10);
  margin: 24px 0;
}

.eyebrow{
  margin: 0 0 10px;
  display:inline-block;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255,176,0,.95);
}

ul, ol{
  margin: 0 0 14px 18px;
  color: rgba(231,237,246,.86);
}
li{ margin: 6px 0; }

.hero{
  padding: 18px 0 10px;
}

.subhead{
  max-width: 760px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(231,237,246,.82);
}

.section{
  margin-top: 14px;
}

.section-intro{
  max-width: 860px;
  margin: 0 0 20px;
  color: rgba(231,237,246,.76);
  line-height: 1.75;
  font-size: 16px;
}

.hero-cta{
  margin-top: 28px;
  padding: 18px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255,176,0,.10), rgba(255,106,0,.06));
  border: 1px solid rgba(255,176,0,.22);
  box-shadow: 0 16px 55px rgba(0,0,0,.45);
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn{
  display:inline-block;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration:none;
  font-weight: 700;
  color: #101319;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 16px 45px rgba(255,176,0,.10);
  transition: transform .12s ease, filter .12s ease;
}
.btn:hover{ transform: translateY(-1px); filter: brightness(1.04); }

.btn-ghost{
  background: rgba(255,255,255,.06);
  color: rgba(231,237,246,.92);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: none;
}
.btn-ghost:hover{ background: rgba(255,255,255,.08); }

code, pre{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
pre{
  margin: 0 0 16px;
  padding: 14px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  overflow:auto;
}

.grid,
.cards,
.post-grid,
.post-list{
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.post-card,
.post-item,
.post{
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 55px rgba(0,0,0,.45);
  padding: 16px 16px 14px;
  min-height: 160px;
  transition: .12s ease;
}

.card a,
.post-card a,
.post-item a{
  text-decoration: none;
}

.card-meta,
.post-meta,
.card .meta,
.post-card .meta,
.post-item .meta{
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,176,0,.88);
}

.card .eyebrow,
.post-card .eyebrow,
.post-item .eyebrow{
  margin-bottom: 10px;
}

.card h3,
.post-card h3,
.post-item h3,
.post-card-title,
.card-title{
  margin: 4px 0 8px;
  font-size: 18px;
  line-height: 1.25;
  color: var(--text);
}

.card h3 a,
.post-card h3 a,
.post-item h3 a,
.post-card-title a,
.card-title a{
  color: rgba(255,176,0,.95);
}
.card h3 a:hover,
.post-card h3 a:hover,
.post-item h3 a:hover,
.post-card-title a:hover,
.card-title a:hover{
  color: #ffe2a0;
}

.card p,
.post-card p,
.post-item p,
.post-excerpt,
.card-desc{
  color: rgba(231,237,246,.74);
  margin-bottom: 10px;
  line-height: 1.65;
}

.card:hover,
.post-card:hover,
.post-item:hover{
  border-color: rgba(255,176,0,.22);
  box-shadow: 0 22px 70px rgba(0,0,0,.55);
  transform: translateY(-1px);
}

.section-list > *{
  margin-bottom: 16px;
}

@media (max-width: 980px){
  .grid, .cards, .post-grid, .post-list{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px){
  :root{ --gutter: 16px; }
  h1{ font-size: 32px; }
  .subhead{ font-size: 17px; }
  .section-intro{ font-size: 15px; }

  .site-header-inner--brand{
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .site-brand{
    min-width: 0;
  }

  .site-brand-subtitle{
    display: none;
  }

  .site-top-nav{
    justify-content: flex-start;
    margin-left: 0;
    gap: 8px;
  }

  .site-top-link{
    padding: 9px 12px;
    min-height: 40px;
  }

  .footer-row,
  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width: 680px){
  .grid, .cards, .post-grid, .post-list{
    grid-template-columns: 1fr;
  }
}
