@font-face {
  font-family: DM Sans;
  src: url("fonts/sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: DM Serif Text;
  src: url("fonts/serif.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: DM Serif Text;
  src: url("fonts/italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
:root {
  --ink: #1d211b;
  --paper: #fbf8ef;
  --gold: #f2b659;
  --gutter: clamp(1.25rem, 6vw, 6.25rem);
  --serif: "DM Serif Text", Georgia, serif;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    1rem/1.55 "DM Sans",
    Arial,
    sans-serif;
}
h1,
h2,
h3,
p {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 0.24em;
}
button {
  font: inherit;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #bc7022;
  outline-offset: 4px;
}
.skip {
  position: fixed;
  z-index: 9;
  top: -10rem;
  left: 1rem;
  padding: 0.8rem;
  background: white;
  color: #181a14;
}
.skip:focus {
  top: 1rem;
}
header,
footer {
  background: #151914;
  color: #fcf8ec;
}
.bar {
  max-width: 1580px;
  margin: auto;
  padding: 0 var(--gutter);
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  gap: 0.62rem;
  text-decoration: none;
  font-size: 1.36rem;
  font-weight: 700;
  letter-spacing: -0.055em;
}
.mark,
.reader-mark {
  display: inline-grid;
  place-items: center;
  background: var(--gold);
  border-radius: 50%;
  color: #191b15;
  font: 700 1.95rem/1 Georgia;
  width: 1.55rem;
  height: 1.55rem;
  padding-top: 0.12em;
}
nav {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 2.5vw, 2.25rem);
}
nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
}
nav a:hover {
  text-decoration: underline;
}
.nav-app {
  border: 1px solid #7e8176;
  border-radius: 100px;
  padding: 0 1.12rem;
}
.hero {
  isolation: isolate;
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(76svh, 830px);
  background: #141810;
  color: #fffaf0;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  z-index: -2;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(12, 16, 11, 0.48),
    rgba(12, 16, 11, 0.13) 49%,
    transparent 72%
  );
}
.hero-inner {
  width: 100%;
  max-width: 1580px;
  margin: auto;
  padding: clamp(4rem, 8vw, 8rem) var(--gutter);
  animation: enter 0.65s ease-out both;
}
h1,
h2 {
  font: 400 clamp(2.7rem, 5.3vw, 5.25rem)/1.01 var(--serif);
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero h1 {
  font-size: clamp(3.15rem, 6.4vw, 6.6rem);
  max-width: 10.6em;
}
.hero h1 em {
  color: #f4c17e;
}
em {
  font-family: var(--serif);
  font-weight: 400;
}
.hero p,
.demo-copy p {
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  max-width: 32ch;
  margin-top: 1.5rem;
}
.hero p {
  color: #efece3;
  max-width: 38ch;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  min-height: 50px;
  padding: 0.8rem 1.35rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 650;
  transition:
    transform 0.18s ease,
    background 0.18s ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button.gold {
  background: var(--gold);
  color: #191c12;
  margin-top: 2rem;
}
.button.dark {
  background: var(--ink);
  color: var(--paper);
}
.arrow {
  font-size: 1.2rem;
}
.workflow,
.demo,
.release {
  padding: clamp(3.5rem, 7vw, 7rem) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.8rem, 8vw, 9rem);
  align-items: start;
}
.workflow {
  max-width: 1580px;
  margin: auto;
}
.workflow h2,
.demo h2,
.release h2,
.document h1 {
  font-size: clamp(2.85rem, 4.75vw, 5.4rem);
}
.workflow em,
.document .back {
  color: #586348;
}
.steps {
  border-top: 1px solid #c7c8b8;
}
.steps > div {
  display: grid;
  grid-template-columns: minmax(5rem, 0.56fr) 1.6fr;
  gap: 1rem;
  border-bottom: 1px solid #c7c8b8;
  padding: 1.25rem 0;
}
.steps h3 {
  font: 400 1.62rem/1.15 var(--serif);
}
.steps p {
  color: #45493f;
}
.demo {
  background: #e8ecdf;
  align-items: center;
}
.demo-copy {
  max-width: 27rem;
}
.demo-copy em {
  color: #576547;
}
.reader {
  background: #172018;
  color: #f9f5e9;
  border-radius: 20px;
  padding: clamp(1.45rem, 3.1vw, 3rem);
  max-width: 37rem;
  width: 100%;
  justify-self: start;
  box-shadow: 0 18px 35px -28px #1a251d;
  touch-action: pan-y;
}
.reader-top,
.reader-nav,
.reader-nav > div {
  display: flex;
  align-items: center;
}
.reader-top {
  gap: 0.65rem;
  font-weight: 600;
  color: #e9ebdc;
  font-size: 0.94rem;
}
.reader-mark {
  font-size: 1.4rem;
  width: 1.28rem;
  height: 1.28rem;
}
.sample-cards {
  display: grid;
  min-height: 13.5rem;
  align-content: center;
}
.sample {
  padding: 1.25rem 0;
}
.cue {
  color: #f5c37b;
  font-size: 0.95rem;
  display: block;
}
.sample p {
  font: 400 clamp(1.55rem, 2.4vw, 2.3rem)/1.19 var(--serif);
  margin-top: 0.65rem;
  letter-spacing: -0.012em;
}
.reader-nav {
  justify-content: space-between;
  gap: 0.8rem;
  border-top: 1px solid #52604f;
  padding-top: 1rem;
  font-size: 0.88rem;
  color: #dce0d2;
}
.reader-nav > div {
  gap: 0.4rem;
}
.reader-nav button {
  border: 1px solid #707a68;
  background: none;
  color: #fff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  font-size: 1.2rem;
}
.reader-nav button:hover:enabled {
  background: #354134;
}
.reader-nav button:disabled {
  opacity: 0.38;
  cursor: default;
}
[hidden] {
  display: none !important;
}
.sample.active {
  animation: enter 0.24s ease-out both;
}
.release {
  align-items: center;
  grid-template-columns: 1fr auto;
  background: #edca8f;
}
.release p {
  max-width: 51ch;
  margin-top: 1rem;
}
.release-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.document {
  max-width: 830px;
  padding: clamp(2.5rem, 6vw, 6rem) var(--gutter);
  margin: 0 auto;
  min-height: 72vh;
}
.document h1 {
  margin: 1.75rem 0 1rem;
}
.document .intro {
  font-size: 1.22rem;
  margin-bottom: 2.5rem;
}
.document h2 {
  font-size: 2rem;
  margin: 2rem 0 0.7rem;
}
.document p + p,
.document details + p {
  margin-top: 1.2rem;
}
.document details {
  border-top: 1px solid #c6c7b7;
}
.document summary {
  cursor: pointer;
  padding: 1.1rem 0;
  min-height: 48px;
  font-weight: 650;
}
.document details p {
  padding-bottom: 1.2rem;
}
.back {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}
footer .bar {
  min-height: 102px;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 760px) {
  .bar {
    min-height: 66px;
    gap: 1rem;
  }
  .brand {
    font-size: 1.16rem;
  }
  .hero {
    min-height: clamp(520px, 76svh, 720px);
  }
  .hero-photo {
    object-position: 60% center;
  }
  .hero:after {
    background: linear-gradient(
      90deg,
      rgba(10, 14, 9, 0.76),
      rgba(10, 14, 9, 0.52) 48%,
      rgba(10, 14, 9, 0.1)
    );
  }
  .workflow,
  .demo,
  .release {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .steps > div {
    grid-template-columns: 5.5rem 1fr;
  }
  .reader {
    justify-self: stretch;
    max-width: none;
  }
  .release-actions {
    justify-content: start;
  }
  footer .bar {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}
@media (max-width: 560px) {
  header nav a:not(.nav-app) {
    display: none;
  }
  .bar {
    min-height: 62px;
  }
  .hero {
    min-height: min(770px, calc(100svh - 62px));
    align-items: end;
  }
  .hero-photo {
    object-position: 72% 12%;
  }
  .hero:after {
    background: linear-gradient(
      0deg,
      rgba(12, 16, 11, 0.96) 5%,
      rgba(12, 16, 11, 0.75) 40%,
      rgba(12, 16, 11, 0.02) 82%
    );
  }
  .hero-inner {
    padding-top: 13rem;
    padding-bottom: 2.4rem;
  }
  .hero h1 {
    font-size: clamp(2.9rem, 10.6vw, 3.85rem);
  }
  .hero p {
    max-width: 32ch;
  }
  .hero .button {
    margin-top: 1.2rem;
  }
  .steps > div {
    display: block;
  }
  .steps p {
    margin-top: 0.55rem;
  }
  .sample-cards {
    min-height: 14.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
