:root {
  --ink: #172d32;
  --muted: #586967;
  --paper: #f7f7f0;
  --line: #d9dfd4;
  --green: #dce8ad;
  --mint: #edf2e5;
  --amber: #986019;
  --white: #fff;
  --serif: Georgia, "Times New Roman", serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.6 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #46794b;
  outline-offset: 4px;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.045em;
}
h3 {
  font-size: 17px;
  line-height: 1.4;
}
em {
  font-weight: 400;
  color: #4a6351;
}
small {
  display: block;
  color: var(--muted);
}
.skip {
  position: absolute;
  top: -100px;
  padding: 12px;
  background: white;
  z-index: 100;
}
.skip:focus {
  top: 8px;
}
.masthead {
  height: 108px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: auto;
  padding: 0 60px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.7px;
}
.wordmark strong {
  font-weight: 600;
}
.wordmark small {
  font-size: 9px;
  letter-spacing: 2.1px;
  margin-top: 8px;
}
.mark {
  font-family: var(--serif);
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 48px;
  background: var(--ink);
  color: var(--green);
  font-size: 30px;
  letter-spacing: -3px;
  border-radius: 2px;
}
.mark span {
  position: absolute;
  font: 14px sans-serif;
  top: 3px;
  right: 4px;
}
.masthead nav {
  display: flex;
  gap: 35px;
  font-size: 13px;
  font-weight: 500;
}
.nav-login {
  border-left: 1px solid var(--line);
  padding-left: 35px;
}
.nav-login span {
  margin-left: 15px;
}
.hero {
  max-width: 1440px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.13fr 1fr;
  gap: 65px;
  padding: 82px 60px 70px;
  align-items: center;
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.65px;
  line-height: 1.7;
}
.live-dot,
.small-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5d775a;
  margin-right: 8px;
}
.hero h1 {
  font-size: clamp(45px, 4.8vw, 72px);
  margin: 27px 0;
}
.lede {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 540px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 30px 0 13px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 21px;
  min-height: 49px;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 3px;
  transition:
    background 0.18s,
    transform 0.18s;
}
.button:hover:not(:disabled) {
  transform: translateY(-1px);
}
.primary {
  background: var(--ink);
  color: #fff;
}
.primary:hover {
  background: #28474a;
}
.secondary {
  background: transparent;
  border-color: #b9c5b9;
}
.secondary:hover {
  background: #eaf0e1;
}
.micro {
  font-size: 11px;
  color: var(--muted);
}
.hero-principles {
  display: flex;
  gap: 23px;
  font-size: 10px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-top: 35px;
  color: #7b8677;
}
.hero-principles b {
  color: var(--ink);
  font-weight: 500;
  margin-left: 6px;
}
.preview {
  border: 1px solid #cbd5ca;
  background: #fff;
  border-radius: 7px;
  box-shadow: 0 22px 55px #273b2b0e;
  transform: rotate(-1deg);
  overflow: hidden;
}
.preview-top {
  padding: 15px 19px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f5f7f1;
  border-bottom: 1px solid var(--line);
  gap: 8px;
}
.tiny-brand {
  font: 20px var(--serif);
  display: flex;
  gap: 10px;
  align-items: center;
}
.tiny-brand b {
  font:
    9px -apple-system,
    sans-serif;
  letter-spacing: 1.2px;
}
.sample-label {
  font-size: 8px;
  letter-spacing: 1px;
  border: 1px solid #cbd5ca;
  padding: 3px 6px;
}
.preview-tabs {
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  font-size: 9px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.preview-tabs > * {
  padding: 14px 0;
}
.preview-tabs b {
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
}
.preview-body {
  padding: 24px;
}
.preview-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.preview-caption .eyebrow {
  font-size: 8px;
}
.status {
  font-size: 9px;
  background: var(--mint);
  padding: 4px 7px;
  border-radius: 3px;
  color: #4b674a;
}
.preview h2 {
  font-size: 29px;
  margin: 18px 0 22px;
}
.source-card,
.draft-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: white;
}
.source-card {
  background: #fafbf7;
}
.card-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 8px;
  letter-spacing: 0.9px;
  margin-bottom: 10px;
}
.card-label > span:last-child {
  margin-left: auto;
  color: #738170;
}
.source-icon {
  font-size: 18px;
}
.source-card h3,
.draft-card h3 {
  font-size: 13px;
}
.source-card p,
.draft-card p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}
.draft-card {
  margin-top: 10px;
}
.lisai-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--green);
  width: 22px;
  height: 22px;
  font: 13px var(--serif);
  border-radius: 50%;
}
.checks {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 8px;
  margin-top: 17px;
  color: #4b674a;
}
.amber {
  color: var(--amber);
}
.review-note {
  display: flex;
  gap: 11px;
  margin: 22px 0 0;
  font-size: 11px;
  align-items: center;
}
.review-note p {
  font-size: 10px;
  color: var(--muted);
}
.review-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  border: 1px solid #a6b394;
  border-radius: 50%;
}
.preview-bottom {
  background: var(--ink);
  color: #dce6d5;
  padding: 13px 20px;
  font-size: 9px;
}
.preview-bottom .small-dot {
  background: var(--green);
  height: 5px;
  width: 5px;
}
.right {
  float: right;
}
.workflow {
  max-width: 1320px;
  margin: 0 auto;
  padding: 35px 0 48px;
  border-top: 1px solid var(--line);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}
.section-heading > p:last-child {
  font-size: 12px;
  color: var(--muted);
}
.flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 0;
  margin: 30px 0 0;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.flow li {
  padding: 20px 24px;
  position: relative;
  border-right: 1px solid var(--line);
}
.flow li:last-child {
  border: 0;
}
.flow li:not(:last-child):after {
  content: "→";
  position: absolute;
  right: -8px;
  top: 45px;
  z-index: 1;
  background: var(--paper);
  font-size: 16px;
}
.flow span {
  font-size: 8px;
  letter-spacing: 1.1px;
  color: var(--muted);
}
.flow strong {
  display: block;
  font-size: 15px;
  margin: 7px 0 4px;
  font-weight: 600;
}
.flow small {
  font-size: 11px;
}
.flow .human {
  background: var(--green);
}
.principles {
  padding: 65px 60px;
  max-width: 1440px;
  margin: auto;
  background: #edf0e6;
  border-top: 1px solid var(--line);
}
.principles h2 {
  font-size: 42px;
  margin-top: 20px;
}
.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-top: 43px;
}
.principle-grid article > span {
  font: italic 23px var(--serif);
  color: #758665;
}
.principle-grid h3 {
  margin: 14px 0 12px;
}
.principle-grid p {
  font-size: 13px;
  color: var(--muted);
}
.closing {
  max-width: 1440px;
  margin: auto;
  padding: 65px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}
.closing h2 {
  font-size: 35px;
  margin-top: 12px;
}
.site-footer {
  max-width: 1440px;
  padding: 26px 60px 36px;
  border-top: 1px solid var(--line);
  margin: auto;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
}
.site-footer > div {
  display: flex;
  gap: 22px;
}
.footer-brand {
  color: var(--ink);
  font-weight: 600;
}
.footer-brand span {
  padding: 0 8px;
}
.auth-layout {
  max-width: 1200px;
  min-height: 740px;
  margin: auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 100px;
  align-items: center;
}
.auth-intro h1 {
  font-size: 62px;
  margin: 22px 0;
}
.auth-intro .lede {
  font-size: 16px;
}
.access-steps {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
}
.access-steps li {
  display: flex;
  gap: 18px;
  margin: 24px 0;
}
.access-steps li > span {
  font: italic 22px var(--serif);
  color: #7c8a6c;
}
.access-steps h3 {
  font-size: 14px;
}
.access-steps p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.auth-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 37px;
  box-shadow: 0 20px 70px #172d3208;
}
.mark.large {
  width: 54px;
  height: 56px;
  margin-bottom: 26px;
}
.auth-card > .eyebrow {
  font-size: 8px;
}
.auth-card h2 {
  font-size: 40px;
  margin: 15px 0;
}
.auth-card > p {
  font-size: 13px;
  color: var(--muted);
}
.linkedin {
  background: #0a66c2;
  color: white;
  width: 100%;
  margin-top: 26px;
}
.full {
  width: 100%;
}
.notice {
  border-left: 3px solid #a1ad69;
  background: #f3f5e9;
  padding: 14px 16px;
  font-size: 12px !important;
  margin: 18px 0 !important;
  color: var(--ink) !important;
}
.auth-divider {
  text-align: center;
  position: relative;
  margin: 28px 0 18px;
  font-size: 8px;
  letter-spacing: 1.3px;
  color: var(--muted);
}
.privacy-note {
  font-size: 10px !important;
  line-height: 1.8;
  margin-top: 25px;
}
.message-wrap {
  max-width: 850px;
  padding: 75px 30px;
  min-height: 650px;
  margin: auto;
}
.wide h1 {
  font-size: 43px;
  margin: 18px 0 24px;
}
.wide form {
  margin: 18px 0;
}
.wide > .actions form {
  margin: 0;
}
.wide > a {
  display: inline-block;
  margin-top: 20px;
  font-size: 12px;
}
.demo-main {
  max-width: 1440px;
  padding: 30px 60px 55px;
  margin: auto;
}
.demo-banner {
  background: #e8edda;
  border: 1px solid #d4dcc5;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
}
.demo-banner b {
  letter-spacing: 1px;
  font-size: 9px;
  margin-right: 7px;
}
.text-button {
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
}
.demo-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 33px 0 27px;
  gap: 25px;
}
.demo-heading h1 {
  font-size: 43px;
  margin-top: 10px;
}
.demo-heading > p {
  font-size: 11px;
  color: var(--muted);
}
.demo-shell {
  display: grid;
  grid-template-columns: 205px 1fr;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  background: white;
  min-height: 540px;
}
.demo-sidebar {
  padding: 25px 22px;
  border-right: 1px solid var(--line);
  background: #f0f3e9;
  display: flex;
  flex-direction: column;
}
.demo-sidebar .tiny-brand {
  font-size: 22px;
  display: block;
}
.demo-sidebar .tiny-brand b {
  display: block;
  font-size: 8px;
  margin-top: 8px;
}
.tenant-label {
  font-size: 18px;
  font-weight: 500;
  border-top: 1px solid var(--line);
  margin-top: 26px;
  padding-top: 20px;
}
.tenant-label small {
  font-size: 10px;
  margin-top: 3px;
}
.demo-person {
  display: flex;
  gap: 9px;
  font-size: 10px;
  align-items: center;
  margin-top: 30px;
}
.demo-person small {
  font-size: 9px;
}
.avatar {
  display: inline-flex;
  border-radius: 50%;
  background: #dbe5cc;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
  font-size: 10px;
}
.sidebar-note {
  font: 23px/1.45 var(--serif);
  letter-spacing: -0.5px;
  margin-top: 50px;
}
.demo-sidebar > a {
  font-size: 10px;
  margin-top: auto;
  padding-top: 40px;
}
.demo-workspace {
  min-width: 0;
}
.desk-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  padding: 0 26px;
  gap: 24px;
  overflow-x: auto;
}
.desk-tabs button {
  white-space: nowrap;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 20px 0;
  font-size: 11px;
  color: var(--muted);
}
.desk-tabs .active {
  border-bottom-color: var(--ink);
  font-weight: 600;
  color: var(--ink);
}
.guide {
  display: flex;
  gap: 14px;
  background: #f9faf5;
  padding: 18px 27px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.guide > span {
  font: italic 27px var(--serif);
  color: #71805d;
}
.guide strong {
  font-size: 12px;
}
.guide p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
#demo-content {
  padding: 25px 27px;
}
.demo-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 25px;
}
.demo-grid h2 {
  font-size: 29px;
  margin: 12px 0 20px;
}
.demo-grid h3 {
  font-size: 15px;
}
.demo-grid p {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0;
}
.sample-source {
  background: #f7f8f1;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 22px;
}
.sample-source .source-body {
  font: 15px/1.8 var(--serif);
  color: var(--ink);
}
.demo-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.demo-panel h3 {
  margin-bottom: 13px;
}
.demo-panel ul {
  font-size: 12px;
  line-height: 2;
  color: var(--muted);
  padding-left: 17px;
}
.demo-panel .button {
  margin-top: 20px;
  width: 100%;
  gap: 10px;
}
.demo-footnote {
  font-size: 10px;
  color: var(--muted);
  margin-top: 15px;
}
.editor-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.7px;
  margin: 15px 0 7px;
}
.demo-input,
.demo-textarea {
  width: 100%;
  border: 1px solid #bac8b8;
  border-radius: 3px;
  background: #fff;
  padding: 12px;
  color: var(--ink);
}
.demo-input {
  font-family: var(--serif);
  font-size: 20px;
}
.demo-textarea {
  font-size: 13px;
  line-height: 1.8;
  resize: vertical;
  min-height: 172px;
}
.review-check {
  display: flex;
  gap: 10px;
  align-items: start;
  font-size: 12px;
  line-height: 1.7;
  margin: 15px 0;
}
.review-check input {
  margin-top: 4px;
  accent-color: #355b43;
  min-width: 17px;
  min-height: 17px;
}
.demo-alert {
  font-size: 11px;
  color: var(--amber);
  margin: 10px 0;
}
.check-table {
  width: 100%;
  font-size: 11px;
  border-collapse: collapse;
}
.check-table td {
  border-bottom: 1px solid var(--line);
  padding: 7px 3px;
}
.check-table td:first-child {
  font-weight: 600;
  width: 45px;
}
.big-check {
  font-size: 30px;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  background: var(--green);
  border-radius: 50%;
  margin-bottom: 20px;
}
.pipeline-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.admin-main {
  max-width: 1250px;
  margin: auto;
  padding: 55px 35px;
}
.admin-main h1 {
  font-size: 48px;
  margin: 15px 0;
}
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.admin-grid section {
  border: 1px solid var(--line);
  padding: 25px;
  background: white;
  min-width: 0;
  overflow-wrap: anywhere;
}
.admin-grid h2 {
  font-size: 28px;
  margin: 10px 0 20px;
}
.admin-grid p {
  font-size: 12px;
  margin: 14px 0;
}
.admin-grid details {
  border-top: 1px solid var(--line);
  padding: 10px 0;
}
.admin-grid pre {
  white-space: pre-wrap;
  font-size: 11px;
}
.admin-pipeline {
  grid-column: 1/-1;
}
summary {
  cursor: pointer;
  font-size: 12px;
}
.entrance-bar {
  position: relative;
  background: #dce8ad;
  padding: 8px 20px;
  text-align: right;
  font: 12px sans-serif;
}
@media (min-width: 1441px) {
  .hero {
    padding-top: 95px;
    padding-bottom: 95px;
  }
}
@media (max-width: 1300px) {
  .workflow {
    margin: 0 40px;
  }
  .hero {
    gap: 35px;
    padding-left: 40px;
    padding-right: 40px;
  }
  .hero .actions {
    gap: 9px;
  }
  .hero .button {
    padding: 11px 14px;
    font-size: 11px;
    gap: 10px;
  }
  .hero-principles {
    gap: 13px;
  }
  .masthead {
    padding: 0 40px;
  }
  .flow li {
    padding: 18px;
  }
  .flow strong {
    font-size: 13px;
  }
  .preview-body {
    padding: 20px;
  }
}
@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    max-width: 780px;
    padding-top: 55px;
    gap: 40px;
  }
  .hero h1 {
    font-size: 66px;
  }
  .hero-copy {
    max-width: 650px;
  }
  .hero .button {
    padding: 13px 22px;
    font-size: 12px;
  }
  .preview {
    transform: none;
    max-width: 590px;
  }
  .principle-grid {
    gap: 30px;
  }
  .auth-layout {
    gap: 45px;
    padding: 65px 35px;
  }
  .auth-intro h1 {
    font-size: 48px;
  }
  .auth-card {
    padding: 27px;
  }
  .site-footer {
    flex-wrap: wrap;
  }
  .demo-main {
    padding: 25px;
  }
  .demo-shell {
    grid-template-columns: 155px 1fr;
  }
  .demo-sidebar {
    padding: 23px 17px;
  }
  .demo-grid {
    gap: 15px;
  }
  .desk-tabs {
    gap: 20px;
    padding: 0 20px;
  }
  .demo-heading > p {
    max-width: 250px;
  }
  .demo-grid {
    grid-template-columns: 1fr;
  }
  .sidebar-note {
    font-size: 20px;
  }
  .flow {
    grid-template-columns: 1fr;
  }
  .flow li {
    display: grid;
    grid-template-columns: 130px 1fr 1fr;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .flow li:not(:last-child):after {
    content: "↓";
    top: auto;
    bottom: -13px;
    right: 30px;
  }
  .flow strong {
    margin: 0;
  }
  .section-heading {
    align-items: start;
  }
  .workflow .section-heading {
    flex-direction: column;
    gap: 8px;
  }
}
@media (max-width: 620px) {
  .masthead {
    height: 85px;
    padding: 0 22px;
  }
  .wordmark {
    font-size: 17px;
    gap: 10px;
  }
  .mark {
    width: 38px;
    height: 42px;
    font-size: 27px;
  }
  .wordmark small {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  .about-link {
    display: none;
  }
  .nav-login {
    padding-left: 15px;
    border: 0;
    font-size: 12px;
  }
  .nav-login span {
    margin-left: 5px;
  }
  .hero {
    padding: 40px 22px 42px;
    gap: 35px;
  }
  .hero .eyebrow {
    font-size: 8px;
    max-width: 290px;
    letter-spacing: 1.2px;
  }
  .hero h1 {
    font-size: 46px;
    line-height: 1.1;
    margin: 21px 0;
  }
  .hero .lede {
    font-size: 15px;
    line-height: 1.7;
  }
  .hero .actions {
    flex-direction: column;
    margin-top: 23px;
    gap: 10px;
  }
  .hero .button {
    width: 100%;
    min-height: 49px;
    font-size: 12px;
    justify-content: space-between;
  }
  .hero .micro {
    font-size: 10px;
  }
  .hero-principles {
    gap: 12px;
    margin-top: 24px;
    padding-top: 19px;
    font-size: 8px;
    justify-content: space-between;
  }
  .hero-principles b {
    display: block;
    margin: 5px 0 0;
    font-size: 9px;
  }
  .preview-body {
    padding: 18px;
  }
  .preview-caption {
    gap: 7px;
  }
  .preview-caption .eyebrow {
    font-size: 7px;
  }
  .status {
    font-size: 8px;
  }
  .preview h2 {
    font-size: 27px;
  }
  .preview-tabs {
    padding: 0 15px;
    font-size: 8px;
  }
  .preview-top {
    padding: 13px 15px;
  }
  .preview-bottom {
    font-size: 8px;
    padding: 12px 15px;
  }
  .checks {
    font-size: 7px;
    gap: 8px;
  }
  .workflow {
    margin: 0 22px;
    padding: 28px 0 35px;
  }
  .flow {
    margin-top: 22px;
  }
  .flow li {
    padding: 18px 15px;
    grid-template-columns: 1fr 1.65fr;
    gap: 5px 10px;
  }
  .flow small {
    grid-column: 2;
    font-size: 10px;
  }
  .flow span {
    font-size: 7px;
  }
  .flow strong {
    font-size: 13px;
  }
  .flow li:not(:last-child):after {
    right: 17px;
  }
  .principles {
    padding: 39px 22px;
  }
  .principles .eyebrow {
    font-size: 8px;
  }
  .principles h2 {
    font-size: 33px;
  }
  .principle-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
  }
  .principle-grid article {
    border-top: 1px solid var(--line);
    padding-top: 18px;
  }
  .principle-grid h3 {
    margin-top: 6px;
    font-size: 16px;
  }
  .principle-grid p {
    font-size: 13px;
  }
  .closing {
    padding: 37px 22px;
    flex-direction: column;
    align-items: start;
    gap: 25px;
  }
  .closing h2 {
    font-size: 31px;
  }
  .closing .button {
    width: 100%;
    justify-content: space-between;
  }
  .site-footer {
    padding: 25px 22px;
    display: block;
  }
  .site-footer p {
    margin: 12px 0;
  }
  .site-footer > div {
    margin-top: 18px;
    justify-content: space-between;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    padding: 36px 22px;
    gap: 30px;
  }
  .auth-intro h1 {
    font-size: 46px;
  }
  .auth-intro .lede {
    font-size: 14px;
  }
  .access-steps {
    margin-top: 23px;
  }
  .access-steps li {
    margin: 16px 0;
  }
  .auth-card {
    padding: 26px;
  }
  .auth-card h2 {
    font-size: 37px;
  }
  .demo-main {
    padding: 20px 16px 30px;
  }
  .demo-banner {
    padding: 11px 12px;
    align-items: start;
    font-size: 9px;
    gap: 10px;
  }
  .demo-banner b {
    display: block;
    font-size: 8px;
  }
  .demo-banner .text-button {
    font-size: 9px;
    white-space: nowrap;
    margin-top: 3px;
  }
  .demo-heading {
    display: block;
    margin: 25px 0 20px;
  }
  .demo-heading h1 {
    font-size: 35px;
  }
  .demo-heading .eyebrow {
    font-size: 8px;
  }
  .demo-heading > p {
    margin-top: 15px;
    font-size: 10px;
    max-width: none;
  }
  .demo-shell {
    grid-template-columns: 1fr;
  }
  .demo-sidebar {
    display: none;
  }
  .desk-tabs {
    padding: 0 14px;
    gap: 19px;
  }
  .desk-tabs button {
    font-size: 10px;
    padding: 16px 0;
  }
  .guide {
    padding: 15px;
    gap: 12px;
  }
  .guide strong {
    font-size: 11px;
  }
  .guide p {
    font-size: 10px;
  }
  #demo-content {
    padding: 16px;
  }
  .sample-source,
  .demo-panel {
    padding: 17px;
  }
  .demo-grid h2 {
    font-size: 27px;
  }
  .demo-input {
    font-size: 17px;
  }
  .demo-footnote {
    font-size: 9px;
  }
  .admin-main {
    padding: 35px 20px;
  }
  .admin-main h1 {
    font-size: 38px;
  }
  .admin-grid {
    grid-template-columns: 1fr;
  }
  .admin-main .section-heading {
    display: block;
  }
  .message-wrap {
    padding: 35px 20px;
  }
  .wide h1 {
    font-size: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button {
    transition: none;
  }
}

@media (max-width: 620px) {
  .auth-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .auth-card {
    order: -1;
  }
  .demo-input {
    resize: vertical;
    line-height: 1.45;
  }
}
