:root {
  --paper: #f5f0e6;
  --paper-light: #fbf8f1;
  --paper-deep: #ece6d9;
  --ink: #1e1e1b;
  --muted: #5e5b53;
  --line: #d2cab9;
  --line-dark: #aaa185;
  --olive: #66652c;
  --olive-dark: #4d4d22;
  --charcoal: #1b1d19;
  --cream: #fffdf6;
  --focus: #8d4b21;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: Georgia, Cambria, "Times New Roman", Times, serif;
  --max-width: 1440px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  background: var(--paper);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 20% 20%, rgba(83, 75, 52, 0.055) 0 0.7px, transparent 0.8px),
    radial-gradient(circle at 80% 60%, rgba(83, 75, 52, 0.04) 0 0.6px, transparent 0.7px);
  background-size: 17px 19px, 23px 29px;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--cream);
  background: var(--charcoal);
  transform: translateY(-160%);
  transition: transform 140ms ease;
}

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

.tour-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  gap: 26px;
  width: min(calc(100% - 54px), var(--max-width));
  min-height: 78px;
  margin: 0 auto;
  background: rgba(236, 231, 218, 0.98);
}

.tour-header::before {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: -1;
  height: 78px;
  border-bottom: 2px solid var(--olive-dark);
  background: rgba(236, 231, 218, 0.98);
  box-shadow: 0 5px 18px rgba(51, 46, 35, 0.08);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--ink);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  right: -8px;
  left: -8px;
  height: 1px;
  background: var(--ink);
  box-shadow: 0 8px 0 var(--ink), 0 -8px 0 var(--ink);
}

.brand-mark::before { top: 14px; }
.brand-mark::after { bottom: 14px; }

.brand-mark span {
  position: relative;
  z-index: 1;
  padding: 0 4px;
  background: var(--paper-deep);
  font-size: 21px;
  font-weight: 700;
}

.brand-copy {
  display: grid;
  gap: 4px;
  line-height: 1;
  letter-spacing: 0.13em;
}

.brand-copy strong { font-size: 15px; }
.brand-copy span { font-size: 13px; }

.tour-nav {
  display: flex;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
}

.tour-nav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  color: #2c2c27;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.tour-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: transparent;
  transform: scaleX(0.3);
  transition: background 160ms ease, transform 160ms ease;
}

.tour-nav a:hover::after,
.tour-nav a:focus-visible::after {
  background: var(--olive);
  transform: scaleX(1);
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--olive-dark);
  color: var(--cream);
  background: var(--olive-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  transition: background 160ms ease, transform 160ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: #3f401b;
  transform: translateY(-1px);
}

main { width: min(100%, var(--max-width)); margin: 0 auto; }

.tour-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, 0.78fr);
  gap: clamp(36px, 7vw, 120px);
  align-items: end;
  padding: clamp(62px, 8vw, 116px) clamp(28px, 7vw, 100px) clamp(54px, 7vw, 94px);
  border-bottom: 1px solid var(--line);
  background: var(--paper-light);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--olive-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

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

h1,
h2 {
  letter-spacing: -0.045em;
}

.tour-intro h1 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(46px, 5.4vw, 78px);
  line-height: 0.98;
  text-transform: uppercase;
}

.intro-copy {
  max-width: 710px;
  margin: 26px 0 0;
  color: #494842;
  font-size: 19px;
  line-height: 1.7;
}

.tour-intro-note {
  display: grid;
  gap: 12px;
  padding: 28px;
  border-top: 4px solid var(--olive-dark);
  background: var(--charcoal);
  color: var(--cream);
}

.tour-intro-note > span,
.tour-intro-note strong {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tour-intro-note > span { color: #dcd8b9; }
.tour-intro-note strong { font-size: 18px; line-height: 1.4; }

.tour-intro-note p {
  margin: 0;
  color: #ded9cd;
  font-size: 15px;
  line-height: 1.6;
}

.tour-tabs {
  padding: clamp(46px, 6vw, 88px) clamp(28px, 7vw, 100px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.tour-tabset {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0;
  border: 0;
}

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

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

.tour-tab-label {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 72px;
  padding: 15px 18px;
  border: 1px solid var(--line-dark);
  border-right: 0;
  color: #3a3932;
  background: var(--paper-light);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.tour-tab-label:last-of-type { border-right: 1px solid var(--line-dark); }

.tour-tab-label span {
  color: var(--olive-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.tour-tab-label:hover { background: #ebe4d2; }

.tour-tab-input:focus-visible + .tour-tab-label {
  position: relative;
  z-index: 1;
  outline: 3px solid var(--focus);
  outline-offset: -3px;
}

#tab-capture:checked ~ .tour-tab-label[for="tab-capture"],
#tab-context:checked ~ .tour-tab-label[for="tab-context"],
#tab-decision:checked ~ .tour-tab-label[for="tab-decision"],
#tab-follow-through:checked ~ .tour-tab-label[for="tab-follow-through"] {
  border-color: var(--charcoal);
  color: var(--cream);
  background: var(--charcoal);
}

#tab-capture:checked ~ .tour-tab-label[for="tab-capture"] span,
#tab-context:checked ~ .tour-tab-label[for="tab-context"] span,
#tab-decision:checked ~ .tour-tab-label[for="tab-decision"] span,
#tab-follow-through:checked ~ .tour-tab-label[for="tab-follow-through"] span { color: #d5d183; }

.tour-tab-overview {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 0.45fr);
  gap: 18px 40px;
  align-items: end;
  padding: 34px 0 28px;
}

.tour-tab-overview .eyebrow { grid-column: 1 / -1; margin: 0; }

.tour-tab-overview p {
  max-width: 610px;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.tour-tab-hint {
  max-width: 390px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.tour-tab-panels { grid-column: 1 / -1; min-width: 0; }

.tour-tab-panel {
  display: none;
  padding: clamp(30px, 4.5vw, 60px);
  border: 1px solid var(--line);
  background: var(--paper-light);
}

#tab-capture:checked ~ .tour-tab-panels .capture-panel,
#tab-context:checked ~ .tour-tab-panels .context-panel,
#tab-decision:checked ~ .tour-tab-panels .decision-panel,
#tab-follow-through:checked ~ .tour-tab-panels .follow-through-panel { display: block; }

.text-link {
  width: fit-content;
  color: var(--olive-dark);
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.slide-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 0.65fr);
  gap: 24px;
  align-items: baseline;
  margin-bottom: 28px;
}

.slide-heading > span,
.field-label,
.screen-topline,
.sample-label {
  color: var(--olive-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.slide-heading p {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.45;
}

.tour-screen {
  display: grid;
  grid-template-columns: minmax(138px, 0.2fr) minmax(0, 0.8fr);
  min-height: 418px;
  border: 1px solid var(--line-dark);
  background: #fdfbf5;
  box-shadow: 0 18px 42px rgba(53, 48, 38, 0.08);
}

.screen-sidebar {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 25px 20px;
  border-right: 1px solid #35362e;
  color: #e9e6d7;
  background: #282922;
  font-size: 13px;
}

.screen-sidebar strong {
  margin-bottom: 24px;
  color: #fffdf4;
  font-size: 13px;
  letter-spacing: 0.07em;
}

.screen-sidebar span {
  padding: 9px 10px;
  border-left: 2px solid transparent;
}

.screen-sidebar .sidebar-current {
  border-left-color: #d5d183;
  color: #fffdf4;
  background: rgba(255, 255, 255, 0.08);
}

.screen-main { min-width: 0; }

.screen-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 21px 26px;
  border-bottom: 1px solid var(--line);
}

.sample-label {
  color: #696752;
  font-size: 10px;
}

.capture-columns,
.context-grid,
.decision-board,
.follow-grid {
  display: grid;
  min-height: 346px;
}

.capture-columns { grid-template-columns: minmax(0, 0.58fr) minmax(230px, 0.42fr); }

.request-summary,
.decision-copy,
.follow-grid > div {
  align-content: center;
  padding: 36px;
}

.request-summary h2,
.profile-panel h2,
.decision-copy h2,
.follow-grid h2,
.pricing-panel h2,
.tour-close h2 {
  margin: 16px 0 0;
  color: var(--ink);
  font-size: clamp(29px, 2.7vw, 42px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.request-summary p,
.profile-panel p,
.decision-copy p,
.follow-grid p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.sample-action {
  width: fit-content;
  margin-top: 24px;
  padding: 11px 13px;
  border: 1px solid #b7b181;
  color: var(--olive-dark);
  background: #f4f1df;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.field-list {
  display: grid;
  align-content: stretch;
  margin: 0;
  border-left: 1px solid var(--line);
  background: #f5f1e8;
}

.field-list div {
  display: grid;
  gap: 4px;
  align-content: center;
  padding: 17px 24px;
  border-bottom: 1px solid var(--line);
}

.field-list div:last-child { border-bottom: 0; }

.field-list dt {
  color: #6b675d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field-list dd {
  margin: 0;
  color: #2d2e26;
  font-size: 15px;
  font-weight: 700;
}

.context-grid { grid-template-columns: minmax(0, 0.57fr) minmax(250px, 0.43fr); }

.profile-panel {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 22px;
  align-content: center;
  padding: 38px;
}

.profile-initials {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--olive-dark);
  color: var(--olive-dark);
  background: #eeead4;
  font-family: var(--serif);
  font-size: 30px;
}

.context-timeline,
.pipeline-path,
.action-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.context-timeline {
  display: grid;
  align-content: center;
  gap: 0;
  padding: 28px;
  border-left: 1px solid var(--line);
  background: #f4f1e8;
}

.context-timeline li {
  display: grid;
  gap: 5px;
  padding: 16px 0 16px 18px;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid var(--olive);
}

.context-timeline li:last-child { border-bottom: 0; }

.context-timeline span {
  color: #6b675d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.context-timeline strong {
  color: #303128;
  font-size: 15px;
  line-height: 1.4;
}

.decision-board { grid-template-columns: minmax(0, 0.55fr) minmax(250px, 0.45fr); }
.decision-copy { display: grid; }

.pipeline-path {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-left: 1px solid var(--line);
  background: #f5f1e8;
}

.pipeline-path li {
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pipeline-path li:nth-child(2n) { border-right: 0; }
.pipeline-path li:nth-last-child(-n + 2) { border-bottom: 0; }

.pipeline-path span {
  color: var(--olive-dark);
  font-size: 13px;
  font-weight: 800;
}

.pipeline-path small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.follow-grid { grid-template-columns: minmax(0, 0.56fr) minmax(240px, 0.44fr); }
.follow-grid > div { display: grid; }

.action-list {
  display: grid;
  align-content: center;
  padding: 28px;
  border-left: 1px solid var(--line);
  background: #f4f1e8;
}

.action-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.action-list li:last-child { border-bottom: 0; }

.action-list span {
  color: var(--olive-dark);
  font-size: 11px;
  font-weight: 800;
}

.action-list strong { color: #303128; font-size: 14px; line-height: 1.4; }

.slide-caption {
  max-width: 690px;
  margin: 19px 0 0;
  color: #706c61;
  font-size: 12px;
  line-height: 1.55;
}

.pricing-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(36px, 7vw, 130px);
  align-items: center;
  padding: clamp(58px, 8vw, 112px) clamp(28px, 8vw, 116px);
  color: var(--cream);
  background: var(--charcoal);
}

.pricing-panel .eyebrow { color: #d5d183; }
.pricing-panel h2 { max-width: 710px; color: var(--cream); }

.pricing-panel p:not(.eyebrow) {
  max-width: 710px;
  margin: 22px 0 0;
  color: #ded9cd;
  font-size: 17px;
  line-height: 1.7;
}

.price-stamp {
  display: grid;
  gap: 7px;
  justify-items: start;
  padding: 30px;
  border-top: 4px solid #d5d183;
  background: rgba(255, 255, 255, 0.08);
}

.price-stamp > span,
.price-stamp small {
  color: #d5d183;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.price-stamp strong {
  font-family: var(--serif);
  font-size: clamp(56px, 6vw, 86px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.tour-close {
  padding: clamp(62px, 8vw, 120px) clamp(28px, 8vw, 116px);
  background: var(--paper-light);
}

.tour-close h2 { max-width: 820px; }

.tour-close > p:not(.eyebrow) {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.68;
}

.close-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 32px;
}

.tour-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 72px), var(--max-width));
  min-height: 104px;
  margin: 0 auto;
  color: #6b685e;
  font-size: 12px;
}

.tour-footer > span:first-child {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tour-footer a:hover,
.tour-footer a:focus-visible { color: var(--olive-dark); }

@media (max-width: 1040px) {
  .tour-header { grid-template-columns: 1fr auto; }
  .tour-nav { display: none; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
  .tour-header {
    width: min(calc(100% - 28px), var(--max-width));
    min-height: 70px;
  }
  .tour-header::before { height: 70px; }
  .tour-brand { gap: 10px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-mark span { font-size: 18px; }
  .brand-copy strong { font-size: 13px; }
  .brand-copy span { font-size: 11px; }
  .header-cta { min-height: 42px; padding: 0 14px; font-size: 10px; }
  .tour-intro { grid-template-columns: 1fr; gap: 32px; }
  .tour-intro h1 { font-size: clamp(45px, 12vw, 62px); }
  .intro-copy { font-size: 18px; }
  .tour-tabs { padding: 38px 22px; }
  .tour-tabset { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tour-tab-label { min-height: 66px; padding: 13px 12px; font-size: 13px; }
  .tour-tab-label:nth-of-type(4n + 2) { border-right: 1px solid var(--line-dark); }
  .tour-tab-label:nth-of-type(n + 3) { border-top: 0; }
  .tour-tab-overview { grid-column: 1 / -1; grid-template-columns: 1fr; gap: 14px; padding: 28px 0 24px; }
  .tour-tab-overview .eyebrow { grid-column: auto; }
  .tour-tab-hint { font-size: 15px; }
  .tour-tab-panels { grid-column: 1 / -1; }
  .tour-tab-panel { padding: 28px 22px; }
  .slide-heading { grid-template-columns: 1fr; gap: 11px; }
  .tour-screen,
  .capture-columns,
  .context-grid,
  .decision-board,
  .follow-grid { grid-template-columns: 1fr; }
  .tour-screen { min-height: 0; }
  .screen-sidebar {
    grid-template-columns: auto repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 6px;
    padding: 15px;
    border-right: 0;
    border-bottom: 1px solid #35362e;
    font-size: 10px;
  }
  .screen-sidebar strong { margin: 0 7px 0 0; font-size: 10px; }
  .screen-sidebar span { padding: 7px 5px; text-align: center; }
  .screen-topline { padding: 16px 18px; }
  .request-summary,
  .decision-copy,
  .follow-grid > div,
  .profile-panel { padding: 28px 22px; }
  .field-list,
  .context-timeline,
  .pipeline-path,
  .action-list { border-top: 1px solid var(--line); border-left: 0; }
  .profile-panel { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; }
  .profile-initials { width: 48px; height: 48px; font-size: 23px; }
  .pipeline-path { grid-template-columns: 1fr; }
  .pipeline-path li,
  .pipeline-path li:nth-child(2n),
  .pipeline-path li:nth-last-child(-n + 2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .pipeline-path li:last-child { border-bottom: 0; }
  .pricing-panel { grid-template-columns: 1fr; gap: 36px; }
  .tour-footer { width: min(calc(100% - 36px), var(--max-width)); align-items: flex-start; padding: 28px 0; }
}

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