/* Entrystarth page sections: the punch receipt, the flow from punch to timesheet, features by job,
   the accessibility panel you can try, who it is for, and the closing call. Scoped to body.es. */

/* ---------- one punch, on the record ---------- */
.es-proof { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 960px) { .es-proof { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); } }
.es-receipt { position: relative; justify-self: center; width: min(100%, 420px); background: #fff; color: var(--es-ink); padding: 28px 26px 34px; border-radius: 6px 6px 0 0; box-shadow: 0 30px 70px rgba(0,41,77,.16); font: 500 13px/1.6 var(--es-mono); }
.es-receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px; background: radial-gradient(circle at 8px 0, transparent 8px, #fff 8.5px) 0 0 / 16px 12px repeat-x; }
.es-receipt header { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px dashed #c9d3dc; }
.es-receipt header img { width: 40px; height: auto; }
.es-receipt header b { font: 700 13px/1.3 var(--es-mono); letter-spacing: .04em; }
.es-receipt ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.es-receipt li { display: flex; justify-content: space-between; gap: 16px; }
.es-receipt li span:last-child { text-align: right; }
.es-receipt li.ok span:last-child { color: #2f7a1f; }
.es-receipt li.sep { border-top: 1px dashed #c9d3dc; margin-top: 8px; padding-top: 12px; }
.es-receipt .tag-ex { position: absolute; top: 16px; right: 16px; font: 500 10px/1 var(--es-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--es-text2); }
.es-receipt.print li { opacity: 0; translate: 0 6px; transition: opacity .35s ease, translate .35s ease; transition-delay: calc(var(--i) * 140ms); }
.es-receipt.print.on li { opacity: 1; translate: 0 0; }
.es-proofs { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.es-proofs li { display: grid; grid-template-columns: 48px 1fr; gap: 4px 18px; padding: 20px 0; border-top: 1px solid var(--es-line); }
.es-proofs li:first-child { border-top: 0; }
.es-proofs .ic { grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--es-cyan); color: var(--es-navy); }
.es-proofs .ic svg { width: 22px; height: 22px; }
.es-proofs b { font: 700 18px/1.2 var(--es-sans); letter-spacing: -0.01em; }
.es-proofs span { font: 400 15px/1.5 var(--es-sans); color: var(--es-text2); }

/* ---------- from the punch to the timesheet ---------- */
.es-flow { position: relative; display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: f; }
@media (min-width: 1000px) { .es-flow { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.es-flow li { counter-increment: f; position: relative; border-radius: 22px; padding: 22px; display: grid; gap: 10px; align-content: start; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(214,250,251,.14); }
.es-flow li::before { content: counter(f, decimal-leading-zero); font: 500 12px/1 var(--es-mono); color: var(--es-green); }
.es-flow b { font: 700 18px/1.2 var(--es-sans); }
.es-flow span { font: 400 14px/1.5 var(--es-sans); color: rgba(255,255,255,.72); }
.es-flow .chip { justify-self: start; font: 600 11px/1 var(--es-mono); text-transform: uppercase; letter-spacing: .04em; padding: 7px 10px; border-radius: 8px; background: var(--es-cyan); color: var(--es-navy); }
.es-flow .chip.alert { background: var(--es-orange); color: #fff; }
.es-flow .chip.done { background: var(--es-green); color: var(--es-ink); }

/* ---------- features by job ---------- */
.es-jobs { display: grid; gap: 14px; }
@media (min-width: 1000px) { .es-jobs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.es-job { border-radius: 24px; padding: clamp(24px, 2.6vw, 32px); display: grid; gap: 22px; align-content: start; background: #fff; box-shadow: inset 0 0 0 1px var(--es-line); border-top: 6px solid var(--bar); min-width: 0; }
.es-job ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.es-job li { display: grid; grid-template-columns: 36px 1fr; gap: 2px 14px; }
.es-job .ic { grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--es-soft); color: var(--es-navy); }
.es-job .ic svg { width: 18px; height: 18px; }
.es-job li b { font: 700 15px/1.3 var(--es-sans); }
.es-job li span { font: 400 14px/1.45 var(--es-sans); color: var(--es-text2); }

/* ---------- accessibility you can try ---------- */
.es-a11y { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 1000px) { .es-a11y { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.es-try { border-radius: 28px; padding: clamp(22px, 2.6vw, 32px); background: #fff; display: grid; gap: 18px; box-shadow: 0 1px 0 var(--es-line); transition: background .4s, color .4s; --fs: 1; }
.es-try-bar { display: flex; flex-wrap: wrap; gap: 6px; }
.es-try-bar button { border: 0; cursor: pointer; padding: 10px 14px; border-radius: 10px; background: var(--es-soft); color: var(--es-navy); font: 600 13px/1 var(--es-sans); }
.es-try-bar button[aria-pressed="true"] { background: var(--es-navy); color: #fff; }
.es-try ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: calc(15px * var(--fs)); transition: font-size .3s; }
.es-try li { display: flex; gap: 12px; align-items: baseline; line-height: 1.45; }
.es-try li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--es-green); transform: translateY(-1px); }
.es-try.hc { background: #000; color: #fff; }
.es-try.hc .es-try-bar button { background: #000; color: #ff0; box-shadow: inset 0 0 0 2px #ff0; }
.es-try.hc .es-try-bar button[aria-pressed="true"] { background: #ff0; color: #000; }
.es-try.hc li::before { background: #ff0; }
.es-laws { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.es-laws span { font: 500 12px/1 var(--es-mono); padding: 9px 12px; border-radius: 10px; background: #fff; color: var(--es-navy); box-shadow: inset 0 0 0 1px var(--es-line); }

/* ---------- who it is for ---------- */
.es-who { display: grid; gap: 14px; }
@media (min-width: 860px) { .es-who { grid-template-columns: 1fr 1fr; } }
.es-who article { border-radius: 24px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 14px; background: var(--es-soft); }
.es-who ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.es-who li { font: 500 14px/1 var(--es-sans); padding: 11px 14px; border-radius: 12px; background: #fff; color: var(--es-ink); }

/* ---------- closing call ---------- */
.es-cta { position: relative; overflow: hidden; border-radius: 36px; padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 64px); display: grid; gap: 22px; justify-items: start; }
.es-cta-mark { position: absolute; right: -40px; bottom: -60px; width: min(46%, 420px); height: auto; opacity: .12; pointer-events: none; }
.es-cta > *:not(.es-cta-mark) { position: relative; }

@media (prefers-reduced-motion: reduce) { .es-receipt.print li { opacity: 1; translate: none; transition: none; } }
