:root {
  color-scheme: light;
  --ink: #102a23;
  --muted: #4a6258;
  --paper: #f9faf5;
  --white: #fff;
  --green: #bde58b;
  --line: #dce6da;
  --soft: #edf3e9;
  font-family: "Avenir Next", Avenir, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.55; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #3b765b; outline-offset: 4px; }
.wrap { width: min(1200px, 100% - 88px); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: 1rem; z-index: 2; background: var(--white); padding: .75rem; transform: translateY(-200%); }
.skip:focus { transform: none; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: clamp(8.25rem, 26vw, 12.25rem); height: auto; }
.brand-dark { background: #0f172a; border-radius: 8px; padding: .2rem .45rem; }
nav { display: flex; gap: 2rem; }
nav a, .footer-contact { color: var(--muted); font-weight: 600; font-size: .94rem; text-decoration: none; }
nav a:hover, nav a[aria-current="page"], .footer-contact:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .6rem 1.15rem; border: 1px solid transparent; border-radius: 8px; font-size: .94rem; font-weight: 700; text-decoration: none; text-align: center; }
.button-outline { border-color: #b9c7ba; }
.button-outline:hover { background: var(--soft); }
.button-primary { background: var(--green); color: var(--ink); }
.button-primary:hover { background: #d1eeaf; }

.hero { background: var(--ink); color: var(--white); padding-block: 72px 89px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 5.4rem); }
.eyebrow { display: flex; gap: .58rem; align-items: center; color: #38634f; font-size: .8rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 .8rem; }
.eyebrow span { width: .5rem; height: .5rem; border-radius: 2px; background: #5c915a; flex: none; }
.hero .eyebrow { color: #c5d9cd; margin-bottom: 1.2rem; }
.hero .eyebrow span { background: var(--green); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.055em; }
h1 { font-size: clamp(3rem, 5.05vw, 5rem); margin-bottom: 1.3rem; }
h1 em { color: var(--green); font-style: normal; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: .75rem; }
h3 { font-size: clamp(1.52rem, 2.4vw, 2.15rem); margin-bottom: .65rem; }
.intro { color: #d4e2d8; font-size: clamp(1rem, 1.6vw, 1.19rem); max-width: 34rem; }
.intro strong { color: var(--white); }
.hero h1 { font-size: clamp(2.7rem, 4.75vw, 4.65rem); text-wrap: balance; }
.hero-actions { display: flex; align-items: center; gap: 1.45rem; flex-wrap: wrap; margin-top: 1.55rem; }
.text-link { font-weight: 650; font-size: .94rem; text-underline-offset: .25em; }
.hero a:focus-visible, .contact a:focus-visible { outline-color: var(--green); }
.hero-visual { position: relative; margin: 0; min-width: 0; }
.hero-photo { overflow: hidden; border-radius: 18px; background: #365449; aspect-ratio: 1.27; }
.hero-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 43%; }
.shift-card { position: absolute; inset: auto 1.35rem -1.35rem; color: var(--ink); max-width: 390px; margin-inline: auto; background: var(--white); border-radius: 12px; box-shadow: 0 13px 36px #0b1a1b42; padding: .85rem 1rem; font-size: .94rem; }
.shift-card-top, .shift-card-bottom { display: flex; align-items: center; gap: .65rem; }
.shift-card-top { border-bottom: 1px solid var(--line); padding-bottom: .65rem; }
.shift-card-bottom { padding-top: .65rem; }
.shift-card strong, .roster strong { display: block; }
.shift-card small, .product-card small { display: block; color: var(--muted); font-size: .79rem; line-height: 1.35; }
.cal-icon, .avatar { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: #dcebd9; font-weight: 700; }
.cal-icon { border-radius: 7px; font-size: 1.35rem; line-height: 1; }
.pill, .shift-time, .day-off { margin-left: auto; font-size: .82rem; font-weight: 700; white-space: nowrap; }
.pill { color: #2b5637; background: #e0f0d7; border-radius: 999px; padding: .22rem .58rem; }
.pill-neutral { color: #59634e; background: #eef0e9; }
.shift-time { color: #2a5b43; background: #e4f1e5; padding: .23rem .55rem; border-radius: 5px; }
.shift-blue { color: #2c5066; background: #e6eef5; }
.day-off { color: var(--muted); }

.workflow { padding-block: 75px 82px; }
.section-lead { margin-bottom: 1.6rem; }
.section-lead > p:last-child { max-width: 45rem; color: var(--muted); margin-bottom: 0; font-size: 1.05rem; }
.demo { background: var(--soft); border: 1px solid var(--line); border-radius: 16px; }
.demo-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; padding: .65rem; border-bottom: 1px solid var(--line); }
.demo-tabs button { min-height: 44px; border: 0; border-radius: 8px; padding: .45rem .65rem; background: transparent; color: #385348; cursor: pointer; font-weight: 650; }
.demo-tabs button:hover { background: #dcebd9; }
.demo-tabs button[aria-selected="true"] { color: var(--white); background: #1c4e3c; }
.demo-panel { min-height: 320px; padding: clamp(1.25rem, 4vw, 3.25rem); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.35rem, 5vw, 4rem); align-items: center; }
.demo-copy > p { color: var(--muted); }
.example-note { margin-bottom: 0; border-left: 3px solid #719d68; padding-left: .85rem; }
.example-note strong { color: var(--ink); }
.pilot { font-size: .88rem; margin: .75rem 0 0; }
.product-card { min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 6px 17px #173c2e0a; overflow: hidden; }
.product-heading { display: flex; align-items: center; gap: .65rem; padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
.roster { margin: 0; padding: 0 .9rem; list-style: none; }
.roster li { display: flex; align-items: center; gap: .65rem; min-height: 57px; }
.roster li + li { border-top: 1px solid var(--line); }
.avatar-orange { color: #6f4c25; background: #f5e8d3; }
.avatar-blue { color: #3b5668; background: #e2edf5; }
.chat-body { display: grid; gap: .65rem; padding: 1rem; background: #f2f4ed; }
.bubble { max-width: 84%; font-size: .93rem; padding: .55rem .7rem; border-radius: 10px; }
.bubble small { text-align: right; margin-top: .15rem; }
.outgoing { justify-self: end; background: #dbeed3; border-bottom-right-radius: 2px; }
.incoming { justify-self: start; background: var(--white); border-bottom-left-radius: 2px; }

.clock-in { padding-bottom: clamp(3rem, 6vw, 5rem); }
.clock-in .demo-panel { min-height: auto; }
.clock-in .demo-copy > p:last-child { margin-bottom: 0; }

.faq { padding-block: 62px 72px; border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1rem, 5vw, 4rem); }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; position: relative; padding: 1rem 2rem 1rem 0; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: .45rem; top: 1.4rem; width: .5rem; height: .5rem; border: solid #4f725d; border-width: 0 2px 2px 0; transform: rotate(45deg); }
details[open] summary::after { transform: translateY(.2rem) rotate(225deg); }
details p { color: var(--muted); padding-right: 1.5rem; margin-bottom: .95rem; }
.contact { background: #1c4e3c; color: var(--white); }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: start; gap: 1.5rem 3rem; padding-block: 48px; }
.contact h2 { font-size: clamp(1.85rem, 3.4vw, 3rem); }
.contact p { color: #e0ebe2; margin-bottom: 0; }
.contact-form, .contact-form label { display: grid; gap: .5rem; }
.contact-form { gap: 1rem; min-width: 0; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.contact-form label { font-weight: 650; }
.contact-form input, .contact-form textarea { width: 100%; min-width: 0; border: 1px solid #b9c7ba; border-radius: 8px; padding: .65rem .75rem; background: var(--white); color: var(--ink); font: inherit; font-weight: 400; }
.contact-form textarea { resize: vertical; }
.contact-form :focus-visible { outline-color: var(--green); }
.contact-form .contact-privacy { font-size: .875rem; }
.contact-form .button { justify-self: start; cursor: pointer; }
.contact-form .button:disabled { opacity: .7; cursor: default; }
.contact-form .contact-status:empty { margin-top: -1rem; }

.docs-page { padding-block: clamp(2.25rem, 6vw, 5rem); }
.docs-page h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); }
.docs-contents { flex-wrap: wrap; gap: .6rem 1.5rem; margin-block: 1rem 1.85rem; }
.docs-section { padding-block: 1.8rem; border-top: 1px solid var(--line); }
.docs-section h2 { font-size: clamp(1.65rem, 3.6vw, 2.6rem); }
.docs-section h3 { margin-top: 1.4rem; font-size: 1.35rem; }
.docs-section p, .docs-section li { max-width: 74ch; }
.docs-section li + li { margin-top: .55rem; }
.docs-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 11px; }
.docs-table { width: 100%; min-width: 32rem; border-collapse: collapse; background: var(--white); }
.docs-table :is(th, td) { padding: .75rem .9rem; text-align: left; vertical-align: top; }
.docs-table thead { background: var(--soft); }
.docs-table tbody tr { border-top: 1px solid var(--line); }

@media (max-width: 940px) {
  .wrap { width: calc(100% - 56px); }
  .hero-grid { gap: 2rem; }
  .hero-photo { aspect-ratio: 1.05; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner, .footer-inner { min-height: 64px; }
  .header-inner { flex-wrap: wrap; gap: .45rem .75rem; padding-block: .55rem; }
  .header-inner nav { order: 1; flex-basis: 100%; flex-wrap: wrap; gap: .45rem 1.1rem; }
  .hero { padding-block: 45px 67px; }
  .hero-grid, .demo-panel, .faq-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 1.85rem; }
  .hero-photo { aspect-ratio: 1.38; }
  .workflow, .faq { padding-block: 47px; }
  .demo-panel { min-height: 0; }
  .contact-inner { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .contact-fields { grid-template-columns: 1fr; }
  .header-inner { gap: .5rem; }
  .header-inner .button { font-size: .85rem; padding-inline: .65rem; }
  .footer-inner { flex-wrap: wrap; gap: .5rem 1rem; padding-block: .5rem; }
  .shift-card { inset-inline: .55rem; padding-inline: .65rem; }
  .shift-card small { font-size: .75rem; }
  .demo-tabs button { font-size: .83rem; padding-inline: .2rem; }
  .demo-tabs { gap: .2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
