/* Icepay Payroll: the company site's navy and sky blue, Open Sans. Light and dark follow the device. */
:root {
  --navy: #1A6FD4;
  --navy-deep: #0E2559;
  --sky: #2FA4E0;
  --sky-soft: #E6F4FC;
  --page: #F5F8FC;
  --card: #FFFFFF;
  --text: #13213D;
  --muted: #55637D;
  --border: #DCE4F0;
  --link: #1A6FD4;
  --orange: #F39A1E;
  --orange-text: #A85600;
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #0C1424;
    --card: #142038;
    --sky-soft: #16304F;
    --text: #E8EEF8;
    --muted: #A9B6CC;
    --border: #233452;
    --link: #7CC6F0;
    --orange-text: #FFB547;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 17px/1.6 "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text); background: var(--page); }
img { max-width: 100%; display: block; }
a { color: var(--link); }
h1, h2, h3 { line-height: 1.2; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; color: #13213D; padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* ---- top bar: white, so the logo sits on its own background ---- */
.topbar { position: sticky; top: 0; z-index: 5; background: #fff; border-bottom: 1px solid #DCE4F0; }
.topbar .wrap { display: flex; align-items: center; gap: 16px; min-height: 84px; }
.topbar .logo img { height: 70px; width: auto; }
.hero h1::after { content: ""; display: block; width: 88px; height: 4px; border-radius: 2px; background: #F39A1E; margin-top: 22px; }
.topbar nav { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.topbar nav a { color: #1A6FD4; text-decoration: none; font-weight: 600; font-size: .95rem; }
.topbar nav a:hover { text-decoration: underline; }
@media (max-width: 760px) { .topbar nav .hide-sm { display: none; } .topbar .logo img { height: 56px; } }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px;
  border-radius: 28px; font-weight: 700; text-decoration: none; font-size: 1rem; border: 2px solid transparent; }
.btn-light { background: #fff; color: #1A6FD4; }
.btn-light:hover { background: #E6F4FC; }
.btn-outline { color: #fff; border-color: rgba(255, 255, 255, .75); }
.btn-outline:hover { background: rgba(255, 255, 255, .12); }
.btn-navy { background: #1A6FD4; color: #fff; }
.btn-navy:hover { background: #1459AD; }
.topbar nav a.btn { min-height: 40px; padding: 8px 18px; font-size: .9rem; color: #fff; }
.topbar nav a.btn:hover { text-decoration: none; }

/* ---- hero ---- */
.hero { background: linear-gradient(135deg, #0E2559 0%, #1A6FD4 50%, #2FA4E0 100%); color: #fff; }
.hero .wrap { padding-top: 80px; padding-bottom: 88px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: #FFB547; }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.8rem); margin-top: 14px; max-width: 15em; letter-spacing: -0.01em; }
.hero .lead { font-size: 1.22rem; margin-top: 20px; max-width: 38em; opacity: .95; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .22); }
.facts div { min-width: 140px; }
.facts strong { display: block; font-size: 1.7rem; }
.facts span { font-size: .95rem; opacity: .85; }

/* ---- sections ---- */
section { padding: 80px 0; }
.alt { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 740px; margin-bottom: 40px; }
.kicker { color: var(--orange-text); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin-bottom: 10px; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.12rem; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid, .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid, .grid.four { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.alt .card { background: var(--page); }
.card h3 { font-size: 1.12rem; margin-top: 14px; }
.card p { margin-top: 8px; color: var(--muted); font-size: 1rem; }
.icon { width: 48px; height: 48px; border-radius: 14px; background: var(--sky-soft); color: var(--link); display: flex; align-items: center; justify-content: center; }
.icon svg { width: 26px; height: 26px; }

/* how we work */
.process { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.process li { counter-increment: s; }
.process li .num::before { content: counter(s); }
.num { width: 40px; height: 40px; border-radius: 50%; background: #1A6FD4; color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* payroll */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--sky-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232FA4E0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-9'/%3E%3C/svg%3E");
  background-size: 14px; background-repeat: no-repeat; background-position: center; }
.reports { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.reports span { background: var(--sky-soft); color: var(--link); border-radius: 18px; padding: 6px 14px; font-size: .92rem; font-weight: 600; }
.card.web-note, .alt .card.web-note { margin-top: 28px; background: linear-gradient(135deg, #1A6FD4, #2FA4E0); color: #fff; border: 0; }
.web-note h3 { margin-top: 0; }
.web-note p { color: rgba(255, 255, 255, .92); }
.tag { display: inline-block; background: #F39A1E; color: #2A1700; border-radius: 12px; padding: 2px 10px; font-size: .8rem; font-weight: 700; letter-spacing: .04em; margin-bottom: 10px; }

/* IceCalc */
.product { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 32px; }
.product img { width: 96px; height: 96px; border-radius: 24px; }
.product h3 { font-size: 1.6rem; margin-top: 0; }
.product .btn { white-space: nowrap; }
.product-actions { display: flex; flex-direction: column; gap: 10px; }
.btn-line { color: var(--link); border-color: var(--link); }
.btn-line:hover { background: rgba(26, 111, 212, .08); }
@media (max-width: 760px) { .product-actions { flex-direction: row; flex-wrap: wrap; } }
@media (max-width: 760px) { .product { grid-template-columns: 1fr; text-align: left; } }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pill-list span { background: #EFEBFA; color: #5B45A8; border-radius: 18px; padding: 5px 12px; font-size: .88rem; font-weight: 600; }
@media (prefers-color-scheme: dark) { .pill-list span { background: #2C2546; color: #B9A8F0; } }

/* contact */
.contact { background: linear-gradient(135deg, #0E2559, #1A6FD4 60%, #2FA4E0); color: #fff; }
.contact .section-head p { color: rgba(255, 255, 255, .88); }
.contact .kicker, .band .kicker { color: #FFB547; }
.contact .grid .card { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); }
.contact .card h3 { margin-top: 0; color: #fff; }
.contact .card p, .contact .card a { color: #fff; }
.contact .card a { font-weight: 700; font-size: 1.1rem; word-break: break-word; }

footer.site { padding: 36px 0 48px; color: var(--muted); font-size: .95rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 18px; }

/* Payroll site additions */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px 22px; }
.alt .faq details { background: var(--page); }
.faq summary { font-weight: 700; cursor: pointer; font-size: 1.05rem; }
.faq details p { margin-top: 10px; color: var(--muted); }
.band-title { font-size: 1.4rem; margin: 48px 0 20px; }
.shot { margin: 0; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 12px; box-shadow: 0 10px 30px rgba(14, 37, 89, .08); }
.shot img { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--border); }
.shot figcaption { margin-top: 12px; color: var(--muted); font-size: .95rem; }
.shot-wide { margin-bottom: 24px; }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
@media (max-width: 900px) { .shots { grid-template-columns: 1fr; max-width: 560px; } }

/* "Ask for a demo copy" panel in the contact section */
.contact .card.demo-copy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
  margin-bottom: 18px; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); }
.demo-copy > div:first-child { flex: 1 1 420px; }
.demo-copy p { margin-top: 6px; }
.demo-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact .card .demo-actions a { font-size: 1rem; }
.contact .card .demo-actions .btn-light { color: #1A6FD4; }
