/* SlimmerSoft website styles. Colors and fonts are set once, here. */
:root {
  --fg: #0f172a;
  --muted: #56657b;
  --line: #e2e8f0;
  --tint: #f8fafc;
  --slate: #0f172a;
  --brand: #f97316;   /* the logo's safety orange, for shapes */
  --accent: #c2410c;  /* a darker orange that is readable as text */
  --radius: .6rem;
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
body { margin: 0; background: #fff; color: var(--fg); font: 400 1.0625rem/1.6 var(--font); }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
@media (min-width: 760px) { .wrap { width: min(1160px, 100% - 64px); } }

.skip { position: absolute; left: -999px; top: .5rem; z-index: 30; padding: .5rem .9rem; background: #fff; border: 1px solid var(--line); border-radius: .45rem; }
.skip:focus { left: 1rem; }

/* Anything still to be supplied. These never appear on a --release build. */
.todo { display: inline-block; padding: 0 .4em; border: 1.5px dashed #b45309; border-radius: 3px; background: #fffbeb; color: #92400e; font-size: .85em; font-weight: 500; line-height: 1.5; }

/* ---------- Type ---------- */
h1, h2, h3 { font-weight: 650; letter-spacing: -.025em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.6vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.3rem; letter-spacing: -.015em; line-height: 1.25; }
.eyebrow { color: var(--accent); font-size: .95rem; font-weight: 600; }
.lede { color: var(--muted); font-size: 1.2rem; line-height: 1.5; max-width: 42rem; }
.tagline { font-size: 1.3rem; font-weight: 500; line-height: 1.35; }
.text-link { color: var(--accent); font-weight: 600; text-underline-offset: .15em; }
.prose a { color: var(--accent); text-underline-offset: .15em; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: .72rem 1.3rem; border: 1px solid var(--slate); border-radius: .45rem; background: var(--slate); color: #f8fafc; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; transition: background-color .15s, border-color .15s; }
.btn:hover { background: #334155; border-color: #334155; }
.btn-ghost { background: #fff; border-color: #cbd5e1; color: var(--slate); }
.btn-ghost:hover { background: var(--tint); border-color: #94a3b8; }
.btn-small { padding: .45rem .9rem; font-size: .9rem; white-space: nowrap; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* ---------- Header ---------- */
.site-head { background: #fff; border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1.5rem; padding-block: .8rem; }
.brand { display: block; flex: none; }
.brand img { width: 175px; height: 28px; }
.nav { order: 3; display: flex; flex-wrap: wrap; align-items: center; gap: .1rem 1.1rem; width: 100%; color: var(--muted); font-size: .95rem; font-weight: 500; }
.nav a, .nav-menu > summary { text-decoration: none; text-underline-offset: .3em; }
.nav a:hover, .nav-menu > summary:hover { color: var(--fg); text-decoration: underline; }
.nav a[aria-current], .nav-menu[data-current] > summary { color: var(--fg); text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; }

/* The Products menu, and the "How billing works" section, open and close with a click. */
.nav-menu, .more { --chev: .42em; }
.nav-menu > summary, .more > summary { display: inline-flex; align-items: center; gap: .45em; cursor: pointer; list-style: none; }
.nav-menu > summary::-webkit-details-marker, .more > summary::-webkit-details-marker { display: none; }
.nav-menu > summary::after, .more > summary::after { content: ""; flex: none; width: var(--chev); height: var(--chev); border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-.2em) rotate(45deg); transition: transform .15s; }
.nav-menu[open] > summary::after, .more[open] > summary::after { transform: translateY(.1em) rotate(-135deg); }
.nav-menu { position: relative; }
.nav-menu[open] > summary { color: var(--fg); }
.nav-panel { position: absolute; z-index: 30; top: calc(100% + .7rem); left: -.6rem; display: grid; width: min(19.5rem, 100vw - 1.5rem); padding: .4rem; border: 1px solid var(--line); border-radius: .65rem; background: #fff; box-shadow: 0 14px 34px rgb(15 23 42 / .14); }
.nav .nav-panel a { display: grid; padding: .5rem .75rem; border-radius: .4rem; color: var(--fg); line-height: 1.35; text-decoration: none; }
.nav .nav-panel a:hover, .nav .nav-panel a:focus-visible { background: var(--tint); }
.nav .nav-panel a[aria-current] { background: #fff7ed; }
.nav-panel b { font-weight: 600; }
.nav-panel span { color: var(--muted); font-size: .85rem; font-weight: 400; }
.nav .nav-panel .nav-all { margin-top: .3rem; padding-top: .65rem; border-top: 1px solid var(--line); border-radius: 0 0 .4rem .4rem; color: var(--accent); font-weight: 600; }
.site-head .btn { margin-left: auto; }
@media (min-width: 860px) {
  .site-head { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / .94); backdrop-filter: blur(8px); }
  .brand img { width: 200px; height: 32px; }
  .nav { order: 0; width: auto; margin-left: auto; gap: .1rem 1.5rem; }
  .site-head .btn { margin-left: 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.25rem); }
.section-tint { background: var(--tint); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: .75rem; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.stack { display: grid; gap: 1.25rem; justify-items: start; align-content: start; min-width: 0; }
.split { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.split > * { min-width: 0; }
.stack > figure { width: 100%; }
.block-gap { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 960px) { .split { grid-template-columns: 1.05fr .95fr; } }

/* ---------- Heroes ---------- */
.hero { background: var(--tint); border-bottom: 1px solid var(--line); padding-block: clamp(2.75rem, 7vw, 5.25rem); }
.hero-center .wrap { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.hero-center .stack { justify-items: center; max-width: 54rem; margin-inline: auto; text-align: center; }
.hero-center .btn-row { justify-content: center; }
.product-logo { width: min(100%, 390px); }

/* Home: the bold header and the three kinds of product under it */
.hero-home h1 { font-size: clamp(2.6rem, 6.6vw, 4.75rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.hero-home h1 span { display: block; }
.hero-home h1 .accent-line { color: var(--accent); }
.pillars { display: grid; gap: 1rem; text-align: left; }
@media (min-width: 860px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { display: grid; grid-template-rows: auto auto 1fr auto; gap: .55rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: .75rem; background: #fff; box-shadow: 0 8px 28px rgb(15 23 42 / .06); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.pillar:hover { border-color: #94a3b8; box-shadow: 0 10px 30px rgb(15 23 42 / .1); }
.pillar-icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: .6rem; background: #fff7ed; color: var(--accent); }
.pillar-icon svg { width: 1.4rem; height: 1.4rem; }
.pillar h2 { font-size: 1.3rem; letter-spacing: -.015em; line-height: 1.2; }
.pillar p { color: var(--muted); font-size: .98rem; }
.pillar-product { color: var(--accent); font-size: .92rem; font-weight: 600; }

/* ---------- How the products connect ---------- */
.flow { display: grid; gap: .6rem; padding: 1rem; border: 1px solid var(--line); border-radius: .75rem; background: #fff; box-shadow: 0 8px 28px rgb(15 23 42 / .07); font-size: .9rem; line-height: 1.3; }
.flow-col { display: grid; gap: .6rem; }
.node { display: grid; gap: .1rem; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: .45rem; background: var(--tint); text-decoration: none; }
a.node:hover { border-color: #94a3b8; }
.node b { font-size: 1rem; font-weight: 600; }
.node span { color: var(--muted); font-size: .85rem; }
.node-sage { align-self: stretch; align-content: center; padding: 1.2rem 1rem; background: var(--slate); border-color: var(--slate); color: #f8fafc; text-align: center; }
.node-sage b { font-size: 1.2rem; }
.node-sage span { color: #cbd5e1; }
.arrow { display: flex; align-items: center; justify-content: center; color: var(--brand); }
.arrow svg { width: 26px; height: 26px; transform: rotate(90deg); }
.flow-col .arrow svg { width: 20px; height: 20px; }
@media (min-width: 760px) {
  .flow { grid-template-columns: 1fr 30px 1fr 30px 1fr; align-items: center; }
  .arrow svg { transform: none; }
  .flow-col .arrow svg { transform: rotate(90deg); }
}

/* ---------- Quick facts ---------- */
.facts { border-bottom: 1px solid var(--line); }
.facts ul { display: grid; padding-block: .5rem; }
@media (min-width: 560px) { .facts ul { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .facts ul { grid-template-columns: repeat(4, 1fr); } }
.facts li { display: grid; gap: .15rem; align-content: start; justify-items: start; padding: 1.25rem; }
.facts strong { font-size: 1.6rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.15; }
.facts span { color: var(--muted); font-size: .92rem; line-height: 1.4; }
.badge-slot { margin-top: .35rem; }
.badge-slot:empty { display: none; }

/* ---------- Images ---------- */
.shot { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: #f3f3f3; box-shadow: 0 12px 32px rgb(15 23 42 / .14); }
.shot-crop { aspect-ratio: 837 / 290; object-fit: cover; object-position: top; }
.caption { margin-top: .6rem; color: var(--muted); font-size: .85rem; }

/* ---------- A process, step by step ---------- */
.cycle { display: grid; gap: 1.5rem; }
.cycle li { position: relative; display: grid; gap: .35rem; align-content: start; padding: 1.1rem; border: 1px solid var(--line); border-top: 3px solid var(--who, var(--slate)); border-radius: var(--radius); background: #fff; }
.cycle li:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: -1.05rem; width: .6rem; height: .6rem; border-top: 2px solid #94a3b8; border-right: 2px solid #94a3b8; transform: translateX(-50%) rotate(135deg); }
.who { color: var(--muted); font-size: .82rem; font-weight: 600; }
.cycle b { font-size: 1.1rem; font-weight: 650; letter-spacing: -.01em; }
.cycle p { color: var(--muted); font-size: .96rem; line-height: 1.45; }
.who-pdl { --who: var(--brand); }
.who-sage { --who: var(--slate); }
.who-other { --who: #94a3b8; }
@media (min-width: 900px) {
  .cycle { grid-auto-flow: column; grid-auto-columns: 1fr; }
  .cycle li:not(:last-child)::after { left: auto; right: -1.05rem; bottom: auto; top: 50%; transform: translateY(-50%) rotate(45deg); }
}

/* ---------- Lists and cards ---------- */
.checks { display: grid; gap: .55rem; }
.checks li { position: relative; padding-left: 1.5rem; }
.checks li::before { content: ""; position: absolute; left: .1rem; top: .5em; width: .8rem; height: .42rem; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 1rem; }
.card { display: grid; gap: .55rem; align-content: start; justify-items: start; padding: 1.35rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; }
.card > p { color: var(--muted); font-size: .98rem; }
a.card { transition: border-color .15s, box-shadow .15s; }
a.card:hover { border-color: #94a3b8; box-shadow: 0 8px 24px rgb(15 23 42 / .08); }
.card .checks { font-size: .98rem; margin-top: .3rem; }
.card-more { margin-top: .2rem; color: var(--accent); font-size: .95rem; font-weight: 600; }
.card-main { padding: 1.75rem; gap: .75rem; }
.card h2 { font-size: 1.3rem; letter-spacing: -.015em; line-height: 1.25; }
.card-main h2 { font-size: 1.7rem; letter-spacing: -.02em; }
.pill { justify-self: start; padding: .1rem .6rem; border-radius: 999px; background: #ffedd5; color: #9a3412; font-size: .78rem; font-weight: 600; }
.pill-slate { background: #e2e8f0; color: #334155; }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 165px), 1fr)); gap: .5rem; width: 100%; }
.chip-group { width: 100%; }
.chip-head { margin-bottom: .6rem; color: var(--muted); font-size: .9rem; font-weight: 600; letter-spacing: 0; }
.chips li { padding: .5rem .75rem; border: 1px solid var(--line); border-radius: .45rem; background: var(--tint); font-size: .95rem; font-weight: 500; line-height: 1.3; }
.note { padding: .95rem 1.1rem; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: .45rem; background: var(--tint); }
.note b { font-weight: 600; }
.section-tint .note { background: #fff; }

/* ---------- Pricing ---------- */
.price-panel { display: grid; gap: 1.25rem; align-items: center; padding: clamp(1.35rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: .75rem; background: var(--tint); }
.price-panel p { margin-top: .5rem; max-width: 44rem; font-size: 1.1rem; }
.price-panel h2 { font-size: 1.6rem; letter-spacing: -.02em; }
@media (min-width: 860px) { .price-panel { grid-template-columns: 1fr auto; } }
.price-list { display: grid; gap: .1rem; margin-top: .6rem; line-height: 1.5; }
.price-panel .price-list p { margin: 0; }
.price-list strong { font-size: 1.6rem; font-weight: 650; letter-spacing: -.02em; }
.price-panel .price-list .muted { margin-top: .4rem; color: var(--muted); font-size: 1rem; }
.price-list .todo { font-size: .9em; }
.more { grid-column: 1 / -1; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.more > summary { color: var(--accent); font-weight: 600; }
.more > summary:hover { text-decoration: underline; text-underline-offset: .15em; }
.more .faq { margin-top: 1.4rem; }
.more .faq dd { font-size: 1rem; }
.faq { display: grid; gap: 1.75rem 3rem; }
.faq dt { font-size: 1.08rem; font-weight: 650; letter-spacing: -.01em; }
.faq dd { margin-top: .35rem; color: var(--muted); }
@media (min-width: 760px) { .faq { grid-template-columns: 1fr 1fr; } }

/* ---------- Contact details ---------- */
.contact-list { display: grid; gap: 1.1rem; }
.contact-list b { display: block; color: var(--muted); font-size: .9rem; font-weight: 600; }
.contact-list a { font-size: 1.15rem; font-weight: 500; text-underline-offset: .15em; }
.contact-list span { font-size: 1.15rem; font-weight: 500; }

/* ---------- Dark band ---------- */
.band { background: var(--slate); color: #f8fafc; padding-block: clamp(3rem, 6vw, 4.5rem); }
.band .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 2.5rem; }
.band h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); }
.band p { max-width: 32rem; color: #cbd5e1; }
.band .btn { background: #f8fafc; border-color: #f8fafc; color: var(--slate); }
.band .btn:hover { background: #e2e8f0; border-color: #e2e8f0; }
.band .btn-ghost { background: none; border-color: #64748b; color: #f8fafc; }
.band .btn-ghost:hover { background: #1e293b; border-color: #94a3b8; }
.band a:not(.btn) { color: #fff; text-underline-offset: .15em; }

/* ---------- Illustration of TimeRunner: a weekly timesheet with the phone clock in front ---------- */
.tr-art { display: grid; justify-items: center; gap: .6rem; min-width: 0; }
.tr-screens { display: grid; width: min(100%, 580px); }
.tr-screens > * { grid-area: 1 / 1; min-width: 0; }
.sheet { align-self: start; justify-self: start; width: calc(100% - 9.5rem); display: grid; gap: .7rem; padding: 1rem; border: 1px solid var(--line); border-radius: .8rem; background: #fff; box-shadow: 0 18px 40px rgb(15 23 42 / .14); font-size: .8rem; line-height: 1.3; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: .6rem; border-bottom: 1px solid var(--line); color: #64748b; font-size: .72rem; }
.sheet-head img { width: 84px; height: auto; }
.sheet-title { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.sheet-title b { font-size: .92rem; font-weight: 600; }
.sheet-status { padding: .05rem .5rem; border-radius: 999px; background: #e2e8f0; color: #334155; font-size: .68rem; font-weight: 600; }
.sheet table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sheet th { padding: .3rem .2rem; border-bottom: 1px solid var(--line); color: #64748b; font-size: .68rem; font-weight: 500; text-align: center; }
.sheet td { padding: .4rem .2rem; border-bottom: 1px solid #f1f5f9; text-align: center; }
.sheet th:first-child, .sheet td:first-child { text-align: left; }
.sheet th:last-child, .sheet td:last-child { font-weight: 600; }
.sheet td small { display: block; color: #64748b; font-size: .68rem; }
.sheet tfoot td { border-bottom: 0; font-weight: 600; }
.sheet-btn { justify-self: end; padding: .45rem .9rem; border-radius: .4rem; background: var(--slate); color: #f8fafc; font-size: .78rem; font-weight: 600; }
/* The phone overlaps only the timesheet's right edge, so every column stays in view. */
.tr-screens .phone { align-self: start; justify-self: end; width: 10.5rem; margin-top: 3rem; padding: .5rem; border-radius: 1.4rem; }
.tr-screens .screen { gap: .45rem; padding: .8rem .7rem .9rem; border-radius: 1rem; font-size: .72rem; }
.tr-screens .screen h4 { font-size: .9rem; }
.tr-screens .clock { padding: .6rem; }
.tr-screens .clock strong { font-size: 1.2rem; }
.tr-screens .screen-head img { width: 56px; }
.tr-screens .offline { font-size: .66rem; }
@media (max-width: 559px) {
  .tr-screens > * { grid-area: auto; }
  .sheet { width: 100%; padding: .85rem; font-size: .76rem; }
  .sheet th, .sheet td { padding-inline: .12rem; }
  .tr-screens .phone { justify-self: center; margin-top: -1rem; }
}
.phone { width: min(285px, 100%); padding: .7rem; border-radius: 2rem; background: var(--slate); box-shadow: 0 18px 40px rgb(15 23 42 / .3); }
.screen { display: grid; gap: .75rem; padding: 1.1rem 1rem 1.2rem; border-radius: 1.4rem; background: #fff; font-size: .9rem; line-height: 1.35; }
.screen-head { display: flex; align-items: center; justify-content: space-between; color: #64748b; font-size: .72rem; }
.screen-head img { width: 68px; height: auto; }
.screen h4 { font-size: 1.05rem; font-weight: 600; }
.clock { padding: .8rem; border-radius: .6rem; background: #f1f5f9; text-align: center; }
.clock strong { display: block; font-size: 1.65rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.field { display: grid; gap: .1rem; padding: .5rem .7rem; border: 1px solid var(--line); border-radius: .45rem; }
.field small { color: #64748b; font-size: .7rem; }
.screen-btn { padding: .65rem; border-radius: .45rem; background: var(--slate); color: #f8fafc; font-weight: 600; text-align: center; }
.offline { color: #64748b; font-size: .74rem; text-align: center; }

/* ---------- Footer ---------- */
.foot { padding-block: 2.75rem 2rem; background: var(--tint); border-top: 1px solid var(--line); font-size: .92rem; }
.foot .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1.75rem; }
.foot-brand { display: grid; gap: .75rem; align-content: start; color: var(--muted); }
.foot strong { display: block; margin-bottom: .4rem; font-weight: 600; }
.foot ul { display: grid; gap: .25rem; color: var(--muted); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--fg); text-decoration: underline; }
.legal { grid-column: 1 / -1; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
