/* StaffClock public website. Plain CSS, no build step. */
:root {
  --paper: #f7f6f2;
  --surface: #ffffff;
  --ink: #12161b;
  --ink-2: #39414c;
  --ink-3: #5d6571;
  --line: #e2e1db;
  --line-2: #ecebe6;
  --brand: #0a7ea4;
  --brand-ink: #076583;
  --brand-soft: #e3f1f6;
  --app: #2e6b4f;
  --app-soft: #e6f0ea;
  --warm: #f1ede3;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --wrap: 1180px;
  --r: 14px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-ink); }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 600; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.eyebrow { font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink); }
.muted { color: var(--ink-3); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- header ---- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.logo-mark { width: 32px; height: 32px; border-radius: 8px; background: var(--brand); display: grid; place-items: center; flex: none; }
.nav { display: flex; gap: 22px; margin-left: 8px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.top-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 15px/1 var(--sans); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.btn:hover { border-color: #c9c8c0; color: var(--ink); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-ink); border-color: var(--brand-ink); color: #fff; }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: var(--line-2); }
.btn.lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 24px 16px; margin: 0; }
  .nav.open a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line-2); }
  .menu-btn { display: inline-flex; }
}
.btn .short { display: none; }
@media (max-width: 560px) {
  .btn .long { display: none; }
  .btn .short { display: inline; }
  .top-cta { gap: 4px; }
  .top-cta .signin { padding: 0 12px; }
}
@media (max-width: 420px) { .top-cta .btn.primary { padding: 0 14px; font-size: 14px; } .logo { font-size: 17px; } .top .wrap { gap: 12px; } }

/* ---- hero ---- */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.hero-text .eyebrow + h1 { margin-top: 18px; }
.hero h1 { font-size: clamp(40px, 6.2vw, 72px); font-weight: 700; letter-spacing: -0.035em; max-width: 14ch; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lede { margin-top: 22px; font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); max-width: 46ch; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .note { margin-top: 16px; font-size: 14px; color: var(--ink-3); }
.hero-shot { position: relative; margin-top: 56px; padding-right: 150px; }
.browser { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(18, 22, 27, .28), 0 8px 20px -12px rgba(18, 22, 27, .12); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line-2); background: #fbfbf9; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #dcdbd4; }
.browser-bar span { margin-left: 14px; font: 12px var(--mono); color: var(--ink-3); }
.phone { width: 250px; border-radius: 38px; padding: 9px; background: #15191e; box-shadow: 0 30px 60px -24px rgba(18, 22, 27, .45); }
.phone img { border-radius: 30px; }
.hero-shot .phone { position: absolute; right: 0; bottom: -40px; width: 230px; }
@media (max-width: 720px) {
  .hero { padding-top: 44px; }
  .hero-shot { padding-right: 0; margin-top: 40px; }
  .hero-shot .phone { position: relative; width: 210px; margin: -120px 12px 0 auto; bottom: 0; }
}

/* ---- facts strip ---- */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); margin-top: 80px; }
.facts .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 26px 22px; border-left: 1px solid var(--line-2); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { display: block; font: 600 15px/1.3 var(--sans); }
.fact span { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-3); }
@media (max-width: 860px) {
  .facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { padding: 20px 16px; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line-2); }
}

/* ---- sections ---- */
section { padding: 104px 0; }
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(32px, 4.2vw, 48px); margin-top: 14px; font-weight: 700; letter-spacing: -0.03em; }
.sec-head p { margin-top: 18px; font-size: 19px; color: var(--ink-2); }
@media (max-width: 720px) { section { padding: 72px 0; } .sec-head { margin-bottom: 36px; } }

.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; padding-top: 0; }
.feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature.flip .feature-text { order: 2; }
.feature h3 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.02em; }
.feature .num { font: 500 13px var(--mono); color: var(--ink-3); margin-bottom: 14px; display: block; }
.feature p { margin-top: 14px; color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23076583' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.shot { cursor: zoom-in; border: 0; padding: 0; background: none; width: 100%; text-align: left; }
.shot .browser { transition: transform .25s; }
.shot:hover .browser { transform: translateY(-3px); }
@media (max-width: 900px) {
  .feature, .feature.flip { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 40px 0; }
  .feature.flip .feature-text { order: 0; }
}

/* ---- phone app ---- */
.app-sec { background: var(--ink); color: #f2f1ec; }
.app-sec .eyebrow { color: #8fd0b0; }
.app-sec .sec-head p { color: #c3c6c9; }
.app-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.app-col h3 { font-size: 22px; }
.app-col > p { margin-top: 10px; color: #c3c6c9; max-width: 48ch; }
.app-col .ticks li { color: #dcdedd; }
.app-col .ticks li::before { background-color: rgba(143, 208, 176, .15); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fd0b0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 32px; }
.phones .phone { width: 100%; border-radius: 28px; padding: 6px; background: #2a2f35; }
.phones .phone img { border-radius: 24px; }
.phones figcaption { margin-top: 10px; font-size: 13px; color: #a5a9ad; text-align: center; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 56px; align-items: center; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 20px; border-radius: 12px; border: 1px solid #3a4047; color: #fff; text-decoration: none; background: #1c2126; }
.store:hover { border-color: #6b7279; color: #fff; }
.store small { display: block; font-size: 11px; color: #a5a9ad; line-height: 1.2; }
.store b { display: block; font-size: 16px; line-height: 1.2; }
.store[hidden] { display: none; }
@media (max-width: 900px) { .app-cols { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
  .phones { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-right: -24px; padding-right: 24px; }
  .phones .shot { flex: 0 0 62%; scroll-snap-align: start; }
}

/* ---- steps ---- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.step::before { counter-increment: step; content: "0" counter(step); font: 500 14px var(--mono); color: var(--brand-ink); }
.step h3 { font-size: 20px; margin-top: 18px; }
.step p { margin-top: 10px; color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---- all features ---- */
.all { background: var(--warm); }
.groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.group h3 { font-size: 15px; font-family: var(--mono); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); padding-bottom: 12px; border-bottom: 1px solid #d9d4c6; }
.group ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px; }
.group li { font-size: 16px; color: var(--ink-2); }
.soon { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.pill { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid #d9d4c6; font-size: 14px; }
@media (max-width: 860px) { .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .groups { grid-template-columns: minmax(0, 1fr); } }

/* ---- faq ---- */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 400 26px var(--mono); color: var(--ink-3); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 66ch; }

/* ---- cta ---- */
.cta-band { padding: 0 0 104px; }
.cta-box { background: var(--brand); color: #fff; border-radius: 22px; padding: 64px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.cta-box h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 700; letter-spacing: -0.03em; }
.cta-box p { margin-top: 12px; color: #d6edf5; font-size: 18px; }
.cta-box .btn { background: #fff; border-color: #fff; color: var(--brand-ink); }
.cta-box .btn:hover { background: #eaf6fa; }
@media (max-width: 760px) { .cta-box { grid-template-columns: minmax(0, 1fr); padding: 40px 28px; } .cta-band { padding-bottom: 72px; } }

/* ---- footer ---- */
.foot { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 14px; color: var(--ink-3); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }

/* ---- lightbox (in-page dialog, no browser pop-ups) ---- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1400px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(12, 15, 19, .82); }
.lightbox img { max-height: 86vh; width: auto; margin: 0 auto; border-radius: 12px; }
.lightbox .close { position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 22px; cursor: pointer; }
.lightbox p { color: #e9e9e6; text-align: center; margin-top: 12px; font-size: 15px; }

/* ---- inner pages (contact, legal) ---- */
.page { padding: 64px 0 104px; }
.page-head { max-width: 760px; margin-bottom: 44px; }
.page-head h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 700; letter-spacing: -0.035em; margin-top: 14px; }
.page-head p { margin-top: 16px; font-size: 19px; color: var(--ink-2); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px; align-items: start; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px; display: grid; gap: 18px; }
.form .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: block; font-size: 15px; font-weight: 500; }
.field .input { margin-top: 7px; }
.field .opt { font-weight: 400; color: var(--ink-3); }
.input { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 10px; border: 1px solid #d3d2ca; background: #fff; font: 16px var(--sans); color: var(--ink); }
textarea.input { min-height: 120px; resize: vertical; }
.input:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
.topics { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.topics legend { font-size: 15px; font-weight: 500; margin-bottom: 8px; padding: 0; }
.topics label { position: relative; }
.topics input { position: absolute; opacity: 0; pointer-events: none; }
.topics span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid #d3d2ca; cursor: pointer; font-size: 15px; background: #fff; }
.topics input:checked + span { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-ink); font-weight: 600; }
.topics input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 10px; padding: 14px 16px; font-size: 15px; }
.notice.bad { background: #fcebeb; color: #8f1d1d; }
.done { text-align: left; }
.done h2 { font-size: 28px; }
.done p { margin-top: 12px; color: var(--ink-2); }
.aside { display: grid; gap: 18px; }
.aside .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.aside h3 { font-size: 17px; }
.aside p, .aside li { font-size: 15px; color: var(--ink-2); }
.aside ol { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } .form { padding: 24px 20px; } .form .two { grid-template-columns: minmax(0, 1fr); } }

.legal { max-width: 760px; }
.legal h2 { font-size: 24px; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--ink-2); font-size: 17px; }
.legal p + p { margin-top: 14px; }
.legal ul { padding-left: 22px; display: grid; gap: 8px; margin: 14px 0 0; }
.legal .updated { font: 500 14px var(--mono); color: var(--ink-3); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media (max-width: 400px) {
  .top .wrap { padding: 0 16px; gap: 8px; }
  .top-cta .btn { padding: 0 10px; }
}

/* Hero: text and product shot side by side on wide screens */
@media (min-width: 1040px) {
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 44px; }
  .hero h1 { font-size: clamp(44px, 4.4vw, 60px); }
  .hero .lede { font-size: 19px; }
  .hero-shot { margin-top: 0; padding-right: 0; padding-bottom: 72px; margin-right: -72px; }
  .hero .eyebrow { font-size: 12px; letter-spacing: .06em; }
  .hero-shot .phone { position: absolute; width: 150px; right: -10px; bottom: 0; border-radius: 26px; padding: 6px; }
  .hero-shot .phone img { border-radius: 21px; }
}
@media (min-width: 1040px) and (max-width: 1340px) {
  .hero-shot { margin-right: 0; }
  .hero-shot .phone { right: -14px; width: 132px; }
}
