@font-face {
  font-family: "Everett";
  src: url("../../optimized-Everett-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Everett";
  src: url("../../optimized-Everett-Medium.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #03070d;
  --ink-soft: #0b111b;
  --paper: #f4f3ee;
  --paper-bright: #fbfaf7;
  --paper-muted: #d7d5ce;
  --text: #f8f8f6;
  --muted: #9ba3af;
  --blue: #6179ff;
  --blue-light: #aeb9ff;
  --cyan: #39d8e5;
  --line-dark: rgba(255, 255, 255, .12);
  --line-light: rgba(3, 7, 13, .14);
  --max: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: "Everett", Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

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

::selection {
  background: var(--blue);
  color: #fff;
}

.reading-progress {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: 3px;
  background: var(--ink);
}

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 18px rgba(97, 121, 255, .7);
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 3px 0 auto;
  display: flex;
  height: 88px;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(28px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(3, 7, 13, .78);
  backdrop-filter: blur(18px);
}

.brand {
  width: 184px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #c6cbd4;
  font-size: 13px;
}

.header-nav > a:not(.nav-cta) {
  transition: color .2s ease;
}

.header-nav > a:not(.nav-cta):hover {
  color: #fff;
}

.nav-cta,
.primary-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 18px 0 22px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.nav-cta:hover,
.primary-button:hover {
  transform: translateY(-2px);
  background: #7187ff;
  box-shadow: 0 14px 34px rgba(97, 121, 255, .25);
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 860px;
  padding: 190px 28px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line-dark);
  background:
    radial-gradient(ellipse at 50% 20%, rgba(30, 47, 118, .25), transparent 52%),
    linear-gradient(180deg, #050a13 0%, #03070d 100%);
}

.hero-grid {
  position: absolute;
  z-index: -3;
  inset: 0;
  opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .042) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .042) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 82%);
}

.hero-glow {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
}

.hero-glow-one {
  top: -260px;
  right: -260px;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(97, 121, 255, .62), rgba(24, 81, 190, .22) 42%, transparent 70%);
}

.hero-glow-two {
  bottom: -390px;
  left: -250px;
  width: 820px;
  height: 820px;
  background: radial-gradient(circle, rgba(24, 188, 213, .34), rgba(25, 85, 194, .18) 43%, transparent 70%);
}

.hero-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  color: #aeb5c1;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--blue-light);
}

.eyebrow::before {
  width: 22px;
  height: 1px;
  background: var(--blue);
  content: "";
}

.hero h1 {
  margin: 30px 0 0;
  font-size: clamp(48px, 6.25vw, 88px);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: .99;
  text-wrap: balance;
}

.hero h1 em {
  color: var(--blue-light);
  font-style: normal;
}

.hero-deck {
  width: min(820px, 100%);
  margin: 34px auto 0;
  color: #c2c7d0;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
  text-wrap: balance;
}

.hero-meta {
  display: flex;
  width: min(850px, 100%);
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 50px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}

.author {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.author-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
}

.author-mark img {
  width: 30px;
}

.author span,
.author strong {
  display: block;
}

.author span {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.author strong {
  font-size: 14px;
  font-weight: 500;
}

.read-meta {
  display: flex;
  align-items: center;
  gap: 0;
  color: var(--muted);
  font-size: 12px;
}

.read-meta span {
  padding: 0 16px;
  border-right: 1px solid var(--line-dark);
}

.read-meta span:last-child {
  padding-right: 0;
  border-right: 0;
}

.hero-thesis {
  position: relative;
  width: min(1040px, calc(100% - 56px));
  margin: 72px auto 0;
  padding: 34px 50px 38px;
  border: 1px solid rgba(174, 185, 255, .28);
  border-bottom: 0;
  background:
    linear-gradient(110deg, rgba(97, 121, 255, .18), rgba(97, 121, 255, .04) 52%, rgba(57, 216, 229, .08)),
    rgba(7, 13, 24, .74);
  box-shadow: 0 -22px 80px rgba(44, 80, 207, .1);
  text-align: center;
}

.hero-thesis p {
  margin: 0 0 14px;
  color: var(--blue-light);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero-thesis blockquote {
  margin: 0;
  font-size: clamp(27px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: -.035em;
}

.framework {
  position: relative;
  padding: 132px 28px;
  overflow: hidden;
  background: #080e18;
}

.section-shell {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.framework-heading {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  align-items: start;
  gap: 50px;
}

.framework-heading .eyebrow {
  justify-content: flex-start;
}

.framework h2 {
  margin: 0;
  font-size: clamp(38px, 4.5vw, 66px);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: 1.03;
}

.equation-wrap {
  margin-top: 72px;
}

.revenue-equation {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 1.7vw, 25px);
  padding: 42px 0;
  border-top: 1px solid rgba(255, 255, 255, .24);
  border-bottom: 1px solid rgba(255, 255, 255, .24);
}

.revenue-equation > :last-child {
  grid-column: 7;
}

.equation-result {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  letter-spacing: -.045em;
}

.equation-term {
  font-size: clamp(21px, 2.25vw, 31px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.equation-operator {
  color: var(--blue-light);
  font-size: clamp(27px, 3vw, 42px);
  font-weight: 400;
  line-height: 1;
}

.equation-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 800px);
  justify-content: center;
  gap: clamp(70px, 9vw, 150px);
  padding: 128px max(28px, calc((100vw - var(--max)) / 2)) 150px;
  background: var(--paper-bright);
  color: var(--ink);
}

.article-aside {
  min-width: 0;
}

.toc-card {
  position: sticky;
  top: 120px;
  max-height: calc(100vh - 145px);
  padding-top: 18px;
  padding-bottom: 16px;
  overflow-y: auto;
  border-top: 2px solid var(--ink);
  scrollbar-width: thin;
}

.toc-label {
  margin: 0 0 23px;
  color: #676c73;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

#toc {
  display: grid;
  gap: 11px;
}

#toc a {
  position: relative;
  display: block;
  padding-left: 0;
  color: #747980;
  font-size: 13px;
  line-height: 1.35;
  transition: color .2s ease, padding-left .2s ease;
}

#toc a:hover,
#toc a.active {
  padding-left: 13px;
  color: var(--ink);
}

#toc a::before {
  position: absolute;
  top: .65em;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--blue);
  content: "";
  transition: width .2s ease;
}

#toc a:hover::before,
#toc a.active::before {
  width: 7px;
}

.copy-link {
  width: 100%;
  margin-top: 28px;
  padding: 16px 0;
  border: 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  background: transparent;
  color: #5d6269;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}

.copy-link span {
  display: inline-block;
  margin-right: 8px;
  color: var(--blue);
}

.article-body {
  min-width: 0;
}

.article-kicker {
  margin: 0 0 26px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.article-intro {
  margin: 0;
  font-size: clamp(27px, 3.3vw, 42px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.18;
}

.article-rule {
  display: flex;
  align-items: center;
  height: 1px;
  margin: 58px 0;
  background: var(--line-light);
}

.article-rule span {
  width: 84px;
  height: 3px;
  background: var(--blue);
}

#article-content > p:first-child {
  margin-top: 0;
}

#article-content p,
#article-content li {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.55vw, 20px);
  line-height: 1.68;
}

#article-content p {
  margin: 0 0 25px;
}

.article-body h2 {
  margin: 110px 0 30px;
  font-size: clamp(37px, 4.2vw, 58px);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1.04;
  text-wrap: balance;
}

.article-body h2::before {
  display: block;
  width: 46px;
  height: 3px;
  margin-bottom: 24px;
  background: var(--blue);
  content: "";
}

.article-body h3 {
  margin: 70px 0 24px;
  font-size: clamp(25px, 2.8vw, 34px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.15;
}

.article-body h3 .number {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.article-body ul,
.article-body ol {
  display: grid;
  gap: 13px;
  margin: 28px 0 38px;
  padding: 0;
  list-style: none;
  counter-reset: article-list;
}

.article-body li {
  position: relative;
  padding-left: 31px;
}

.article-body ul li::before {
  position: absolute;
  top: .72em;
  left: 4px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  content: "";
}

.article-body ol li {
  counter-increment: article-list;
}

.article-body ol li::before {
  position: absolute;
  top: .18em;
  left: 0;
  color: var(--blue);
  content: counter(article-list, decimal-leading-zero);
  font-family: "Everett", sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.article-body blockquote {
  position: relative;
  margin: 58px 0;
  padding: 48px 54px 50px;
  overflow: hidden;
  background: var(--ink-soft);
  color: white;
}

.article-body blockquote::after {
  position: absolute;
  top: -120px;
  right: -130px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(97,121,255,.55), transparent 69%);
  content: "";
}

.article-body blockquote p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: "Everett", sans-serif;
  font-size: clamp(29px, 3.4vw, 44px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.12;
}

.article-body .formula {
  display: grid;
  margin: 42px 0;
  padding: 30px 34px;
  border: 1px solid rgba(97, 121, 255, .34);
  background: #f0f1fb;
  color: #273ebd;
  font-family: "Everett", sans-serif;
  font-size: clamp(22px, 3vw, 31px);
  font-weight: 500;
  letter-spacing: -.03em;
  text-align: center;
}

.article-body .micro-callout {
  margin: 48px 0;
  padding: 26px 30px 28px;
  border-left: 4px solid var(--blue);
  background: #f0efe9;
}

.article-body .micro-callout p {
  margin: 0;
  font-family: "Everett", sans-serif;
  font-size: clamp(21px, 2.3vw, 27px);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.35;
}

.article-body .step-heading {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 17px;
  align-items: start;
  margin: 54px 0 20px;
}

.article-body .step-heading span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
}

.article-body .step-heading h3 {
  margin: 5px 0 0;
  font-size: clamp(23px, 2.7vw, 31px);
}

.article-body .closing-lines {
  margin-top: 56px;
  padding: 42px;
  border: 1px solid rgba(97, 121, 255, .28);
  background: linear-gradient(140deg, #edf0ff, #f5f4ee);
}

.article-body .closing-lines p {
  margin-bottom: 12px;
  font-family: "Everett", sans-serif;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.25;
}

.article-body .closing-lines p:last-child {
  margin-bottom: 0;
  color: #3148ce;
}

.article-error {
  padding: 30px;
  border: 1px solid #cfcbc0;
  background: #f1efe7;
}

.closing-cta {
  position: relative;
  isolation: isolate;
  min-height: 660px;
  display: grid;
  place-items: center;
  padding: 110px 28px;
  overflow: hidden;
  border-top: 1px solid var(--line-dark);
  background:
    radial-gradient(circle at 50% 115%, rgba(97, 121, 255, .37), transparent 46%),
    #03070d;
  text-align: center;
}

.cta-orbit {
  position: absolute;
  z-index: -1;
  width: 740px;
  height: 740px;
  border: 1px solid rgba(97, 121, 255, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(97, 121, 255, .025), 0 0 0 180px rgba(97, 121, 255, .015);
}

.cta-content {
  width: min(880px, 100%);
}

.cta-content > img {
  width: 58px;
  margin: 0 auto 42px;
}

.cta-content h2 {
  margin: 26px 0 24px;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: 1.01;
  text-wrap: balance;
}

.cta-content > p:not(.eyebrow) {
  width: min(690px, 100%);
  margin: 0 auto;
  color: #aeb5c1;
  font-size: 18px;
  line-height: 1.6;
}

.primary-button {
  min-height: 58px;
  margin-top: 38px;
  padding: 0 24px 0 28px;
}

.footer {
  padding: 80px 0 50px;
  border-top: 1px solid #141414;
  background: #03070d;
}

.footer .container {
  width: min(calc(100% - 48px), 1240px);
  margin-inline: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr .7fr;
  gap: 55px;
}

.footer h3 {
  margin: 0 0 20px;
  padding-bottom: 17px;
  border-bottom: 1px solid #292929;
  font-size: 17px;
  font-weight: 500;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 32px;
}

.footer a,
.footer p {
  color: #b8b8b8;
  font-size: 12px;
  line-height: 1.7;
}

.footer p {
  margin: 0;
}

.footer a:hover {
  color: white;
}

.footer-brand {
  display: block;
  width: 150px;
  margin: 5px 0 18px;
}

.footer-brand img {
  width: 100%;
  height: auto;
}

.copyright {
  margin-top: 65px;
  padding-top: 25px;
  border-top: 1px solid #181818;
  color: #666;
  font-size: 11px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 4px;
}

@media (max-width: 1040px) {
  .framework-heading {
    grid-template-columns: 1fr;
  }

  .article-shell {
    grid-template-columns: 230px minmax(0, 720px);
    gap: 60px;
  }
}

@media (min-width: 1500px) {
  .article-body blockquote {
    margin-inline: -54px;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 85px;
  }

  .site-header {
    height: 72px;
    padding-inline: 22px;
  }

  .brand {
    width: 156px;
  }

  .header-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 6px;
    padding: 0;
    border: 1px solid var(--line-dark);
    background: transparent;
  }

  .menu-toggle span {
    display: block;
    width: 18px;
    height: 1px;
    background: #fff;
    transition: transform .2s ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .mobile-nav {
    position: fixed;
    inset: 72px 0 auto;
    display: none;
    padding: 22px;
    border-bottom: 1px solid var(--line-dark);
    background: rgba(3, 7, 13, .98);
  }

  .mobile-nav.open {
    display: grid;
  }

  .mobile-nav a {
    padding: 18px 4px;
    border-bottom: 1px solid var(--line-dark);
    font-size: 15px;
  }

  .mobile-nav a:last-child {
    border-bottom: 0;
    color: var(--blue-light);
  }

  .hero {
    min-height: auto;
    padding: 150px 22px 0;
  }

  .hero h1 {
    font-size: clamp(43px, 11vw, 68px);
  }

  .hero-meta {
    align-items: flex-start;
  }

  .read-meta {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
  }

  .read-meta span {
    padding: 0;
    border: 0;
  }

  .read-meta span:not(:last-child)::after {
    margin-left: 8px;
    content: "·";
  }

  .hero-thesis {
    width: calc(100% - 20px);
    margin-top: 55px;
    padding: 30px 20px 34px;
  }

  .framework {
    padding: 92px 22px;
  }

  .equation-wrap {
    margin-top: 50px;
  }

  .revenue-equation {
    grid-template-columns: 1fr;
    gap: 13px;
    padding-block: 34px;
    text-align: center;
  }

  .revenue-equation > :last-child {
    grid-column: auto;
  }

  .equation-term br {
    display: none;
  }

  .equation-note {
    width: min(520px, 100%);
    margin-inline: auto;
  }

  .article-shell {
    display: block;
    padding: 90px 22px 110px;
  }

  .article-aside {
    margin-bottom: 60px;
  }

  .toc-card {
    position: static;
    max-height: none;
    overflow: visible;
  }

  #toc {
    display: flex;
    gap: 8px;
    padding-bottom: 10px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  #toc a {
    flex: 0 0 auto;
    max-width: 250px;
    padding: 11px 13px;
    overflow: hidden;
    border: 1px solid var(--line-light);
    color: #555b63;
    text-overflow: ellipsis;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  #toc a:hover,
  #toc a.active {
    padding-left: 13px;
    border-color: var(--blue);
  }

  #toc a::before,
  #toc a:hover::before,
  #toc a.active::before {
    display: none;
  }

  .copy-link {
    width: auto;
    margin-top: 10px;
    padding-right: 24px;
  }

  .article-body blockquote {
    margin-inline: 0;
  }

}

@media (max-width: 560px) {
  .hero-deck {
    font-size: 17px;
  }

  .hero-meta {
    display: grid;
  }

  .read-meta {
    justify-content: flex-start;
  }

  .framework h2 br {
    display: none;
  }

  .article-intro {
    font-size: 29px;
  }

  .article-body h2 {
    margin-top: 82px;
  }

  .article-body blockquote {
    padding: 34px 28px;
  }

  .article-body .formula,
  .article-body .micro-callout,
  .article-body .closing-lines {
    padding-inline: 24px;
  }

  .closing-cta {
    min-height: 610px;
    padding: 90px 22px;
  }

}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-column:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .footer .container {
    width: min(calc(100% - 32px), 1240px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-column:first-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
