:root {
  color-scheme: light;
  --paper: #f8f5ee;
  --white: #fffdf8;
  --ink: #1b3029;
  --forest: #12372e;
  --dark: #0c2c25;
  --muted: #52665d;
  --clay: #904528;
  --peach: #e2a582;
  --line: #ddd5c7;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ol, figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.05em; line-height: 1.04; }
h2 { font-size: clamp(2.55rem, 4.6vw, 4.15rem); }
h3 { font-size: 1.18rem; line-height: 1.25; letter-spacing: -.028em; }
section[id] { scroll-margin-top: 24px; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 5px; }
.wrap { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: absolute; top: 12px; left: 12px; z-index: 5; padding: 10px 16px; color: white; background: var(--dark); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-inner { min-height: 87px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.brand img { height: auto; object-fit: contain; }
.site-header nav { display: flex; gap: clamp(20px, 3vw, 38px); align-items: center; }
.nav-link { color: var(--muted); font-size: .9rem; font-weight: 650; }
.nav-link:hover, .text-link:hover { color: var(--clay); }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: .91rem;
  font-weight: 700;
  line-height: 1.35;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.button-primary { background: var(--forest); color: var(--white); }
.button-primary:hover { background: #254b40; }
.button-outline { border-color: #8a9b90; color: var(--forest); }
.button-outline:hover { background: #e9eee7; }
.button-light { background: var(--white); color: var(--forest); }
.button-light:hover { background: #f0e4d5; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: .91rem; font-weight: 720; }
.text-link span { color: var(--clay); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  align-items: center;
  gap: clamp(32px, 5vw, 68px);
  padding-block: clamp(58px, 8vw, 108px);
}
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--clay); font-size: .74rem; font-weight: 760; letter-spacing: .14em; text-transform: uppercase; }
.accent-dot { flex: 0 0 auto; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hero h1 { margin-top: 18px; font-size: clamp(3.35rem, 6.05vw, 5.4rem); }
.hero h1 em { color: var(--clay); font-weight: inherit; }
.hero-intro { max-width: 520px; margin-top: 22px; color: var(--muted); font-size: clamp(1.02rem, 1.55vw, 1.23rem); }
.actions, .contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px 23px; }
.actions { margin-top: 26px; }
.hero-note { margin-top: 23px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: .81rem; }

.workflow-art {
  min-width: 0;
  padding: clamp(21px, 3.6vw, 41px);
  overflow: hidden;
  color: #f7f2e8;
  border: 1px solid #264c40;
  border-radius: 8px;
  background-color: var(--dark);
  background-image:
    radial-gradient(ellipse at 80% 15%, #2a5546 0, transparent 66%),
    repeating-linear-gradient(90deg, transparent 0 39px, #ffffff0a 39px 40px),
    repeating-linear-gradient(0deg, transparent 0 39px, #ffffff0a 39px 40px);
}
.art-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #ddc6b4; font-size: .68rem; font-weight: 750; letter-spacing: .14em; }
.art-top svg { color: var(--peach); }
.file-stack { position: relative; margin: 39px 7px 25px 4px; }
.back-sheet {
  position: absolute;
  inset: 5px -4px -8px 16px;
  transform: rotate(5deg);
  border: 1px solid #e4c0a4;
  border-radius: 4px;
  background: #d9aa8c;
}
.deal-sheet {
  position: relative;
  padding: clamp(17px, 2.4vw, 28px);
  border: 1px solid #e4d6c4;
  border-radius: 3px;
  background: var(--white);
  box-shadow: 0 12px 22px #061d16a3;
  color: var(--ink);
}
.sheet-tab {
  position: absolute;
  top: -23px;
  left: -1px;
  padding: 4px 11px 3px;
  border: 1px solid #e4d6c4;
  border-bottom: 0;
  border-radius: 4px 6px 0 0;
  background: var(--white);
  color: var(--clay);
  font-size: .62rem;
  font-weight: 780;
  letter-spacing: .12em;
}
.sheet-kicker { display: block; color: var(--muted); font-size: .62rem; font-weight: 780; letter-spacing: .13em; }
.sheet-heading h2 { margin-top: 4px; font-size: clamp(1.6rem, 3vw, 2.25rem); }
.sheet-steps { margin-top: 17px; list-style: none; padding: 0; }
.sheet-steps li { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-top: 1px solid var(--line); }
.sheet-steps li:last-child { padding-bottom: 0; }
.step-symbol { display: grid; flex: 0 0 30px; height: 30px; place-items: center; border-radius: 50%; background: #e9eee5; color: var(--forest); font-size: .69rem; font-weight: 780; }
.sheet-steps strong, .sheet-steps small { display: block; }
.sheet-steps strong { font-size: .91rem; line-height: 1.3; }
.sheet-steps small { color: var(--muted); font-size: .73rem; }
.workflow-art figcaption { display: flex; align-items: center; gap: 9px; color: #f0dfd1; font-size: .76rem; }
.workflow-art figcaption .accent-dot { color: var(--peach); }

.services { padding-block: clamp(58px, 7vw, 93px); border-block: 1px solid var(--line); background: var(--white); }
.section-split { display: grid; grid-template-columns: minmax(240px, .84fr) minmax(0, 1.16fr); gap: clamp(33px, 8vw, 100px); }
.section-heading h2, .portal h2 { margin-top: 12px; }
.section-heading > p:last-child:not(.eyebrow) { max-width: 405px; margin-top: 16px; color: var(--muted); }
.service-list { border-top: 1px solid var(--line); }
.service-list article { display: grid; grid-template-columns: 33px 1fr; gap: 17px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.item-index { color: var(--clay); font-size: .76rem; font-weight: 780; letter-spacing: .1em; }
.service-list p, .process-steps p { margin-top: 7px; color: var(--muted); font-size: .95rem; }
.process { padding-block: clamp(58px, 7vw, 93px); }
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; list-style: none; margin-top: 30px; padding: 0; }
.process-steps li { position: relative; border-top: 1px solid #a8b2a6; padding-top: 19px; }
.process-number { display: inline-block; margin-bottom: 10px; color: var(--clay); font-size: .74rem; font-weight: 780; letter-spacing: .12em; }
.portal { padding-block: clamp(40px, 6vw, 69px); background: var(--forest); color: var(--white); }
.portal-inner, .contact { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.portal h2 { font-size: clamp(2.3rem, 4vw, 3.55rem); }
.portal p:not(.eyebrow) { max-width: 570px; margin-top: 13px; color: #e4e7df; }
.portal .eyebrow { color: #f0b490; }
.portal :focus-visible { outline-color: var(--peach); }
.contact { padding-block: clamp(52px, 7vw, 88px); }
.contact-actions { justify-content: flex-end; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 86px; color: var(--muted); font-size: .83rem; }
.footer-inner .text-link { color: var(--forest); }

@media (max-width: 930px) {
  .wrap { width: min(1160px, calc(100% - 52px)); }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(310px, .85fr); gap: 28px; }
  .hero h1 { font-size: clamp(3rem, 6.1vw, 4.2rem); }
  .contact-actions { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .hero, .section-split { grid-template-columns: 1fr; }
  .workflow-art { max-width: 520px; }
  .portal-inner, .contact { align-items: flex-start; flex-direction: column; }
  .contact-actions { flex-direction: row; align-items: center; justify-content: flex-start; }
  .nav-link { display: none; }
  .process-steps { gap: 16px; }
  .footer-inner { flex-wrap: wrap; padding-block: 12px; gap: 5px 20px; }
}
@media (max-width: 470px) {
  .wrap { width: calc(100% - 34px); }
  .header-inner { min-height: 70px; gap: 8px; }
  .site-header .brand { flex: 0 1 175px; }
  .site-header .brand img { width: 100%; }
  .header-sign-in { min-height: 43px; padding: 9px 11px; white-space: nowrap; }
  .hero { padding-block: 45px; }
  .hero h1 { font-size: clamp(2.9rem, 12vw, 3.8rem); }
  .hero-intro { margin-top: 16px; }
  .process-steps { grid-template-columns: 1fr; }
  .service-list article { grid-template-columns: 27px 1fr; gap: 12px; }
  .footer-inner > p { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
