:root {
  --paper: #fff;
  --paper-deep: #fff;
  --surface: #fff;
  --ink: #171815;
  --ink-soft: #2d2e29;
  --muted: #5c5d55;
  --line: #d9d1c3;
  --line-dark: #3c3d38;
  --gold: #a97922;
  --gold-dark: #805a16;
  --gold-soft: #eadab8;
  --success: #1d6847;
  --warning: #9a561e;
  --danger: #9b2f2f;
  --max-width: 1440px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section-space: clamp(4.5rem, 8vw, 7.5rem);
  --radius: 6px;
  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-label: 0.75rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-sans);
}

button,
input,
select,
textarea {
  font-size: 1rem;
}

img,
svg {
  display: block;
}

svg {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

a {
  color: inherit;
}

p {
  margin: 0;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.65rem, 4.5vw, 3.5rem);
  line-height: 1.04;
}

h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.08;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.2;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.shell {
  width: min(var(--max-width), calc(100% - (2 * var(--gutter))));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.site-header {
  position: relative;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 6.75rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3.5rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.onyx-mark {
  display: inline-flex;
  color: currentColor;
  flex: 0 0 auto;
}

.onyx-mark svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  shape-rendering: geometricPrecision;
}

.onyx-mark-cut {
  stroke-width: 8;
  stroke-linecap: square;
}

.onyx-mark-ring {
  stroke-width: 5.75;
}

.onyx-mark-slash {
  stroke-width: 2.25;
  stroke-linecap: square;
}

.brand-symbol {
  width: 3rem;
  height: 3rem;
  flex-basis: 3rem;
}

.site-header .brand {
  gap: 0.95rem;
}

.site-header .brand-symbol {
  width: 4rem;
  height: 4rem;
  flex-basis: 4rem;
}

.site-header .brand-copy strong {
  font-size: 1.4rem;
}

.site-header .brand-copy small {
  margin-top: 0.5rem;
  font-size: 0.5rem;
}

.brand-copy {
  display: block;
  line-height: 1;
}

.brand-copy strong {
  display: block;
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-rendering: geometricPrecision;
}

.brand-copy small {
  display: block;
  margin-top: 0.4375rem;
  color: var(--muted);
  font-size: 0.475rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  text-rendering: geometricPrecision;
}

.primary-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(1.25rem, 2.4vw, 2.75rem);
}

.primary-nav a {
  position: relative;
  padding: 0.8rem 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 550;
  text-decoration: none;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.4rem;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  display: none;
  width: 3rem;
  height: 3rem;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
}

.menu-button svg {
  width: 1.5rem;
  height: 1.5rem;
}

.menu-close {
  display: none;
}

.menu-button[aria-expanded="true"] .menu-open {
  display: none;
}

.menu-button[aria-expanded="true"] .menu-close {
  display: block;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.78rem 1.15rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button svg {
  flex: 0 0 auto;
  transition: transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:hover svg {
  transform: translateX(2px);
}

.button-dark {
  background: var(--ink);
  color: #fff;
}

.button-dark:hover {
  background: var(--ink-soft);
}

.button-outline {
  border-color: var(--gold);
  background: transparent;
  color: var(--gold-dark);
}

.button-outline:hover {
  background: var(--gold-soft);
  color: var(--ink);
}

.button-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0) 58%),
    var(--paper);
}

.hero::before {
  position: absolute;
  top: -22rem;
  left: 28%;
  width: 50rem;
  height: 50rem;
  border: 1px solid rgba(169, 121, 34, 0.14);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  min-height: min(760px, calc(100vh - 6.75rem));
  grid-template-columns: minmax(30rem, 0.9fr) minmax(42rem, 1.1fr);
  align-items: center;
  gap: clamp(2.5rem, 4.5vw, 5rem);
  padding-block: clamp(4rem, 7vw, 6.5rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  max-width: 12.5em;
}

.hero-copy > p {
  max-width: 38rem;
  margin-top: 1.6rem;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.35vw, 1.18rem);
  line-height: 1.7;
}

.hero-copy .button-row {
  margin-top: 2rem;
}

.product-frame {
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #30312d;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 30px 70px rgba(31, 29, 23, 0.16);
}

.product-topbar {
  min-height: 3.9rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}

.product-mini-brand {
  width: 2rem;
  height: 2rem;
  color: var(--gold-soft);
}

.product-user {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid #595a55;
  border-radius: 50%;
  font-size: var(--font-label);
}

.product-body {
  display: grid;
  min-height: 34rem;
  grid-template-columns: 5.4rem 1fr;
}

.product-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem 0.55rem;
  background: #242521;
  color: #dad9d3;
}

.product-sidebar span {
  min-height: 4.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  border-radius: 4px;
  font-size: var(--font-label);
}

.product-sidebar span.active {
  background: #343530;
  color: #e5c680;
}

.product-sidebar b {
  font-weight: 550;
}

.product-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 1.15rem 1.2rem 1.3rem;
}

.matter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.matter-head > div {
  display: grid;
  gap: 0.2rem;
}

.matter-head strong {
  font-size: 1.15rem;
  line-height: 1.2;
}

.matter-head small,
.product-main small {
  color: var(--muted);
  font-size: var(--font-label);
}

.status {
  display: inline-flex;
  min-height: 1.8rem;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border: 1px solid #b8d4c6;
  border-radius: 99px;
  background: #edf7f1;
  color: var(--success);
  font-size: var(--font-label);
  font-weight: 650;
}

.status-warn {
  border-color: #e2c8aa;
  background: #fff5e8;
  color: var(--warning);
}

.product-tabs {
  display: flex;
  gap: 1.15rem;
  margin-top: 1rem;
  overflow: hidden;
  border-bottom: 1px solid #ddd8ce;
  color: var(--muted);
  font-size: var(--font-label);
  white-space: nowrap;
}

.product-tabs span {
  padding: 0.6rem 0;
}

.product-tabs span.active {
  border-bottom: 2px solid var(--gold);
  color: var(--ink);
  font-weight: 700;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.metric-row article {
  min-height: 8.4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.8rem;
  border: 1px solid #ddd8ce;
  background: #fffefa;
}

.metric-row article > strong {
  margin-top: 0.5rem;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.metric-row .gold {
  color: var(--gold-dark);
}

.metric-row a {
  margin-top: auto;
  color: var(--gold-dark);
  font-size: var(--font-label);
}

.product-lower {
  flex: 1;
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.product-lower article {
  min-height: 9rem;
  padding: 0.85rem;
  border: 1px solid #ddd8ce;
}

.chronology p {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.7rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid #eee9e0;
  color: var(--ink-soft);
  font-size: var(--font-label);
}

.chronology p:last-child {
  border-bottom: 0;
}

.chronology time {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: #fbf2df;
}

.review-card strong {
  font-size: 0.92rem;
  line-height: 1.35;
}

.review-card span {
  color: var(--muted);
  font-size: var(--font-label);
}

.product-frame-compact {
  max-width: 72rem;
  margin-inline: auto;
}

.proof-strip {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.proof-row {
  min-height: 6rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.proof-row span {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding-inline: 1.25rem;
  border-right: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.proof-row span:last-child {
  border-right: 0;
}

.proof-row svg {
  color: var(--gold-dark);
  font-size: 1.2rem;
}

.section {
  padding-block: var(--section-space);
}

.section-rule {
  border-top: 1px solid var(--line);
}

.section-label {
  margin-bottom: 1rem;
  color: var(--gold-dark);
  font-size: var(--font-label);
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-heading {
  max-width: 50rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
  align-items: end;
  gap: 3rem;
}

.split-heading > p {
  max-width: 39rem;
  padding-bottom: 0.3rem;
  font-size: 1.05rem;
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line-dark);
}

.offer {
  min-height: 34rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(2rem, 4vw, 3.75rem);
  background: var(--surface);
}

.offer + .offer {
  border-left: 1px solid var(--line-dark);
}

.offer > span {
  color: var(--gold-dark);
  font-size: var(--font-label);
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.offer > .offer-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.offer-label svg {
  width: 1.4rem;
  height: 1.4rem;
  stroke-width: 1.65;
}

.offer h3 {
  max-width: 17em;
  margin-top: 4rem;
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
}

.offer > p {
  max-width: 35rem;
  margin-top: 1.4rem;
}

.offer ul {
  display: grid;
  gap: 0.6rem;
  margin: 1.8rem 0 2.5rem;
  color: var(--ink-soft);
  list-style: none;
}

.offer li::before {
  margin-right: 0.7rem;
  color: var(--gold);
  content: "—";
}

.offer .button {
  margin-top: auto;
}

.offer-dark {
  background: var(--ink);
  color: #fff;
}

.offer-dark h3,
.offer-dark p,
.offer-dark li {
  color: #fff;
}

.offer-dark p,
.offer-dark li {
  color: #c9c8c2;
}

.offer-dark .button-outline {
  border-color: #cfb572;
  color: #f0d99f;
}

.offer-dark > .offer-label {
  color: #e2c880;
}

.offer-dark .button-outline:hover {
  color: var(--ink);
}

.section-ink {
  background: var(--ink);
  color: #fff;
}

.section-ink h2,
.section-ink h3 {
  color: #fff;
}

.section-ink p {
  color: #c9c8c2;
}

.section-ink .section-label {
  color: #d5b86f;
}

.source-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(34rem, 1.2fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.source-grid > div:first-child > p:not(.section-label) {
  margin-top: 1.4rem;
  font-size: 1.05rem;
}

.source-grid .button {
  margin-top: 2rem;
}

.source-sheet {
  padding: clamp(1.2rem, 3vw, 2.25rem);
  border: 1px solid #565750;
  background: #f8f5ed;
  color: var(--ink);
}

.source-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.source-head span {
  color: var(--gold-dark);
  font-size: var(--font-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.source-sheet article {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 0.35rem 1.5rem;
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--line);
}

.source-sheet article:last-child {
  border-bottom: 0;
}

.source-sheet article small {
  grid-row: 1 / 3;
  color: var(--muted);
  font-size: var(--font-label);
  text-transform: uppercase;
}

.source-sheet article span {
  color: var(--muted);
  font-size: 0.85rem;
}

.founder-band {
  background: var(--paper-deep);
}

.founder-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(16rem, 0.38fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.founder-monogram {
  display: grid;
  width: 8.5rem;
  height: 8.5rem;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-soft);
  font-size: 2.1rem;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.founder-logo {
  width: 6rem;
  height: 6rem;
}

.founder-monogram-large .founder-logo {
  width: 8rem;
  height: 8rem;
}

.founder-grid > div:nth-child(2) > p:not(.section-label) {
  max-width: 45rem;
  margin-top: 1.2rem;
  color: var(--ink-soft);
}

.founder-grid aside,
.founder-profile aside {
  display: grid;
  gap: 0.5rem;
  padding: 1.5rem;
  border-left: 2px solid var(--gold);
}

.founder-grid aside p {
  font-size: 0.92rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  color: var(--gold-dark);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(20rem, 0.8fr) minmax(34rem, 1.2fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.faq-list {
  border-top: 1px solid var(--line-dark);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 1.5rem 3rem 1.5rem 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 650;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 1.45rem;
  right: 0.4rem;
  color: var(--gold-dark);
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 44rem;
  padding: 0 3rem 1.6rem 0;
}

.cta-band {
  padding-block: clamp(3.75rem, 7vw, 6rem);
  background: var(--gold-soft);
  border-top: 1px solid #d2ba84;
}

.cta-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
}

.cta-inner h2 {
  max-width: 18em;
}

.inner-hero {
  padding-block: clamp(4.5rem, 9vw, 8rem);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.inner-hero-grid {
  display: grid;
  grid-template-columns: minmax(24rem, 1fr) minmax(22rem, 0.78fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.inner-hero h1 {
  max-width: 13.5em;
}

.inner-hero-grid > div:last-child > p {
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.inner-hero .button-row {
  margin-top: 2rem;
}

.process-list {
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 2rem;
  padding-block: 2.2rem;
  border-bottom: 1px solid var(--line);
}

.process-list li > span {
  color: var(--gold-dark);
  font-size: var(--font-label);
  font-weight: 750;
  letter-spacing: 0.12em;
}

.process-list li > .process-icon {
  display: grid;
  width: 2.85rem;
  height: 2.85rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
}

.process-icon svg {
  width: 1.4rem;
  height: 1.4rem;
  stroke-width: 1.65;
}

.process-list li > div {
  display: grid;
  grid-template-columns: minmax(14rem, 0.55fr) minmax(20rem, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
}

.process-list p {
  max-width: 46rem;
}

.split-content {
  display: grid;
  grid-template-columns: minmax(22rem, 0.85fr) minmax(26rem, 1fr);
  gap: clamp(3rem, 9vw, 9rem);
}

.split-content > div:last-child > p {
  font-size: 1.05rem;
}

.split-content .button {
  margin-top: 2rem;
}

.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 1.5rem;
  margin-top: 1.8rem;
  color: #dddcd7;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.check-list svg {
  color: #d5b86f;
}

.service-intro {
  display: grid;
  grid-template-columns: minmax(24rem, 1fr) minmax(20rem, 0.75fr);
  align-items: end;
  gap: 5rem;
}

.service-intro > p {
  padding-bottom: 0.4rem;
  font-size: 1.05rem;
}

.practice-copy {
  display: grid;
  gap: 1.1rem;
  padding-bottom: 0.4rem;
}

.practice-copy p {
  font-size: 1.05rem;
}

.practice-copy strong {
  color: var(--ink-soft);
  font-weight: 650;
}

.section-gold {
  background: var(--gold-soft);
  border-top: 1px solid #d0b77f;
}

.tour-section {
  padding-block: clamp(3rem, 6vw, 5rem) var(--section-space);
}

.tour-shell {
  min-width: 0;
}

.tour-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.tour-tabs button {
  min-height: 3rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.tour-tabs button[aria-selected="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.tour-panel {
  min-height: 34rem;
}

.tour-panel[hidden] {
  display: none;
}

.tour-table {
  border: 1px solid var(--line-dark);
  background: var(--surface);
}

.tour-table header,
.tour-table p {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 0.45fr 0.6fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
}

.tour-table header {
  background: var(--ink);
  color: #fff;
  font-size: var(--font-label);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tour-table p {
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.tour-table p:last-child {
  border-bottom: 0;
}

.tour-table p > span:first-child {
  font-weight: 650;
}

.tour-timeline {
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.tour-timeline li {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 2rem;
  padding: 2rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.tour-timeline time {
  color: var(--gold-dark);
  font-weight: 700;
}

.tour-timeline div {
  display: grid;
  gap: 0.25rem;
}

.tour-timeline span {
  color: var(--muted);
}

.missing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-dark);
}

.missing-grid article {
  min-height: 19rem;
  padding: 2rem;
  border-right: 1px solid var(--line);
  background: var(--surface);
}

.missing-grid article:last-child {
  border-right: 0;
}

.missing-grid article > span {
  color: var(--gold-dark);
  font-size: var(--font-label);
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.missing-grid h2 {
  margin-top: 5rem;
  font-size: 1.55rem;
}

.missing-grid p {
  margin-top: 0.8rem;
}

.founder-profile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(15rem, 0.36fr);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.founder-monogram-large {
  width: 12rem;
  height: 12rem;
  font-size: 2.8rem;
}

.founder-profile > div:nth-child(2) > p:not(.section-label) {
  max-width: 48rem;
  margin-top: 1.2rem;
  color: var(--ink-soft);
}

.founder-profile aside strong:not(:first-child) {
  margin-top: 0.8rem;
}

.founder-profile aside span {
  color: var(--muted);
  font-size: 0.92rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-dark);
}

.values-grid article {
  min-height: 20rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-right: 1px solid var(--line);
}

.values-grid article:last-child {
  border-right: 0;
}

.values-grid article > span {
  color: var(--gold-dark);
  font-size: var(--font-label);
  font-weight: 750;
}

.values-grid article > .value-icon,
.contact-aside article > .contact-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
}

.value-icon svg,
.contact-icon svg {
  width: 1.4rem;
  height: 1.4rem;
  stroke-width: 1.65;
}

.values-grid h3 {
  margin-top: 4.5rem;
}

.values-grid p {
  margin-top: 0.8rem;
}

.status-sections {
  display: grid;
  gap: clamp(4.5rem, 8vw, 7.5rem);
}

.status-title {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.status-dot {
  width: 0.85rem;
  height: 0.85rem;
  margin-top: 0.2rem;
  border-radius: 50%;
  background: var(--muted);
}

.status-dot.available {
  background: var(--success);
}

.status-dot.setup {
  background: var(--gold);
}

.status-dot.planned {
  background: #777872;
}

.integration-list {
  border-top: 1px solid var(--line-dark);
}

.integration-list article {
  display: grid;
  grid-template-columns: minmax(15rem, 0.55fr) minmax(20rem, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: 1.6rem;
  border-bottom: 1px solid var(--line);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-dark);
}

.security-grid article {
  min-height: 32rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-right: 1px solid var(--line);
}

.security-grid article:last-child {
  border-right: 0;
}

.security-icon {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  margin-bottom: 4.5rem;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  color: var(--gold-dark);
}

.security-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.security-grid h2 {
  font-size: 1.55rem;
}

.security-grid ul {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
  color: var(--muted);
  list-style: none;
}

.security-grid li {
  position: relative;
  padding-left: 1.2rem;
}

.security-grid li::before {
  position: absolute;
  left: 0;
  color: var(--gold);
  content: "—";
}

.contact-section {
  background: var(--paper-deep);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(19rem, 0.6fr) minmax(32rem, 1fr);
  align-items: start;
  gap: clamp(3rem, 8vw, 8rem);
}

.contact-aside {
  display: grid;
  gap: 1rem;
}

.contact-aside > article,
.response-note {
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.contact-aside article > span {
  color: var(--gold-dark);
  font-size: var(--font-label);
  font-weight: 750;
}

.contact-aside h2 {
  margin-top: 1.4rem;
  font-size: 1.35rem;
}

.contact-aside article p {
  margin-top: 0.7rem;
  font-size: 0.92rem;
}

.response-note {
  display: grid;
  gap: 0.55rem;
  border-color: var(--gold);
  background: var(--ink);
  color: #fff;
}

.response-note p,
.response-note span {
  color: #c9c8c2;
}

.response-note a {
  color: #e7cd8e;
  font-weight: 650;
}

.contact-form {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.5rem, 4vw, 3.25rem);
  border: 1px solid var(--line-dark);
  background: var(--surface);
}

.form-heading {
  margin-bottom: 0.7rem;
}

.form-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.form-heading > p:last-child {
  margin-top: 0.7rem;
  font-size: 0.9rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form label,
.contact-form legend {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 650;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #aaa397;
  border-radius: 3px;
  background: #fffefa;
  color: var(--ink);
  line-height: 1.45;
}

.contact-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold-dark);
  outline: 3px solid rgba(169, 121, 34, 0.18);
  outline-offset: 0;
}

.contact-form fieldset {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
}

.contact-form legend {
  padding-inline: 0.35rem;
}

.contact-form .consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.7rem;
  font-weight: 500;
  line-height: 1.5;
}

.contact-form .consent input {
  width: 1.15rem;
  min-height: 1.15rem;
  margin-top: 0.2rem;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
}

.submit-button {
  width: fit-content;
  min-width: 12rem;
  cursor: pointer;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.form-status {
  min-height: 1.5rem;
  font-size: 0.92rem;
}

.form-status.success {
  color: var(--success);
  font-weight: 650;
}

.form-status.error {
  color: var(--danger);
  font-weight: 650;
}

.legal-copy {
  max-width: 50rem;
}

.legal-copy h2 {
  margin-top: 3.5rem;
  font-size: 1.8rem;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy p {
  margin-top: 1rem;
}

.legal-copy a {
  color: var(--gold-dark);
  font-weight: 650;
}

.not-found {
  min-height: 65vh;
}

.not-found .shell {
  display: grid;
  justify-items: start;
  gap: 1.3rem;
}

.not-found h1 {
  max-width: 15em;
}

.not-found p:not(.section-label) {
  max-width: 44rem;
  font-size: 1.05rem;
}

.site-footer {
  padding-top: clamp(4rem, 7vw, 6.5rem);
  background: #11120f;
  color: #fff;
}

.site-footer .brand {
  color: #fff;
}

.site-footer .brand-copy small {
  color: #92938e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(9rem, 0.55fr));
  gap: clamp(2rem, 5vw, 5rem);
  padding-bottom: 4rem;
}

.footer-summary {
  max-width: 28rem;
  margin-top: 1.5rem;
  color: #aeadab;
  font-size: 0.92rem;
}

.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.footer-grid h2 {
  margin-bottom: 0.6rem;
  color: #d4b467;
  font-size: var(--font-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-grid a,
.footer-grid span {
  color: #cfcec8;
  font-size: 0.88rem;
  text-decoration: none;
}

.footer-grid a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.footer-bottom {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid #343530;
  color: #92938e;
  font-size: var(--font-label);
}

.footer-bottom a {
  color: #cfcec8;
}

@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: auto auto 1fr;
  }

  .menu-button {
    display: grid;
    grid-column: 3;
    justify-self: end;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 1rem var(--gutter) 1.5rem;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .primary-nav.is-open {
    display: grid;
  }

  .primary-nav a {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line);
  }

  .header-cta {
    grid-row: 1;
    grid-column: 2;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 50rem;
  }

  .product-frame {
    width: 100%;
  }

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

  .source-grid > div:first-child {
    max-width: 48rem;
  }

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

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

@media (max-width: 820px) {
  :root {
    --section-space: 4.5rem;
  }

  h1 {
    font-size: clamp(2.45rem, 10vw, 3rem);
    line-height: 1.07;
  }

  h2 {
    font-size: clamp(1.9rem, 8vw, 2.35rem);
  }

  .header-inner {
    min-height: 5.5rem;
  }

  .brand-symbol {
    width: 2.75rem;
    height: 2.75rem;
    flex-basis: 2.75rem;
  }

  .site-header .brand-symbol {
    width: 3.25rem;
    height: 3.25rem;
    flex-basis: 3.25rem;
  }

  .site-header .brand-copy strong {
    font-size: 1rem;
  }

  .site-header .brand-copy small {
    font-size: 0.42rem;
  }

  .brand-copy strong {
    font-size: 0.9375rem;
  }

  .brand-copy small {
    font-size: 0.4rem;
  }

  .header-cta {
    display: none;
  }

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

  .menu-button {
    grid-column: 2;
  }

  .hero-grid {
    gap: 3rem;
    padding-block: 3.5rem 4rem;
  }

  .hero-copy > p {
    font-size: 1.05rem;
  }

  .product-body {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .product-sidebar {
    flex-direction: row;
    overflow-x: auto;
  }

  .product-sidebar span {
    min-width: 5rem;
    min-height: 3.8rem;
  }

  .product-tabs span:nth-child(n + 4) {
    display: none;
  }

  .metric-row {
    grid-template-columns: 1fr 1fr;
  }

  .metric-row article:last-child {
    grid-column: 1 / -1;
  }

  .product-lower {
    grid-template-columns: 1fr;
  }

  .proof-row {
    grid-template-columns: 1fr;
    padding-block: 0.75rem;
  }

  .proof-row span {
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-row span:last-child {
    border-bottom: 0;
  }

  .split-heading,
  .inner-hero-grid,
  .split-content,
  .service-intro,
  .faq-layout,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .offer-grid,
  .values-grid,
  .security-grid,
  .missing-grid {
    grid-template-columns: 1fr;
  }

  .offer + .offer,
  .values-grid article,
  .security-grid article,
  .missing-grid article {
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .offer:last-child,
  .values-grid article:last-child,
  .security-grid article:last-child,
  .missing-grid article:last-child {
    border-bottom: 0;
  }

  .offer {
    min-height: 30rem;
  }

  .offer h3 {
    margin-top: 3rem;
  }

  .founder-grid,
  .founder-profile {
    grid-template-columns: 1fr;
  }

  .founder-grid aside,
  .founder-profile aside {
    max-width: 32rem;
  }

  .process-list li {
    grid-template-columns: 3rem 1fr;
    gap: 1rem;
  }

  .process-list li > div {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .integration-list article {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .tour-table {
    min-width: 44rem;
  }

  .tour-panel {
    overflow-x: auto;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 1.4rem;
  }
}

@media (max-width: 540px) {
  .button-row,
  .button-row .button {
    width: 100%;
  }

  .product-topbar {
    grid-template-columns: auto 1fr;
  }

  .product-user {
    display: none;
  }

  .matter-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .metric-row article:last-child {
    grid-column: auto;
  }

  .product-main {
    padding: 0.9rem;
  }

  .source-sheet article {
    grid-template-columns: 1fr;
  }

  .source-sheet article small {
    grid-row: auto;
  }

  .founder-monogram {
    width: 7rem;
    height: 7rem;
  }

  .founder-monogram-large {
    width: 9rem;
    height: 9rem;
  }

  .founder-logo {
    width: 4.5rem;
    height: 4.5rem;
  }

  .founder-monogram-large .founder-logo {
    width: 6rem;
    height: 6rem;
  }

  .check-list,
  .field-row {
    grid-template-columns: 1fr;
  }

  .tour-timeline li {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1.25rem;
  }

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

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

@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;
  }
}
