@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700;800&family=Chakra+Petch:wght@500;600;700&display=swap');

:root {
  --bg: #07090f;
  --panel: #0f131d;
  --panel-soft: #151a27;
  --text: #f5f7ff;
  --muted: #9ea8bd;
  --line: #232b3d;
  --brand: #ff9f1a;
  --brand-2: #ffc352;
  --ok: #46d3a5;
  --radius: 18px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

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

body {
  margin: 0;
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  line-height: 1.7;
  background:
    radial-gradient(45rem 30rem at 100% -5%, rgba(255, 159, 26, 0.16), transparent 62%),
    radial-gradient(38rem 24rem at -10% 110%, rgba(70, 211, 165, 0.12), transparent 65%),
    var(--bg);
}

a { color: var(--brand-2); }
a:hover { color: var(--brand); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 15, 0.86);
  backdrop-filter: blur(10px);
}

.site-header .inner,
.hero-main,
.wrap,
.site-footer .inner {
  width: min(1160px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-header .inner {
  padding: 0.95rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  position: relative;
  display: inline-block;
  box-shadow: 0 8px 30px rgba(255, 159, 26, 0.3);
}

.logo::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 2px solid #0a0e16;
  border-radius: 8px;
}

.wordmark {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: #fff;
}

.wordmark span { color: var(--brand); }

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.site-header nav a {
  text-decoration: none;
  color: #cfd8ea;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 0.75rem;
}

.site-header nav a:hover {
  color: #0c0f16;
  background: var(--brand);
  border-color: transparent;
}

.hero-main {
  margin-top: 2rem;
  padding: 2rem;
  border: 1px solid #2f3a51;
  border-radius: 26px;
  background: linear-gradient(145deg, #111726, #0a0f19);
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--brand-2);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

h1, h2, h3 {
  font-family: 'Chakra Petch', sans-serif;
  margin: 0;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.05rem, 4.2vw, 3.4rem);
  margin-bottom: 0.8rem;
}

h2 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  font-size: clamp(1.45rem, 2.9vw, 2rem);
  color: #f9be62;
}

h3 {
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
}

.hero-main p { color: #c9d1e1; max-width: 72ch; }

.quick-stats {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.quick-stats .card {
  border: 1px solid #29324a;
  background: #0d1220;
  border-radius: 14px;
  padding: 0.95rem;
}

.quick-stats strong {
  display: block;
  font-size: 1.2rem;
  color: var(--ok);
}

.quick-stats span {
  font-size: 0.82rem;
  color: #aeb7ca;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.wrap { padding: 1.4rem 0 2.6rem; }

.page-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 1rem;
}

.page-text,
.side-card {
  border: 1px solid #273049;
  background: linear-gradient(170deg, #101625, #0a101b);
  border-radius: var(--radius);
}

.page-text {
  padding: clamp(1rem, 2.2vw, 2.2rem);
  box-shadow: var(--shadow);
}

.side-card {
  padding: 1rem;
  position: sticky;
  top: 86px;
  height: fit-content;
}

.side-card h3 {
  color: var(--brand-2);
  margin-top: 0.2rem;
}

.side-card p,
.side-card li,
p, li {
  color: var(--muted);
}

ul, ol { margin: 0 0 1rem; padding-left: 1.15rem; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #2a344a;
  background: #101726;
  font-size: 0.93rem;
}

th, td {
  padding: 0.72rem 0.8rem;
  border-bottom: 1px solid #232d44;
  text-align: left;
}

th {
  color: #0d1117;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

tbody tr:nth-child(even) td { background: #0d1423; }

.sub-hero {
  margin-bottom: 1rem;
  border: 1px solid #2a3245;
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  background: linear-gradient(120deg, rgba(255, 159, 26, 0.16), rgba(255, 195, 82, 0.05));
}

.sub-hero p { margin: 0; color: #d6deee; }

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: #070b13;
}

.site-footer .inner { padding: 2rem 0 1.5rem; }

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-footer nav a {
  text-decoration: none;
  font-size: 0.84rem;
  color: #c2cadb;
  border: 1px solid #273149;
  border-radius: 999px;
  padding: 0.38rem 0.68rem;
}

.site-footer nav a:hover {
  color: #0c1017;
  background: var(--brand);
  border-color: transparent;
}

.copy {
  margin: 0.9rem 0 0;
  border-top: 1px dashed #273149;
  padding-top: 0.9rem;
  font-size: 0.82rem;
  color: #98a4bc;
}

@media (max-width: 980px) {
  .page-grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .quick-stats { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header .inner,
  .hero-main,
  .wrap,
  .site-footer .inner { width: calc(100% - 1.2rem); }
  .site-header .inner { padding: 0.7rem 0; }
  .hero-main { padding: 1.2rem; border-radius: 18px; }
  .page-text { padding: 0.95rem; border-radius: 14px; }
  h1 { font-size: 1.75rem; }
}
