:root {
  --bg: #05070d;
  --panel: rgba(13, 19, 34, 0.78);
  --panel-strong: rgba(18, 26, 44, 0.92);
  --line: rgba(139, 169, 255, 0.2);
  --line-strong: rgba(122, 173, 255, 0.34);
  --text: #edf4ff;
  --muted: #9fb0ca;
  --soft: #c7d7ef;
  --blue: #47b4ff;
  --violet: #9d7cff;
  --orange: #ffb368;
  --green: #5ee7a8;
  --red: #ff7b7b;
  --radius: 8px;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-padding-top: 78px;
}

body.v67f-page {
  margin: 0;
  padding-top: 68px;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.65;
  background:
    radial-gradient(circle at 16% 6%, rgba(71, 180, 255, 0.15), transparent 32rem),
    radial-gradient(circle at 78% 0%, rgba(157, 124, 255, 0.16), transparent 34rem),
    linear-gradient(180deg, #05070d 0%, #080b14 48%, #05070d 100%);
  overflow-x: hidden;
}

body.v67f-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(120, 170, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 255, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.v67f-page a { color: inherit; text-decoration: none; }
.v67f-page img { display: block; max-width: 100%; }

.v67f-page .mark {
  animation: v67fMarkBreath 9s ease-in-out infinite;
  transform-origin: center;
}

.v67f-page .mark::after {
  animation: v67fMarkTurn 18s linear infinite;
  transform-origin: center;
}

.v67f-page .wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.v67f-hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.95), rgba(5, 7, 13, 0.72), rgba(5, 7, 13, 0.94)),
    repeating-linear-gradient(90deg, rgba(71, 180, 255, 0.05) 0 1px, transparent 1px 54px);
}

.v67f-hero-inner {
  position: relative;
  padding: 88px 0 72px;
  max-width: 940px;
}

.v67f-page .eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.v67f-page .eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent);
}

.v67f-page h1 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(46px, 7.5vw, 96px);
  line-height: 0.94;
  letter-spacing: 0;
}

.v67f-page .lead {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--soft);
  font-size: clamp(18px, 2vw, 23px);
}

.v67f-page .sublead {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.v67f-page main {
  position: relative;
  z-index: 1;
}

.v67f-page section {
  padding: 72px 0;
  border-bottom: 1px solid rgba(139, 169, 255, 0.12);
}

.v67f-page h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.04;
}

.v67f-page h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.2;
}

.v67f-page p { color: var(--soft); }

.v67f-grid {
  display: grid;
  gap: 18px;
}

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

.v67f-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 26, 44, 0.88), rgba(12, 18, 32, 0.86));
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.v67f-metric {
  position: relative;
  overflow: hidden;
  border-left: 3px solid var(--green);
}
.v67f-metric::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
  background: radial-gradient(circle at 20% 18%, var(--green), transparent 22rem);
}
.v67f-metric.safe h3 { color: #86f4be; }
.v67f-metric.warn { border-left-color: var(--orange); }
.v67f-metric.warn::before {
  background: radial-gradient(circle at 20% 18%, var(--orange), transparent 22rem);
}
.v67f-metric.warn h3 { color: #ffd08a; }
.v67f-metric.gain { border-left-color: var(--blue); }
.v67f-metric.gain::before {
  background: radial-gradient(circle at 20% 18%, var(--blue), transparent 22rem);
}
.v67f-metric.gain h3 { color: #9fd7ff; }

.v67f-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #cfe2ff;
  border: 1px solid rgba(122, 173, 255, 0.34);
  border-radius: 999px;
  padding: 5px 10px;
  font-family: var(--mono);
  font-size: 12px;
  margin-bottom: 16px;
}

.v67f-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
}

.v67f-figure { overflow: hidden; padding: 0; }
.v67f-figure img {
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: #05070d;
  transition: transform 700ms ease, filter 700ms ease;
}
.v67f-figure:hover {
  border-color: rgba(126, 181, 255, 0.48);
  box-shadow: 0 24px 70px rgba(36, 77, 150, 0.24);
}
.v67f-figure:hover img {
  transform: scale(1.018);
  filter: saturate(1.08) contrast(1.03);
}
.v67f-figure figcaption {
  padding: 16px 18px 18px;
  color: var(--muted);
}

.v67f-btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.v67f-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(20, 31, 56, 0.72);
  font-weight: 700;
}

.v67f-page .btn.primary {
  background: linear-gradient(135deg, rgba(71, 180, 255, 0.95), rgba(157, 124, 255, 0.85));
  color: #03101c;
  border: 0;
}

.v67f-quote {
  padding: 22px 24px;
  border-left: 3px solid var(--orange);
  background: rgba(255, 155, 69, 0.08);
  color: var(--text);
  font-size: 24px;
  font-weight: 800;
}

.v67f-page pre {
  overflow: auto;
  margin: 16px 0 0;
  padding: 16px;
  border: 1px solid rgba(122, 173, 255, 0.18);
  border-radius: var(--radius);
  background: #071018;
  color: #dff8ff;
  font-family: var(--mono);
}

.v67f-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.v67f-links a {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(20, 31, 56, 0.5);
  color: var(--soft);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.v67f-links a:hover {
  transform: translateY(-1px);
  border-color: rgba(126, 181, 255, 0.55);
  background: rgba(35, 54, 95, 0.66);
}

.v67f-foot {
  padding: 36px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 800px) {
  body.v67f-page { padding-top: 0; }
  .v67f-grid-2, .v67f-grid-3 { grid-template-columns: 1fr; }
  .v67f-hero-inner { padding: 64px 0 54px; }
  .v67f-page section { padding: 54px 0; }
}

@keyframes v67fMarkBreath {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(94, 231, 168, 0)); }
  50% { filter: drop-shadow(0 0 14px rgba(94, 231, 168, 0.26)); }
}

@keyframes v67fMarkTurn {
  from { transform: rotate(45deg); }
  to { transform: rotate(405deg); }
}
