/* StaffingClock — industrial time-card identity */
:root {
  --concrete: #E3E4DF;
  --paper: #FBFBF7;
  --ink: #1A1F1C;
  --muted: #5B635E;
  --rule: #C9CBC4;
  --hivis: #FF6B1A;
  --stamp: #3F37C9;
  --leak: #C2410C;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --type: "Courier Prime", "Courier New", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--concrete); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--stamp); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--sans); margin: 0; }
.wrap-pad { padding-left: max(24px, calc((100% - 1132px) / 2)); padding-right: max(24px, calc((100% - 1132px) / 2)); }

/* Sale strip */
.strip { background: var(--hivis); color: var(--ink); display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; padding: 9px 20px; font-size: 15px; }
.strip p { margin: 0; }
.strip-btn { background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; padding: 5px 12px; border-radius: 4px; }
.strip-link { font-weight: 700; text-underline-offset: 3px; }

/* Header */
.top { max-width: 1180px; margin: 0 auto; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 21px; font-stretch: 112%; letter-spacing: -0.01em; }
.top nav { display: flex; gap: 26px; align-items: center; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--ink); }
.top nav .nav-cta { color: var(--ink); font-weight: 700; border-bottom: 3px solid var(--hivis); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; font: 700 16px/1 var(--sans); padding: 15px 22px; border-radius: 6px; text-decoration: none; cursor: pointer; border: 2px solid transparent; }
.btn-hivis { background: var(--hivis); color: var(--ink); box-shadow: 0 3px 0 var(--ink); }
.btn-hivis:hover { transform: translateY(-1px); box-shadow: 0 4px 0 var(--ink); }
.btn-hivis:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }

/* Hero */
.hero { max-width: 1180px; margin: 0 auto; padding: 30px 24px 64px; display: grid; grid-template-columns: 1fr 1.08fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(46px, 7vw, 90px); line-height: .92; font-weight: 900; font-stretch: 118%; letter-spacing: -0.035em; }
.lead { font-size: 19px; color: var(--muted); max-width: 44ch; margin: 26px 0 30px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.try { margin: 22px 0 0; font-size: 15px; color: var(--muted); }
.try b { color: var(--ink); }

.stage { position: relative; min-height: 520px; }
.timecard { position: absolute; top: 0; right: 0; width: min(100%, 440px); margin: 0; background: var(--paper); padding: 30px 24px 20px; transform: rotate(2deg); box-shadow: 0 1px 0 var(--rule), 0 24px 40px -18px rgba(26,31,28,.35); border-top: 14px solid var(--ink); font-family: var(--type); }
.timecard::before { content: ""; position: absolute; top: -14px; left: 50%; width: 46px; height: 14px; margin-left: -23px; background: var(--concrete); border-radius: 0 0 23px 23px; }
.tc-head { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 10px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.tc-k { display: block; font: 600 12px/1.2 var(--sans); color: var(--muted); }
.tc-v { font-size: 15px; font-weight: 700; }
.tc-grid { width: 100%; border-collapse: collapse; margin-top: 4px; font-size: 16px; }
.tc-grid th { font: 600 12px var(--sans); color: var(--muted); text-align: left; padding: 9px 6px 5px; }
.tc-grid td { padding: 8px 6px; border-bottom: 1px dashed var(--rule); }
.tc-grid td.ink { color: var(--stamp); font-weight: 700; }
.tc-grid tr.today td { background: rgba(255,107,26,.13); }
.tc-grid tr.future td { color: #A9ADA6; }
.tc-grid td.punch { animation: punch .45s ease-out; }
@keyframes punch { 0% { transform: scale(1.8); opacity: 0; } 60% { transform: scale(.94); opacity: 1; } 100% { transform: scale(1); } }
.tc-grid tfoot td { border: 0; border-top: 2px solid var(--ink); font-weight: 700; padding-top: 10px; }
.tc-stamp { position: absolute; right: 30px; bottom: 64px; font: 900 22px/1 var(--sans); font-stretch: 120%; color: var(--stamp); border: 3px solid var(--stamp); padding: 6px 12px; border-radius: 6px; transform: rotate(-12deg) scale(1); opacity: 0; mix-blend-mode: multiply; transition: opacity .2s, transform .3s cubic-bezier(.3,1.6,.6,1); pointer-events: none; }
.tc-stamp.on { opacity: .8; }
.tc-stamp.slam { animation: slam .4s ease-out; }
@keyframes slam { 0% { transform: rotate(-12deg) scale(2.2); opacity: 0; } 100% { transform: rotate(-12deg) scale(1); opacity: .8; } }

.phone { position: absolute; left: 0; bottom: 0; width: 236px; background: var(--ink); border-radius: 34px; padding: 12px; box-shadow: 0 30px 50px -20px rgba(0,0,0,.55); transform: rotate(-3deg); z-index: 2; }
.ph-notch { width: 80px; height: 18px; background: #000; border-radius: 0 0 12px 12px; margin: -12px auto 6px; }
.ph-screen { background: #fff; border-radius: 24px; padding: 14px 14px 16px; }
.ph-top { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.ph-brand { font-stretch: 110%; }
.ph-time { font-family: var(--type); }
.ph-map svg { width: 100%; height: auto; display: block; border-radius: 12px; }
.ph-dot { animation: pulse 2s ease-in-out infinite; transform-origin: 114px 60px; }
@keyframes pulse { 50% { transform: scale(1.25); } }
.ph-site { margin: 10px 0 12px; font-size: 14px; line-height: 1.35; }
.ph-site b { display: block; font-size: 16px; }
.ph-site span { color: #2F7D4F; font-weight: 600; font-size: 13px; }
.ph-btn { width: 100%; font: 800 18px var(--sans); font-stretch: 108%; padding: 16px; border: 0; border-radius: 14px; background: var(--hivis); color: var(--ink); cursor: pointer; box-shadow: 0 3px 0 var(--ink); }
.ph-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.ph-btn.out { background: var(--ink); color: #fff; box-shadow: 0 3px 0 #000; }
.ph-btn.done { background: #E8F3EC; color: #2F7D4F; box-shadow: none; cursor: default; }
.ph-foot { margin: 10px 0 0; font-size: 12px; color: var(--muted); text-align: center; }

/* Stats */
.stats { max-width: 1180px; margin: 0 auto 72px; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stats div { border-top: 4px solid var(--ink); padding: 18px 20px 0 0; }
.stats b { display: block; font: 900 clamp(34px, 4vw, 50px)/1 var(--sans); font-stretch: 112%; letter-spacing: -0.03em; }
.stats span { display: block; margin-top: 8px; font-size: 15px; color: var(--muted); max-width: 26ch; }
.stats sup { font-size: 10px; }

/* Calculator */
.calc { background: var(--ink); color: #fff; padding: 80px max(24px, calc((100% - 1132px) / 2)); }
.calc h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 850; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1.05; max-width: 18ch; }
.calc-intro p { color: #AEB5B0; max-width: 54ch; margin: 14px 0 40px; }
.calc-body { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: start; }
.calc-body > * { min-width: 0; }
#calcForm { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
#calcForm > label, #calcForm legend { display: flex; flex-direction: column; gap: 7px; font-size: 14px; color: #C5CAC6; font-weight: 600; min-width: 0; }
#calcForm .wide { grid-column: 1 / -1; }
#calcForm input[type=number] { width: 100%; font: 700 20px var(--type); background: transparent; color: #fff; border: 0; border-bottom: 2px solid #4A524D; padding: 6px 2px; border-radius: 0; }
#calcForm input[type=number]:focus { outline: none; border-bottom-color: var(--hivis); }
.range-row { display: flex; gap: 14px; align-items: center; }
.range-row input { flex: 1; accent-color: var(--hivis); }
.range-row output { font: 700 20px var(--type); min-width: 72px; text-align: right; color: #fff; }
.leak .range-row input { accent-color: #F97316; }
.hint { font-weight: 400; color: var(--muted); }
#calcForm .hint { color: #8E968F; }
.seg { border: 0; padding: 0; margin: 0; min-width: 0; }
.seg legend { margin-bottom: 8px; }
.seg label { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1.5px solid #3A413D; border-radius: 8px; margin-bottom: 8px; font-size: 15px; cursor: pointer; color: #E3E6E3; }
.seg label:has(input:checked) { border-color: var(--hivis); background: rgba(255,107,26,.1); }
.seg input { accent-color: var(--hivis); }

.readout { background: var(--paper); color: var(--ink); padding: 30px; border-radius: 4px; border-left: 10px solid var(--hivis); }
.ro-k { display: block; font-size: 15px; font-weight: 700; color: var(--muted); }
.ro-v { display: inline-block; font: 900 clamp(42px, 5.6vw, 66px)/1 var(--sans); font-stretch: 112%; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin: 6px 14px 0 0; }
.ro-pct { font: 700 22px var(--type); color: var(--stamp); }
.bar { display: flex; height: 16px; margin: 22px 0 8px; background: var(--rule); border-radius: 2px; overflow: hidden; }
.bar span { transition: width .25s ease; }
.bar-cost { background: var(--ink); }
.bar-leak { background: repeating-linear-gradient(-45deg, var(--leak) 0 5px, #F97316 5px 10px); }
.bar-margin { background: var(--hivis); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.legend i { display: inline-block; width: 10px; height: 10px; margin-right: -8px; }
.lg-cost { background: var(--ink); } .lg-leak { background: var(--leak); } .lg-margin { background: var(--hivis); }
.readout dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.readout dt { font-size: 13px; color: var(--muted); font-weight: 600; }
.readout dd { margin: 2px 0 0; font: 700 20px var(--type); }
.leak-call { margin: 20px 0 0; padding: 14px 16px; background: #FFF1E8; border-left: 4px solid var(--leak); font-size: 15px; }
.leak-call b { color: var(--leak); }

/* Why */
.name { max-width: 1180px; margin: 0 auto; padding: 88px 24px 72px; }
.name h2, .brand-kit h2, .faq h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 850; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1.05; max-width: 20ch; }
.name h2 { margin-bottom: 40px; }
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.reasons div { border-top: 4px solid var(--ink); padding-top: 18px; }
.reasons h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.reasons p { margin: 0; color: var(--muted); }

/* Brand kit */
.brand-kit { max-width: 1180px; margin: 0 auto; padding: 16px 24px 88px; }
.bk-intro p { color: var(--muted); margin: 12px 0 32px; max-width: 50ch; }
.bk-grid { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.bk-tile { border-radius: 10px; padding: 34px 28px; display: grid; place-items: center; min-height: 150px; }
.bk-tile svg { width: 100%; max-width: 260px; height: auto; }
.bk-dark { background: var(--ink); }
.bk-light { background: var(--paper); border: 1px solid var(--rule); }
.bk-icon { background: var(--hivis); gap: 10px; }
.bk-icon svg { width: 72px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.25)); }
.bk-icon span { font-size: 14px; font-weight: 700; }
.bk-colors { grid-column: 1 / 3; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bk-colors li { background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; padding: 12px; font-size: 14px; }
.bk-colors i { display: block; height: 64px; border-radius: 6px; margin-bottom: 10px; border: 1px solid rgba(0,0,0,.08); }
.bk-colors b { display: block; }
.bk-colors span { font-family: var(--type); color: var(--muted); font-size: 13px; }
.bk-type { background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; padding: 18px 20px; display: flex; gap: 16px; align-items: center; }
.bk-aa { font: 900 64px/1 var(--sans); font-stretch: 120%; }
.bk-type p { margin: 0; font-size: 14px; color: var(--muted); }
.bk-type b { color: var(--ink); }
.mono { font-family: var(--type); color: var(--ink); font-weight: 700; }

/* Offer */
.offer { max-width: 1180px; margin: 0 auto; padding: 0 24px 80px; display: grid; grid-template-columns: 1.1fr 1fr; }
.offer-deal { background: var(--hivis); padding: 44px; border-radius: 8px 0 0 8px; }
.offer-deal h2 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 900; font-stretch: 110%; letter-spacing: -0.025em; line-height: 1; overflow-wrap: anywhere; }
.price { font: 900 64px/1 var(--sans); font-stretch: 105%; letter-spacing: -0.03em; margin: 22px 0 10px; }
.price small { font: 600 16px var(--sans); letter-spacing: 0; }
.or-offer { margin: 0 0 26px; font-weight: 600; }
.offer-deal h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.offer-deal ul { margin: 0 0 30px; padding-left: 20px; }
.offer-deal li { margin: 5px 0; }
.offer-form { background: var(--paper); padding: 40px; border-radius: 0 8px 8px 0; display: flex; flex-direction: column; gap: 13px; }
.offer-form h3 { font-size: 24px; font-weight: 850; font-stretch: 108%; }
.offer-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.offer-form input, .offer-form textarea { font: 400 16px var(--sans); padding: 11px 12px; border: 2px solid var(--rule); border-radius: 5px; background: #fff; color: var(--ink); }
.offer-form input:focus, .offer-form textarea:focus { outline: none; border-color: var(--stamp); }
.offer-form .btn { width: 100%; }
.hp { display: none; }
.form-msg { margin: 0; min-height: 1.4em; font-size: 14px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; padding: 0 24px 80px; }
.faq h2 { margin-bottom: 24px; }
.faq details { border-top: 2px solid var(--ink); padding: 16px 0; }
.faq details:last-child { border-bottom: 2px solid var(--ink); }
.faq summary { font-weight: 800; font-size: 19px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--hivis); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--muted); max-width: 64ch; }

.foot { max-width: 1180px; margin: 0 auto; padding: 0 24px 48px; display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 13px; }
.sources p { margin: 0 0 4px; max-width: 80ch; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 32px; }
  .stage { min-height: 560px; max-width: 520px; width: 100%; margin: 0 auto; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 28px; }
}
@media (max-width: 900px) {
  .calc-body, .offer { grid-template-columns: 1fr; }
  .reasons { grid-template-columns: 1fr; gap: 28px; }
  .top nav a:not(.nav-cta) { display: none; }
  .offer-deal { border-radius: 8px 8px 0 0; padding: 30px; }
  .offer-form { border-radius: 0 0 8px 8px; padding: 30px; }
  .price { font-size: 52px; }
  .bk-grid { grid-template-columns: 1fr 1fr; }
  .bk-icon { grid-column: span 2; }
  .bk-colors { grid-column: 1 / -1; }
  .bk-type { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .stage { min-height: 640px; }
  .timecard { padding: 26px 16px 16px; }
  .tc-head { grid-template-columns: 1fr 1fr; }
  .phone { left: 50%; margin-left: -118px; transform: rotate(-2deg); }
  .readout dl { grid-template-columns: 1fr; }
  #calcForm { grid-template-columns: 1fr 1fr; }
  .bk-grid { grid-template-columns: 1fr; }
  .bk-icon, .bk-colors, .bk-type { grid-column: auto; }
  .bk-colors { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ph-dot, .tc-grid td.punch, .tc-stamp.slam { animation: none; }
  .bar span, .tc-stamp { transition: none; }
  html { scroll-behavior: auto; }
}
/* hero composition: keep the phone clear of the time card's columns */
.stage { min-height: 560px; }
.timecard { width: min(100%, 392px); }
.phone { left: -6px; bottom: -8px; }
@media (max-width: 980px) { .stage { min-height: 600px; } }
@media (max-width: 520px) { .stage { min-height: 700px; } .timecard { width: 100%; } .phone { left: 50%; bottom: 0; } }
.phone { width: 206px; padding: 10px; border-radius: 30px; }
.ph-screen { padding: 12px 12px 14px; }
.ph-btn { font-size: 16px; padding: 14px; }
.timecard { width: min(100%, 380px); }
@media (max-width: 980px) and (min-width: 521px) { .stage { min-height: 580px; } }
@media (max-width: 520px) {
  .stage { min-height: 0; display: flex; flex-direction: column; align-items: center; }
  .timecard, .phone { position: relative; inset: auto; }
  .timecard { width: 100%; }
  .phone { left: auto; margin: -36px 0 0 0; width: 220px; }
}
@media (max-width: 520px) { .phone { margin-top: -14px; } }
