@font-face {
  font-family: Barlow;
  src: url(/assets/barlow-regular.woff) format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url(/assets/barlow-semibold.woff) format("woff");
  font-weight: 600 800;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url(/assets/barlow-condensed-semibold.woff) format("woff");
  font-weight: 600 800;
  font-display: swap;
}
:root {
  --bg: #071321;
  --panel: #10243a;
  --line: #2a4055;
  --ink: #f2f5f6;
  --muted: #bfcbd7;
  --amber: #ffac55;
  --mint: #8ad5c6;
  --paper: #f2f0e9;
  --dark: #182733;
  color-scheme: dark;
  font:
    400 17px/1.55 Barlow,
    "Segoe UI",
    Arial,
    sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
button,
select,
input,
textarea {
  font: inherit;
}
button,
select,
input[type="checkbox"] {
  cursor: pointer;
}
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
button:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #f09035;
  outline-offset: 4px;
}
::selection {
  background: var(--amber);
  color: var(--bg);
}
h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}
h1,
h2,
h3,
.brand b,
.foot b,
.sheet-head {
  font-family: "Barlow Condensed", "Arial Narrow", Barlow, sans-serif;
  font-weight: 600;
  line-height: 1.03;
}
h1 {
  font-size: clamp(3.05rem, 5.55vw, 5.75rem);
  letter-spacing: -0.024em;
  max-width: 13.5ch;
  text-wrap: balance;
}
h2 {
  font-size: clamp(2.05rem, 3.6vw, 3.45rem);
  letter-spacing: -0.016em;
  text-wrap: balance;
}
h3 {
  font-size: 1.85rem;
}
p {
  max-width: 73ch;
}
.frame {
  width: min(1216px, calc(100% - 96px));
  margin: auto;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 10px;
  top: 10px;
  z-index: 20;
  background: var(--amber);
  color: var(--bg);
  padding: 12px;
}
header {
  background: #081420;
  border-bottom: 1px solid var(--line);
}
.nav,
.nav-end,
.brand,
.nav nav,
.foot,
.foot nav,
.actions,
.tool-buttons {
  display: flex;
  align-items: center;
}
.nav {
  min-height: 80px;
  gap: 30px;
}
.brand {
  gap: 10px;
  white-space: nowrap;
}
.brand img {
  width: 45px;
  border-radius: 24%;
}
.brand span {
  display: grid;
  gap: 4px;
}
.brand b {
  font-size: 1.7rem;
  letter-spacing: 0.005em;
}
.brand small {
  font-size: 0.57rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.brand:hover {
  text-decoration: none;
}
.nav nav {
  gap: 26px;
  margin: auto;
}
.nav nav a,
.lang {
  font-size: 0.94rem;
}
.nav nav a[aria-current] {
  color: var(--amber);
}
.nav-end {
  gap: 22px;
}
.lang {
  color: var(--muted);
}
.nav-demo {
  border: 1px solid #996f47;
  border-radius: 5px;
  font-weight: 600;
  padding: 8px 14px;
  white-space: nowrap;
}
.nav-demo span,
.card h3 span {
  color: var(--amber);
}
.hero {
  background: linear-gradient(118deg, #0a1929 2%, #0c1b2a 55%, #081322 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(28px, 4.2vw, 80px);
  padding: 48px 0 64px;
}
.front .hero-grid {
  padding: 64px 0 66px;
}
.front h1 {
  font-size: clamp(4.2rem, 7.2vw, 7.45rem);
  max-width: 12ch;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.eyebrow,
.sheet-sub {
  font-size: 0.73rem;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 600;
}
.eyebrow {
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 19px;
}
.eyebrow i {
  display: block;
  width: 23px;
  height: 2px;
  background: var(--amber);
}
.deck {
  font-size: clamp(1.04rem, 1.55vw, 1.22rem);
  margin: 20px 0 26px;
  color: var(--muted);
  max-width: 51ch;
}
.actions,
.tool-buttons {
  gap: 20px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  border-radius: 5px;
  border: 0;
  min-height: 46px;
  padding: 10px 17px;
  font-weight: 600;
  line-height: 1.3;
}
.button:hover {
  text-decoration: none;
  filter: brightness(1.08);
}
.button.primary {
  background: var(--amber);
  color: #0a1520;
}
.textlink {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.bread {
  font-size: 0.87rem;
  color: var(--muted);
  padding-top: 23px;
}
.bread span {
  color: #7892a9;
  padding: 0 6px;
}
.hero-photo.cover {
  position: relative;
  aspect-ratio: 1.35;
  isolation: isolate;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #2d4051;
  background: #071321;
}
.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% 65%;
}
.hero-photo.screen {
  padding: 18px;
  background: linear-gradient(135deg, #213345, #152436);
  border: 1px solid #384d5d;
  border-radius: 10px;
  box-shadow: 0 13px 32px #0003;
}
.screen img {
  border-radius: 3px;
  width: 100%;
}
figcaption {
  font-size: 0.78rem;
  margin-top: 9px;
  color: var(--muted);
}
.specimen {
  max-width: 460px;
  width: 100%;
  justify-self: center;
  padding: 15px 24px 10px;
  background: linear-gradient(140deg, #22394a, #132434);
  border: 1px solid #3a5061;
  border-radius: 10px;
}
.sheet {
  background: var(--paper);
  color: var(--dark);
  border-radius: 3px;
  padding: clamp(16px, 3vw, 34px);
  margin-top: 6px;
  box-shadow: 0 6px 12px #0002;
}
.sheet-head {
  display: flex;
  gap: 9px;
  align-items: center;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
}
.sheet-sub {
  border-top: 2px solid #b67232;
  margin-top: 20px;
  padding-top: 12px;
  color: #4e5b5d;
}
.sheet h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin: 5px 0 13px;
}
.sheet dl div {
  display: flex;
  justify-content: space-between;
  gap: 7px;
  border-top: 1px solid #c7cdc8;
  padding: 7px 0;
  font-size: 0.89rem;
}
.sheet dt {
  color: #48565b;
}
.sheet dd {
  font-weight: 600;
  text-align: right;
}
.content {
  padding: 8px 0 46px;
}
.chapter {
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}
.chapter:last-child {
  border: 0;
}
.chapter h2 {
  margin-bottom: 19px;
}
.chapter p {
  color: var(--muted);
  font-size: 1.08rem;
}
.chapter p + p,
.chapter .sources,
.chapter p + .button,
.chapter .button + p {
  margin-top: 18px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card {
  display: block;
  background: #112436;
  border: 1px solid #304656;
  border-top: 2px solid #b77d42;
  border-radius: 4px 4px 8px 8px;
  padding: 23px 22px 25px;
}
.card:hover {
  background: #172c40;
  text-decoration: none;
  border-color: #d59954;
}
.card h3 {
  overflow-wrap: anywhere;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.card h3 span {
  font-family: Arial, sans-serif;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.card p {
  margin-top: 10px;
  font-size: 0.99rem;
}
.sources {
  display: flex;
  align-items: baseline;
  gap: 9px 17px;
  flex-wrap: wrap;
}
.sources .textlink {
  color: var(--mint);
  font-size: 0.98rem;
}
.sources span {
  color: var(--line);
}
.answers {
  max-width: 850px;
}
.answers details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.answers summary {
  font-weight: 600;
  cursor: pointer;
}
.answers details p {
  padding: 12px 20px 2px 0;
}
.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border-radius: 6px;
  border: 1px solid #374958;
  background: #102031;
}
.table-scroll table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.table-scroll th,
.table-scroll td {
  padding: 13px 17px;
  vertical-align: top;
  border-bottom: 1px solid #334251;
}
.table-scroll tr:last-child td {
  border: 0;
}
.table-scroll th {
  color: var(--mint);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  background: #172a3c;
}
.table-scroll td {
  color: #d6dee5;
}
.table-scroll td:first-child {
  font-weight: 600;
  color: white;
}
.worksheet,
.leadform {
  color: var(--dark);
  color-scheme: light;
  background: var(--paper);
  padding: clamp(18px, 3vw, 32px);
  border-radius: 8px;
  max-width: 880px;
}
.workbar {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 15px;
  border-bottom: 2px solid #aa7037;
}
.tool-progress {
  font-size: 0.9rem;
  color: #435558;
}
.workrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #c7cbc5;
}
.workrow label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}
.workrow strong,
.workrow small {
  display: block;
}
.workrow small {
  margin-top: 4px;
  color: #425158;
  font-size: 0.95rem;
  max-width: 58ch;
}
.workrow input {
  accent-color: #116353;
  width: 21px;
  height: 21px;
  flex: none;
  margin: 3px 0;
}
.workrow select,
.leadform input,
.leadform textarea,
.leadform select {
  max-width: 100%;
  border: 1px solid #89948f;
  border-radius: 4px;
  background: #fff;
  color: #172630;
  padding: 9px 10px;
}
.workrow select {
  max-width: 178px;
}
.tool-buttons {
  padding-top: 20px;
}
.dark,
.paper-button {
  background: #213748;
  color: white;
}
.paper-button {
  margin-top: 12px;
}
.quiet {
  cursor: pointer;
  background: none;
  color: #253c40;
  border: 0;
  text-decoration: underline;
}
.fine,
.chapter .fine {
  font-size: 0.91rem;
  margin-top: 12px;
}
.endcap {
  background: #122638;
  border-block: 1px solid #354859;
}
.endcap .frame {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-block: 39px;
}
.endcap .eyebrow {
  margin: 0 0 8px;
}
.endcap h2 {
  font-size: clamp(2.1rem, 3.4vw, 3rem);
}
.endcap p:last-child {
  color: var(--muted);
  margin-top: 9px;
}
.endcap .button {
  flex-shrink: 0;
}
.foot {
  justify-content: space-between;
  gap: 30px;
  padding: 28px 0;
}
.foot b {
  font-size: 1.65rem;
}
.foot p,
.foot a {
  font-size: 0.9rem;
  color: var(--muted);
}
.foot nav {
  gap: 9px 18px;
  flex-wrap: wrap;
}
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(30px, 6vw, 90px);
  padding-block: 58px 70px;
  align-items: start;
}
.form-layout h1 {
  max-width: 14ch;
}
.form-layout .deck {
  margin-bottom: 18px;
}
.leadform {
  display: grid;
  gap: 14px;
}
.leadform label {
  display: grid;
  font-weight: 600;
  gap: 5px;
}
.leadform label small {
  font-weight: 400;
  color: #49585c;
}
.leadform textarea {
  resize: vertical;
  min-height: 90px;
}
.leadform input,
.leadform select,
.leadform textarea {
  width: 100%;
}
.leadform .fine {
  color: #425158;
  margin: 0;
}
.leadform .button {
  justify-self: start;
}
.trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden;
}
.notice {
  border-left: 3px solid var(--amber);
  padding: 12px 16px;
  background: #1d3242;
  margin: 15px 0;
}
.leadform .notice {
  background: #fff2d9;
  color: #3c2e1c;
}
.receipt {
  overflow-wrap: anywhere;
}
.message-page {
  padding: 65px 0;
  min-height: 55vh;
}
.message-page p {
  margin: 20px 0;
  color: var(--muted);
}
.message-page h1 {
  max-width: 18ch;
}
@media (max-width: 950px) {
  .frame {
    width: calc(100% - 48px);
  }
  .nav {
    flex-wrap: wrap;
    gap: 8px 18px;
    padding: 12px 0 10px;
  }
  .nav nav {
    order: 3;
    width: 100%;
    margin: 0;
    gap: 24px;
  }
  .nav-end {
    margin-left: auto;
  }
  .front .hero-grid {
    padding: 42px 0 48px;
  }
  .hero-grid {
    gap: 26px;
  }
  .card {
    padding: 17px;
  }
  .cards {
    gap: 12px;
  }
  .foot {
    align-items: flex-start;
  }
}
@media (min-width: 701px) and (max-width: 950px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  :root {
    font-size: 16px;
  }
  .frame {
    width: calc(100% - 36px);
  }
  .nav nav {
    gap: 18px;
    flex-wrap: wrap;
  }
  .nav-end {
    gap: 12px;
  }
  .brand b {
    font-size: 1.48rem;
  }
  .brand img {
    width: 34px;
  }
  .brand small {
    font-size: 0.49rem;
  }
  .nav-demo {
    padding: 6px 9px;
    font-size: 0.86rem;
  }
  .nav nav a,
  .lang {
    font-size: 0.85rem;
  }
  .hero-grid,
  .form-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-grid,
  .front .hero-grid {
    padding: 28px 0 32px;
    gap: 23px;
  }
  .hero-copy h1,
  .front h1 {
    font-size: clamp(3.2rem, 12vw, 4.6rem);
    max-width: 16ch;
  }
  .deck {
    margin: 13px 0 19px;
  }
  .eyebrow {
    margin-bottom: 10px;
  }
  .hero-photo.cover {
    aspect-ratio: 1.8;
  }
  .specimen,
  .hero-photo.screen {
    max-width: 480px;
    justify-self: start;
  }
  .hero-photo.screen {
    padding: 11px;
  }
  .specimen {
    padding: 10px 16px;
  }
  .sheet {
    padding: 18px;
  }
  .sheet-sub {
    margin-top: 12px;
  }
  .sheet h2 {
    font-size: 1.85rem;
  }
  .specimen figcaption {
    margin-top: 4px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .chapter {
    padding: 30px 0;
  }
  .content {
    padding-bottom: 20px;
  }
  .card {
    padding: 17px 18px;
  }
  .card p {
    margin-top: 6px;
  }
  .endcap .frame,
  .foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .table-scroll td,
  .table-scroll th {
    padding: 9px;
    font-size: 0.94rem;
  }
  .workrow {
    display: grid;
    gap: 8px;
  }
  .workrow select {
    max-width: 100%;
    width: 100%;
  }
  .form-layout {
    padding: 32px 0;
  }
  .bread {
    padding-top: 15px;
  }
  .sources span {
    display: none;
  }
}
@media (max-width: 700px) {
  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }
  .brand {
    gap: 6px;
  }
  .brand small {
    letter-spacing: 0.07em;
  }
  .nav-end {
    gap: 8px;
  }
  .nav nav {
    grid-column: 1 / -1;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: nowrap;
    overflow: auto;
  }
  .nav nav a {
    flex: none;
    white-space: nowrap;
    font-size: 0.8rem;
  }
}
@media (max-width: 380px) {
  .nav {
    gap: 6px;
  }
  .nav nav {
    gap: 12px;
  }
  .brand span small {
    display: none;
  }
  .nav-end {
    gap: 7px;
  }
  .button {
    padding: 9px 12px;
  }
  .actions {
    gap: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
}
@media print {
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
  header,
  footer,
  .bread,
  .actions,
  .endcap,
  .tool-buttons,
  .skip,
  .hero-photo,
  .specimen,
  .sources,
  script,
  .chapter .button {
    display: none !important;
  }
  .frame {
    width: 100%;
  }
  .hero-grid,
  .front .hero-grid {
    display: block;
    padding: 10px 0;
  }
  .hero h1 {
    font-size: 29pt;
  }
  .hero .deck {
    margin: 10px 0;
  }
  .chapter,
  .workrow {
    padding: 9px 0;
  }
  .chapter h2 {
    font-size: 20pt;
  }
  .workrow {
    break-inside: avoid;
  }
  .worksheet {
    border: 1px solid #aaa;
  }
  .workrow select {
    appearance: none;
    border: 0;
  }
  .workbar {
    border-bottom: 1px solid;
  }
  .tool-progress {
    font-weight: bold;
  }
  .content {
    padding: 0;
  }
}
