@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/newsreader-light.ttf") format("truetype");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/ibm-plex-mono-regular.ttf") format("truetype");
}

:root {
  --ground: #f2efe8;
  --ground-deep: #e8e4db;
  --edge: #d6d1c7;
  --ink: #191714;
  --ink-soft: rgba(25, 23, 20, 0.66);
  --ink-faint: rgba(25, 23, 20, 0.62);
  --ink-ghost: rgba(25, 23, 20, 0.19);
  --hairline: rgba(25, 23, 20, 0.12);
  --inverse: #f4f1ea;
  --inverse-soft: rgba(244, 241, 234, 0.68);
  --inverse-faint: rgba(244, 241, 234, 0.58);
  --inverse-line: rgba(244, 241, 234, 0.18);
  --serif: "Newsreader", Iowan Old Style, Baskerville, Georgia, serif;
  --mono: "IBM Plex Mono", SFMono-Regular, Consolas, monospace;
  --page-pad: clamp(24px, 5vw, 72px);
  --section-pad: clamp(88px, 11vw, 170px);
  --content-max: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--edge);
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: var(--edge);
  color: var(--ink);
  font-family: var(--mono);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

::selection {
  background: var(--ink);
  color: var(--ground);
}

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

a:hover {
  opacity: 1;
}

nav a:hover,
.footer-links a:hover,
.variant-footer-links a:hover,
.route-card a:hover,
.boundary-copy a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  min-height: 44px;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--inverse);
  font-size: 11px;
  transform: translateY(calc(-100% - 24px));
}

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

h1,
h2,
h3,
p,
blockquote {
  text-wrap: pretty;
}

h1,
h2,
h3,
blockquote {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
}

p {
  margin: 0;
}

.site-shell {
  width: min(100%, var(--content-max));
  min-height: 100svh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--ground);
}

.site-header {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid var(--hairline);
}

.identity {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 36px);
  color: var(--ink-faint);
  font-size: 11px;
}

nav a,
.footer-links a,
.variant-footer-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.nav-action {
  color: var(--ink);
}

.signin-action {
  color: var(--ink-faint);
}

.nav-action::after {
  content: " ↗";
  color: var(--ink-faint);
}

.eyebrow,
.section-label,
.route-label {
  color: var(--ink-faint);
  font-size: 11px;
  letter-spacing: 0.02em;
  line-height: 1.7;
}

.section-label {
  margin-bottom: 28px;
}

.primary-action,
.text-action,
.closing-action,
.variant-action {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif);
  transition: opacity 160ms ease;
}

.primary-action {
  min-height: 54px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ink);
  font-size: clamp(25px, 2.4vw, 32px);
}

.primary-action span,
.text-action span,
.closing-action span,
.variant-action span {
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 10px;
}

.action-note {
  max-width: 390px;
  color: var(--ink-faint);
  font-size: 11px;
  line-height: 1.75;
}

/* Canonical homepage */

.home-hero {
  display: grid;
  min-height: calc(100svh - 76px);
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  border-bottom: 1px solid var(--hairline);
}

.home-hero-copy {
  display: flex;
  min-height: 720px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(80px, 10vw, 150px) clamp(36px, 6.5vw, 92px);
}

.home-hero h1 {
  max-width: 8ch;
  margin-top: 30px;
  font-size: clamp(61px, 7.6vw, 104px);
  letter-spacing: -0.035em;
  line-height: 0.91;
}

.hero-deck {
  max-width: 510px;
  margin-top: 38px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.95;
}

.action-group {
  display: flex;
  margin-top: 44px;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.product-window {
  position: relative;
  display: grid;
  min-height: 720px;
  grid-template-rows: auto 1fr auto auto;
  padding: 32px clamp(34px, 5vw, 72px) 30px;
  border-left: 1px solid var(--hairline);
  background: var(--ground-deep);
}

.product-window-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink-faint);
  font-size: 10px;
}

.product-conversation {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 68px 0;
}

.product-conversation p {
  margin: 0;
}

.counterpart-message {
  max-width: 560px;
  font-family: var(--serif);
  font-size: clamp(31px, 3.8vw, 50px);
  letter-spacing: -0.02em;
  line-height: 1.23;
}

.self-message {
  max-width: 490px;
  margin: 30px 0 46px !important;
  font-size: 13px;
  line-height: 1.9;
}

.present {
  opacity: 1;
}

.previous {
  opacity: 0.72;
}

.distant {
  opacity: 0.62;
}

.product-composer {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  color: var(--ink-faint);
  font-size: 11px;
}

.composer-arrow {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--hairline);
  color: var(--ink);
}

.demo-note {
  margin-top: 18px;
  color: var(--ink-faint);
  font-size: 10px;
  line-height: 1.65;
}

.principle-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(480px, 1.28fr);
  gap: clamp(70px, 9vw, 150px);
  padding: var(--section-pad) var(--page-pad);
  border-bottom: 1px solid var(--hairline);
}

.section-intro h2,
.free-section h2,
.boundary-section h2 {
  font-size: clamp(43px, 5.3vw, 72px);
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.principle-list {
  align-self: end;
  margin: 0;
  padding: 0;
  list-style: none;
}

.principle-list li {
  padding: 28px 0 32px;
  border-top: 1px solid var(--hairline);
}

.principle-list li:last-child {
  border-bottom: 1px solid var(--hairline);
}

.principle-list h3 {
  font-size: 27px;
  line-height: 1.25;
}

.principle-list p {
  max-width: 540px;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.9;
}

.free-section,
.boundary-section {
  padding: var(--section-pad) var(--page-pad);
  border-bottom: 1px solid var(--hairline);
}

.free-layout,
.boundary-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(70px, 10vw, 160px);
}

.free-copy,
.boundary-copy {
  align-self: end;
}

.free-copy p,
.boundary-copy p {
  max-width: 500px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.95;
}

.text-action {
  margin-top: 30px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--hairline);
  font-size: 23px;
}

.boundary-section {
  background: var(--ink);
  color: var(--inverse);
}

.boundary-section .section-label {
  color: var(--inverse-faint);
}

.boundary-copy p {
  color: var(--inverse-soft);
}

.boundary-copy a {
  display: inline-block;
  margin-top: 26px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--inverse-line);
  color: var(--inverse);
  font-family: var(--serif);
  font-size: 22px;
}

.closing-section {
  display: flex;
  min-height: 72svh;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: var(--section-pad) var(--page-pad);
  border-bottom: 1px solid var(--hairline);
}

.closing-section h2 {
  max-width: 17ch;
  font-size: clamp(48px, 7vw, 94px);
  letter-spacing: -0.032em;
  line-height: 1.02;
}

.closing-action {
  margin-top: 42px;
  font-size: 31px;
}

/* Shared focused landing pages */

.variant-shell {
  min-height: 100svh;
}

.variant-hero {
  min-height: calc(100svh - 76px);
  padding: clamp(64px, 8vw, 112px) var(--page-pad);
}

.variant-copy h1 {
  letter-spacing: -0.032em;
  line-height: 0.98;
}

.variant-deck {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.95;
}

.variant-action {
  margin-top: 34px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: clamp(26px, 2.7vw, 34px);
}

.variant-proof {
  color: var(--ink-faint);
  font-size: 11px;
  line-height: 1.75;
}

.variant-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 34px var(--page-pad);
  border-top: 1px solid var(--hairline);
  color: var(--ink-faint);
  font-size: 11px;
  line-height: 1.7;
}

.variant-footer p {
  max-width: 620px;
}

.variant-footer-links {
  display: flex;
  gap: 22px;
  flex: 0 0 auto;
}

/* Opening-question route */

.question-hero {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 46px;
}

.question-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.question-stage h1 {
  max-width: 17ch;
  font-size: clamp(57px, 8.5vw, 116px);
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.question-stage .variant-deck {
  max-width: 580px;
  margin-top: 34px;
}

.question-stage .action-note {
  margin-top: 18px;
}

.question-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
}

.question-bottom p {
  max-width: 520px;
}

/* Product-demonstration route */

.conversation-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(500px, 1.28fr);
  gap: clamp(64px, 8vw, 128px);
  align-items: center;
}

.conversation-hero .variant-copy h1 {
  max-width: 8ch;
  margin-top: 30px;
  font-size: clamp(57px, 6.8vw, 91px);
}

.conversation-hero .variant-deck {
  max-width: 420px;
  margin-top: 34px;
}

.conversation-hero .variant-proof {
  max-width: 390px;
  margin-top: 20px;
}

.demo-frame {
  display: grid;
  min-height: 630px;
  grid-template-rows: auto 1fr auto auto;
  padding: 28px clamp(30px, 4vw, 54px);
  border: 1px solid var(--hairline);
  background: var(--ground-deep);
}

.demo-frame .product-conversation {
  padding-top: 58px;
  padding-bottom: 58px;
}

/* Spiritual-context route */

.page-questions,
.page-questions .site-shell {
  background: var(--ink);
  color: var(--inverse);
}

.page-questions {
  --hairline: rgba(244, 241, 234, 0.16);
}

.page-questions .site-header,
.page-questions .variant-footer {
  border-color: var(--inverse-line);
}

.page-questions nav,
.page-questions .route-label,
.page-questions .variant-proof,
.page-questions .action-note {
  color: var(--inverse-faint);
}

.page-questions .nav-action,
.page-questions .variant-action {
  color: var(--inverse);
}

.faith-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(70px, 10vw, 160px);
  align-items: center;
}

.faith-quote {
  max-width: 780px;
}

.faith-quote blockquote {
  margin-top: 30px;
  font-size: clamp(67px, 8.5vw, 118px);
  letter-spacing: -0.045em;
  line-height: 0.91;
}

.faith-citation {
  margin-top: 30px;
  color: var(--inverse-faint);
  font-size: 10px;
}

.faith-copy {
  align-self: end;
  padding-bottom: 4px;
}

.faith-copy h1 {
  max-width: 10ch;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.06;
}

.faith-copy .variant-deck {
  max-width: 480px;
  margin-top: 28px;
  color: var(--inverse-soft);
}

.faith-copy .variant-action {
  border-color: var(--inverse-line);
}

.page-questions .variant-footer {
  color: var(--inverse-faint);
}

/* Why route */

.why-hero {
  display: grid;
  min-height: 82svh;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(70px, 10vw, 160px);
  align-items: end;
  padding-bottom: clamp(86px, 10vw, 136px);
}

.why-hero h1 {
  max-width: 10ch;
  margin-top: 30px;
  font-size: clamp(63px, 8vw, 110px);
}

.why-side {
  padding-bottom: 8px;
}

.why-side .variant-deck + .variant-deck {
  margin-top: 22px;
}

.why-theses {
  border-top: 1px solid var(--hairline);
}

.why-thesis {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(340px, 1.32fr);
  gap: clamp(64px, 9vw, 140px);
  padding: clamp(82px, 9vw, 132px) var(--page-pad);
  border-bottom: 1px solid var(--hairline);
}

.why-thesis h2 {
  max-width: 12ch;
  font-size: clamp(39px, 4.5vw, 62px);
  letter-spacing: -0.022em;
  line-height: 1.08;
}

.why-thesis-copy {
  align-self: end;
}

.why-thesis-copy p {
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.95;
}

.why-thesis-copy p + p {
  margin-top: 20px;
}

.why-closing {
  min-height: 62svh;
}

/* Internal route comparison */

.routes-page {
  padding: clamp(64px, 8vw, 112px) var(--page-pad)
    clamp(90px, 10vw, 150px);
}

.routes-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  gap: 70px;
  align-items: end;
}

.routes-intro h1 {
  max-width: 10ch;
  margin-top: 28px;
  font-size: clamp(58px, 7vw, 94px);
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.routes-intro p:last-child {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.9;
}

.route-grid {
  display: grid;
  margin-top: 80px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
}

.route-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(30px, 4vw, 54px);
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.route-card h2 {
  margin-top: 44px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.06;
}

.route-card p {
  max-width: 520px;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.85;
}

.route-card a {
  margin-top: auto;
  padding-top: 38px;
  font-family: var(--serif);
  font-size: 22px;
}

/* Legal pages */

.paper {
  width: min(100%, var(--content-max));
  margin: 0 auto;
  overflow: hidden;
  background: var(--ground);
}

.legal-paper {
  min-height: 100svh;
}

.legal {
  max-width: 790px;
  padding: clamp(72px, 10vw, 130px) var(--page-pad)
    clamp(90px, 12vw, 160px);
}

.legal h1 {
  max-width: none;
  font-size: clamp(48px, 6vw, 76px);
  letter-spacing: -0.025em;
  line-height: 1;
}

.legal .updated {
  margin: 24px 0 62px;
  color: var(--ink-faint);
  font-size: 11px;
}

.legal h2 {
  margin: 54px 0 14px;
  font-size: 28px;
  line-height: 1.3;
}

.legal p,
.legal li {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.95;
}

.legal ul {
  padding-left: 20px;
}

.legal a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* Footer */

footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 38px;
  padding: 58px var(--page-pad);
  color: var(--ink-faint);
  font-size: 11px;
  line-height: 1.75;
}

.footer-brand p {
  max-width: 500px;
  margin-top: 18px;
}

.footer-links {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.copyright {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .home-hero,
  .principle-section,
  .free-layout,
  .boundary-section,
  .conversation-hero,
  .faith-hero,
  .why-hero,
  .why-thesis,
  .routes-intro {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: auto;
  }

  .home-hero-copy {
    min-height: min(720px, calc(100svh - 76px));
  }

  .product-window {
    min-height: 680px;
    border-top: 1px solid var(--hairline);
    border-left: 0;
  }

  .principle-section {
    gap: 74px;
  }

  .principle-list {
    align-self: auto;
  }

  .free-layout,
  .boundary-section {
    gap: 66px;
  }

  .conversation-hero,
  .faith-hero {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .conversation-hero .variant-copy h1 {
    max-width: 10ch;
  }

  .faith-hero {
    align-items: start;
  }

  .faith-copy {
    align-self: start;
    max-width: 620px;
  }

  .why-hero {
    min-height: auto;
    align-items: start;
    padding-top: 90px;
  }

  .why-side {
    max-width: 620px;
  }

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

@media (max-width: 640px) {
  :root {
    --page-pad: 25px;
    --section-pad: 92px;
  }

  .site-header {
    min-height: 66px;
  }

  nav a:not(.nav-action):not(.signin-action) {
    display: none;
  }

  .nav-action {
    font-size: 0;
  }

  .nav-action::before {
    content: "Begin";
    font-size: 11px;
  }

  .nav-action::after {
    font-size: 11px;
  }

  .home-hero-copy {
    min-height: calc(100svh - 66px);
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .home-hero h1 {
    font-size: clamp(58px, 19vw, 78px);
  }

  .hero-deck {
    margin-top: 30px;
  }

  .action-group {
    margin-top: 34px;
  }

  .primary-action {
    font-size: 25px;
  }

  .product-window {
    min-height: 620px;
    padding: 24px 25px;
  }

  .counterpart-message {
    font-size: 32px;
  }

  .self-message {
    font-size: 13px;
  }

  .principle-section {
    gap: 58px;
  }

  .principle-list h3 {
    font-size: 25px;
  }

  .free-layout,
  .boundary-section {
    gap: 48px;
  }

  .closing-section {
    min-height: 66svh;
  }

  .variant-hero {
    min-height: calc(100svh - 66px);
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .question-stage h1 {
    font-size: clamp(52px, 16vw, 76px);
  }

  .question-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .conversation-hero {
    gap: 58px;
  }

  .demo-frame {
    min-height: 590px;
    padding: 22px 24px;
  }

  .faith-quote blockquote {
    font-size: clamp(61px, 18vw, 82px);
  }

  .why-hero {
    gap: 56px;
  }

  .why-thesis {
    gap: 44px;
  }

  .routes-page {
    padding-top: 72px;
  }

  .routes-intro {
    gap: 40px;
  }

  .route-grid {
    margin-top: 58px;
  }

  .route-card {
    min-height: 300px;
  }

  .variant-footer,
  footer {
    align-items: flex-start;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .variant-footer {
    display: flex;
  }

  .variant-footer-links {
    flex-wrap: wrap;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .copyright {
    grid-column: 1;
  }
}

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

  .primary-action,
  .text-action,
  .closing-action,
  .variant-action {
    transition: none;
  }
}
