@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
}

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

:root {
  --paper: #f7f4ec;
  --paper-deep: #eee9de;
  --surface: #fffdf8;
  --ink: #172329;
  --ink-soft: #536168;
  --ink-muted: #768087;
  --line: #dcd7ca;
  --blue: #176c86;
  --blue-dark: #0e4050;
  --night: #0d3440;
  --night-deep: #082832;
  --amber: #e4aa44;
  --amber-light: #f7d999;
  --coral: #bd5d4d;
  --green: #2b7b67;
  --shadow: 0 24px 70px rgb(48 47 41 / 12%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  transform: translateY(-160%);
  border-radius: 0.35rem;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
  font-weight: 600;
}

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

.site-header,
.site-footer,
.section {
  width: min(100% - 3rem, 1180px);
  margin-inline: auto;
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 84px;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 0.6rem;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.brand-mark {
  width: 1.65rem;
  height: 1.65rem;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 500;
}

.site-nav a,
.site-footer nav a {
  position: relative;
}

.site-nav a::after,
.site-footer nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.25rem;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: currentcolor;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-footer nav a:hover::after,
.site-footer nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button:focus-visible,
a:focus-visible {
  outline: 3px solid rgb(23 108 134 / 28%);
  outline-offset: 3px;
}

.button-small {
  justify-self: end;
  min-height: 39px;
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
}

.button-ink,
.button-primary {
  background: var(--night);
  color: white;
  box-shadow: 0 8px 22px rgb(13 52 64 / 16%);
}

.button-ink:hover,
.button-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 12px 28px rgb(13 52 64 / 22%);
}

.button-secondary {
  border-color: var(--line);
  background: rgb(255 253 248 / 55%);
}

.button-secondary:hover {
  border-color: #bcb6a9;
  background: var(--surface);
}

.button-light {
  background: var(--surface);
  color: var(--night);
  box-shadow: 0 12px 28px rgb(0 0 0 / 14%);
}

.hero {
  display: grid;
  grid-template-columns: 0.83fr 1.17fr;
  align-items: center;
  min-height: 620px;
  gap: clamp(3rem, 6vw, 6.5rem);
  padding-block: 4rem 3rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--blue-dark);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.08;
}

h1 {
  max-width: 570px;
  margin-bottom: 1.55rem;
  font-size: clamp(3.4rem, 5.4vw, 5.6rem);
  font-weight: 500;
  letter-spacing: -0.055em;
}

h1 em {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.hero-lede {
  max-width: 530px;
  margin: 0 0 2rem;
  color: var(--ink-soft);
  font-size: 1.14rem;
  line-height: 1.65;
}

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

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  margin: 1.7rem 0 0;
  padding: 0;
  color: var(--ink-muted);
  font-size: 0.76rem;
  list-style: none;
}

.trust-list span {
  margin-right: 0.3rem;
  color: var(--blue);
  font-weight: 600;
}

.hero-art {
  position: relative;
  min-width: 0;
  padding: 2rem 0 3.5rem;
}

.paste-window {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid #e1ddd3;
  border-radius: 0.5rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.paste-toolbar,
.paste-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
}

.paste-toolbar {
  border-bottom: 1px solid #e7e3da;
  font-size: 0.78rem;
}

.paste-toolbar > div:first-child {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.file-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--blue);
}

.file-meta {
  color: var(--ink-muted);
}

.paste-policies {
  display: flex;
  gap: 0.4rem;
}

.policy {
  padding: 0.32rem 0.5rem;
  border: 1px solid #e2ddd2;
  border-radius: 0.25rem;
  background: #faf7ef;
  color: var(--ink-soft);
  font-size: 0.66rem;
  white-space: nowrap;
}

.policy span {
  color: var(--green);
}

.code-block {
  padding: 1.35rem 1rem 1.35rem 0;
  background:
    linear-gradient(90deg, transparent 0 3.35rem, #e1ddd2 3.35rem 3.4rem, transparent 3.4rem),
    linear-gradient(90deg, #f8f6ef 0 3.35rem, var(--surface) 3.35rem);
}

.code-block ol {
  margin: 0;
  padding-left: 3.8rem;
  color: #9a968c;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: clamp(0.62rem, 1vw, 0.75rem);
  line-height: 1.85;
}

.code-block li {
  padding-left: 1rem;
}

.code-block code {
  display: block;
  overflow: hidden;
  color: #35444a;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.code-muted { color: #758188; }
.code-error { color: #bf425e; }
.code-warn { color: #c07725; }
.code-value { color: var(--blue); }
.code-string { color: #986142; }

.code-spacer {
  min-height: 0.8rem;
}

.paste-footer {
  border-top: 1px solid #e7e3da;
  font-size: 0.72rem;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  margin-left: -6px;
  border: 2px solid var(--surface);
  border-radius: 999px;
  color: white;
  font-size: 0.55rem;
  font-weight: 600;
}

.avatar:first-child { margin-left: 0; }
.avatar-blue { background: #436b78; }
.avatar-gold { background: #b98a42; }
.avatar-coral { background: #a95a50; }

.shared-label {
  margin-left: 0.6rem;
  color: var(--ink-muted);
}

.copy-link {
  padding: 0.42rem 0.62rem;
  border: 1px solid #ded9ce;
  border-radius: 0.25rem;
  background: #f7f4ec;
  font-weight: 500;
}

.share-note {
  position: absolute;
  z-index: 2;
  top: 9.2rem;
  right: -2.4rem;
  width: 155px;
  padding: 0.9rem 1rem 0.35rem;
  transform: rotate(1.5deg);
  border-radius: 0.25rem;
  background: var(--amber-light);
  box-shadow: 0 16px 36px rgb(95 72 30 / 17%);
  font-size: 0.73rem;
  line-height: 1.35;
}

.note-kicker {
  display: block;
  color: #70521d;
}

.share-note svg,
.security-note svg {
  display: block;
  width: 55px;
  margin: 0.15rem auto 0;
  fill: none;
  stroke: #d89629;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.margin-note {
  position: absolute;
  right: -1.6rem;
  bottom: 0;
  margin: 0;
  transform: rotate(-4deg);
  color: var(--ink-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.35;
  text-align: center;
}

.workflow,
.features {
  padding-block: 3.5rem 5rem;
}

.section-heading {
  margin-bottom: 3.5rem;
}

.section-heading h2 {
  max-width: 840px;
}

.split-heading {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 5rem;
}

.split-heading > p {
  margin: 0 0 1.3rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-grid li {
  padding: 0.4rem 2rem 0 0;
  border-right: 1px solid var(--line);
}

.workflow-grid li + li {
  padding-left: 2rem;
}

.workflow-grid li:last-child {
  border-right: 0;
}

.step-icon {
  display: block;
  height: 54px;
  color: var(--blue);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 1.55rem;
}

.step-number {
  color: var(--blue-dark);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 500;
}

.workflow-grid h3 {
  display: inline-block;
  margin: 0 0 0.9rem 0.4rem;
}

.workflow-grid p,
.feature-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

.confidence {
  overflow: hidden;
  background: linear-gradient(135deg, var(--night) 0%, var(--night-deep) 100%);
  color: white;
}

.confidence-inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: clamp(4rem, 9vw, 9rem);
  padding-block: 4rem;
}

.eyebrow-light {
  color: #9fcbd7;
}

.confidence-copy > p:not(.eyebrow) {
  max-width: 460px;
  margin: 0 0 2rem;
  color: #c7d8dc;
  font-size: 1.05rem;
}

.share-card {
  position: relative;
  z-index: 1;
  width: min(100%, 505px);
  padding: 1.6rem;
  border-radius: 0.55rem;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 30px 80px rgb(0 0 0 / 28%);
}

.share-card-heading,
.share-url,
.share-options > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.share-card-heading {
  margin-bottom: 1.15rem;
}

.share-card-heading > div {
  display: flex;
  flex-direction: column;
}

.mini-label {
  color: var(--ink-muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.share-url {
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  font-size: 0.76rem;
}

.share-url code {
  overflow: hidden;
  padding-left: 0.4rem;
  color: var(--ink-soft);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.share-url span {
  padding: 0.55rem 0.7rem;
  border-radius: 0.25rem;
  background: var(--night);
  color: white;
  font-weight: 500;
  white-space: nowrap;
}

.share-options {
  margin: 1.2rem 0;
}

.share-options > div {
  padding: 0.85rem 0;
  border-bottom: 1px solid #e8e4da;
}

.share-options dt {
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.share-options dt span {
  display: inline-block;
  width: 1.5rem;
  color: var(--blue);
}

.share-options dd {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 500;
}

.policy-message {
  padding: 0.75rem 0.9rem;
  border-radius: 0.3rem;
  background: #e9f3ef;
  color: #2c6759;
  font-size: 0.72rem;
}

.policy-message span {
  margin-right: 0.4rem;
}

.security-note {
  position: absolute;
  right: -1.6rem;
  bottom: 4.5rem;
  z-index: 2;
  width: 165px;
  padding: 0.9rem 1rem 0.35rem;
  transform: rotate(1.5deg);
  border-radius: 0.25rem;
  background: var(--amber-light);
  color: #4f3a16;
  box-shadow: 0 18px 40px rgb(0 0 0 / 22%);
  font-size: 0.75rem;
  line-height: 1.4;
}

.features {
  padding-bottom: 5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature-grid article {
  display: grid;
  grid-template-columns: 42px 1fr;
  min-height: 180px;
  gap: 1rem;
  padding: 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgb(255 253 248 / 24%);
  transition: background 180ms ease, transform 180ms ease;
}

.feature-grid article:hover {
  z-index: 1;
  transform: translateY(-2px);
  background: rgb(255 253 248 / 72%);
}

.feature-icon {
  color: var(--blue);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 1.5rem;
  font-weight: 500;
}

.feature-grid h3 {
  margin-bottom: 0.55rem;
}

.open-source {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  align-items: center;
  gap: 6rem;
  margin-bottom: 6rem;
  padding: 4.5rem 5rem;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, var(--blue-dark), var(--night-deep));
  color: white;
  box-shadow: 0 26px 70px rgb(13 52 64 / 18%);
}

.open-source h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 3.5vw, 3.35rem);
}

.open-source > div:last-child > p {
  margin: 0 0 1.5rem;
  color: #c7d8dc;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding-block: 1.5rem 3rem;
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.site-footer p {
  justify-self: end;
  margin: 0;
  text-align: right;
}

@media (max-width: 1100px) {
  .site-header,
  .site-footer,
  .section {
    width: min(100% - 2.5rem, 960px);
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 4.5rem;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-art {
    width: min(100% - 3rem, 760px);
    margin-inline: auto;
  }

  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow-grid li {
    border-bottom: 1px solid var(--line);
  }

  .workflow-grid li:nth-child(2) {
    border-right: 0;
  }

  .workflow-grid li:nth-child(n + 3) {
    padding-top: 2rem;
    border-bottom: 0;
  }

  .confidence-inner {
    gap: 4rem;
  }

  .security-note {
    right: -0.8rem;
  }
}

@media (max-width: 760px) {
  .site-header,
  .site-footer,
  .section {
    width: min(100% - 2rem, 620px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 72px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    gap: 3rem;
    padding-block: 3.5rem 4.5rem;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  .hero-art {
    width: 100%;
    padding: 0;
  }

  .paste-toolbar {
    align-items: flex-start;
  }

  .paste-policies {
    flex-direction: column;
  }

  .code-block {
    overflow: hidden;
  }

  .share-note {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    margin: 1rem 0 0 auto;
  }

  .margin-note {
    display: none;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .workflow,
  .features {
    padding-block: 4rem;
  }

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

  .workflow-grid li,
  .workflow-grid li + li,
  .workflow-grid li:nth-child(n + 3) {
    min-height: auto;
    padding: 2rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workflow-grid li:first-child {
    padding-top: 0;
  }

  .workflow-grid li:last-child {
    border-bottom: 0;
  }

  .step-icon {
    float: left;
    width: 54px;
  }

  .workflow-grid p {
    margin-left: 54px;
  }

  .confidence-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 3rem;
    padding-block: 4rem;
  }

  .confidence-copy .button,
  .open-source .button {
    width: 100%;
  }

  .share-card {
    padding: 1.15rem;
  }

  .share-options > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.3rem;
  }

  .security-note {
    position: relative;
    right: auto;
    bottom: auto;
    justify-self: end;
    margin-top: -1.5rem;
  }

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

  .feature-grid article {
    min-height: 150px;
    padding: 1.6rem;
  }

  .open-source {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 3rem 1.5rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-footer nav {
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
  }

  .site-footer p {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 430px) {
  .button-small {
    padding-inline: 0.8rem;
  }

  .button-small span:first-child {
    display: none;
  }

  .hero-actions .button {
    width: 100%;
  }

  .paste-toolbar,
  .paste-footer {
    padding-inline: 0.8rem;
  }

  .file-meta,
  .shared-label,
  .policy:last-child {
    display: none;
  }

  .share-note {
    width: 145px;
  }
}

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

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