:root {
  --toaf-black: #050505;
  --toaf-ink: #0c0c0c;
  --toaf-paper: #f4f1e8;
  --toaf-muted: #a7a79f;
  --toaf-line: rgba(244, 241, 232, .18);
  --toaf-acid: #dfff2f;
  --toaf-violet: #7841ff;
  --toaf-coral: #ff6d61;
}

html { scroll-behavior: smooth; }
body.toa-features-page {
  margin: 0;
  background: var(--toaf-black) !important;
  color: var(--toaf-paper);
  overflow-x: hidden;
}
body.toa-features-page #masthead,
body.toa-features-page #colophon,
body.toa-features-page > .site-header,
body.toa-features-page > .site-footer,
body.toa-features-page .entry-header,
body.toa-features-page .page-header { display: none !important; }
body.toa-features-page #page,
body.toa-features-page #content,
body.toa-features-page #primary,
body.toa-features-page .site,
body.toa-features-page .site-content,
body.toa-features-page .content-area,
body.toa-features-page .site-main,
body.toa-features-page .entry-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.toa-features-page .entry-content > * { max-width: none !important; margin: 0 !important; }
body.toa-features-page .toa-standard-page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.toa-features-page .toa-standard-page > h1 { display: none !important; }
.toaf-page,
.toaf-page * { box-sizing: border-box; }
.toaf-page {
  min-height: 100vh;
  background: var(--toaf-black);
  color: var(--toaf-paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: -.015em;
}
.toaf-page a { color: inherit; text-decoration: none; }
.toaf-page button,
.toaf-page input { font: inherit; }
.toaf-page button { color: inherit; }
.toaf-page :focus-visible { outline: 2px solid var(--toaf-acid); outline-offset: 4px; }

/* Navigation */
.toaf-nav {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  height: 86px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 3.2vw;
  border-bottom: 1px solid var(--toaf-line);
  background: rgba(5, 5, 5, .86);
  backdrop-filter: blur(18px);
}
.admin-bar .toaf-nav { top: 32px; }
.toaf-brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 11px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.07em;
}
.toaf-brand,
.toaf-brand:visited { color: var(--toaf-paper) !important; }
.toaf-brand i {
  width: 14px;
  height: 14px;
  display: block;
  border-radius: 50%;
  background: var(--toaf-acid);
  box-shadow: 0 0 24px rgba(223, 255, 47, .72);
}
.toaf-nav nav { display: flex; align-items: center; gap: 32px; }
.toaf-nav nav a {
  position: relative;
  color: #bebeb7;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .01em;
  transition: color .2s ease;
}
.toaf-nav nav a:hover,
.toaf-nav nav a.is-active { color: var(--toaf-paper); }
.toaf-nav nav a.is-active::after {
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  bottom: -13px;
  height: 2px;
  background: var(--toaf-acid);
}
.toaf-nav-cta {
  justify-self: end;
  padding: 12px 18px;
  border: 1px solid var(--toaf-paper);
  font-size: 13px;
  font-weight: 760;
  transition: background .2s ease, color .2s ease;
}
.toaf-nav-cta:hover { background: var(--toaf-paper); color: var(--toaf-black); }

/* Hero */
.toaf-hero {
  position: relative;
  min-height: 880px;
  padding: 190px 4.5vw 0;
  overflow: hidden;
  border-bottom: 1px solid var(--toaf-line);
  background:
    radial-gradient(circle at 78% 42%, rgba(120, 65, 255, .14), transparent 26%),
    radial-gradient(circle at 72% 32%, rgba(223, 255, 47, .09), transparent 20%),
    var(--toaf-black);
}
.toaf-hero::before {
  position: absolute;
  content: "";
  inset: 0;
  opacity: .17;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, #000 25%, transparent 95%);
}
.toaf-hero-copy { position: relative; z-index: 2; width: min(900px, 70vw); }
.toaf-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 34px;
  color: var(--toaf-acid);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}
.toaf-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 14px currentColor; }
.toaf-hero h1 {
  margin: 0;
  font-size: clamp(68px, 9.1vw, 148px);
  font-weight: 790;
  line-height: .82;
  letter-spacing: -.085em;
}
.toaf-hero h1 em { color: var(--toaf-acid); font-style: normal; }
.toaf-lead {
  width: min(680px, 70vw);
  margin: 52px 0 0;
  color: #bebeb7;
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.46;
  letter-spacing: -.035em;
}
.toaf-orbit {
  position: absolute;
  z-index: 1;
  top: 155px;
  right: -9vw;
  width: min(49vw, 690px);
  aspect-ratio: 1;
  border: 1px solid rgba(223, 255, 47, .34);
  border-radius: 50%;
  box-shadow: inset 0 0 130px rgba(120, 65, 255, .1), 0 0 100px rgba(120, 65, 255, .08);
  animation: toaf-drift 12s ease-in-out infinite;
}
.toaf-orbit::before,
.toaf-orbit::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(244, 241, 232, .16);
  border-radius: 50%;
  inset: 13%;
}
.toaf-orbit::after { inset: 32%; border-color: rgba(120, 65, 255, .65); box-shadow: 0 0 42px rgba(120, 65, 255, .32); }
.toaf-orbit span,
.toaf-orbit b {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border-radius: 50%;
  color: var(--toaf-black);
  background: var(--toaf-acid);
  font-size: 28px;
  font-weight: 850;
  font-style: normal;
  box-shadow: 0 0 38px rgba(223, 255, 47, .55);
}
.toaf-orbit span { left: 1%; top: 47%; }
.toaf-orbit b { right: 18%; top: 3%; background: var(--toaf-violet); color: white; box-shadow: 0 0 38px rgba(120, 65, 255, .6); }
.toaf-orbit > i { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--toaf-acid); box-shadow: 0 0 18px currentColor; }
.toaf-orbit > i:nth-of-type(1) { top: 25%; left: 12%; }
.toaf-orbit > i:nth-of-type(2) { top: 62%; left: 25%; color: var(--toaf-violet); background: currentColor; }
.toaf-orbit > i:nth-of-type(3) { top: 72%; right: 14%; }
.toaf-orbit > i:nth-of-type(4) { top: 35%; right: 2%; color: var(--toaf-coral); background: currentColor; }
@keyframes toaf-drift { 0%,100% { transform: translate3d(0,0,0) rotate(-5deg); } 50% { transform: translate3d(-15px,18px,0) rotate(1deg); } }
.toaf-metrics {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--toaf-line);
  background: rgba(5,5,5,.66);
  backdrop-filter: blur(12px);
}
.toaf-metrics div { min-height: 138px; display: flex; align-items: baseline; gap: 14px; padding: 38px 4.5vw; border-right: 1px solid var(--toaf-line); }
.toaf-metrics div:last-child { border: 0; }
.toaf-metrics strong { font-size: 54px; line-height: 1; letter-spacing: -.07em; }
.toaf-metrics span { color: var(--toaf-muted); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }

/* Product truth */
.toaf-truth {
  display: grid;
  grid-template-columns: 1fr 2.1fr;
  gap: 7vw;
  padding: 110px 4.5vw;
  border-bottom: 1px solid var(--toaf-line);
}
.toaf-truth > p,
.toaf-tools > div > p,
.toaf-core > p,
.toaf-cta > p { margin: 6px 0 0; color: var(--toaf-acid); font-size: 11px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.toaf-truth h2 { max-width: 960px; margin: 0; font-size: clamp(38px, 4.5vw, 72px); line-height: 1.02; letter-spacing: -.06em; font-weight: 680; }
.toaf-legend { grid-column: 2; display: flex; flex-wrap: wrap; gap: 10px 25px; margin-top: 10px; }
.toaf-legend span { display: flex; align-items: center; gap: 9px; color: #c7c7bf; font-size: 13px; }
.toaf-legend i,
.toaf-modules li small i { display: inline-block; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--toaf-acid); box-shadow: 0 0 10px rgba(223,255,47,.45); }
.toaf-legend [data-status="next"] i,
.toaf-modules li[data-status="next"] small i { background: var(--toaf-violet); box-shadow: 0 0 10px rgba(120,65,255,.6); }
.toaf-legend [data-status="scale"] i,
.toaf-modules li[data-status="scale"] small i { background: var(--toaf-coral); box-shadow: 0 0 10px rgba(255,109,97,.55); }

/* Catalogue controls */
.toaf-catalogue { padding: 0 4.5vw 130px; }
.toaf-tools {
  position: sticky;
  z-index: 40;
  top: 86px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: end;
  padding: 31px 0 25px;
  border-bottom: 1px solid var(--toaf-line);
  background: rgba(5,5,5,.94);
  backdrop-filter: blur(16px);
}
.admin-bar .toaf-tools { top: 118px; }
.toaf-tools > div > p { margin-bottom: 17px; }
.toaf-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.toaf-filters button {
  appearance: none;
  padding: 9px 13px;
  border: 1px solid #363632;
  border-radius: 0;
  background: transparent;
  color: #aaa9a2;
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  transition: border .18s ease, color .18s ease, background .18s ease;
}
.toaf-filters button:hover { border-color: #77766f; color: white; }
.toaf-filters button.is-active { border-color: var(--toaf-acid); background: var(--toaf-acid); color: var(--toaf-black); }
.toaf-search { display: block; }
.toaf-search span { display: block; margin-bottom: 10px; color: #96968f; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.toaf-search input {
  width: 100%;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid #5f5f58;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--toaf-paper);
  font-size: 16px;
}
.toaf-search input:focus { border-bottom-color: var(--toaf-acid); }
.toaf-search input::placeholder { color: #686862; }
.toaf-index { display: grid; grid-template-columns: repeat(6, 1fr); margin: 44px 0 90px; border-top: 1px solid var(--toaf-line); border-left: 1px solid var(--toaf-line); }
.toaf-index a { min-height: 98px; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; padding: 18px 15px; border-right: 1px solid var(--toaf-line); border-bottom: 1px solid var(--toaf-line); transition: color .2s ease, background .2s ease; }
.toaf-index a:hover { color: var(--toaf-black); background: var(--toaf-acid); }
.toaf-index b { color: var(--toaf-acid); font-size: 12px; }
.toaf-index a:hover b { color: var(--toaf-black); }
.toaf-index span { color: #aaa9a2; font-size: 12px; line-height: 1.25; }
.toaf-index a:hover span { color: inherit; }

/* Feature modules */
.toaf-modules { border-top: 1px solid var(--toaf-paper); }
.toaf-modules article {
  scroll-margin-top: 190px;
  margin: 0;
  border-bottom: 1px solid var(--toaf-line);
  opacity: 1;
  transform: none;
  transition: opacity .35s ease, transform .35s ease;
}
.toaf-modules article[hidden] { display: none !important; }
.toaf-modules article header {
  display: grid;
  grid-template-columns: 115px minmax(0, 1fr) 62px;
  gap: 28px;
  min-height: 230px;
  align-items: start;
  padding: 43px 0 36px;
}
.toaf-module-number { color: #4e4e49; font-size: 58px; font-weight: 780; line-height: 1; letter-spacing: -.07em; }
.toaf-modules article header div > p:first-child { margin: 3px 0 15px; color: var(--toaf-acid); font-size: 10px; font-weight: 850; letter-spacing: .15em; }
.toaf-modules article h2 { margin: 0; font-size: clamp(38px, 4vw, 65px); font-weight: 690; line-height: .98; letter-spacing: -.065em; }
.toaf-modules article header div > p:last-child { max-width: 650px; margin: 24px 0 0; color: #a9a9a2; font-size: 16px; }
.toaf-toggle {
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid #474741;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  font-size: 27px;
  font-weight: 300;
  transition: border .2s ease, background .2s ease, color .2s ease;
}
.toaf-toggle:hover { border-color: var(--toaf-acid); background: var(--toaf-acid); color: #050505; }
.toaf-modules ol { margin: 0 0 45px 143px; padding: 0; list-style: none; border-top: 1px solid var(--toaf-line); }
.toaf-modules article.is-collapsed ol { display: none; }
.toaf-modules li {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 140px;
  gap: 22px;
  align-items: center;
  min-height: 72px;
  padding: 14px 10px 14px 0;
  border-bottom: 1px solid var(--toaf-line);
}
.toaf-modules li[hidden] { display: none !important; }
.toaf-modules li > span { color: #66665f; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.toaf-modules li > p { margin: 0; color: #dedbd3; font-size: 15px; }
.toaf-modules li small { display: flex; align-items: center; gap: 8px; color: #92928b; font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.toaf-empty { padding: 60px 0; color: var(--toaf-muted); font-size: 22px; }

/* Closing narrative */
.toaf-core {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  column-gap: 7vw;
  padding: 130px 4.5vw;
  border-top: 1px solid var(--toaf-line);
  background: var(--toaf-paper);
  color: var(--toaf-black);
}
.toaf-core > p { color: #5d5d56; }
.toaf-core h2 { margin: 0; font-size: clamp(50px, 6.2vw, 102px); line-height: .9; font-weight: 740; letter-spacing: -.075em; }
.toaf-core h2 em { color: #6940dc; font-style: normal; }
.toaf-core > div { grid-column: 2; display: grid; grid-template-columns: 60px 1fr; margin-top: 75px; border-top: 1px solid rgba(5,5,5,.25); }
.toaf-core > div span,
.toaf-core > div p { margin: 0; padding: 25px 0; border-bottom: 1px solid rgba(5,5,5,.25); }
.toaf-core > div span { color: #77776f; font-size: 11px; font-weight: 800; }
.toaf-core > div p { font-size: clamp(18px, 1.7vw, 25px); letter-spacing: -.035em; }
.toaf-cta {
  position: relative;
  padding: 135px 4.5vw 145px;
  overflow: hidden;
  background: var(--toaf-acid);
  color: var(--toaf-black);
}
.toaf-cta::after {
  position: absolute;
  content: "";
  width: 48vw;
  aspect-ratio: 1;
  right: -13vw;
  bottom: -32vw;
  border: 1px solid rgba(5,5,5,.3);
  border-radius: 50%;
  box-shadow: 0 0 0 7vw rgba(5,5,5,.035), 0 0 0 14vw rgba(5,5,5,.025);
}
.toaf-cta > p { color: #32322f; }
.toaf-cta h2 { position: relative; z-index: 2; margin: 26px 0 55px; font-size: clamp(54px, 7.6vw, 122px); line-height: .86; font-weight: 780; letter-spacing: -.08em; }
.toaf-cta > div { position: relative; z-index: 2; display: flex; gap: 12px; }
.toaf-cta a { display: flex; align-items: center; justify-content: space-between; min-width: 245px; padding: 17px 19px; border: 1px solid #050505; font-size: 13px; font-weight: 760; }
.toaf-cta a:first-child { background: #050505; color: var(--toaf-paper); }
.toaf-cta a:hover { transform: translateY(-2px); }
.toaf-footer { min-height: 210px; display: grid; grid-template-columns: 1fr 1.7fr 1fr; gap: 35px; align-items: center; padding: 45px 4.5vw; border-top: 1px solid var(--toaf-line); }
.toaf-footer > p { max-width: 430px; margin: 0; color: #898982; font-size: 14px; }
.toaf-footer > div { justify-self: end; display: flex; gap: 23px; }
.toaf-footer > div a { color: #9b9b94; font-size: 12px; }
.toaf-footer > div a:hover { color: var(--toaf-paper); }

@media (max-width: 1050px) {
  .toaf-nav { grid-template-columns: 1fr auto; }
  .toaf-nav nav { display: none; }
  .toaf-hero { min-height: 800px; padding-top: 175px; }
  .toaf-hero-copy { width: 88vw; }
  .toaf-orbit { right: -23vw; opacity: .7; }
  .toaf-index { grid-template-columns: repeat(4, 1fr); }
  .toaf-tools { grid-template-columns: 1fr; }
  .toaf-search { max-width: 420px; }
}

@media (max-width: 782px) {
  .admin-bar .toaf-nav { top: 46px; }
  .admin-bar .toaf-tools { top: 132px; }
}

@media (max-width: 720px) {
  .toaf-nav { height: 70px; padding: 0 20px; }
  .toaf-brand { font-size: 19px; }
  .toaf-nav-cta { padding: 10px 13px; }
  .toaf-hero { min-height: 760px; padding: 142px 20px 0; }
  .toaf-hero-copy,
  .toaf-lead { width: 100%; }
  .toaf-hero h1 { font-size: clamp(58px, 20vw, 88px); }
  .toaf-lead { margin-top: 34px; font-size: 17px; }
  .toaf-orbit { top: 365px; right: -28vw; width: 86vw; opacity: .55; }
  .toaf-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toaf-metrics div { min-width: 0; min-height: 82px; flex-wrap: wrap; padding: 18px 20px; border-top: 1px solid var(--toaf-line); }
  .toaf-metrics strong { font-size: 35px; }
  .toaf-metrics span { font-size: 9px; }
  .toaf-truth { display: block; padding: 80px 20px; }
  .toaf-truth h2 { margin-top: 30px; }
  .toaf-legend { margin-top: 35px; }
  .toaf-catalogue { padding: 0 20px 90px; }
  .toaf-tools { top: 70px; width: 100%; min-width: 0; padding: 22px 0 18px; }
  .toaf-tools > div { width: 100%; min-width: 0; }
  .toaf-tools > div > p { display: none; }
  .toaf-filters { width: 100%; max-width: 100%; min-width: 0; flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-inline: contain; padding-bottom: 3px; scrollbar-width: none; }
  .toaf-filters::-webkit-scrollbar { display: none; }
  .toaf-filters button { flex: 0 0 auto; }
  .toaf-search { display: none; }
  .toaf-index { grid-template-columns: repeat(2, 1fr); margin: 35px 0 65px; }
  .toaf-index a { min-height: 76px; }
  .toaf-modules article { min-width: 0; overflow: hidden; }
  .toaf-modules article header { min-width: 0; grid-template-columns: 55px minmax(0, 1fr) 42px; gap: 10px; min-height: 190px; padding: 30px 0; }
  .toaf-modules article header > div { min-width: 0; }
  .toaf-module-number { font-size: 35px; }
  .toaf-modules article h2 { overflow-wrap: anywhere; font-size: 34px; }
  .toaf-modules article header div > p:last-child { margin-top: 15px; font-size: 14px; }
  .toaf-toggle { width: 42px; height: 42px; }
  .toaf-modules ol { margin: 0 0 35px 0; }
  .toaf-modules li { grid-template-columns: 45px 1fr; gap: 8px 12px; padding: 15px 0; }
  .toaf-modules li small { grid-column: 2; }
  .toaf-core { display: block; padding: 90px 20px; }
  .toaf-core h2 { margin-top: 28px; }
  .toaf-core > div { display: grid; grid-template-columns: 43px 1fr; margin-top: 55px; }
  .toaf-cta { padding: 90px 20px; }
  .toaf-cta h2 { margin-bottom: 42px; }
  .toaf-cta > div { display: grid; }
  .toaf-cta a { min-width: 0; }
  .toaf-footer { display: grid; grid-template-columns: 1fr; min-height: 260px; padding: 55px 20px; }
  .toaf-footer > div { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .toaf-orbit { animation: none; }
  .toaf-page * { transition-duration: .01ms !important; }
}
