:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-soft: #eef2f6;
  --ink: #101828;
  --muted: #5d6675;
  --muted-strong: #3f4857;
  --line: #d8dee8;
  --line-strong: #b9c3d1;
  --blue: #0b63ce;
  --blue-dark: #084c9e;
  --blue-soft: #eaf2ff;
  --green: #137a55;
  --shadow: 0 18px 48px rgb(16 24 40 / 12%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(#ffffff, #f6f7f9 44rem);
  color: var(--ink);
  text-rendering: geometricPrecision;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  display: flex;
  width: min(1120px, calc(100% - 48px));
  height: 76px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

.brand,
.site-header nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 720;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.site-header nav {
  gap: 6px;
}

.site-header nav a {
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 650;
}

.site-header nav a:hover {
  background: #edf1f5;
  color: var(--ink);
}

main {
  min-height: calc(100vh - 76px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: 48px;
  width: min(1120px, calc(100% - 48px));
  align-items: center;
  margin: 0 auto;
  padding: 44px 0 54px;
}

.intro-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 15px;
  font-weight: 760;
  letter-spacing: 0;
}

h1,
h2,
h3,
p,
dl {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 68px;
  font-weight: 780;
  line-height: 0.96;
  letter-spacing: 0;
}

.lede {
  max-width: 590px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 720;
  line-height: 1;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.primary-action {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 8px 20px rgb(11 99 206 / 20%);
}

.primary-action:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.secondary-action {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.secondary-action:hover {
  border-color: var(--line-strong);
  background: #f9fafb;
}

.app-preview {
  overflow: hidden;
  border: 1px solid #c6cfdb;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.traffic {
  display: flex;
  height: 36px;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfd;
}

.traffic span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c8d1dd;
}

.app-frame {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 510px;
  background: #edf1f5;
}

.sidebar {
  border-right: 1px solid var(--line);
  background: #fbfcfd;
  padding: 18px;
}

.sidebar-title {
  width: 72px;
  height: 10px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #97a3b4;
}

.queue {
  min-height: 58px;
  margin-bottom: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 11px;
  background: #eef2f6;
}

.queue strong,
.queue span,
.signature-card span,
.signature-card b {
  display: block;
}

.queue strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
}

.queue span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.queue.active {
  border-color: #8bb7f1;
  background: var(--blue-soft);
}

.queue.compact {
  width: 50px;
}

.signature-card {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.signature-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.signature-card b {
  margin-top: 7px;
  color: #101828;
  font-family: "Snell Roundhand", "Brush Script MT", cursive;
  font-size: 31px;
  font-weight: 400;
  line-height: 1;
}

.document {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.paper {
  width: min(370px, 100%);
  min-height: 445px;
  border: 1px solid #d4dce8;
  border-radius: 6px;
  background: var(--surface);
  padding: 44px 38px;
  box-shadow: 0 9px 28px rgb(16 24 40 / 10%);
}

.paper-row {
  width: 78%;
  height: 9px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #dbe2ec;
}

.paper-row.short {
  width: 48%;
}

.field-line {
  display: flex;
  height: 32px;
  align-items: center;
  margin-bottom: 20px;
  border: 1px solid #98b9e6;
  border-radius: 6px;
  background: #f3f8ff;
  padding: 0 10px;
}

.field-line span {
  color: var(--ink);
  font-size: 15px;
  font-weight: 530;
}

.field-line.selected {
  border-width: 2px;
  border-color: var(--blue);
  background: #eef6ff;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 34px;
}

.box {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--blue);
  border-radius: 4px;
  color: var(--blue);
  font-size: 22px;
  font-weight: 640;
  line-height: 1;
}

.check-row i {
  display: block;
  width: 58%;
  height: 9px;
  border-radius: 999px;
  background: #dbe2ec;
}

.signature-line {
  width: 74%;
  min-height: 44px;
  border-bottom: 1px solid #9aa7b7;
  color: #101828;
  font-family: "Snell Roundhand", "Brush Script MT", cursive;
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}

.workflow {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 48px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: start;
  padding-top: 42px;
}

.section-heading h2,
.closing h2 {
  margin-bottom: 0;
  font-size: 32px;
  font-weight: 760;
  line-height: 1.1;
  letter-spacing: 0;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.feature-grid article {
  min-height: 184px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 20px;
}

.feature-grid span {
  color: var(--green);
  font-size: 12px;
  font-weight: 760;
}

.feature-grid h3 {
  margin: 24px 0 10px;
  font-size: 18px;
  line-height: 1.2;
}

.feature-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.closing {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 18px;
  width: min(1120px, calc(100% - 48px));
  align-items: center;
  margin: 0 auto 56px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
}

.closing img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
}

.closing p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .intro {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 30px;
  }

  .intro-copy {
    max-width: 740px;
  }

  .app-frame {
    min-height: 480px;
  }

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

@media (max-width: 720px) {
  .site-header,
  .intro,
  .workflow,
  .closing {
    width: min(100% - 32px, 1120px);
  }

  .site-header {
    height: 68px;
  }

  .site-header nav a {
    padding: 8px 9px;
    font-size: 13px;
  }

  h1 {
    font-size: 52px;
  }

  .lede {
    font-size: 18px;
  }

  .app-frame {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .sidebar {
    display: none;
  }

  .document {
    padding: 18px;
  }

  .paper {
    min-height: 390px;
    padding: 34px 28px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 32px;
  }

  .section-heading h2,
  .closing h2 {
    font-size: 27px;
  }

  .section-heading p {
    font-size: 16px;
  }

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

  .feature-grid article {
    min-height: 0;
  }

  .closing {
    grid-template-columns: 48px minmax(0, 1fr);
    margin-bottom: 34px;
    padding: 16px;
  }

  .closing img {
    width: 48px;
    height: 48px;
  }

  .closing .primary-action {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 440px) {
  .brand span {
    display: none;
  }

  .actions {
    flex-direction: column;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .paper {
    padding: 30px 22px;
  }

  .signature-line {
    font-size: 32px;
  }
}
