/* ==========================================================================
   Base reset & typography
   ========================================================================== */

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

body{
  margin:0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul,ol{ margin:0; padding:0; list-style:none; }
button{ font: inherit; cursor:pointer; }
input, textarea, select{ font: inherit; }

h1,h2,h3,h4,h5{
  font-family: var(--font-display);
  color: var(--color-text);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -.01em;
  text-wrap: balance;
}
p{ margin:0; }

.container{
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 20px;
}

.mono{ font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

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

:focus-visible{
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Eyebrow label */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px; width:fit-content;
  font: 700 12px/1 var(--font-body); letter-spacing:.08em; text-transform:uppercase;
  color: var(--color-primary);
}
.eyebrow::before{
  content:''; width:7px; height:7px; border-radius:50%;
  background: var(--gradient-brand); display:inline-block;
}

.accent-text{
  background: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Section rhythm */
.section{ padding-block: 88px; }
.section-tight{ padding-block: 56px; }
@media (max-width: 720px){
  .section{ padding-block: 56px; }
  .section-tight{ padding-block: 40px; }
}
.section-head{
  display:flex; flex-direction:column; gap:14px; margin-bottom: 44px;
  max-width: 640px;
}
.section-head.center{ margin-inline:auto; text-align:center; align-items:center; }
.section-title{ font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; }
.section-desc{ color: var(--color-text-muted); font-size: 16px; }

.alt-bg{ background: var(--color-bg-alt); }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font: 600 15px/1 var(--font-body);
  padding: 14px 26px; border-radius: var(--p-radius-md);
  border: 1px solid transparent; white-space:nowrap;
  transition: transform var(--p-duration-fast) var(--p-ease), box-shadow var(--p-duration-fast) var(--p-ease), background var(--p-duration-fast) var(--p-ease);
}
.btn svg{ width:18px; height:18px; }
.btn-primary{
  background: var(--gradient-brand); color:#fff; box-shadow: var(--shadow-lift);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 26px 50px -16px rgba(11,111,224,.45); }
.btn-ghost{
  background: var(--color-surface); color: var(--color-text); border-color: var(--color-border);
}
.btn-ghost:hover{ border-color: var(--color-primary); color: var(--color-primary); }
.btn-sm{ padding: 10px 18px; font-size: 13.5px; }
.btn-block{ width:100%; }

/* Card */
.card{
  background: var(--color-surface); border:1px solid var(--color-border);
  border-radius: var(--p-radius-lg); box-shadow: var(--shadow-card);
}

/* Icon system (Lucide-referenced, inline stroke SVG) */
.i{ stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; display:block; flex-shrink:0; }
.i-sm{ width:16px; height:16px; }
.i-md{ width:20px; height:20px; }
.i-lg{ width:24px; height:24px; }

.icon-tile{
  width:44px; height:44px; border-radius: var(--p-radius-md);
  background: var(--gradient-brand); color:#fff;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.icon-tile svg{ width:22px; height:22px; }

/* Breadcrumb / page hero */
.page-hero{
  padding-block: 56px 40px;
  background:
    radial-gradient(700px 260px at 10% -10%, rgba(43,140,255,.10), transparent),
    radial-gradient(600px 260px at 95% 0%, rgba(63,203,107,.10), transparent);
}
.page-hero h1{ font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; max-width: 760px; }
.page-hero p{ color: var(--color-text-muted); font-size: 17px; max-width: 640px; margin-top:14px; }
.breadcrumb{
  display:flex; align-items:center; gap:6px; font-size:13px; color: var(--color-text-muted); margin-bottom:18px;
}
.breadcrumb a:hover{ color: var(--color-primary); }
.breadcrumb .sep{ opacity:.5; }

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