:root {
  color-scheme: light;
  --ink: #172722;
  --muted: #66756e;
  --paper: #f4f6f2;
  --white: #ffffff;
  --forest: #173b35;
  --forest-deep: #102e29;
  --acid: #d0f36b;
  --coral: #ed7054;
  --blue: #5877d7;
  --line: #d9e0d9;
  --mono: "DM Mono", "Cascadia Mono", monospace;
  --sans: "Outfit", "Segoe UI Variable", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: relative;
  z-index: 2;
  background: var(--paper);
  border-bottom: 1px solid rgba(23, 39, 34, 0.1);
}

.header-inner,
.site-footer {
  width: min(1220px, calc(100% - 64px));
  margin: 0 auto;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.brand-mark img {
  width: 18px;
  height: 18px;
}

.site-nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav a,
.footer-links a {
  color: #53645c;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-nav a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--coral);
}

.nav-admin {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 12px;
  padding: 0 15px;
  border: 1px solid #bdc8bf;
  border-radius: 4px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.nav-admin:hover {
  border-color: var(--ink);
  background: #e9eee7;
}

.hero {
  overflow: hidden;
  color: var(--white);
  background-color: var(--forest);
  background-image:
    linear-gradient(rgba(244, 246, 242, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 246, 242, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
}

.hero-inner {
  width: min(1220px, calc(100% - 64px));
  margin: 0 auto;
  padding: 64px 0 52px;
}

.hero-copy {
  max-width: 800px;
  animation: enter-up 550ms ease both;
}

.eyebrow {
  margin: 0;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1.6;
  text-transform: uppercase;
}

.eyebrow-mark {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--coral);
  vertical-align: 1px;
}

.hero h1 {
  margin: 20px 0 16px;
  font-size: 68px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.99;
}

.hero h1 span {
  color: var(--acid);
}

.hero-lede {
  max-width: 590px;
  margin: 0;
  color: #d3dfd8;
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-acid {
  color: var(--forest-deep);
  background: var(--acid);
}

.button-acid:hover {
  background: #dcff79;
}

.button-quiet {
  color: var(--white);
  border-color: rgba(244, 246, 242, 0.35);
  background: transparent;
}

.button-quiet:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 27px;
  color: #afc3b9;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-facts span::before {
  content: "+";
  margin-right: 7px;
  color: var(--acid);
}

.demo-wrap {
  margin-top: 44px;
  animation: enter-up 650ms 120ms ease both;
}

.demo-caption,
.demo-footnote {
  display: flex;
  justify-content: space-between;
  color: #b7c9c0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.demo-caption {
  margin: 0 0 9px;
}

.caption-slash {
  color: var(--coral);
}

.session-window {
  overflow: hidden;
  border: 1px solid rgba(231, 240, 234, 0.32);
  border-radius: 5px;
  color: var(--ink);
  background: #f5f7f3;
  box-shadow: 0 18px 50px rgba(5, 26, 21, 0.22);
}

.window-bar {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 19px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.window-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
}

.window-mark {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: var(--acid);
  background: var(--forest);
  font-family: var(--mono);
  font-size: 11px;
}

.window-divider {
  color: #9aa89f;
  font-family: var(--mono);
  font-weight: 400;
}

.recording-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #3e6552;
  font-family: var(--mono);
  font-size: 10px;
}

.recording-state span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #55a775;
  box-shadow: 0 0 0 3px #e1f0e5;
}

.session-summary {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.55fr 1.15fr;
  gap: 22px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.session-summary > div {
  display: grid;
  gap: 4px;
}

.field-label {
  color: #78857d;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.5px;
}

.session-summary strong {
  overflow: hidden;
  color: #253a31;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.session-summary .change-count {
  color: #527c35;
}

.change-table-head,
.change-row {
  display: grid;
  grid-template-columns: 1.05fr 2fr 0.75fr;
  align-items: center;
  gap: 18px;
  padding: 0 20px;
}

.change-table-head {
  min-height: 34px;
  color: #7c8981;
  border-bottom: 1px solid var(--line);
  background: #eef2ec;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.5px;
}

.change-row {
  min-height: 43px;
  border-bottom: 1px solid #e3e8e2;
  font-size: 12px;
}

.resource-type {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #526158;
  font-size: 11px;
  font-weight: 500;
}

.resource-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 2px;
}

.dot-file {
  background: var(--blue);
}

.dot-registry {
  background: var(--coral);
}

.dot-service {
  background: #7c9e50;
}

.resource-name {
  overflow: hidden;
  color: #31443a;
  font-family: var(--mono);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.change-status {
  justify-self: start;
  padding: 3px 7px;
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 9px;
}

.status-modified {
  color: #35589f;
  background: #e3e9f9;
}

.status-added {
  color: #3e6d37;
  background: #e5efdc;
}

.status-manual {
  color: #96513a;
  background: #fae6dd;
}

.session-timeline {
  display: flex;
  min-height: 75px;
  align-items: center;
  padding: 12px 20px;
  background: #fff;
}

.timeline-step {
  display: flex;
  min-width: 138px;
  align-items: center;
  gap: 9px;
}

.timeline-step > div {
  display: grid;
  gap: 2px;
}

.timeline-step strong {
  color: #304238;
  font-size: 11px;
  font-weight: 600;
}

.timeline-step span:not(.timeline-node) {
  color: #839087;
  font-family: var(--mono);
  font-size: 9px;
}

.timeline-node {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border: 2px solid #a8b9ad;
  border-radius: 50%;
  background: #fff;
}

.node-baseline {
  border-color: #5d925a;
  background: #5d925a;
}

.node-current {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px #f8e6df;
}

.timeline-line {
  height: 1px;
  flex: 1 1 40px;
  background: #93b78b;
}

.timeline-line-future {
  background: #d7dfd7;
}

.timeline-future strong,
.timeline-future span:not(.timeline-node) {
  color: #87938c;
}

.demo-footnote {
  justify-content: flex-end;
  margin: 9px 0 0;
  color: #b7c9c0;
  font-size: 9px;
  letter-spacing: 0;
  text-transform: none;
}

.section-pad {
  padding: 94px 0;
}

.workflow {
  background: var(--paper);
}

.section-heading,
.steps,
.scope-inner,
.safety,
.license-inner {
  width: min(1220px, calc(100% - 64px));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  column-gap: 60px;
}

.eyebrow-dark {
  grid-column: 1 / -1;
  margin-bottom: 17px;
  color: #6f795f;
}

.section-heading h2,
.scope-heading h2,
.safety h2,
.license-inner h2 {
  margin: 0;
  font-size: 42px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.06;
}

.section-heading h2 span {
  color: #698346;
}

.section-heading > p:last-child {
  max-width: 470px;
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 16px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
  border-top: 1px solid #cdd6cd;
  border-bottom: 1px solid #cdd6cd;
}

.screenshots {
  background: #e9eee7;
}

.screenshots-heading {
  margin-bottom: 48px;
}

.theme-previews,
.view-gallery {
  width: min(1220px, calc(100% - 64px));
  margin-right: auto;
  margin-left: auto;
}

.theme-previews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.view-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.theme-previews figure,
.view-gallery figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid #cbd4ca;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 46, 41, 0.08);
}

.theme-previews a,
.view-gallery a {
  display: block;
  overflow: hidden;
  border-bottom: 1px solid #dbe2da;
  background: #dfe5de;
}

.theme-previews img,
.view-gallery img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 180ms ease;
}

.theme-previews a:hover img,
.view-gallery a:hover img {
  transform: scale(1.015);
}

.theme-previews figcaption,
.view-gallery figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 15px;
}

.theme-previews figcaption strong,
.view-gallery figcaption strong {
  font-size: 13px;
  font-weight: 600;
}

.theme-previews figcaption span,
.view-gallery figcaption span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  text-align: right;
}

.step {
  position: relative;
  min-height: 225px;
  padding: 24px 28px 30px 0;
}

.step + .step {
  padding-left: 28px;
  border-left: 1px solid #cdd6cd;
}

.step-number,
.step-tag {
  color: #73856b;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.7px;
}

.step h3 {
  margin: 27px 0 8px;
  font-size: 20px;
  font-weight: 600;
}

.step p {
  max-width: 320px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.step-tag {
  position: absolute;
  right: 24px;
  bottom: 26px;
  color: #a0aa9e;
  font-size: 9px;
}

.scope {
  padding: 78px 0 82px;
  color: var(--white);
  background: var(--forest-deep);
}

.scope-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
}

.scope-heading h2 {
  margin-top: 19px;
  color: var(--white);
}

.scope-content {
  max-width: 590px;
}

.scope-lede {
  margin: 0 0 26px;
  color: #c0d0c7;
  font-size: 16px;
}

.provider-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(237, 245, 239, 0.2);
  list-style: none;
}

.provider-list li {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(237, 245, 239, 0.2);
  color: #f1f5f1;
  font-size: 13px;
}

.provider-list li span {
  color: var(--acid);
  font-family: var(--mono);
  font-size: 9px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 160ms ease;
}

.scope .text-link {
  color: var(--acid);
}

.scope .text-link:hover {
  color: var(--white);
}

.safety {
  display: grid;
  grid-template-columns: 70px 1fr 220px;
  align-items: center;
  gap: 36px;
  padding-top: 86px;
  padding-bottom: 86px;
}

.safety-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid #cc7257;
  border-radius: 50%;
  color: #c05c43;
  font-family: var(--mono);
  font-size: 24px;
}

.safety-copy {
  max-width: 620px;
}

.safety-copy .eyebrow {
  margin-bottom: 14px;
  color: #73856b;
}

.safety h2 {
  font-size: 36px;
}

.safety-copy > p:not(.eyebrow) {
  max-width: 590px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.safety-copy .text-link {
  margin-top: 18px;
}

.safety-stamp {
  display: grid;
  justify-items: start;
  padding: 16px 0 16px 22px;
  border-left: 1px solid #cbd4ca;
}

.safety-stamp > span:first-child,
.safety-stamp small {
  color: #7a887f;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.stamp-line {
  width: 28px;
  height: 2px;
  margin: 12px 0;
  background: var(--coral);
}

.safety-stamp strong {
  font-size: 23px;
  font-weight: 600;
  line-height: 1.05;
}

.safety-stamp small {
  max-width: 180px;
  margin-top: 10px;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

.license-band {
  padding: 69px 0;
  color: var(--ink);
  background: var(--acid);
}

.license-inner {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: 80px;
}

.license-inner .eyebrow {
  margin-bottom: 16px;
  color: #526d3c;
}

.license-inner h2 {
  font-size: 38px;
}

.license-detail > p:first-child {
  max-width: 500px;
  margin: 0;
  color: #40523a;
  font-size: 15px;
}

.trial-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 15px 0 18px;
  color: #596b46;
  font-size: 12px;
}

.trial-indicator {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--coral);
}

.button-dark {
  min-height: 44px;
  color: var(--white);
  background: var(--forest-deep);
}

.button-dark:hover {
  background: #254b3f;
}

.site-footer {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-footer {
  font-size: 17px;
}

.brand-footer .brand-mark {
  width: 25px;
  height: 25px;
}

.brand-footer .brand-mark img {
  width: 15px;
  height: 15px;
}

.site-footer > span {
  color: #78857d;
  font-size: 12px;
}

.footer-links {
  gap: 22px;
}

.footer-links a {
  font-size: 12px;
}

@keyframes enter-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .view-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .session-summary {
    grid-template-columns: 1.2fr 1fr 0.55fr;
  }

  .session-scope {
    display: none !important;
  }

  .scope-inner {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 45px;
  }

  .safety {
    grid-template-columns: 58px 1fr;
  }

  .safety-stamp {
    grid-column: 2;
    grid-template-columns: auto 30px 1fr;
    align-items: center;
    gap: 10px;
    padding: 14px 0 0;
    border-top: 1px solid #cbd4ca;
    border-left: 0;
  }

  .safety-stamp > span:first-child {
    grid-row: 1;
  }

  .safety-stamp .stamp-line {
    margin: 0;
  }

  .safety-stamp strong {
    font-size: 18px;
  }

  .safety-stamp small {
    grid-column: 1 / -1;
    max-width: none;
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 68px;
  }

  .header-inner,
  .hero-inner,
  .section-heading,
  .steps,
  .scope-inner,
  .safety,
  .license-inner,
  .theme-previews,
  .view-gallery,
  .site-footer {
    width: min(100% - 36px, 1220px);
  }

  .header-inner {
    min-height: 64px;
    gap: 12px;
  }

  .brand {
    gap: 7px;
    font-size: 19px;
  }

  .brand-mark {
    width: 26px;
    height: 26px;
  }

  .brand-mark img {
    width: 15px;
    height: 15px;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav a {
    font-size: 11px;
  }

  .site-nav a:nth-child(2),
  .site-nav a:nth-child(3) {
    display: none;
  }

  .nav-admin {
    min-height: 34px;
    gap: 7px;
    padding: 0 9px;
    font-size: 12px;
  }

  .theme-previews,
  .view-gallery {
    grid-template-columns: 1fr;
  }

  .theme-previews figcaption,
  .view-gallery figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .theme-previews figcaption span,
  .view-gallery figcaption span {
    text-align: left;
  }

  .hero-inner {
    padding: 44px 0 36px;
  }

  .hero h1 {
    margin-top: 17px;
    font-size: 43px;
    line-height: 1.02;
  }

  .hero-lede {
    max-width: 470px;
    font-size: 16px;
  }

  .hero-actions {
    gap: 9px;
    margin-top: 21px;
  }

  .button {
    min-height: 44px;
    gap: 10px;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero-facts {
    gap: 8px 15px;
    margin-top: 19px;
    font-size: 8px;
  }

  .demo-wrap {
    margin-top: 30px;
  }

  .demo-caption {
    gap: 10px;
    font-size: 8px;
  }

  .demo-caption > span:last-child {
    text-align: right;
  }

  .window-bar {
    min-height: 43px;
    padding: 0 12px;
  }

  .window-brand {
    gap: 6px;
    font-size: 11px;
  }

  .recording-state {
    font-size: 9px;
  }

  .session-summary {
    grid-template-columns: 1.2fr 1fr 0.55fr;
    gap: 9px;
    padding: 13px 12px;
  }

  .field-label {
    font-size: 8px;
  }

  .session-summary strong {
    font-size: 10px;
  }

  .change-table-head,
  .change-row {
    grid-template-columns: 0.9fr 1.35fr 0.65fr;
    gap: 7px;
    padding: 0 11px;
  }

  .change-table-head {
    min-height: 30px;
    font-size: 8px;
  }

  .change-row {
    min-height: 40px;
  }

  .resource-type {
    gap: 6px;
    font-size: 9px;
  }

  .resource-dot {
    width: 6px;
    height: 6px;
  }

  .resource-name {
    font-size: 9px;
  }

  .change-status {
    padding: 3px 4px;
    font-size: 8px;
  }

  .session-timeline {
    min-height: 63px;
    padding: 10px 11px;
  }

  .timeline-step {
    min-width: 0;
    gap: 6px;
  }

  .timeline-step > div {
    min-width: 0;
  }

  .timeline-step strong {
    font-size: 9px;
  }

  .timeline-step span:not(.timeline-node) {
    font-size: 7px;
  }

  .timeline-line {
    flex-basis: 12px;
  }

  .timeline-node {
    width: 8px;
    height: 8px;
  }

  .demo-footnote {
    font-size: 8px;
  }

  .section-pad {
    padding: 59px 0;
  }

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

  .section-heading h2,
  .scope-heading h2,
  .safety h2,
  .license-inner h2 {
    font-size: 34px;
  }

  .section-heading > p:last-child {
    margin-top: 15px;
    font-size: 14px;
  }

  .steps {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .step,
  .step + .step {
    min-height: 0;
    padding: 20px 0 24px;
    border-left: 0;
  }

  .step + .step {
    border-top: 1px solid #cdd6cd;
  }

  .step h3 {
    margin-top: 12px;
    font-size: 18px;
  }

  .step p {
    max-width: 420px;
    padding-right: 35px;
    font-size: 13px;
  }

  .step-tag {
    right: 1px;
    bottom: 24px;
  }

  .scope {
    padding: 56px 0 60px;
  }

  .scope-inner {
    grid-template-columns: 1fr;
    gap: 27px;
  }

  .scope-heading h2 {
    margin-top: 12px;
  }

  .scope-lede {
    font-size: 14px;
  }

  .provider-list {
    grid-template-columns: 1fr;
  }

  .provider-list li {
    min-height: 42px;
    font-size: 12px;
  }

  .safety {
    grid-template-columns: 42px 1fr;
    align-items: start;
    gap: 14px;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .safety-mark {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .safety-copy .eyebrow {
    font-size: 9px;
  }

  .safety h2 {
    font-size: 30px;
  }

  .safety-copy > p:not(.eyebrow) {
    font-size: 13px;
  }

  .safety-copy .text-link {
    font-size: 12px;
  }

  .safety-stamp {
    grid-column: 2;
    grid-template-columns: 1fr;
    gap: 4px;
    padding-top: 13px;
  }

  .safety-stamp > span:first-child {
    grid-row: auto;
  }

  .safety-stamp .stamp-line {
    margin: 5px 0;
  }

  .safety-stamp strong {
    font-size: 17px;
  }

  .license-band {
    padding: 54px 0;
  }

  .license-inner {
    grid-template-columns: 1fr;
    gap: 21px;
  }

  .license-inner h2 {
    font-size: 33px;
  }

  .license-detail > p:first-child {
    font-size: 14px;
  }

  .site-footer {
    min-height: 100px;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 17px;
    padding: 18px 0;
  }

  .site-footer > span {
    flex-basis: calc(100% - 130px);
    font-size: 10px;
  }

  .footer-links {
    width: 100%;
    gap: 18px;
  }
}

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

.admin-header .header-inner {
  min-height: 68px;
}

.admin-main {
  width: min(1080px, calc(100% - 64px));
  min-height: calc(100vh - 154px);
  margin: 0 auto;
  padding: 56px 0 82px;
}

.admin-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 35px;
}

.admin-heading .eyebrow {
  margin-bottom: 12px;
  color: #6f795f;
}

.admin-heading h1 {
  margin: 0;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.05;
}

.admin-heading p:last-child {
  max-width: 520px;
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #66756e;
  font-size: 12px;
}

.admin-user strong {
  max-width: 260px;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-user a {
  color: #53645c;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.admin-state {
  max-width: 720px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 3px;
  background: var(--white);
}

.admin-state[data-kind="error"] {
  border-left-color: var(--coral);
}

.admin-state h2 {
  margin: 0 0 5px;
  font-size: 19px;
  font-weight: 600;
}

.admin-state p {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-state .button {
  margin-top: 18px;
}

.admin-console[hidden],
.admin-state[hidden],
.admin-panel[hidden],
.issued-code[hidden] {
  display: none !important;
}

.admin-console {
  border-top: 1px solid #cbd5cc;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 9px 0;
  border-bottom: 1px solid #cbd5cc;
}

.admin-tab {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 3px;
  color: #53645c;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
}

.admin-tab[aria-selected="true"] {
  border-color: #cbd5cc;
  color: var(--ink);
  background: var(--white);
}

.admin-tab:hover {
  color: var(--ink);
}

.admin-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 64px;
  padding: 34px 0 0;
}

.admin-panel h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

.admin-panel-intro {
  margin: 7px 0 22px;
  color: var(--muted);
  font-size: 13px;
}

.admin-form {
  display: grid;
  gap: 17px;
  max-width: 590px;
}

.admin-form label {
  display: grid;
  gap: 6px;
  color: #35483e;
  font-size: 12px;
  font-weight: 600;
}

.admin-form input {
  width: 100%;
  min-height: 43px;
  padding: 9px 11px;
  border: 1px solid #bdc9bf;
  border-radius: 3px;
  outline: 0;
  color: var(--ink);
  background: var(--white);
  font-size: 14px;
  font-weight: 400;
}

.admin-form input:focus {
  border-color: #557c51;
  box-shadow: 0 0 0 3px rgba(85, 124, 81, 0.16);
}

.admin-form input[type="number"] {
  max-width: 160px;
}

.admin-form .button {
  justify-self: start;
  min-height: 43px;
  border: 0;
  color: var(--white);
  background: var(--forest);
  cursor: pointer;
}

.admin-form .button:hover {
  background: #245148;
}

.admin-form .button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.admin-aside {
  align-self: start;
  padding: 17px 0 0 19px;
  border-left: 1px solid #cbd5cc;
}

.admin-aside h3 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
}

.admin-aside p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.issued-code {
  margin-top: 24px;
  padding: 16px;
  border: 1px solid #cbd5cc;
  border-radius: 3px;
  background: #fff;
}

.issued-code p {
  margin: 0 0 8px;
  color: #52645a;
  font-size: 12px;
}

.issued-code code {
  display: block;
  overflow-wrap: anywhere;
  padding: 11px;
  border-radius: 2px;
  color: #244c3d;
  background: #eff4eb;
  font-family: var(--mono);
  font-size: 12px;
}

.copy-code {
  min-height: 34px;
  margin-top: 11px;
  padding: 0 10px;
  border: 1px solid #bdc9bf;
  border-radius: 3px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}

.copy-code:hover {
  border-color: var(--ink);
}

.admin-flash {
  min-height: 24px;
  margin: 12px 0 0;
  color: #42674a;
  font-size: 12px;
}

.admin-flash[data-kind="error"] {
  color: #a54c39;
}

.admin-footer {
  min-height: 72px;
  border-top: 1px solid var(--line);
}

@media (max-width: 760px) {
  .admin-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-panel {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .admin-aside {
    max-width: 590px;
  }
}

@media (max-width: 640px) {
  .admin-main {
    width: min(100% - 36px, 1080px);
    padding-top: 39px;
  }

  .admin-heading h1 {
    font-size: 32px;
  }

  .admin-user {
    width: 100%;
    justify-content: space-between;
  }

  .admin-user strong {
    max-width: 180px;
  }

  .admin-tabs {
    gap: 2px;
  }

  .admin-tab {
    min-height: 36px;
    padding: 0 9px;
    font-size: 11px;
  }

  .admin-panel {
    padding-top: 26px;
  }
}