:root {
  color-scheme: dark;
  --black: #000000;
  --surface: #0b0b0d;
  --surface-2: #121216;
  --white: #ffffff;
  --ash: #bdbdbd;
  --smoke: #8e8e93;
  --purple: #8052ff;
  --purple-bright: #956fff;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.2);
  --max: 1200px;
  --radius: 0;
  --font: var(--gh-font-body, "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  --font-heading: var(--gh-font-heading, var(--font));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--purple);
  color: var(--white);
}

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

img,
video,
iframe {
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--purple-bright);
  outline-offset: 3px;
}

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

h1,
h2,
h3 {
  font-family: var(--font-heading);
  letter-spacing: 0;
}

h1 {
  max-width: 13ch;
  margin-bottom: 28px;
  font-size: 76px;
  font-weight: 300;
  line-height: 0.98;
}

h2 {
  margin-bottom: 22px;
  font-size: 48px;
  font-weight: 300;
  line-height: 1.04;
}

h3 {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: 76px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(100% - 48px, var(--max));
  height: 100%;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}

.brand-mark {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 3px;
  width: 34px;
  height: 34px;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--surface);
}

.brand-mark i {
  display: block;
  width: 3px;
  border-radius: 0;
  background: var(--white);
}

.brand-mark i:nth-child(1) { height: 8px; opacity: 0.45; }
.brand-mark i:nth-child(2) { height: 13px; opacity: 0.68; }
.brand-mark i:nth-child(3) { height: 18px; }
.brand-mark i:nth-child(4) { height: 23px; background: var(--purple); }

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.brand-copy small {
  color: var(--smoke);
  font-size: 9px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 100%;
  color: var(--ash);
  font-size: 13px;
}

.nav-links a {
  display: grid;
  align-items: center;
  height: 100%;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-bottom-color: var(--white);
  color: var(--white);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.nav-cta {
  justify-self: end;
}

.nav-cta:hover,
.button:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.mobile-nav {
  display: none;
  justify-self: end;
}

.mobile-nav summary {
  display: grid;
  place-content: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  cursor: pointer;
  list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav summary span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--white);
}

.mobile-nav nav {
  position: fixed;
  top: 76px;
  right: 0;
  left: 0;
  display: grid;
  border-bottom: 1px solid var(--line-strong);
  background: var(--surface);
}

.mobile-nav nav a {
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  color: var(--ash);
  font-size: 14px;
}

.mobile-nav nav a:last-child {
  color: var(--white);
}

.eyebrow,
.section-kicker {
  display: block;
  margin-bottom: 20px;
  color: var(--purple-bright);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.insights-shell,
.about-shell,
.article-shell,
.editable-home,
.legal-shell {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  padding-top: 156px;
  padding-bottom: 112px;
}

.insights-hero,
.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 96px;
  align-items: end;
  min-height: 480px;
  padding-bottom: 78px;
  border-bottom: 1px solid var(--line-strong);
}

.insights-lead,
.about-lead {
  max-width: 58ch;
  margin-bottom: 32px;
  color: var(--ash);
  font-size: 19px;
  font-weight: 300;
  line-height: 1.6;
}

.insights-index,
.about-signal {
  border-top: 1px solid var(--line-strong);
}

.insights-index div {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.insights-index span,
.about-signal span {
  display: block;
  color: var(--purple-bright);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.insights-index strong,
.about-signal strong {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.about-signal {
  padding-top: 24px;
}

.about-signal strong {
  max-width: 22ch;
  margin-top: 14px;
  font-size: 28px;
  font-weight: 300;
  line-height: 1.15;
}

.insights-list {
  padding-top: 92px;
}

.insights-list > h2 {
  max-width: 15ch;
  margin-bottom: 46px;
}

.insights-feed {
  border-top: 1px solid var(--line-strong);
}

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

.insight-card a {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 72px;
  gap: 36px;
  align-items: start;
  min-height: 210px;
  padding: 32px 0;
  transition: color 160ms ease;
}

.insight-card a:hover {
  color: var(--purple-bright);
}

.insight-card-meta {
  display: grid;
  gap: 8px;
  color: var(--smoke);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.insight-card h3 {
  max-width: 24ch;
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: 400;
}

.insight-card p {
  max-width: 60ch;
  margin: 0;
  color: var(--ash);
  font-size: 15px;
}

.read-link {
  justify-self: end;
  color: var(--purple-bright);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.empty-state {
  display: grid;
  gap: 8px;
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}

.empty-state strong {
  font-size: 24px;
  font-weight: 400;
}

.empty-state span {
  color: var(--ash);
}

.pagination {
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  color: var(--ash);
  font-size: 13px;
}

.insights-cta,
.about-cta {
  margin-top: 112px;
  padding: 72px 0 0;
  border-top: 1px solid var(--line-strong);
}

.insights-cta h2,
.about-cta h2 {
  max-width: 14ch;
  margin-bottom: 30px;
}

.about-founder {
  padding-top: 76px;
}

.about-founder h1,
.about-founder h2,
.about-founder h3 {
  letter-spacing: 0;
}

.about-founder-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 48px 80px;
  align-content: end;
  min-height: 760px;
  padding: 118px 0 72px;
  border-bottom: 1px solid var(--line-strong);
}

.about-founder-hero > .eyebrow,
.about-founder-hero > h1 {
  grid-column: 1 / -1;
}

.about-founder-hero h1 {
  max-width: none;
  margin: 0;
  font-size: 126px;
  font-weight: 300;
  line-height: 0.9;
}

.about-hero-thesis h2 {
  max-width: 17ch;
  margin-bottom: 28px;
  font-size: 44px;
  line-height: 1.04;
}

.about-hero-thesis p {
  max-width: 61ch;
  margin: 0;
  color: var(--ash);
  font-size: 19px;
  font-weight: 300;
  line-height: 1.65;
}

.about-identity {
  align-self: end;
  margin: 0;
  border-top: 1px solid var(--line-strong);
}

.about-identity p {
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ash);
  font-size: 15px;
  line-height: 1.45;
}

.about-identity strong {
  color: var(--white);
  font-weight: 500;
}

.about-manifesto,
.about-origin,
.about-final {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 96px;
  padding: 112px 0;
  border-bottom: 1px solid var(--line-strong);
}

.about-manifesto h2,
.about-origin h2 {
  max-width: 12ch;
  margin: 0;
  font-size: 48px;
}

.about-manifesto-copy,
.about-origin-copy {
  max-width: 65ch;
  color: var(--ash);
  font-size: 19px;
  font-weight: 300;
  line-height: 1.72;
}

.about-manifesto-copy p,
.about-origin-copy p {
  margin-bottom: 26px;
}

.about-manifesto-copy p:last-child,
.about-origin-copy p:last-child {
  margin-bottom: 0;
}

.about-manifesto-copy strong,
.about-origin-copy strong {
  color: var(--white);
  font-weight: 500;
}

.about-visual {
  position: relative;
  width: 100%;
  min-height: 480px;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line-strong);
}

.about-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 20%, rgba(0, 0, 0, 0.88) 100%);
  content: "";
}

.about-visual img {
  display: block;
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.68) contrast(1.06);
}

.about-visual figcaption {
  position: absolute;
  z-index: 1;
  right: 48px;
  bottom: 46px;
  left: 48px;
  display: grid;
  grid-template-columns: 220px minmax(0, 720px);
  gap: 48px;
  align-items: end;
}

.about-visual figcaption span {
  color: var(--purple-bright);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.about-visual figcaption strong {
  font-size: 34px;
  font-weight: 300;
  line-height: 1.16;
}

.about-doctrine {
  padding: 112px 0;
  border-bottom: 1px solid var(--line-strong);
}

.about-doctrine header {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 96px;
  margin-bottom: 62px;
}

.about-doctrine header h2 {
  max-width: 12ch;
  margin: 0;
}

.about-principles {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.about-principles li {
  display: grid;
  grid-template-columns: 96px minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: 36px;
  align-items: baseline;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.about-principles li > span {
  color: var(--purple-bright);
  font-size: 13px;
  font-weight: 600;
}

.about-principles h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 400;
}

.about-principles p {
  max-width: 52ch;
  margin: 0;
  color: var(--ash);
  font-size: 16px;
}

.about-stance {
  max-width: 960px;
  padding: 124px 0;
}

.about-stance h2 {
  max-width: 19ch;
  margin-bottom: 40px;
  font-size: 58px;
}

.about-stance > p:not(.section-kicker) {
  max-width: 62ch;
  margin-bottom: 22px;
  color: var(--ash);
  font-size: 21px;
  font-weight: 300;
  line-height: 1.65;
}

.about-signature {
  display: block;
  margin-top: 42px;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
}

.about-final {
  align-items: end;
  margin-top: 0;
  padding-top: 92px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 0;
}

.about-final h2 {
  max-width: 12ch;
  margin: 0;
}

.about-final > div:last-child {
  max-width: 560px;
}

.about-final p {
  margin-bottom: 30px;
  color: var(--ash);
  font-size: 18px;
  font-weight: 300;
}

.profit-audit-shell .about-founder-hero h1 {
  max-width: 12ch;
}

.profit-audit-boundaries,
.profit-audit-deliverable,
.profit-audit-limits {
  border-top: 1px solid var(--line);
}

.article,
.editable-home-content,
.legal-page {
  max-width: 820px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 54px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line-strong);
}

.article-header h1,
.editable-home-content h1 {
  max-width: 14ch;
}

.article-excerpt {
  max-width: 56ch;
  color: var(--ash);
  font-size: 19px;
  font-weight: 300;
  line-height: 1.6;
}

.article-feature-image {
  display: block;
  width: 100%;
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.article-content,
.editable-home-content {
  color: var(--ash);
  font-size: 18px;
  line-height: 1.75;
}

.article-content > *:first-child,
.editable-home-content > *:first-child {
  margin-top: 0;
}

.article-content h2,
.editable-home-content h2 {
  margin-top: 62px;
  color: var(--white);
  font-size: 38px;
}

.article-content h3,
.editable-home-content h3 {
  margin-top: 42px;
  color: var(--white);
}

.article-content p,
.article-content ul,
.article-content ol,
.article-content blockquote,
.editable-home-content p,
.editable-home-content ul,
.editable-home-content ol {
  margin-bottom: 24px;
}

.article-content a,
.editable-home-content a {
  color: var(--purple-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content blockquote {
  margin-left: 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--purple);
  color: var(--white);
  font-size: 21px;
}

.article-content hr {
  margin: 52px 0;
  border: 0;
  border-top: 1px solid var(--line-strong);
}

.article-content code {
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--surface-2);
  color: var(--white);
}

.article-content pre {
  overflow: auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.kg-width-wide {
  width: min(1100px, calc(100vw - 48px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.kg-width-full {
  width: 100vw;
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.kg-card img {
  height: auto;
}

.kg-callout-card,
.kg-bookmark-card,
.kg-product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.site-footer {
  padding: 64px max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line-strong);
  background: var(--surface);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
}

.footer-brand p {
  max-width: 42ch;
  margin: 18px 0 0;
  color: var(--smoke);
  font-size: 13px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px 32px;
  color: var(--ash);
  font-size: 12px;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--smoke);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 920px) {
  h1 { font-size: 58px; }
  h2 { font-size: 40px; }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .insights-shell,
  .about-shell,
  .article-shell,
  .editable-home,
  .legal-shell {
    padding-top: 130px;
    padding-bottom: 84px;
  }

  .insights-hero,
  .about-hero {
    grid-template-columns: 1fr;
    gap: 54px;
    min-height: 0;
  }

  .about-founder {
    padding-top: 76px;
  }

  .about-founder-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 96px;
  }

  .about-founder-hero h1 {
    font-size: 92px;
  }

  .about-hero-thesis h2 {
    font-size: 40px;
  }

  .about-manifesto,
  .about-origin,
  .about-final,
  .about-doctrine header {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .about-principles li {
    grid-template-columns: 64px minmax(220px, 0.8fr) minmax(0, 1.2fr);
    gap: 24px;
  }

  .about-visual figcaption {
    grid-template-columns: 160px 1fr;
  }

  .insight-card a {
    grid-template-columns: 130px minmax(0, 1fr) 56px;
    gap: 24px;
  }
}

@media (max-width: 620px) {
  h1 { font-size: 42px; line-height: 1.02; }
  h2 { font-size: 34px; }
  h3 { font-size: 20px; }

  .site-header {
    height: 68px;
  }

  .header-inner {
    width: min(100% - 32px, var(--max));
  }

  .brand-copy small {
    display: none;
  }

  .mobile-nav nav {
    top: 68px;
  }

  .insights-shell,
  .about-shell,
  .article-shell,
  .editable-home,
  .legal-shell {
    width: min(100% - 32px, var(--max));
    padding-top: 108px;
    padding-bottom: 64px;
  }

  .insights-hero,
  .about-hero {
    gap: 38px;
    padding-bottom: 54px;
  }

  .insights-lead,
  .about-lead,
  .article-excerpt {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .insights-list {
    padding-top: 68px;
  }

  .insight-card a {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: 0;
    padding: 28px 0;
  }

  .insight-card h3 {
    font-size: 24px;
  }

  .read-link {
    justify-self: start;
  }

  .about-founder {
    padding-top: 68px;
  }

  .about-founder-hero {
    gap: 36px;
    padding: 68px 0 54px;
  }

  .about-founder-hero h1 {
    font-size: 62px;
    line-height: 0.95;
  }

  .about-hero-thesis h2,
  .about-manifesto h2,
  .about-origin h2 {
    font-size: 34px;
  }

  .about-hero-thesis p,
  .about-manifesto-copy,
  .about-origin-copy {
    font-size: 17px;
  }

  .about-manifesto,
  .about-origin,
  .about-doctrine,
  .about-stance,
  .about-final {
    padding: 72px 0;
  }

  .about-visual,
  .about-visual img {
    min-height: 390px;
    height: 390px;
  }

  .about-visual figcaption {
    right: 22px;
    bottom: 24px;
    left: 22px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .about-visual figcaption strong {
    font-size: 26px;
  }

  .about-doctrine header {
    margin-bottom: 42px;
  }

  .about-principles li {
    grid-template-columns: 42px 1fr;
    gap: 12px 18px;
    padding: 26px 0;
  }

  .about-principles p {
    grid-column: 2;
  }

  .about-principles h3 {
    font-size: 22px;
  }

  .about-stance h2 {
    font-size: 38px;
  }

  .about-stance > p:not(.section-kicker) {
    font-size: 18px;
  }

  .insights-cta,
  .about-cta {
    margin-top: 72px;
    padding-top: 54px;
  }

  .article-content,
  .editable-home-content {
    font-size: 16px;
    line-height: 1.7;
  }

  .article-content h2,
  .editable-home-content h2 {
    margin-top: 48px;
    font-size: 30px;
  }

  .site-footer {
    padding: 48px 16px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

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

  .footer-bottom {
    display: grid;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
