/* Overhour — navy for work, amber for overtime. Light first.
   One stylesheet for the product pages and the Guides (blog). System fonts only. */
:root {
  --bg: #F5F7FB; --paper: #FFFFFF; --border: #E3E8F0; --rule: #D5DCE8;
  --text: #101828; --dim: #5B6475; --faint: #8A93A6;
  --navy: #1C3E73; --navy-ink: #13305E; --on-navy: #FFFFFF;
  --amber: #FFB020; --amber-text: #9A6200; --amber-soft: #FFF3D6;
  --code: #EEF2F8;
  --shadow: 0 10px 30px rgba(16, 24, 40, .10);
  --measure: 680px; --wide: 1040px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B1426; --paper: #13203A; --border: #22324F; --rule: #2A3C5E;
    --text: #EEF2F8; --dim: #9AA6BC; --faint: #73809A;
    --navy: #FFB020; --navy-ink: #FFC452; --on-navy: #0B1426;
    --amber: #FFB020; --amber-text: #FFC452; --amber-soft: #3A2C08;
    --code: #1A2944;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 2px; }
.narrow { max-width: var(--measure); margin: 0 auto; padding: 0 20px; }
.wide { max-width: var(--wide); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--paper); padding: 8px 12px; border-radius: 8px; z-index: 9; }

/* Header */
.site-head { border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--bg) 88%, transparent); position: sticky; top: 0; z-index: 5; backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.site-head .wide { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 62px; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.mark img { width: 30px; height: 30px; border-radius: 7px; }
.mark span { font-weight: 680; letter-spacing: -.02em; font-size: 18px; }
.site-nav { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.site-nav a { color: var(--dim); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--text); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--navy); color: var(--on-navy) !important; font-weight: 650; text-decoration: none; font-size: 15px; white-space: nowrap; }
.btn.big { padding: 14px 24px; font-size: 17px; }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* Home */
.hero { padding: 64px 0 32px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 680; letter-spacing: .07em; text-transform: uppercase; color: var(--amber-text); margin-bottom: 12px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.3rem); line-height: 1.06; letter-spacing: -.035em; font-weight: 750; margin-bottom: 18px; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--amber-soft) 62%); }
.hero .lead { font-size: 1.15rem; color: var(--dim); margin-bottom: 26px; max-width: 34em; }
.meta { color: var(--faint); font-size: 14.5px; margin-top: 14px; }
.phone { border-radius: 34px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); background: var(--paper); max-width: 300px; margin-left: auto; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 24px 0 8px; }
.card { background: var(--paper); border: 1px solid var(--border); border-radius: 18px; padding: 20px 22px; }
.card h3 { font-size: 1.02rem; font-weight: 680; margin-bottom: 6px; }
.card p { color: var(--dim); font-size: 15.5px; }
.card .num { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--amber-text); font-size: 13px; letter-spacing: .06em; display: block; margin-bottom: 8px; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 48px 0 12px; }
.shots figure { margin: 0; }
.shots img { border-radius: 26px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.shots figcaption { color: var(--dim); font-size: 14.5px; margin-top: 10px; text-align: center; }
.section { padding: 56px 0 8px; }
.section > h2 { font-size: 1.6rem; letter-spacing: -.025em; margin-bottom: 8px; }
.section > p.sub { color: var(--dim); margin-bottom: 18px; max-width: 40em; }
.faq details { border-top: 1px solid var(--border); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--faint); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--dim); margin-top: 8px; }
.notice { color: var(--dim); font-size: 14.5px; border-left: 3px solid var(--amber); padding: 4px 0 4px 14px; margin: 28px 0 0; }

/* Documents (privacy, terms) and Guides (articles) share the reading styles */
.doc, .article { padding-top: 48px; }
.doc h1, .article h1 { font-size: clamp(1.9rem, 4.4vw, 2.6rem); font-weight: 750; letter-spacing: -.03em; line-height: 1.12; margin-bottom: 12px; }
.updated, .byline { color: var(--dim); font-size: 14.5px; margin-bottom: 30px; }
.doc h2, .article h2 { font-size: 1.32rem; font-weight: 700; letter-spacing: -.015em; margin: 38px 0 10px; }
.doc h2 { font-size: 1.15rem; padding-top: 22px; border-top: 1px solid var(--border); margin-top: 32px; }
.article h3 { font-size: 1.08rem; font-weight: 680; margin: 26px 0 8px; }
.doc p, .article p { margin-bottom: 15px; }
p.lead { font-size: 1.14rem; margin-bottom: 24px; }
.doc ul, .article ul, .article ol { margin: 0 0 16px 22px; }
.doc li, .article li { margin-bottom: 7px; }
strong { font-weight: 650; }
.article table { width: 100%; border-collapse: collapse; margin: 8px 0 22px; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.article th, .article td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.article th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--dim); font-weight: 650; }
.table-wrap { overflow-x: auto; }
.article code { background: var(--code); border-radius: 6px; padding: 1px 6px; font-size: .92em; }
.callout { background: var(--paper); border: 1px solid var(--border); border-left: 4px solid var(--amber); border-radius: 12px; padding: 14px 18px; margin: 20px 0; }
.callout p:last-child { margin-bottom: 0; }
.example { background: var(--amber-soft); border-radius: 14px; padding: 16px 18px; margin: 20px 0; font-variant-numeric: tabular-nums; }
.toc { background: var(--paper); border: 1px solid var(--border); border-radius: 14px; padding: 14px 18px; margin: 0 0 28px; font-size: 15.5px; }
.toc strong { display: block; margin-bottom: 6px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.toc ol { margin: 0 0 0 20px; }
.sources { font-size: 14.5px; color: var(--dim); border-top: 1px solid var(--border); margin-top: 36px; padding-top: 18px; }
.sources ol { margin-left: 20px; }
.app-box { display: flex; gap: 16px; align-items: center; background: var(--paper); border: 1px solid var(--border); border-radius: 18px; padding: 18px 20px; margin: 36px 0 8px; }
.app-box img { width: 56px; height: 56px; border-radius: 13px; flex: none; }
.app-box p { margin: 0 0 8px; font-size: 15.5px; color: var(--dim); }
.app-box strong { color: var(--text); }
.crumbs { font-size: 14px; color: var(--faint); margin-bottom: 14px; }
.crumbs a { color: var(--faint); }

/* Guides index */
.posts { list-style: none; margin: 8px 0 0; }
.posts li { border-top: 1px solid var(--border); padding: 20px 0; }
.posts li:last-child { border-bottom: 1px solid var(--border); }
.posts a { text-decoration: none; color: var(--text); }
.posts h2 { font-size: 1.2rem; font-weight: 680; letter-spacing: -.015em; margin-bottom: 4px; }
.posts p { color: var(--dim); font-size: 15.5px; margin: 0; }
.posts time { color: var(--faint); font-size: 13.5px; }

/* Footer */
.site-foot { margin-top: 72px; border-top: 1px solid var(--border); padding: 28px 0 56px; }
.site-foot .wide { display: flex; flex-wrap: wrap; gap: 14px 20px; justify-content: space-between; color: var(--dim); font-size: 14px; }
.site-foot a { color: var(--dim); text-decoration: none; }
.site-foot a:hover { color: var(--text); }
.site-foot .links { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; gap: 28px; }
  .phone { margin: 0 auto; max-width: 260px; }
  .features { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .shots figure { scroll-snap-align: start; }
  .site-nav .hide-sm { display: none; }
}
