/* Clever Hours — Cobalt Volt */
:root {
  --cobalt: #2B5BFF;
  --cobalt-deep: #1D44D6;
  --lime: #D4FF00;
  --pink: #FF2D7A;
  --violet: #7B2CFF;
  --ink: #0E0F14;
  --paper: #F4F6FF;
  --white: #FFFFFF;
  --muted: #4E5468;
  --on-cobalt-muted: #EEF2FF;
  --sans: "Space Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;
  --gutter: max(16px, min(6vw, 72px));
  --measure: 640px;
  --shadow: 6px 6px 0 var(--ink);
  --radius: 22px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cobalt); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: 1160px; margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* header */
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.brand svg { width: 34px; height: 34px; }
.site-head nav { display: flex; gap: 22px; font-size: 15px; font-weight: 500; }
.site-head nav a { color: var(--ink); text-decoration: none; }
.site-head nav a:hover { color: var(--cobalt); }

/* type */
h1, h2, h3 { font-weight: 700; line-height: 1.02; margin: 0; letter-spacing: -.025em; text-wrap: balance; }
p { margin: 0 0 1em; }
.hl { background: var(--lime); color: var(--ink); padding: 0 .14em; border-radius: .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 26px; border-radius: 999px; border: 2.5px solid var(--ink);
  font: 700 17px/1 var(--sans); text-decoration: none; cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink); transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-cobalt { background: var(--cobalt); color: var(--white); }
.btn-white { background: var(--white); color: var(--ink); }
.btn[aria-disabled="true"] { background: var(--white); color: var(--muted); border-style: dashed; box-shadow: none; cursor: default; transform: none; }

/* footer */
.site-foot { background: var(--ink); color: #C9CCD8; margin-top: 96px; font-size: 14px; }
.site-foot .wrap { padding-block: 44px 56px; }
.site-foot .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.site-foot .brand { color: var(--white); }
.site-foot a { color: #C9CCD8; }
.site-foot a:hover { color: var(--lime); }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 20px; }
.site-foot .legal-line { flex-basis: 100%; margin: 0; }

/* legal pages */
.legal { max-width: var(--measure); padding-block: 40px 0; }
.legal h1 { font-size: clamp(44px, 8vw, 72px); margin-bottom: 10px; }
.legal h2 { font-size: 26px; margin: 40px 0 10px; }
.legal p, .legal li { color: #2A2E3A; }
.legal .updated { display: inline-block; background: var(--lime); border: 2px solid var(--ink); border-radius: 999px; padding: 2px 14px; font-size: 14px; font-weight: 600; margin-bottom: 28px; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
