@font-face {
  font-family: 'DM Sans';
  src: url('dm-sans.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Source Serif';
  src: url('source-serif.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f7f5ed;
  --white-paper: #fbf9f0;
  --ink: #143a2e;
  --green: #20523e;
  --deep: #10372c;
  --text: #35483d;
  --muted: #536256;
  --rule: #d0d5c6;
  --gold: #d0a75d;
  --gold-ink: #765318;
  --display: 'Source Serif', Georgia, serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --inset: clamp(20px, 5.45vw, 94px);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--body); }
img { display: block; max-width: 100%; }
a { color: inherit; }
p, dl { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; text-wrap: balance; }
h2 { font-size: clamp(2.45rem, 4.4vw, 4.4rem); line-height: 1.03; letter-spacing: -.035em; }
::selection { background: #e6cc91; color: var(--deep); }
:focus-visible { outline: 3px solid #936221; outline-offset: 5px; }
[id] { scroll-margin-top: 1.5rem; }
.shell { width: min(calc(100% - 2 * var(--inset)), 1280px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 5; top: .75rem; left: .75rem; padding: .7rem 1rem; background: var(--white-paper); transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--rule); }
.masthead { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; gap: 10px; align-items: center; width: fit-content; min-height: 48px; text-decoration: none; flex: none; }
.brand img { height: auto; mix-blend-mode: multiply; }
.brand span { display: grid; gap: 2px; }
.brand strong { font: 400 1.64rem/1 var(--display); letter-spacing: -.035em; }
.brand small { color: var(--muted); font-size: .73rem; line-height: 1.3; font-weight: 700; letter-spacing: .035em; }
.site-nav { display: flex; gap: clamp(14px, 3.05vw, 47px); align-items: center; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .text-link:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .36em; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  min-height: 50px;
  padding: .77rem 1.15rem;
  border: 1px solid transparent;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out), transform 140ms var(--ease-out);
}
.button-primary { color: var(--white-paper); background: var(--deep); }
.button-outline { color: var(--deep); border-color: #8c9d8d; }
.button-primary:hover { background: var(--green); }
.button-outline:hover { background: #e9ecdf; }
.button:active { transform: scale(.98); transition-duration: 100ms; }
.text-link { display: inline-flex; align-items: center; gap: .65rem; width: fit-content; min-height: 44px; color: inherit; font-size: .9rem; font-weight: 700; text-decoration: none; }
.arrow-diagonal, .arrow-down, .arrow-up { position: relative; width: 15px; height: 15px; flex: 0 0 15px; }
.arrow-diagonal::before, .arrow-down::before, .arrow-up::before { content: ''; position: absolute; width: 9px; height: 9px; inset: 2px 2px auto auto; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; }
.arrow-diagonal::after, .arrow-down::after, .arrow-up::after { content: ''; position: absolute; width: 13px; height: 1.5px; inset: 7px auto auto 1px; background: currentColor; transform: rotate(-45deg); }
.arrow-down { transform: rotate(135deg); }
.arrow-up { transform: rotate(-45deg); }

.hero { display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1fr); align-items: center; gap: clamp(30px, 5.3vw, 78px); min-height: min(730px, max(610px, 78vh)); padding-block: 52px 64px; }
.hero h1 { margin-bottom: 24px; font-size: clamp(3.35rem, 5.55vw, 5.25rem); line-height: .99; letter-spacing: -.04em; text-wrap: pretty; }
.hero h1 span { color: var(--green); white-space: nowrap; }
.hero-copy p { max-width: 35rem; color: var(--text); font-size: clamp(1.02rem, 1.36vw, 1.2rem); line-height: 1.6; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 23px; margin-top: 27px; }

.section-space { padding-block: clamp(64px, 8vw, 120px); }
.workflows, .questions, .demo-layout, .contact-inner { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); gap: clamp(28px, 7.5vw, 115px); }
.workflows { border-top: 1px solid var(--rule); }
.section-lead p, .contact-inner p { max-width: 34ch; margin-top: 20px; color: var(--text); }
.workflow-list { border-top: 1px solid var(--rule); }
.workflow { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.08fr); gap: 10px 26px; align-items: start; padding-block: 24px; border-bottom: 1px solid var(--rule); }
.workflow-name { display: flex; align-items: center; gap: 11px; }
.workflow-name h3 { font-size: clamp(1.3rem, 2.2vw, 2rem); line-height: 1.12; letter-spacing: -.025em; text-wrap: initial; }
.workflow p { color: var(--text); font-size: .96rem; line-height: 1.58; }
.line-icon { width: 22px; height: 22px; flex: 0 0 22px; fill: none; stroke: var(--gold-ink); stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }

.demo-section { background: var(--deep); color: var(--white-paper); }
.demo-layout { align-items: center; }
.demo-layout .section-lead p { color: #d3e0d2; }
.demo-layout .text-link { margin-top: 19px; color: #edcc89; }
.on-dark:focus-visible, .demo-image:focus-visible { outline-color: #efcd86; }
.demo-image { display: block; overflow: hidden; border: 1px solid #7c9885; background: #e7ede3; }
.demo-image img { width: 100%; height: auto; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .demo-image:hover img { transform: scale(1.022); }
}

.questions-list { border-top: 1px solid var(--rule); }
.questions-list details { border-bottom: 1px solid var(--rule); }
.questions-list summary { position: relative; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 15px 30px 15px 0; cursor: pointer; font-weight: 700; line-height: 1.45; list-style: none; }
.questions-list summary::-webkit-details-marker { display: none; }
.questions-list summary::before, .questions-list summary::after { position: absolute; right: 4px; top: calc(50% - .5px); content: ''; width: 13px; height: 1px; background: var(--green); }
.questions-list summary::after { transform: rotate(90deg); }
.questions-list details[open] summary::after { display: none; }
.questions-list p { padding: 0 20px 18px 0; max-width: 60ch; color: var(--text); }

.contact-section { background: #eae9da; border-block: 1px solid var(--rule); }
.contact-inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; padding-block: clamp(44px, 6vw, 85px); }
.contact-inner p { max-width: 42ch; }
.contact-actions { display: grid; gap: 6px; justify-items: start; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-block: 28px; }
.footer-inner p { color: var(--muted); font-size: .87rem; }

@media (max-width: 1020px) {
  .hero { min-height: 570px; gap: 30px; }
  .hero h1 { font-size: clamp(3.1rem, 6.3vw, 4.15rem); }
  .workflows, .questions, .demo-layout, .contact-inner { gap: 34px; }
}
@media (max-width: 760px) {
  .masthead { min-height: auto; flex-wrap: wrap; padding-top: 11px; gap: 7px 10px; }
  .brand img { width: 45px; }
  .brand strong { font-size: 1.44rem; }
  .site-nav { order: 3; justify-content: space-between; width: 100%; gap: 10px; border-top: 1px solid var(--rule); }
  .site-nav a { font-size: .84rem; }
  .header-action { display: none; }
  .hero, .workflows, .questions, .demo-layout, .contact-inner { grid-template-columns: minmax(0, 1fr); gap: 29px; }
  .hero { padding-block: 43px 42px; min-height: 0; }
  .hero h1 { max-width: 14ch; margin-bottom: 17px; font-size: clamp(2.76rem, 8.35vw, 4.18rem); }
  .hero-actions { margin-top: 16px; gap: 4px 17px; }
  .workflow { grid-template-columns: minmax(0, 1fr); padding-block: 19px; gap: 8px; }
  .workflow p { max-width: 35ch; }
  .section-lead p, .contact-inner p { margin-top: 13px; }
  .demo-layout .text-link { margin-top: 12px; }
  .footer-inner { column-gap: 12px; }
  .footer-inner p { order: 3; flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button:active, .demo-image:hover img { transform: none; }
}
