:root {
  color-scheme: light;
  --ink: #202124;
  --muted: #55565b;
  --amber: #ffcb32;
  --amber-hover: #ffdc64;
  --amber-soft: #fff0b0;
  --amber-dark: #744500;
  --line: #e9e4dc;
  --cream: #fff7d8;
  --white: #fff;
  --max: 1200px;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Inter", "Segoe UI", system-ui, sans-serif; color: var(--ink); line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p a, .contact-list a { font-weight: 700; }
p a:hover, .contact-list a:hover { color: var(--amber-dark); }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #b86800; outline-offset: 5px; }
.dark :focus-visible { outline-color: var(--amber); }
.hero :focus-visible { outline-color: #ffc66d; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.07; letter-spacing: -.045em; }
h1 { font-size: clamp(2.85rem, 5.8vw, 5.4rem); font-weight: 780; }
h2 { font-size: clamp(2.15rem, 4vw, 3.55rem); font-weight: 755; }
h3 { font-size: 1.35rem; }
p { color: var(--muted); }
.wrap { width: min(calc(100% - 72px), var(--max)); margin-inline: auto; }
.skip { position: fixed; z-index: 100; top: -5rem; left: 1rem; background: white; padding: .7rem 1rem; }
.skip:focus { top: 1rem; }
.site-header { background: white; position: sticky; top: 0; z-index: 10; border-top: 4px solid var(--amber); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: block; width: clamp(250px, 26vw, 340px); flex: 0 0 auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.15vw, 30px); }
.nav a { text-decoration: none; font-size: .91rem; font-weight: 660; white-space: nowrap; }
.nav a[aria-current="page"]:not(.button) { color: var(--amber-dark); background: var(--amber-soft); border-radius: 3px; box-shadow: 0 0 0 5px var(--amber-soft); }
.nav a:not(.button):hover { color: var(--amber-dark); }
.nav-toggle { display: none; background: white; border: 1px solid var(--line); border-radius: 8px; padding: .48rem .82rem; color: var(--ink); font-weight: 700; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 47px; padding: .72rem 1.18rem; border: 1px solid transparent; border-radius: 8px; text-decoration: none; font-weight: 730; line-height: 1.25; font-size: .95rem; }
.button-primary { background: var(--amber); color: #211605; }
.button-primary:hover { background: var(--amber-hover); }
.button-outline { border-color: var(--line); background: transparent; }
.button-outline:hover { border-color: var(--amber); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.65rem; }
.eyebrow { color: var(--amber-dark); font-size: .79rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 780; margin-bottom: 1rem; }
.dark { background: #202124; color: white; }
.dark p { color: #d2cfca; }
.dark .eyebrow { color: var(--amber); }
.hero .eyebrow, .hero .accent { color: #ffb741; }
.hero { color: white; background: #1d1d20; position: relative; isolation: isolate; }
.hero-image { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 67%; height: 100%; object-fit: cover; object-position: right center; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#1d1d20 0%,#1d1d20 30%,rgba(29,29,32,.91) 43%,rgba(29,29,32,.05) 83%), linear-gradient(0deg,rgba(22,20,17,.63),transparent 45%); }
.hero-inner { position: relative; min-height: clamp(535px, 46vw, 650px); display: flex; align-items: center; padding-block: 75px 118px; }
.slide { max-width: 660px; }
.slide p:not(.eyebrow) { color: #e1ded8; max-width: 440px; margin-top: 1.35rem; font-size: clamp(1rem, 1.5vw, 1.14rem); }
.hero .button-primary { background: #f5a318; }
.hero .button-primary:hover { background: #ffb744; }
.hero .button-outline { color: white; border-color: #ffffff64; background: #1d1d204d; }
.hero .button-outline:hover { border-color: #ffb741; }
.carousel-controls { position: absolute; inset: auto auto 23px 0; display: flex; align-items: center; gap: 9px; }
.carousel-controls button { display: grid; place-items: center; width: 42px; height: 42px; background: #29282a; color: white; border: 1px solid #ffffff45; border-radius: 50%; font-size: 1.5rem; line-height: 1; }
.carousel-controls button:hover { color: #ffb741; border-color: #ffb741; }
.carousel-position { color: #e1ded8; margin-left: .35rem; font-size: .85rem; font-variant-numeric: tabular-nums; }
.hero-note { position: absolute; right: 0; bottom: 36px; display: grid; gap: .1rem; padding: .76rem 1.15rem; background: white; color: var(--ink); border-left: 4px solid #f5a318; border-radius: 8px; box-shadow: 0 10px 35px #14110c44; font-size: .91rem; }
.hero-note span { font-size: .77rem; color: var(--muted); }
.section { padding-block: clamp(56px, 7.3vw, 104px); }
.soft { background: var(--cream); }
.section-head { margin-bottom: 1.9rem; }
.section-head p:not(.eyebrow), .page-intro p:not(.eyebrow), .lead { font-size: 1.08rem; margin-top: .95rem; max-width: 62ch; }
.grid-three { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.card { border: 1px solid var(--line); border-radius: 14px; background: white; padding: clamp(22px, 3vw, 33px); }
.card h3 { margin-top: .9rem; }
.card p { margin-top: .72rem; }
.card a { display: inline-block; margin-top: .95rem; color: var(--amber-dark); font-weight: 700; }
.feature-symbol { width: 46px; height: 46px; border: 1px solid #f3cf99; display: grid; place-items: center; border-radius: 10px; background: var(--amber); color: #533000; font-weight: 780; font-size: 1.35rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6.5vw, 88px); align-items: center; }
.split.start { align-items: start; }
.search-demo { border: 1px solid #e7ded1; border-radius: 16px; background: white; padding: clamp(1rem, 3vw, 1.85rem); box-shadow: 0 12px 34px #33220b0b; }
.search-demo label { display: block; margin-bottom: .46rem; font-weight: 700; }
.search-demo input { display: block; width: 100%; padding: .7rem .8rem; border: 1px solid #bdb4a8; border-radius: 7px; color: var(--ink); }
.search-results { margin: .85rem 0 0; padding: 0; list-style: none; min-height: 8rem; }
.search-results li { padding: .54rem .7rem; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: .68rem; font-size: .92rem; }
.search-results small { display: block; color: var(--muted); }
.file-tag { font-size: .69rem; font-weight: 800; color: #72460b; background: var(--amber-soft); border-radius: 5px; padding: .25rem .35rem; }
.demo-note { font-size: .84rem; margin-top: .82rem; }
.details-stack { display: grid; gap: .66rem; }
details { border: 1px solid var(--line); background: white; border-radius: 9px; }
details summary { cursor: pointer; padding: 1rem 1.16rem; font-weight: 720; }
details p { padding: 0 1.16rem 1rem; max-width: 69ch; }
.cta { background: var(--amber); color: #211805; padding-block: clamp(42px, 5vw, 72px); }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { max-width: 22ch; font-size: clamp(2rem, 3.7vw, 3.25rem); }
.cta .button { flex: none; background: var(--ink); color: white; }
.cta .button:hover { background: #3c3c41; }
.site-footer { padding-block: 48px 22px; }
.footer-grid { display: grid; grid-template-columns: 1.05fr .75fr 1.2fr; gap: 32px; }
.footer-logo { background: white; border-radius: 8px; padding: 5px 9px; width: 260px; }
.footer-grid h2 { font-size: 1.05rem; letter-spacing: 0; margin-bottom: .65rem; }
.footer-grid p { margin-top: .7rem; font-size: .93rem; overflow-wrap: anywhere; }
.footer-grid nav { display: grid; justify-items: start; gap: .26rem; font-size: .93rem; }
.footer-grid a:hover { color: var(--amber); }
.copyright { border-top: 1px solid #49494c; margin-top: 32px; padding-top: 17px; font-size: .86rem; }
.page-intro { position: relative; isolation: isolate; padding-block: clamp(52px, 8vw, 108px); background: #202124; }
.page-intro-image { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 60%; height: 100%; object-fit: cover; object-position: center; }
.page-intro::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #202124 0%, #202124 40%, #202124ee 49%, #20212452 68%, #2021240a 87%); }
.page-intro .wrap { padding-right: min(36vw, 480px); }
.page-intro h1 { font-size: clamp(2.7rem, 5.5vw, 4.65rem); max-width: 17ch; }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-top: 1.8rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: .85rem; }
.content-photo { border-radius: 15px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.contact-list { display: grid; gap: .9rem; margin-top: 1.2rem; }
.contact-list p { overflow-wrap: anywhere; }
section[id], h2[id] { scroll-margin-top: 131px; }
@media (max-width: 930px) {
  .wrap { width: min(calc(100% - 48px), var(--max)); }
  .header-inner { gap: 14px; }
  .brand { width: 250px; }
  .nav { gap: 15px; }
  .nav a { font-size: .83rem; }
}
@media (max-width: 835px) {
  .header-inner { flex-wrap: wrap; min-height: 82px; padding-block: 8px; }
  .brand { width: min(238px, calc(100% - 84px)); }
  .nav { flex-wrap: wrap; }
  .js .nav-toggle { display: inline-flex; }
  .js .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-block: .25rem .7rem; }
  .js .nav[data-open="true"] { display: flex; }
  .nav a { font-size: .97rem; }
  .nav a[aria-current="page"]:not(.button) { box-shadow: none; }
  .hero-image { width: 100%; object-position: right center; }
  .hero::after { background: linear-gradient(90deg, #181719f9, #181719bc 60%, #18171961), linear-gradient(0deg, #181719db, transparent 55%); }
  .hero-inner { min-height: 520px; }
  .page-intro { display: grid; padding: 0; }
  .page-intro .wrap { padding: 44px 0 35px; }
  .page-intro-image { position: static; z-index: auto; grid-row: 2; width: 100%; height: clamp(185px, 45vw, 320px); }
  .page-intro::after { display: none; }
  .hero-note { display: none; }
  .grid-three, .split, .footer-grid { grid-template-columns: 1fr; }
  .cta .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .wrap { width: calc(100% - 36px); }
  .hero-inner { padding-block: 58px 100px; }
}
.hero-title { font-size: clamp(2.85rem, 5.8vw, 5.4rem); font-weight: 780; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.approval-demo {
  min-width: 0;
  max-width: 870px;
  margin: clamp(28px, 4vw, 48px) auto 0;
  background: #fffdf8;
  color: var(--ink);
  border: 1px solid #f5d678;
  border-radius: 20px;
  box-shadow: 0 14px 38px #1f170f12;
  padding: clamp(16px, 2.4vw, 28px);
  scroll-margin-top: 131px;
}
.approval-demo :focus-visible { outline-color: #845000; }
.approval-demo p { color: var(--muted); }
.approval-demo-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px 15px;
  margin-bottom: 19px;
}
.approval-demo-header h2 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
.approval-demo-header p { font-size: .85rem; }
.flow-lane {
  margin-top: 11px;
  background: white;
  border: 1px solid #eae1cc;
  border-radius: 12px;
  padding: 12px;
}
.flow-lane[data-active="true"] { border-color: #b98721; box-shadow: 0 0 0 2px #ffdb6f75; }
.flow-lane-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.flow-lane-header h3 { font-size: 1rem; letter-spacing: -.02em; }
.flow-start {
  color: #4b3100;
  background: #fff0b0;
  border: 1px solid #e8c272;
  border-radius: 7px;
  padding: .3rem .56rem;
  font-size: .83rem;
  font-weight: 740;
  line-height: 1.25;
}
.flow-start:hover { background: var(--amber); }
.flow-steps {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  list-style: none;
  padding: 0;
  margin: .85rem 0 0;
}
.flow-step { position: relative; display: grid; align-content: start; justify-items: center; text-align: center; gap: .16rem; padding-inline: 2px; }
.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 17px;
  left: calc(50% + 22px);
  width: calc(100% - 44px);
  height: 8px;
  background:
    linear-gradient(45deg, transparent 36%, var(--connector, #a39373) 37% 56%, transparent 57%) right top / 6px 50% no-repeat,
    linear-gradient(135deg, transparent 36%, var(--connector, #a39373) 37% 56%, transparent 57%) right bottom / 6px 50% no-repeat,
    linear-gradient(var(--connector, #a39373), var(--connector, #a39373)) center / 100% 2px no-repeat;
}
.flow-step[data-state="done"]:has(+ .flow-step:is([data-state="done"], [data-state="current"])) { --connector: #996000; }
.flow-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: .2rem;
  color: #754600;
  background: #fff3cb;
  border: 1px solid #efdfac;
  border-radius: 10px;
}
.flow-icon svg, .feature-symbol svg { width: 23px; height: 23px; }
.flow-step strong { font-size: clamp(.76rem, 1.1vw, .93rem); line-height: 1.2; }
.flow-step small { color: var(--muted); font-size: .76rem; line-height: 1.25; }
.flow-step[data-state="current"] .flow-icon { background: var(--amber); border-color: #9e6d06; animation: approval-pulse .55s ease-out 2; }
.flow-step[data-state="done"] .flow-icon { background: #e3f2e4; color: #226437; border-color: #9bbd9e; }
.flow-step[data-state="declined"] .flow-icon { background: #ffe6dd; color: #8a2823; border-color: #d8978d; }
.flow-feedback { margin-top: 12px; background: #fff5d5; border-radius: 9px; padding: .65rem .75rem; min-height: 58px; }
.flow-feedback p { color: #493507; font-size: .88rem; font-weight: 650; }
.flow-decisions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: .45rem; }
.flow-decisions .button { padding: .42rem .72rem; min-height: 36px; font-size: .85rem; }
.flow-decisions .button-outline { border-color: #a89063; }
.feature-link { display: inline-block; color: var(--amber-dark); font-weight: 750; margin-top: .65rem; }
.feature-link:hover { color: var(--ink); }
.capability-catalogue { background: #fffbec; }
.capability-group + .capability-group { margin-top: clamp(36px, 5vw, 70px); }
.capability-group h2 { margin-bottom: 19px; font-size: clamp(1.75rem, 3.1vw, 2.65rem); }
.capability-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.capability-card { padding: 21px; }
.capability-card h3 { font-size: 1.2rem; letter-spacing: -.025em; }
.capability-card p { font-size: .98rem; }
.capability-card .feature-symbol { background: #ffdb75; border-color: #f2d48b; }
@keyframes approval-pulse {
  from { box-shadow: 0 0 0 0 #ffc63d8a; }
  to { box-shadow: 0 0 0 9px #ffc63d00; }
}
@keyframes flow-transfer {
  from { left: calc(50% + var(--flow-gap)); }
  to { left: calc(150% - var(--flow-gap) - 8px); }
}
@media (prefers-reduced-motion: no-preference) {
  .flow-step[data-state="done"]:has(+ .flow-step[data-state="current"])::before {
    --flow-gap: 22px;
    content: "";
    position: absolute;
    z-index: 1;
    top: 17px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #996000;
    animation: flow-transfer .44s linear both;
  }
}
@media (prefers-reduced-motion: reduce) {
  .flow-step[data-state="current"] .flow-icon { animation: none; }
}
@media (max-width: 510px) {
  .approval-demo { padding: 12px; }
  .flow-lane { padding: 9px 5px; }
  .flow-lane-header { padding-inline: 4px; }
  .flow-step small { display: none; }
  .flow-step strong { overflow-wrap: anywhere; }
  .flow-icon { width: 34px; height: 34px; }
  .flow-icon svg { width: 20px; height: 20px; }
  .flow-step:not(:last-child)::after { top: 13px; left: calc(50% + 19px); width: calc(100% - 38px); }
  .flow-step[data-state="done"]:has(+ .flow-step[data-state="current"])::before { --flow-gap: 19px; top: 13px; }
}
