@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Baskervville;
  src: url("assets/fonts/baskervville.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Baskervville;
  src: url("assets/fonts/baskervville-italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ink: #131411;
  --panel: #1b1c18;
  --paper: #f2eee5;
  --muted: #b0afa3;
  --line: #37382f;
  --accent: #e5eac3;
  --warm: #d6bd97;
  --serif: Baskervville, Baskerville, Georgia, serif;
  font-family: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  color: var(--paper);
  background: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img, video { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
section[id] { scroll-margin-top: 28px; }
::selection { color: var(--ink); background: var(--accent); }
:focus-visible { outline: 2px solid #ddc9a7; outline-offset: 5px; }
[hidden] { display: none !important; }
.container { width: min(100% - clamp(34px, 9.2vw, 144px), 1320px); margin-inline: auto; }
.skip {
  position: fixed;
  z-index: 10;
  top: 10px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-200%);
  background: var(--paper);
  color: var(--ink);
}
.skip:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner {
  min-height: 75px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -.045em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark img { border-radius: 8px; }
.wordmark-dot { color: var(--accent); }
.main-nav { display: flex; gap: clamp(20px, 3vw, 46px); }
.main-nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--paper); }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  width: fit-content;
  min-height: 48px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--paper);
  background: none;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease;
}
.button span { font-size: 15px; line-height: 1; }
.button-outline { border-color: #505147; }
.button-outline:hover { background: #2d2f26; border-color: #717362; }
.button-primary { color: #21221a; background: var(--accent); border-color: var(--accent); }
.button-primary:hover { color: #171811; background: #f1f3dd; border-color: #f1f3dd; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; justify-self: end; }
.header-cta, .member-login { min-height: 39px; padding: 8px 13px; white-space: nowrap; }
.member-login { border-color: #6b6e5d; }
.member-login:hover { border-color: var(--accent); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  color: var(--paper);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  text-underline-offset: 4px;
  text-decoration-color: transparent;
  transition: text-decoration-color .18s ease, color .18s ease;
}
.text-link:hover { text-decoration-color: currentColor; color: var(--accent); }
.play-triangle {
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid var(--accent);
}

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 81% 29%, #29281f 0%, transparent 57%), var(--ink);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 40%;
  pointer-events: none;
  background-image: linear-gradient(90deg, #c7b0800b 1px, transparent 1px), linear-gradient(#c7b0800b 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at 65% 45%, black 0%, transparent 73%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(350px, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(36px, 5vw, 75px);
  padding-block: clamp(87px, 11vw, 165px) clamp(78px, 9vw, 132px);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #d1cdbd;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .145em;
  text-transform: uppercase;
}
.eyebrow-dot, .caption-dot { display: inline-block; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--accent); }
h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.035em;
}
.hero-copy { container-type: inline-size; }
h1 { margin-top: 22px; font-size: clamp(48px, 6.1vw, 101px); line-height: .91; }
h1 > span { display: block; }
h1 em, h2 em { color: var(--warm); font-weight: 400; }
h1 em { display: block; }
.hero-description { max-width: 39ch; margin-top: 29px; color: var(--muted); font-size: clamp(15px, 1.3vw, 19px); line-height: 1.64; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 19px; margin-top: 29px; }
.hero-actions [data-demo]:not([hidden]) + .tour-link { flex-basis: 100%; }
.hero-visual { min-width: 0; }
.workspace-frame {
  display: block;
  overflow: hidden;
  border: 1px solid #666052;
  border-radius: 13px;
  background: #151515;
  box-shadow: 0 26px 100px #0009, 0 0 0 6px #ae97700c;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.workspace-frame:hover { transform: translateY(-3px); box-shadow: 0 29px 100px #000a, 0 0 0 6px #ae977016; }
.frame-top {
  min-height: 37px;
  padding: 0 11px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid #3a382e;
  background: #282720;
}
.frame-window { display: flex; gap: 4px; }
.frame-window i { width: 5px; height: 5px; border-radius: 50%; background: #8f897b; }
.frame-label { color: #ddd5c3; font-size: 10px; font-weight: 600; white-space: nowrap; }
.frame-label span { margin-inline: 4px; color: #968a73; }
.frame-expand { justify-self: end; color: #e1d2b4; font-size: 13px; }
.workspace-frame img { width: 100%; height: auto; }
.hero-visual figcaption {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}
.caption-dot { width: 5px; height: 5px; }
.caption-divider { width: 12px; height: 1px; background: #777265; }

.workflow { padding-block: clamp(62px, 8vw, 124px); background: #eee9de; color: #282820; }
.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(250px, .7fr);
  gap: 24px 50px;
  align-items: end;
  margin-bottom: clamp(30px, 4vw, 57px);
}
.workflow .eyebrow { color: #625b46; }
.workflow .eyebrow-dot { background: #625b46; }
h2 { font-size: clamp(54px, 6vw, 88px); line-height: .93; }
.section-intro h2 { margin-top: 17px; }
.workflow h2 em { color: #79613d; }
.section-intro > p { max-width: 36ch; margin-bottom: 4px; color: #5d594e; font-size: 16px; line-height: 1.65; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.step { min-width: 0; }
.step-image {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.64;
  background: #181815;
  border: 1px solid #4a483f;
  border-radius: 8px;
}
.step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}
.step-intelligence img { object-position: 58% 33%; }
.step-calendar img { object-position: 52% 36%; }
.step-approve img { object-position: 50% 40%; }
.step-image:hover img { transform: scale(1.035); }
.step-image span {
  position: absolute;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  right: 8px;
  bottom: 8px;
  border: 1px solid #ffffff35;
  border-radius: 5px;
  color: #f9f6ee;
  background: #191a15e8;
  font-size: 14px;
}
.workflow .step-image:focus-visible { outline-color: #70562f; }
.step-copy { padding-block: 18px 0; border-bottom: 1px solid #d1caba; padding-bottom: 18px; }
.step-copy h3 { margin-bottom: 6px; font-size: 18px; font-weight: 650; letter-spacing: -.04em; }
.step-copy p { max-width: 32ch; color: #5e5a4f; font-size: 14px; line-height: 1.6; }

.film { padding-block: clamp(63px, 8vw, 124px); background: var(--ink); }
.film-inner {
  display: grid;
  grid-template-columns: minmax(235px, .68fr) minmax(0, 1.32fr);
  align-items: center;
  gap: clamp(26px, 6vw, 85px);
}
.film-copy h2 { margin-block: 18px 24px; }
.film-copy h2 em { display: block; }
.film-copy p:not(.eyebrow) { max-width: 31ch; color: var(--muted); font-size: 16px; line-height: 1.65; }
.download-film { margin-top: 22px; color: var(--accent); }
.film-player { min-width: 0; }
.film-player video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #24251e;
  border: 1px solid #5b5548;
  border-radius: 12px;
}
.transcript { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.transcript summary { cursor: pointer; width: fit-content; }
.transcript summary:hover { color: var(--accent); }
.transcript dl { display: grid; gap: 7px; margin-block: 12px 0; max-width: 68ch; }
.transcript dl div { display: grid; grid-template-columns: 3em 1fr; gap: 7px; }
.transcript dt { color: var(--accent); font-variant-numeric: tabular-nums; }
.transcript dd { margin: 0; }

.walkthrough { padding-bottom: clamp(53px, 6.5vw, 94px); }
.walkthrough-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .89fr);
  overflow: hidden;
  border: 1px solid #4e4838;
  border-radius: 13px;
  background: #242319;
}
.walkthrough-copy { padding: clamp(35px, 5vw, 76px); }
.walkthrough h2 { margin-block: 15px 19px; font-size: clamp(52px, 5.5vw, 83px); }
.walkthrough h2 em { display: block; }
.walkthrough-copy p:not(.eyebrow) { max-width: 36ch; color: #c4bdad; font-size: 16px; line-height: 1.6; }
.walkthrough-copy .button { margin-top: 23px; }
.walkthrough-panel > img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: 68% center;
}
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px 25px; }
.footer-inner .wordmark { color: #dedbd2; font-size: 14px; }
.footer-inner .text-link { color: var(--muted); }
.footer-inner .text-link:hover { color: var(--accent); }
.footer-inner .admin-login { color: #929387; font-size: 12px; }

dialog {
  max-width: calc(100% - 34px);
  max-height: calc(100dvh - 34px);
  padding: 0;
  border: 1px solid #666256;
  border-radius: 12px;
  color: var(--paper);
  background: var(--panel);
  box-shadow: 0 25px 100px #000b;
}
dialog::backdrop { background: #080906c2; backdrop-filter: blur(4px); }
body:has(dialog[open]) { overflow: hidden; }
.inquiry { width: 510px; padding: 25px; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.dialog-heading h2 { font-family: inherit; font-size: 22px; font-weight: 600; line-height: 1.12; }
.icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: #2a2a23;
  border: 1px solid #514d41;
  border-radius: 6px;
  color: var(--paper);
  font-size: 21px;
  line-height: 1;
}
.icon-button:hover { background: #3a3a30; }
.inquiry p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.55; }
#inquiry-form { margin-top: 20px; }
.inquiry-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.inquiry label { display: grid; gap: 5px; color: var(--paper); font-size: 12px; font-weight: 600; }
.inquiry input, .inquiry textarea {
  display: block;
  width: 100%;
  padding: 10px 11px;
  border: 1px solid #4b4b3e;
  border-radius: 6px;
  color: var(--paper);
  background: #262720;
  font-size: 16px;
  font-weight: 400;
}
.inquiry textarea { resize: vertical; }
.inquiry-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
#inquiry-status:empty { display: none; }
#manual-copy { margin-top: 9px; }
.screenshot-dialog { width: min(1100px, 95vw); }
.screenshot-dialog .dialog-heading { padding: 12px 14px; }
.screenshot-dialog img { width: 100%; height: auto; }

@media (max-width: 1080px) {
  .header-inner { gap: 18px; }
  .main-nav { gap: 20px; }
  .header-actions { gap: 8px; }
  .hero-inner { grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); gap: 34px; }
}
@media (max-width: 790px) {
  .header-inner { grid-template-columns: 1fr auto; min-height: 66px; gap: 14px; }
  .main-nav { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 35px; padding-block: 65px 52px; }
  .hero::before { inset: 0; mask-image: radial-gradient(ellipse at 80% 64%, black 0%, transparent 68%); }
  h1 { font-size: clamp(44px, 10.5vw, 97px); }
  .hero-description { margin-top: 22px; }
  .hero-actions { margin-top: 21px; }
  .section-intro { grid-template-columns: 1fr; gap: 15px; }
  .section-intro > p { max-width: 46ch; }
  .film-inner { grid-template-columns: 1fr; gap: 23px; }
  .film-copy h2 em { display: inline; }
  .film-copy h2 { margin-bottom: 14px; }
  .film-copy p:not(.eyebrow) { max-width: 50ch; }
  .download-film { margin-top: 13px; }
}
@media (max-width: 560px) {
  .wordmark { font-size: 14px; gap: 8px; }
  .wordmark img { width: 30px; height: 30px; }
  .header-cta { display: none; }
  .member-login { font-size: 12px; min-height: 36px; gap: 7px; padding: 7px 10px; }
  .header-cta span { font-size: 12px; }
  .hero-inner { padding-top: 54px; }
  .frame-top { min-height: 29px; }
  .workspace-frame { border-radius: 8px; }
  .hero-visual figcaption { font-size: 10px; margin-top: 11px; }
  .steps { grid-template-columns: 1fr; gap: 25px; }
  .step-copy { padding-block: 12px 14px; }
  .step-copy p { max-width: 43ch; }
  .walkthrough-panel { grid-template-columns: 1fr; }
  .walkthrough-copy { padding: 32px 23px; }
  .walkthrough-panel > img { min-height: 0; max-height: 220px; aspect-ratio: 1.9; }
  .footer-inner { min-height: 78px; flex-wrap: wrap; padding-block: 12px; }
  .footer-links { justify-content: flex-start; gap: 9px 17px; }
  .footer-inner .text-link { font-size: 12px; }
  .inquiry { padding: 19px; }
}
@media (max-width: 360px) {
  .button.header-cta { gap: 5px; }
  .hero-inner { gap: 26px; }
  .inquiry-fields { grid-template-columns: 1fr; }
}
@supports (font-size: 1cqi) {
  h1 { font-size: clamp(42px, 15.65cqi, 101px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
