:root {
  --brand: #1e88e5;
  --brand-light: #64b5f6;
  --brand-dark: #0d47a1;
  --ink: #ffffff;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --faint: #64748b;
  --bg: #0a1628;
  --panel: rgba(255, 255, 255, 0.03);
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
}

a {
  color: inherit;
}

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

code {
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  color: #dbeafe;
  font-size: 0.85em;
  padding: 0.15rem 0.35rem;
}

.button {
  align-items: center;
  border-radius: 0.4rem;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  line-height: 1.1;
  min-height: 2.75rem;
  padding: 0.85rem 1.25rem;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0) scale(0.97);
}

.button-primary {
  background: var(--brand);
  border: 1px solid var(--brand);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--brand-light);
  border-color: var(--brand-light);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.container {
  margin: 0 auto;
  max-width: 90rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  border-bottom: 1px solid var(--line);
  padding: clamp(2rem, 1.4rem + 3vw, 3.75rem) 0;
}

.reveal-enabled .section {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-enabled .section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fractum-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fractum-glow {
  0%,
  100% {
    box-shadow: var(--shadow);
  }
  50% {
    box-shadow: 0 20px 60px rgba(30, 136, 229, 0.35);
  }
}

.section-soft {
  background: rgba(255, 255, 255, 0.02);
}

.hero {
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.72fr);
  padding-bottom: clamp(2.25rem, 1.6rem + 3.3vw, 4.25rem);
  padding-top: clamp(2.25rem, 1.6rem + 3.3vw, 4.25rem);
}

.eyebrow {
  align-items: center;
  animation: fractum-fade-up 0.6s ease both;
  border: 1px solid rgba(100, 181, 246, 0.35);
  border-radius: 999px;
  background: rgba(30, 136, 229, 0.12);
  color: var(--brand-light);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 700;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.45rem 0.85rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  animation: fractum-fade-up 0.6s 0.08s ease both;
  color: #fff;
  font-size: clamp(2.25rem, 2.55vw, 3.25rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  max-width: 44rem;
  overflow-wrap: break-word;
}

h1 span {
  color: var(--brand-light);
}

.hero-copy {
  animation: fractum-fade-up 0.6s 0.16s ease both;
  color: #cbd5e1;
  font-size: clamp(1rem, 1.05vw, 1.08rem);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 40rem;
}

.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.card-actions {
  margin-top: 1.1rem;
}

.hero-actions {
  animation: fractum-fade-up 0.6s 0.24s ease both;
}

.trust-list {
  animation: fractum-fade-up 0.6s 0.32s ease both;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin: 1.75rem 0 0;
  padding: 0;
}

.trust-list div {
  align-items: center;
  color: #cbd5e1;
  display: flex;
  font-size: 0.9rem;
  gap: 0.5rem;
}

.trust-list span,
.check-list span {
  color: var(--brand-light);
}

.diagram-panel {
  animation: fractum-fade-up 0.7s 0.2s ease both, fractum-glow 6s 1s ease-in-out infinite;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 1rem;
  max-width: 32rem;
}

.two-col {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kicker {
  color: var(--brand-light);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.lead {
  color: #fff;
  font-size: clamp(1.25rem, 1.5vw, 1.55rem);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.body-copy {
  border-left: 2px solid var(--line);
  color: #aebbd0;
  line-height: 1.75;
  margin: 0;
  padding-left: 1rem;
}

.body-copy.accent {
  border-left-color: rgba(100, 181, 246, 0.45);
}

.section-title {
  color: #fff;
  font-size: clamp(1.7rem, 2.1vw, 2.2rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 0;
  max-width: 48rem;
}

.cards-3,
.cards-2,
.check-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-2,
.check-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.check-item {
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: var(--panel);
  padding: 1.25rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.card:hover {
  border-color: rgba(100, 181, 246, 0.4);
  transform: translateY(-3px);
}

.card-highlight {
  border-color: rgba(100, 181, 246, 0.35);
  background: rgba(30, 136, 229, 0.07);
}

.step {
  color: var(--brand-light);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.card h3 {
  color: #fff;
  font-size: 1.08rem;
  margin: 0.8rem 0 0.75rem;
}

.card p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.card a:not(.button),
.muted-link {
  color: var(--brand-light);
  text-decoration: none;
}

.card a:not(.button):hover,
.muted-link:hover {
  text-decoration: underline;
}

.standards-table-wrap {
  margin-top: 2rem;
  overflow-x: auto;
}

.standards-table {
  border: 1px solid var(--line);
  border-collapse: separate;
  border-radius: 0.4rem;
  border-spacing: 0;
  min-width: 43rem;
  overflow: hidden;
  text-align: left;
  width: 100%;
}

.standards-table th,
.standards-table td {
  padding: 1rem 1.25rem;
}

.standards-table th {
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-weight: 700;
}

.standards-table td {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.standards-table td:first-child {
  color: #fff;
}

.check-item {
  align-items: flex-start;
  color: #cbd5e1;
  display: flex;
  gap: 0.75rem;
  line-height: 1.5;
}

.check-item span {
  color: var(--brand-light);
}

.note {
  color: var(--faint);
  line-height: 1.65;
  margin: 2rem 0 0;
}

@media (max-width: 1100px) {
  .hero-grid,
  .two-col,
  .cards-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .button {
    width: 100%;
  }

  .cards-2,
  .check-grid {
    grid-template-columns: 1fr;
  }
}
