.vault-warning {
  border: 1px solid rgba(242, 102, 85, 0.5);
  background: rgba(242, 102, 85, 0.08);
  padding: 18px;
  margin-bottom: 22px;
}
.vault-warning strong {
  color: #ffab9e;
}
.vault-warning p {
  color: #d8e0e5;
  line-height: 1.55;
  margin-bottom: 0;
}
.tool-panel textarea.phrase {
  min-height: 90px;
}
.key-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.button.inverse {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.45);
}
.button.danger {
  background: transparent;
  color: #ffab9e;
  border-color: rgba(242, 102, 85, 0.6);
}
.button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.vault-status {
  font: 12px/1.5 DM Mono;
  color: #bcebea;
}
.tool-panel textarea.operation {
  min-height: 220px;
}
.operation-help {
  color: #aab7c2;
  font: 12px/1.6 DM Mono;
}
.subtool {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 24px;
  padding-top: 20px;
}
.subtool h4 {
  font: 600 18px Newsreader;
}
.subtool .button {
  margin-top: 14px;
}
.onboarding {
  max-width: 820px;
}
.wizard-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 24px 0;
}
.wizard-step > b {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal);
  font: 600 13px DM Mono;
}
.wizard-step h4 {
  font: 600 21px Newsreader;
  margin: 4px 0;
}
.wizard-step p {
  color: #aab7c2;
  line-height: 1.55;
}
.wizard-step textarea,
.wizard-step label {
  margin-top: 14px;
}
.wizard-step small {
  display: block;
  margin-top: 8px;
  color: #ffab9e;
  font: 12px DM Mono;
}
.wizard-step small.valid {
  color: #bcebea;
}
.check {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: start;
}
.check input {
  width: auto;
}
.kind-options {
  display: flex;
  gap: 8px;
  margin: 14px 0;
}
.kind-options button {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #aab7c2;
  cursor: pointer;
}
.kind-options button.active {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}
:root {
  --ink: #0b2035;
  --muted: #586979;
  --paper: #f3efe5;
  --cream: #fffaf0;
  --teal: #0e9b9b;
  --coral: #f26655;
  --line: rgba(11, 32, 53, 0.16);
  font-family: Manrope, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 0;
  background:
    radial-gradient(
      circle at 85% 8%,
      rgba(14, 155, 155, 0.14),
      transparent 26rem
    ),
    var(--paper);
}
a {
  color: inherit;
}
.site-header {
  height: 82px;
  padding: 0 max(5vw, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 600 22px Newsreader;
}
.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.brand i {
  font-style: normal;
  color: var(--teal);
}
.site-header nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
}
.site-header nav a {
  text-decoration: none;
}
.hero {
  min-height: 660px;
  padding: 90px max(7vw, 28px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.75fr);
  gap: 8vw;
  align-items: center;
}
.eyebrow {
  font: 500 12px DM Mono;
  letter-spacing: 0.16em;
  color: var(--teal);
}
h1,
h2 {
  font-family: Newsreader;
  margin: 0.2em 0;
  line-height: 0.98;
}
h1 {
  font-size: clamp(58px, 7vw, 104px);
  max-width: 900px;
}
h1 span {
  display: block;
  color: var(--teal);
}
h2 {
  font-size: clamp(42px, 5vw, 70px);
}
.lede {
  font-size: 19px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 680px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 34px;
}
.button {
  display: inline-flex;
  border: 1px solid var(--ink);
  padding: 13px 19px;
  text-decoration: none;
  font: 600 13px Manrope;
  cursor: pointer;
  min-height: 44px;
  align-items: center;
}
.primary {
  background: var(--ink);
  color: white;
}
.ghost {
  background: transparent;
}
.evidence-card {
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: 18px 18px 0 rgba(11, 32, 53, 0.08);
  padding: 26px;
  transform: rotate(1.2deg);
}
.card-top,
.card-result {
  display: flex;
  justify-content: space-between;
  font: 11px DM Mono;
}
.card-top i {
  color: var(--teal);
}
.claim {
  border-block: 1px solid var(--line);
  margin: 22px 0;
  padding: 22px 0;
}
.claim small,
.claim p {
  font-family: DM Mono;
}
.claim p {
  font-size: 18px;
}
.path {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.path div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.path b {
  display: grid;
  place-items: center;
  background: var(--ink);
  color: white;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font: 10px DM Mono;
}
.path span {
  font-weight: 700;
  font-size: 12px;
}
.path small {
  display: block;
  color: var(--muted);
  font-weight: 400;
}
.path em {
  height: 1px;
  flex: 1;
  background: var(--coral);
  margin: 0 8px;
}
.card-result {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.card-result span {
  color: var(--teal);
  font-weight: 700;
}
.experiment {
  margin: 0 max(5vw, 24px);
  padding: 18px 24px;
  background: var(--ink);
  color: white;
  display: flex;
  gap: 25px;
  align-items: center;
  font-size: 13px;
}
.experiment strong {
  color: #ffd4c9;
  white-space: nowrap;
}
.explanation,
.workbench {
  padding: 110px max(7vw, 28px);
}
.explanation > h2 {
  max-width: 800px;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 55px;
  border: 1px solid var(--line);
}
.principles article {
  background: var(--paper);
  padding: 35px;
}
.principles article > span {
  font: 12px DM Mono;
  color: var(--coral);
}
.principles h3 {
  font: 600 23px Newsreader;
}
.principles p {
  color: var(--muted);
  line-height: 1.6;
}
.workbench {
  background: var(--ink);
  color: white;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
}
.section-heading > p {
  max-width: 440px;
  color: #aab7c2;
  line-height: 1.6;
}
.tool-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  margin-top: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  min-height: 460px;
}
.tool-nav {
  padding: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}
.tool-nav button {
  display: block;
  width: 100%;
  padding: 15px;
  background: none;
  border: 0;
  color: #aab7c2;
  text-align: left;
  font: 500 13px DM Mono;
  cursor: pointer;
  min-height: 44px;
}
.tool-nav button.active {
  background: var(--teal);
  color: white;
}
.tool-panel {
  padding: 35px;
  max-width: 960px;
}
.tool-intro {
  margin-bottom: 28px;
}
.tool-intro h3 {
  font: 600 28px Newsreader;
  margin: 0;
}
.tool-intro p {
  color: #aab7c2;
}
.tool-panel label {
  display: grid;
  gap: 8px;
  font: 12px DM Mono;
}
.tool-panel textarea,
.tool-panel input {
  width: 100%;
  background: #071728;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 14px;
  font: 13px DM Mono;
  min-width: 0;
}
.tool-panel textarea {
  min-height: 160px;
  resize: vertical;
}
.tool-panel pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #071728;
  padding: 18px;
  color: #bcebea;
  min-height: 90px;
  font: 12px/1.6 DM Mono;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
.coming-soon {
  border-left: 3px solid var(--coral);
  background: #071728;
  padding: 25px;
}
.coming-soon span {
  font: 11px DM Mono;
  color: var(--coral);
}
footer {
  padding: 28px max(5vw, 24px);
  display: flex;
  justify-content: space-between;
  font: 11px DM Mono;
  color: var(--muted);
}
@media (max-width: 850px) {
  .site-header nav a:not(:last-child) {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 60px;
  }
  .evidence-card {
    transform: none;
  }
  .principles {
    grid-template-columns: 1fr;
  }
  .section-heading {
    display: block;
  }
  .tool-layout {
    grid-template-columns: 1fr;
  }
  .tool-nav {
    display: flex;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    overflow: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }
  .tool-nav button {
    white-space: nowrap;
    flex: 0 0 auto;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .experiment {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }
  footer {
    gap: 20px;
    flex-direction: column;
  }
}
@media (max-width: 520px) {
  .site-header {
    height: 68px;
    padding-inline: 16px;
  }
  .brand {
    font-size: 19px;
  }
  .brand img {
    width: 38px;
    height: 38px;
  }
  .site-header nav {
    gap: 0;
  }
  .site-header nav a:last-child {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  h1 {
    font-size: clamp(43px, 14vw, 52px);
  }
  .hero {
    min-height: auto;
    padding-inline: 20px;
    padding-block: 48px 64px;
    gap: 54px;
  }
  .lede {
    font-size: 17px;
    line-height: 1.55;
  }
  .evidence-card {
    padding: 20px;
    box-shadow: 10px 10px 0 rgba(11, 32, 53, 0.08);
  }
  .experiment {
    margin-inline: 16px;
    padding: 16px;
  }
  .explanation,
  .workbench {
    padding: 72px 16px;
  }
  h2 {
    font-size: clamp(38px, 12vw, 48px);
  }
  .principles {
    margin-top: 36px;
  }
  .principles article {
    padding: 26px 22px;
  }
  .tool-layout {
    margin-top: 32px;
    width: 100%;
    min-width: 0;
  }
  .tool-nav {
    padding: 10px;
    scroll-snap-type: inline proximity;
  }
  .tool-nav button {
    padding: 12px 14px;
    scroll-snap-align: start;
  }
  .path span {
    display: none;
  }
  .hero-actions {
    flex-direction: column;
  }
  .button {
    justify-content: center;
  }
  .tool-panel {
    padding: 22px 16px;
    min-width: 0;
    overflow: hidden;
  }
  .tool-intro h3 {
    font-size: 25px;
  }
  .tool-panel pre {
    padding: 14px;
    max-width: 100%;
    overflow-x: auto;
  }
  .tool-panel textarea,
  .tool-panel input {
    font-size: 16px;
  }
  .wizard-step {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding-block: 20px;
  }
  .wizard-step > b {
    width: 32px;
    height: 32px;
  }
  .wizard-step h4 {
    font-size: 19px;
  }
  .kind-options {
    display: grid;
    grid-template-columns: 1fr;
  }
  .kind-options button {
    min-height: 44px;
    text-align: left;
  }
  .check {
    gap: 10px;
  }
  .check input {
    min-width: 20px;
    width: 20px;
    height: 20px;
  }
  footer {
    padding-inline: 16px;
  }
}
