:root {
  color-scheme: light;
  --ink: #101b18;
  --ink-soft: #31413c;
  --paper: #f1efe7;
  --paper-bright: #fbfaf5;
  --line: #c9c9bd;
  --mint: #b7f5cf;
  --green: #1d684d;
  --signal: #a43d22;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(16, 27, 24, 0.06) 50%, transparent calc(50% + 0.5px)),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

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

.site-header,
footer {
  width: min(100% - 3rem, 1280px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  min-height: 84px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.wordmark-mark {
  width: 18px;
  height: 18px;
  border: 5px solid var(--ink);
  border-top-color: var(--signal);
  border-radius: 50%;
  transform: rotate(35deg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.research-label,
.eyebrow,
.panel-id,
.article-index {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.research-label {
  color: var(--green);
}

.text-link {
  font-size: 0.88rem;
  font-weight: 700;
  text-underline-offset: 4px;
}

main,
footer {
  width: min(100% - 3rem, 1280px);
  margin-inline: auto;
}

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(460px, 0.96fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
  padding: 7rem 0 8rem;
}

.eyebrow {
  margin: 0 0 1.4rem;
  color: var(--green);
}

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

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1 {
  max-width: 780px;
  font-size: clamp(4rem, 7.3vw, 7.6rem);
}

h1 em {
  color: var(--green);
  font-weight: 400;
}

h2 {
  font-size: clamp(2.8rem, 5vw, 5.6rem);
}

.hero-intro {
  max-width: 640px;
  margin: 2rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.2rem;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

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

.button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
}

.button-primary {
  background: var(--ink);
  color: var(--paper-bright);
}

.button-primary:hover {
  background: var(--green);
}

.button-secondary {
  background: transparent;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.6rem;
  margin: 2.1rem 0 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
  list-style: none;
}

.trust-list li::before {
  content: "◆";
  margin-right: 0.55rem;
  color: var(--signal);
  font-size: 0.62rem;
}

.operation-panel {
  position: relative;
  padding: 1.5rem;
  background: var(--paper-bright);
  border: 1px solid var(--ink);
  box-shadow: 18px 18px 0 var(--mint);
}

.operation-panel::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(16, 27, 24, 0.08);
  pointer-events: none;
}

.panel-topline,
.approval-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-status {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.panel-status span {
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 0.45rem;
  background: var(--green);
  border-radius: 50%;
}

.panel-id {
  color: #707a74;
}

blockquote {
  position: relative;
  margin: 2.2rem 0 1.6rem;
  padding: 1.5rem;
  background: var(--ink);
  color: var(--paper-bright);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: 1.18;
}

.plan-steps {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-steps li {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.step-number,
.step-state {
  font-family: var(--mono);
  font-size: 0.66rem;
  text-transform: uppercase;
}

.step-number {
  color: var(--green);
}

.step-state {
  padding: 0.25rem 0.45rem;
  background: #e1ede4;
  color: var(--green);
}

.plan-steps strong,
.plan-steps small {
  display: block;
}

.plan-steps strong {
  font-size: 0.88rem;
}

.plan-steps small {
  margin-top: 0.2rem;
  color: #64706b;
  font-size: 0.72rem;
}

.approval-bar {
  margin-top: 0.7rem;
  padding: 1rem;
  background: var(--mint);
}

.approval-bar span,
.approval-bar small {
  display: block;
}

.approval-bar span {
  font-size: 0.82rem;
  font-weight: 750;
}

.approval-bar small {
  margin-top: 0.1rem;
  font-size: 0.68rem;
}

.approval-button {
  font-family: var(--mono);
}

.problem-section,
.method-section,
.not-section,
.early-access {
  border-top: 1px solid var(--line);
}

.problem-section {
  padding: 8rem 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 5rem;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.problem-grid article {
  min-height: 280px;
  padding: 1.5rem;
  border-right: 1px solid var(--line);
}

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

.article-index {
  color: var(--signal);
}

.problem-grid h3 {
  max-width: 260px;
  margin: 4.5rem 0 1rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.05;
}

.problem-grid p {
  max-width: 330px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.method-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(3rem, 8vw, 8rem);
  padding: 8rem 0;
}

.method-copy > p:not(.eyebrow) {
  max-width: 500px;
  margin: 2rem 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.method-flow {
  border-top: 1px solid var(--ink);
}

.method-flow > div {
  display: grid;
  grid-template-columns: 40px 150px 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.method-flow span {
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.method-flow strong {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
}

.method-flow small {
  color: var(--ink-soft);
}

.boundary-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-inline: calc(50% - 50vw);
}

.boundary-card {
  min-height: 620px;
  padding: clamp(3rem, 7vw, 8rem) max(3rem, calc((100vw - 1280px) / 2));
}

.boundary-card-dark {
  padding-right: clamp(3rem, 7vw, 8rem);
  background: var(--ink);
  color: var(--paper-bright);
}

.boundary-card-dark .eyebrow {
  color: var(--mint);
}

.boundary-card-dark p:last-child {
  max-width: 480px;
  margin: 2rem 0 0;
  color: #b6c1bc;
  font-size: 1.05rem;
}

.boundary-card-light {
  display: flex;
  align-items: center;
  padding-left: clamp(3rem, 7vw, 8rem);
  background: var(--mint);
}

.boundary-card-light ul {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.boundary-card-light li {
  padding: 1.3rem 0;
  border-bottom: 1px solid rgba(16, 27, 24, 0.3);
}

.boundary-card-light li span,
.boundary-card-light li strong {
  display: block;
}

.boundary-card-light li span {
  margin-bottom: 0.4rem;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.boundary-card-light li strong {
  max-width: 560px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.2;
}

.not-section {
  padding: 8rem 0;
  text-align: center;
}

.not-lines {
  max-width: 850px;
  margin: 4rem auto 0;
  border-top: 1px solid var(--ink);
}

.not-lines p {
  margin: 0;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.not-lines span {
  display: inline-block;
  margin-right: 0.8rem;
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.not-conclusion {
  max-width: 580px;
  margin: 2rem auto 0;
  color: var(--ink-soft);
}

.early-access {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(3rem, 8vw, 8rem);
  padding: 8rem 0;
}

.access-copy > p:not(.eyebrow) {
  max-width: 500px;
  color: var(--ink-soft);
}

.access-copy .research-note {
  margin-top: 2rem;
  padding-left: 1rem;
  border-left: 3px solid var(--signal);
  font-size: 0.8rem;
}

.access-form {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--paper-bright);
  border: 1px solid var(--ink);
}

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

.access-form label,
.access-form legend {
  font-size: 0.78rem;
  font-weight: 750;
}

.access-form input,
.access-form select,
.access-form textarea {
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.8rem;
  background: white;
  border: 1px solid #68736d;
  border-radius: 0;
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
}

.access-form textarea {
  resize: vertical;
}

.access-form fieldset {
  margin: 1.3rem 0;
  padding: 0;
  border: 0;
}

.field-help,
.field-error {
  margin: 0.4rem 0 0;
  font-size: 0.72rem;
}

.field-help {
  color: var(--ink-soft);
}

.field-error {
  min-height: 1.1rem;
  color: var(--signal);
  font-weight: 700;
}

.system-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.system-options label {
  cursor: pointer;
}

.system-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.system-options span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.7rem;
  background: white;
  border: 1px solid #68736d;
  font-size: 0.75rem;
  font-weight: 650;
}

.system-options input:checked + span {
  background: var(--mint);
  border-color: var(--green);
  color: var(--green);
}

.system-options input:focus-visible + span {
  outline: 3px solid var(--signal);
  outline-offset: 2px;
}

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1.2rem;
  font-weight: 500 !important;
}

.consent-field input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0.15rem 0 0;
}

.website-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-footer p {
  max-width: 260px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.68rem;
}

.form-status {
  min-height: 1.4rem;
  margin: 1rem 0 0;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 700;
}

.form-status.error {
  color: #a03622;
}

footer {
  min-height: 130px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.75rem;
}

footer > div {
  display: flex;
  gap: 1rem;
}

.privacy-main {
  max-width: 780px;
  min-height: calc(100vh - 214px);
  padding: 7rem 0;
}

.privacy-main h1 {
  margin-bottom: 2rem;
  font-size: clamp(3.5rem, 7vw, 6rem);
}

.privacy-main h2 {
  margin: 3rem 0 1rem;
  font-family: var(--serif);
  font-size: 2rem;
}

.privacy-main p,
.privacy-main li {
  color: var(--ink-soft);
}

@media (max-width: 1000px) {
  .hero,
  .method-section,
  .early-access {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 5rem;
  }

  .operation-panel {
    width: min(100% - 18px, 680px);
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .boundary-section {
    grid-template-columns: 1fr;
  }

  .boundary-card {
    min-height: auto;
    padding: 5rem max(1.5rem, calc((100vw - 1280px) / 2));
  }
}

@media (max-width: 720px) {
  body {
    background: var(--paper);
  }

  .site-header,
  main,
  footer {
    width: min(100% - 2rem, 1280px);
  }

  .header-actions {
    gap: 0.7rem;
  }

  .research-label,
  .text-link {
    font-size: 0.64rem;
  }

  .hero {
    min-height: auto;
    padding: 4.5rem 0 6rem;
  }

  h1 {
    font-size: clamp(3.4rem, 16vw, 5rem);
  }

  .operation-panel {
    padding: 1rem;
    box-shadow: 10px 10px 0 var(--mint);
  }

  .plan-steps li {
    grid-template-columns: 26px 1fr;
  }

  .step-state {
    display: none;
  }

  .approval-bar {
    align-items: flex-start;
    gap: 1rem;
  }

  .problem-section,
  .method-section,
  .not-section,
  .early-access {
    padding: 5.5rem 0;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    margin-top: 3rem;
  }

  .problem-grid article {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .problem-grid article:last-child {
    border-bottom: 0;
  }

  .problem-grid h3 {
    margin-top: 2.5rem;
  }

  .method-flow > div {
    grid-template-columns: 34px 1fr;
  }

  .method-flow small {
    grid-column: 2;
  }

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

  .form-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem 0;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
