:root {
  color-scheme: light dark;
  --background: #f4f6f8;
  --text: #0e1a1f;
  --secondary: #55666e;
  --primary: #0f5c6e;
  --button-text: #fff;
  --border: #e1e7eb;
  --surface: #fff;
  --example-surface: #f2f6f7;
  --muted-block: #dfe9ed;
  --teal: #5fb5c4;
  --mint: #a8dcc5;
  --coral: #f4aa8b;
  --icon-ink: #09272e;
  --positive-ink: #2f7558;
  --warm-ink: #a34e32;
  --shield-check: #fff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); }
.page { width: min(100% - 96px, 1120px); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; padding-block: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--text); font-size: 25px; font-weight: 750; letter-spacing: -.8px; text-decoration: none; }
.brand img { display: block; border-radius: 11px; }
.nav-link, .text-link { display: inline-flex; align-items: center; justify-content: flex-start; gap: 12px; min-height: 44px; padding-block: 10px; color: var(--primary); font-size: 16px; font-weight: 650; text-decoration: none; text-underline-offset: 5px; }
.nav-link:hover, .text-link:hover { text-decoration: underline; }
.hero { display: flex; align-items: center; justify-content: space-between; gap: 64px; padding-block: 100px 128px; }
.content { max-width: 740px; }
h1 { margin: 0; font-size: clamp(42px, 5.25vw, 68px); line-height: 1.08; font-weight: 800; letter-spacing: -.055em; text-wrap: balance; }
h1 span, h2 span { color: var(--primary); }
.description { max-width: 620px; margin: 28px 0 32px; color: var(--secondary); font-size: 20px; line-height: 1.6; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 26px; min-height: 52px; padding: 14px 24px; border-radius: 12px; background: var(--primary); color: var(--button-text); font-size: 17px; font-weight: 650; text-decoration: none; transition: opacity .15s ease; }
.button:hover { opacity: .88; }
.button span { font-size: 22px; line-height: 1; }
.hero-mark { flex: 0 0 auto; display: block; width: 248px; height: 248px; border-radius: 54px; }
.section { padding-block: 88px; border-top: 1px solid var(--border); scroll-margin-top: 32px; }
h2 { margin: 0; font-size: clamp(30px, 3.3vw, 42px); line-height: 1.16; font-weight: 750; letter-spacing: -.04em; text-wrap: balance; }
h3 { margin: 0; font-size: 27px; line-height: 1.25; font-weight: 700; letter-spacing: -.025em; }
.section p { margin: 0; color: var(--secondary); font-size: 18px; line-height: 1.65; }
.section-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 64px; }
.icon { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.feature-icon { --accent: var(--teal); display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; color: var(--icon-ink); background: var(--accent); }
.feature-icon .icon { width: 27px; height: 27px; }
.feature-icon.mint { --accent: var(--mint); }
.feature-icon.coral { --accent: var(--coral); }
.workflow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.workflow-step { --accent: var(--teal); position: relative; display: flex; flex-direction: column; min-width: 0; padding: 28px 24px 24px; overflow: hidden; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.workflow-step::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--accent); }
.workflow-step:nth-child(2) { --accent: var(--mint); }
.workflow-step:nth-child(3) { --accent: var(--coral); }
.workflow-step .feature-icon { --accent: inherit; }
.workflow-step h3 { margin-top: 20px; font-size: 22px; line-height: 1.3; }
.workflow-step p { margin-top: 14px; margin-bottom: 0; font-size: 16px; line-height: 1.6; }
.workflow-example { display: flex; flex-direction: column; justify-content: center; min-height: 162px; margin: auto 0 0; padding-top: 28px; }
.week-example { width: 100%; table-layout: fixed; border: 1px solid var(--border); border-spacing: 0; border-radius: 12px; overflow: hidden; background: var(--example-surface); font-size: 12px; line-height: 1.4; text-align: center; }
.week-example th { padding: 10px 2px; border-bottom: 1px solid var(--border); color: var(--secondary); font-weight: 600; }
.week-example th + th { border-left: 1px solid var(--border); }
.week-example td { padding: 8px 3px; }
.week-example td span { display: block; padding: 8px 1px; border-radius: 7px; font-weight: 650; }
.week-example .duty { color: var(--icon-ink); background: var(--teal); }
.week-example .off { color: var(--text); background: var(--muted-block); }
.approval-example { display: flex; align-items: start; list-style: none; padding: 0; margin: auto 0; }
.approval-example li { position: relative; flex: 1; min-width: 0; text-align: center; }
.flow-node { display: grid; place-items: center; width: 48px; height: 48px; margin-inline: auto; border: 2px solid currentColor; border-radius: 50%; color: var(--positive-ink); }
.approval-example li:first-child .flow-node { color: var(--primary); }
.flow-label { display: block; margin-top: 9px; padding-inline: 2px; font-size: 12px; line-height: 1.4; font-weight: 650; }
.flow-arrow { position: absolute; top: 16px; right: -9px; width: 18px; height: 18px; color: var(--secondary); }
.update-example { display: grid; gap: 8px; }
.update-row { display: flex; align-items: center; gap: 10px; padding: 12px 10px; border: 1px solid var(--border); border-radius: 12px; background: var(--example-surface); }
.update-row > .icon { width: 22px; height: 22px; color: var(--primary); }
.update-row > div { min-width: 0; }
.update-row strong, .update-row span { display: block; font-size: 12px; line-height: 1.4; }
.update-row strong { font-weight: 700; }
.update-row span { margin-top: 3px; color: var(--secondary); }
.configuration { display: grid; grid-template-columns: 1fr 1.12fr; gap: 88px; }
.section-heading p { margin-top: 24px; max-width: 420px; }
.rule-illustration { display: grid; grid-template-columns: max-content 44px 84px; justify-content: start; align-items: center; gap: 18px; max-width: 420px; margin: 36px 0 0; }
.rule-inputs { display: grid; gap: 18px; }
.rule-input { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 650; }
.rule-input .icon { width: 36px; height: 36px; color: var(--primary); }
.rule-input + .rule-input .icon { color: var(--warm-ink); }
.rule-connector { display: block; width: 44px; height: 96px; fill: none; stroke: var(--secondary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rule-calendar { --icon-stroke: 1.2; width: 84px; height: 84px; }
.rule-illustration figcaption { grid-column: 1 / -1; margin-top: 4px; color: var(--secondary); font-size: 13px; line-height: 1.5; text-align: center; }
.capabilities { margin: 0; }
.capabilities > div + div { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--border); }
.capabilities dt { display: flex; align-items: center; gap: 16px; font-size: 19px; font-weight: 700; line-height: 1.4; letter-spacing: -.01em; }
.capabilities dd { margin: 12px 0 0 64px; color: var(--secondary); font-size: 17px; line-height: 1.65; }
.pilot, .demo { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.pilot p + p { margin-top: 20px; }
.demo-email { margin-top: 24px; }
.demo .contact-note { margin-top: 18px; font-size: 16px; overflow-wrap: anywhere; }
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 28px 36px; border-top: 1px solid var(--border); color: var(--secondary); font-size: 14px; line-height: 1.5; }
footer span:first-child { color: var(--text); font-weight: 700; }
a:focus-visible { outline: 3px solid var(--primary); outline-offset: 5px; }
.skip-link { position: fixed; z-index: 1; top: 12px; left: 12px; padding: 12px 16px; border-radius: 8px; background: var(--text); color: var(--background); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
@media (prefers-color-scheme: dark) {
  :root { --background: #0c1215; --text: #f1f5f7; --secondary: #a6b4ba; --primary: #5fb5c4; --button-text: #06181c; --border: #243036; --surface: #142025; --example-surface: #17282f; --muted-block: #334b55; --positive-ink: #a8dcc5; --warm-ink: #f4aa8b; --shield-check: #06181c; }
}
@media (max-width: 1000px) {
  .workflow { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; }
  .workflow-example { min-height: 0; }
  .configuration { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 760px), (max-width: 960px) and (max-height: 500px) {
  .page { width: min(100% - 48px, 540px); }
  .site-header { padding-block: 20px; }
  .hero { display: block; padding-block: 32px 40px; }
  .hero-mark { display: none; }
  .description { margin-block: 20px 24px; font-size: 18px; }
  h1 { font-size: clamp(38px, 8.8vw, 56px); }
  .section { padding-block: 40px; }
  .section-intro, .workflow, .configuration, .pilot, .demo { grid-template-columns: 1fr; gap: 28px; }
  .workflow { margin-top: 28px; gap: 18px; }
  .workflow-step { padding: 24px 20px 20px; }
  .workflow-example { padding-top: 24px; }
  .section p { font-size: 17px; }
  .section-heading p { margin-top: 20px; }
  .capabilities dd { font-size: 16px; }
  .rule-illustration { max-width: 360px; }
  .actions { gap: 12px 20px; }
}
@media (max-width: 380px) {
  h1 { font-size: 34px; }
  .actions { flex-direction: column; align-items: stretch; gap: 8px; }
  .actions .text-link { justify-content: center; }
  .rule-illustration { grid-template-columns: max-content 28px 64px; gap: 8px; }
  .rule-connector { width: 28px; }
  .rule-calendar { width: 64px; height: 64px; }
  .rule-input { font-size: 16px; }
  .rule-input .icon { width: 32px; height: 32px; }
  .capabilities dt { gap: 12px; }
  .capabilities .feature-icon { width: 40px; height: 40px; border-radius: 12px; }
  .capabilities dd { margin-left: 52px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
