:root {
  color-scheme: light;
  --ink: #14212c;
  --muted: #4a5b65;
  --line: #dce4e8;
  --paper: #f6f8f9;
  --white: #fff;
  --dark: #111d27;
  --dark-line: #344552;
  --accent: #ffc63a;
  --accent-hover: #ffda72;
  --radius: 18px;
  --max: 1240px;
  font: 16px/1.6 Inter, Roboto, "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--white); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
:focus-visible { outline: 3px solid #3d77b1; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.034em; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.45rem); }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.8rem); }
h3 { font-size: 1.27rem; }
p { color: var(--muted); }
.wrap { width: min(var(--max), calc(100% - 80px)); margin-inline: auto; }
.skip { position: absolute; z-index: 3; top: 12px; left: 12px; padding: 12px; background: var(--white); transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.header-inner { width: min(var(--max), calc(100% - 80px)); margin: auto; min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 1.35rem; font-weight: 850; letter-spacing: -.06em; }
.brand:hover { text-decoration: none; }
.brand-icon { width: 36px; height: 36px; border-radius: 10px; overflow: hidden; flex: none; }
.navigation, .header-actions { display: flex; gap: clamp(14px, 2vw, 30px); align-items: center; font-size: .88rem; font-weight: 650; }
.navigation a { color: var(--muted); }
.navigation a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: #b68300; text-underline-offset: 6px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; width: fit-content; min-height: 48px; padding: 10px 19px; border: 1px solid transparent; border-radius: 9px; color: var(--ink); font: inherit; font-size: .93rem; font-weight: 750; cursor: pointer; text-align: center; line-height: 1.35; }
.button:hover { text-decoration: none; }
.button.primary { background: var(--accent); }
.button.primary:hover { background: var(--accent-hover); }
.button.secondary { border-color: var(--line); background: var(--white); }
.button.secondary:hover { background: var(--paper); }
.header-actions .button { min-height: 40px; font-size: .86rem; padding-inline: 14px; }
.actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero { width: min(1350px, calc(100% - 48px)); margin: 4px auto 0; border-radius: var(--radius); background: var(--dark); color: var(--white); display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; }
.hero-copy { padding: clamp(36px, 5vw, 78px); align-self: center; }
.overline { margin-bottom: 15px; color: var(--accent); font-size: .9rem; font-weight: 700; }
.hero h1 { max-width: 13ch; font-weight: 810; }
.hero-intro { max-width: 47ch; margin: 23px 0 28px; color: #cbd6de; font-size: clamp(1rem, 1.4vw, 1.16rem); }
.hero .secondary { background: transparent; color: var(--white); border-color: #586b7b; }
.hero .secondary:hover { background: #253542; }
.hero-media { min-height: 100%; position: relative; }
.hero-media img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 52% center; }
.hero-media::after { position: absolute; inset: 0; background: linear-gradient(90deg, #111d2755, transparent 30%); content: ""; pointer-events: none; }
.facts { width: min(var(--max), calc(100% - 80px)); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); padding: 23px 0; color: var(--muted); }
.facts span { padding: 0 22px; border-left: 1px solid var(--line); }
.facts span:first-child { border-left: 0; padding-left: 0; }
.facts b { color: var(--ink); margin-right: 4px; }
.section { padding-block: clamp(41px, 6vw, 82px); }
.section:not(.section-light) + .section:not(.section-light) { padding-top: 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.section-heading p { max-width: 38ch; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.feature { display: flex; align-items: start; justify-content: space-between; gap: 14px; padding: 25px; min-height: 153px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.feature:hover { text-decoration: none; border-color: #a78023; }
.feature:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.feature p { margin-top: 10px; font-size: .94rem; }
.feature > span { font-size: 1.15rem; flex: none; }
.sample-layout { display: grid; grid-template-columns: .9fr 1fr; align-items: center; gap: clamp(26px, 7vw, 100px); }
.sample-layout h2 { max-width: 16ch; }
.sample-layout p { margin: 15px 0; max-width: 45ch; }
.text-link { font-weight: 700; text-decoration: underline; text-decoration-color: #b88714; text-underline-offset: 4px; }
.text-link:hover { text-decoration-color: currentColor; }
.sample { padding: clamp(13px, 3vw, 26px); background: var(--dark); color: var(--white); border-radius: 14px; }
.sample-heading { display: flex; justify-content: space-between; gap: 15px; align-items: center; padding-bottom: 13px; }
.sample-heading small { display: block; color: #b7c7d3; }
.sample-heading a { color: var(--accent); font-size: .85rem; text-decoration: underline; }
.sample ul { list-style: none; padding: 0; margin: 0; }
.sample li { display: grid; grid-template-columns: 4ch minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 13px 0; border-top: 1px solid var(--dark-line); font-size: .87rem; }
.sample time { color: #b7c7d3; font-variant-numeric: tabular-nums; }
.tag { font-size: .75rem; font-weight: 700; border-radius: 6px; padding: 4px 7px; white-space: nowrap; color: #e3eef6; background: #2d4252; }
.tag.waiting { background: #483b22; color: #ffd67b; }
.tag.assigned { background: #23483f; color: #bcf0df; }
.section-light { background: var(--paper); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; list-style: none; margin: 26px 0 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 14px; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step) "."; display: block; margin-bottom: 9px; font-size: .9rem; font-weight: 800; color: #735409; }
.steps p { margin-top: 8px; }
.faq { display: grid; grid-template-columns: .6fr 1.4fr; gap: 26px; }
.faq details { padding: 15px 0; border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 9px 0 0; }
.closing { display: flex; align-items: center; justify-content: space-between; gap: 25px; border-radius: var(--radius); background: #fff4d5; padding: clamp(24px, 4.8vw, 58px); }
.closing h2 { max-width: 20ch; }
.closing p { margin-top: 10px; }
.closing .actions { flex-shrink: 0; }
.closing .secondary { border-color: #cfbb86; background: transparent; }
.closing .secondary:hover { background: #fff9eb; }
.footer { padding: 34px 0 20px; background: var(--dark); color: var(--white); }
.footer-grid { display: flex; justify-content: space-between; align-items: start; gap: 20px; padding-bottom: 25px; }
.footer-grid p, .copyright { color: #bcc9d2; font-size: .89rem; }
.footer-grid p { margin-top: 9px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 23px; font-size: .9rem; }
.copyright { padding-top: 15px; border-top: 1px solid var(--dark-line); }
.subpage { padding-top: 30px; }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .85rem; }
.crumb > * + *::before { content: "/"; margin-right: 8px; color: #8e9ba4; }
.crumb a { text-decoration: underline; text-underline-offset: 3px; }
.page-intro { max-width: 790px; padding-block: clamp(24px, 4vw, 52px); }
.page-intro h1 { font-size: clamp(2.35rem, 5.8vw, 4.12rem); }
.page-intro p { font-size: 1.12rem; margin: 15px 0 20px; max-width: 62ch; }
.article { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.article section { border: 1px solid var(--line); background: var(--paper); padding: 23px; border-radius: 12px; }
.article h2 { font-size: 1.43rem; margin-bottom: 10px; }
.related { margin-top: 34px; }
.related .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 15px; }
.connect-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(24px, 5vw, 65px); }
.lead-form { background: var(--paper); padding: clamp(18px, 3vw, 34px); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 15px; margin-top: 30px; }
.lead-form h2 { font-size: clamp(1.5rem, 2.7vw, 2.1rem); }
.lead-form label { display: grid; gap: 5px; font-size: .9rem; font-weight: 650; min-width: 0; }
.lead-form input:not([type=checkbox]), .lead-form select { min-height: 45px; min-width: 0; padding: 9px 11px; border: 1px solid #aab9c2; border-radius: 8px; font: inherit; font-weight: 400; color: var(--ink); background: var(--white); }
.form-row { display: grid; gap: 12px; grid-template-columns: 1fr .8fr; }
.consent { font-size: .86rem; }
.consent label { display: flex; align-items: start; gap: 8px; font-weight: 500; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #926500; flex: none; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.consent > a { display: block; margin: 6px 0 0 26px; }
.field-error { color: #a72238; font-weight: 650; }
.lead-form [aria-invalid=true] { border-color: #a72238; }
@media (max-width: 1050px) {
  .header-inner, .wrap, .facts { width: calc(100% - 48px); }
  .hero-copy { padding: 42px 30px; }
  .navigation { gap: 14px; }
  .header-inner { gap: 15px; }
}
@media (max-width: 760px) {
  .header-inner, .wrap, .facts { width: calc(100% - 32px); }
  .header-inner { min-height: 0; padding-block: 12px; flex-wrap: wrap; gap: 10px; }
  .navigation { order: 3; width: 100%; padding-top: 7px; border-top: 1px solid var(--line); justify-content: space-between; gap: 9px; }
  .navigation a { padding-block: 6px; }
  .header-actions { gap: 11px; }
  .hero { width: calc(100% - 24px); grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3.5rem); }
  .hero-copy { padding: 28px 20px; }
  .hero-intro { margin: 16px 0 21px; }
  .hero-media { min-height: clamp(185px, 48vw, 345px); }
  .hero-media img { object-position: center 56%; }
  .hero-media::after { background: linear-gradient(180deg, #111d2738, transparent 42%); }
  .facts { padding-block: 16px; font-size: .82rem; }
  .facts span { padding-inline: 9px; }
  .facts b { display: block; margin: 0; }
  .section-heading, .closing, .footer-grid { align-items: start; flex-direction: column; }
  .feature-grid, .sample-layout, .faq, .article, .connect-grid, .steps { grid-template-columns: 1fr; }
  .feature { min-height: 0; padding: 17px; }
  .sample-layout, .faq { gap: 18px; }
  .closing { gap: 18px; }
  .closing .actions { flex-shrink: 1; }
  .subpage { padding-top: 17px; }
  .lead-form { margin-top: 0; }
}
@media (max-width: 390px) {
  .header-actions .button { padding-inline: 9px; }
  .header-actions .button span { display: none; }
  .navigation { font-size: .79rem; }
  .related .feature-grid { grid-template-columns: 1fr; }
  .sample li { font-size: .78rem; gap: 8px; }
  .tag { font-size: .67rem; }
}
