/* Harris interactive kit: shared tokens and blocks (6 Nov 2026). Each variation adds its own layout on top. */
@font-face { font-family: "Hanken"; src: url(/assets/fonts/hanken-grotesk-500-static.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Hanken"; src: url(/assets/fonts/hanken-grotesk-700-static.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(/assets/fonts/ibm-plex-mono-400-latin.woff2) format("woff2"); font-weight: 400; font-display: swap; }
:root {
  --paper: #F6F6F3; --card: #FFFFFF; --ink: #16151F; --slate: #4B4A57; --tint: #ECE8FA; --rule: #DCDBD3;
  --violet: #4C1FD1; --violet-down: #3B16A8; --green: #0B7A55; --night: #16151F; --night-ink: #F6F6F3; --night-slate: #BDBCC9;
  --body: "Hanken", system-ui, -apple-system, "Segoe UI", sans-serif; --mono: "Plex Mono", ui-monospace, Consolas, monospace;
  --pad: 20px; --max: 1180px; --ease: cubic-bezier(.2,.7,.2,1);
}
@media (min-width: 960px) { :root { --pad: 40px; } }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 18px/1.55 var(--body); overflow-x: hidden; }
@media (min-width: 960px) { body { font-size: 19px; } }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-weight: 700; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.ic { flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* top bar */
.top { height: 64px; display: flex; align-items: center; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; }
.mark { display: inline-flex; align-items: center; gap: 10px; font: 700 20px/1 var(--body); text-decoration: none; }
.mark img { width: 28px; height: 28px; }
.top nav a { font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 6px; }

/* pills: fully round, one fill */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 14px 28px; border: 0; border-radius: 999px;
  background: var(--violet); color: #fff; font: 700 18px/1.1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease); -webkit-tap-highlight-color: transparent; }
.pill:hover { background: var(--violet-down); }
.pill:active { transform: scale(.97); }
.pill.ghost { background: var(--tint); color: var(--violet); }
.pill.ghost:hover { background: #DDD5F7; }
.pill.ok { background: var(--green); }
.circle { width: 52px; height: 52px; border-radius: 50%; border: 0; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  background: var(--tint); color: var(--violet); transition: transform .18s var(--ease); }
.circle:active { transform: scale(.94); }
.circle[disabled] { opacity: .35; cursor: default; }

/* answer options: large tap targets with an icon */
.opts { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.opt { width: 100%; min-height: 64px; display: flex; align-items: center; gap: 14px; padding: 14px 22px; border: 0; border-radius: 999px; text-align: left;
  background: var(--card); color: var(--ink); font: 700 18px/1.25 var(--body); cursor: pointer; transition: transform .16s var(--ease), background-color .16s var(--ease), color .16s var(--ease); }
.opt .ic { color: var(--violet); }
.opt:hover { background: var(--tint); }
.opt:active { transform: scale(.98); }
.opt[aria-pressed="true"] { background: var(--violet); color: #fff; }
.opt[aria-pressed="true"] .ic { color: #fff; }
.opt .tick { margin-left: auto; opacity: 0; }
.opt[aria-pressed="true"] .tick { opacity: 1; }

/* the operator file */
.kfile-bar { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.kfile-name { font: 700 16px/1.3 var(--body); color: var(--slate); word-break: break-all; }
.kfile-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.kfile-pre { margin: 0; max-height: 420px; overflow: auto; padding: 22px; border-radius: 24px; background: var(--night); color: var(--night-ink);
  font: 400 14px/1.6 var(--mono); white-space: pre-wrap; word-break: break-word; }
.kfile-how { margin: 18px 0 0; padding-left: 1.3em; display: grid; gap: 8px; }

/* the morning brief (reads like a message on a phone) */
.kb-head { display: flex; justify-content: space-between; gap: 10px; font: 700 15px/1.3 var(--body); color: var(--slate); margin-bottom: 14px; }
.kb-from { display: inline-flex; align-items: center; gap: 8px; color: var(--violet); }
.kb-hi { font: 700 26px/1.15 var(--body); letter-spacing: -.02em; margin-bottom: 16px; }
.kb-sec { padding: 14px 0; }
.kb-sec + .kb-sec { padding-top: 4px; }
.kb-sec h4 { font-size: 16px; color: var(--violet); margin-bottom: 6px; letter-spacing: 0; }
.kb-sec ol, .kb-sec ul { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.kb-when { margin-top: 8px; font-weight: 700; }
.kb-note { margin-top: 12px; font-size: 15px; color: var(--slate); }

/* first three jobs */
.kjobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.kjob { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; padding: 20px 22px; border-radius: 28px; background: var(--card); }
.kjob-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--tint); color: var(--violet); display: flex; align-items: center; justify-content: center; }
.kjob-t h4 { font-size: 22px; margin-bottom: 4px; }
.kjob-uses { margin-top: 6px; font-size: 15px; color: var(--slate); }
.kjob-h { grid-column: 2; display: flex; align-items: baseline; gap: 6px; }
.kjob-h b { font-size: 22px; color: var(--green); }
.kjob-h span { color: var(--slate); font-size: 15px; }
@media (min-width: 720px) { .kjob { grid-template-columns: auto 1fr auto; align-items: center; } .kjob-h { grid-column: auto; flex-direction: column; align-items: flex-end; gap: 0; } }
.kjobs-sum { margin-top: 16px; }

/* the close: shared copy, each variation places it */
.kclose h2 { font-size: clamp(34px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -.03em; }
.kclose .acts { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.kcall { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; min-height: 48px; }
.kfine { font-size: 15px; color: var(--slate); }

/* text inputs (optional name and business) */
.kin { display: grid; gap: 6px; font-weight: 700; }
.kin input { min-height: 58px; padding: 0 22px; border: 2px solid transparent; border-radius: 999px; background: var(--card); font: 500 18px var(--body); color: var(--ink); width: 100%; }
.kin input:focus { border-color: var(--violet); outline: none; }

footer.kfoot { padding: 40px 0 48px; font-size: 15px; color: var(--slate); }
footer.kfoot a { font-weight: 700; color: var(--ink); }
footer.kfoot ul { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 4px 20px; }
footer.kfoot li a { display: inline-flex; min-height: 44px; align-items: center; }

/* entrance: content stays visible if the script never runs */
.js .rise { opacity: 0; transform: translateY(22px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.js .rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rise { opacity: 1; transform: none; transition: none; } .pill, .opt, .circle { transition: none; } }
