/* ==========================================================
   AOT Staffing — site styles
   Dark, keycap-inspired look. Edit colors in :root below.
   ========================================================== */

:root {
  --bg: #070708;
  --bg-raise: #0d0d10;
  --line: rgba(255, 255, 255, 0.08);
  --line-hi: rgba(255, 255, 255, 0.14);
  --text: #f4f4f5;
  --muted: #a0a0a8;
  --dim: #74747d;

  --accent: #ff5b4a;
  --accent-soft: #ff8b6b;
  --grad: linear-gradient(100deg, #ff7a5c 0%, #ff4d5a 48%, #ff9a4a 100%);

  --radius: 22px;
  --max: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: -9999px; top: 12px; z-index: 100;
  background: #fff; color: #000; padding: 10px 14px; border-radius: 10px; font-weight: 600;
}
.skip:focus { left: 12px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Line icons */
.i {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.accent-solid { color: #FF5A4E; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 16px/1 var(--font); letter-spacing: -0.01em;
  padding: 16px 24px; border-radius: 14px; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-primary {
  color: #0a0a0b;
  background: linear-gradient(180deg, #ffffff 0%, #e6e6ea 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 10px 30px -10px rgba(255, 91, 74, 0.6);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.25),
    0 14px 44px -8px rgba(255, 91, 74, 0.8);
}
.btn-primary:active { transform: translateY(0); }
.btn-lg { padding: 19px 30px; font-size: 17px; border-radius: 16px; }
.btn-sm { padding: 11px 16px; font-size: 14.5px; border-radius: 11px; }
.btn .i { width: 18px; height: 18px; stroke-width: 2; transition: transform .2s ease; }
.btn:hover .i { transform: translateX(3px); }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent-soft); font-weight: 600; font-size: 16px;
}
.text-link .i { width: 18px; height: 18px; stroke-width: 2; transition: transform .2s ease; }
a:hover .text-link .i, .text-link:hover .i { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 7, 8, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 24px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand img { height: 32px; width: auto; }
.site-header .brand img { height: 40px; }
.brand-mark { width: 32px; height: 32px; }
.brand-name { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.brand-name span { color: var(--muted); font-weight: 500; }

.site-nav { flex: 1; display: flex; justify-content: center; }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 10px;
  color: var(--muted); font-size: 15px; font-weight: 500; white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.06); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(76px, 11vw, 136px) 0 0;
  text-align: center;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 25%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 25%, #000 20%, transparent 75%);
  opacity: .55;
}
.hero-bg::after {
  content: ""; position: absolute; left: 50%; top: -300px;
  width: min(1100px, 150vw); height: 760px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 84, 72, 0.15), rgba(255, 140, 70, 0.04) 60%, transparent);
}

.hero h1 {
  font-size: clamp(46px, 8.4vw, 100px);
  line-height: 0.98; letter-spacing: -0.048em; font-weight: 800;
}
.hero .lead {
  font-size: clamp(18px, 2.2vw, 21px); color: var(--muted);
  max-width: 32ch; margin: 26px auto 38px;
}

/* ---------- Hero graphic: IT keyboard ---------- */
.keyboard {
  --k: 64px; --gap: 10px;
  position: relative; margin: 72px auto 0; padding-bottom: 24px;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 98%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 98%);
}
.keyboard::before {
  content: ""; position: absolute; left: 50%; top: 40%;
  width: 420px; height: 260px; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 84, 72, 0.16), transparent);
  pointer-events: none;
}
.kb {
  position: relative; display: inline-flex; flex-direction: column; align-items: center;
  gap: var(--gap); padding: calc(var(--gap) * 2);
  border-radius: 32px;
  background: linear-gradient(180deg, #151518 0%, #0a0a0c 100%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 40px 80px -30px rgba(0, 0, 0, 0.6);
  transform: perspective(1300px) rotateX(32deg);
  transform-origin: 50% 0;
}
.krow { display: flex; gap: var(--gap); }

.key {
  position: relative; width: var(--k); height: var(--k);
  display: grid; place-items: center; border-radius: 14px;
  color: #c4c4cb;
  background: linear-gradient(180deg, #2a2a2f 0%, #141417 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 5px 0 #08080a,
    0 8px 14px rgba(0, 0, 0, 0.35);
}
.key::before {
  content: ""; position: absolute; inset: 4px 5px 9px; border-radius: 10px;
  background: linear-gradient(180deg, #212125, #19191c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.key > svg { position: relative; width: 24px; height: 24px; }
.key-accent { color: #fff;
  background: linear-gradient(180deg, #ff735c 0%, #e2363f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 5px 0 #8a1c23,
    0 10px 30px rgba(255, 80, 70, 0.28);
  animation: keyglow 4s ease-in-out infinite;
}
.key-accent::before { background: linear-gradient(180deg, #ff8366, #ff4b4e); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.key-accent > svg { width: 38px; height: 38px; }
.key-accent > svg.clock { width: 25px; height: 25px; }

@keyframes keyglow {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 0 0 1px rgba(0,0,0,.5), 0 5px 0 #8a1c23, 0 10px 30px rgba(255,80,70,.22); }
  50% { box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 0 0 1px rgba(0,0,0,.5), 0 5px 0 #8a1c23, 0 10px 40px rgba(255,80,70,.38); }
}

/* ---------- Hero graphic: terminal window ---------- */
.window {
  max-width: 660px; margin: 80px auto 0; text-align: left; overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, #131316 0%, #0b0b0d 100%);
  border: 1px solid var(--line-hi);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 90px -20px rgba(255, 91, 74, 0.45),
    0 40px 100px -30px rgba(0, 0, 0, 0.9);
}
.window-bar { display: flex; gap: 8px; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.window-bar i { width: 12px; height: 12px; border-radius: 50%; background: #2a2a2f; }
.window-bar i:first-child { background: var(--accent); }
.term { padding: 26px 26px 30px; font: 400 15px/1.9 var(--mono); color: #d4d4d8; }
.term .line { opacity: 0; animation: lineIn .45s ease forwards; animation-delay: calc(var(--n) * 0.7s + 0.3s); }
.t-prompt { color: var(--accent-soft); }
.t-cmd { color: #fff; font-weight: 500; }
.t-flag { color: var(--dim); }
.t-dim { color: var(--dim); }
.t-ok { color: #4ade80; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0 6px 22px; }
.chip {
  font-size: 13px; line-height: 1; padding: 7px 10px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: #e4e4e7;
}
.cursor {
  display: inline-block; width: 9px; height: 1.1em; margin-left: 6px; vertical-align: -3px;
  background: var(--accent-soft); animation: blink 1.1s steps(1) infinite;
}
@keyframes lineIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 128px 0; scroll-margin-top: 40px; }
.section-tight { padding: 0 0 32px; }
.section-head { max-width: 680px; margin: 0 auto 60px; text-align: center; }
.section-head h2, .contact h2 {
  font-size: clamp(36px, 5.2vw, 60px);
  line-height: 1.04; letter-spacing: -0.04em; font-weight: 700;
}
.section-head p { color: var(--muted); font-size: 19px; margin-top: 18px; }

/* Cards */
.card {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.012) 100%);
  padding: 30px;
  transition: border-color .25s ease, transform .25s ease;
}
.card::after {
  content: ""; position: absolute; inset: 0 0 auto; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}
.card:hover { border-color: var(--line-hi); }
.card h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.card p { color: var(--muted); font-size: 16px; margin-top: 10px; }
.card .examples { color: var(--dim); font-size: 14.5px; margin-top: 18px; }

.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Mini keycap icon */
.icon-key {
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  display: grid; place-items: center; margin-bottom: 26px;
  color: #e4e4e7;
  background: linear-gradient(180deg, #2a2a2f 0%, #151518 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.7),
    0 4px 0 #09090b,
    0 10px 20px rgba(0, 0, 0, 0.5);
}
.icon-key-accent {
  color: #fff;
  background: linear-gradient(180deg, #ff735c 0%, #e2363f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 4px 0 #8a1c23,
    0 10px 30px rgba(255, 80, 70, 0.45);
}
.icon-key-accent > svg.clock { width: 24px; height: 24px; }

.card-cta {
  border-color: rgba(255, 91, 74, 0.28);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 91, 74, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}
.card-cta:hover { border-color: rgba(255, 91, 74, 0.45); }
.card-cta .text-link { margin-top: 20px; }
/* Full-width last row so the role grid stays balanced */
.grid-3 > .card-cta {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 24px;
}
.grid-3 > .card-cta .icon-key { margin: 0; }
.grid-3 > .card-cta .cta-text { flex: 1; }
.grid-3 > .card-cta .text-link { margin-top: 0; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { padding-top: 34px; }
.step-num {
  position: absolute; top: 22px; right: 28px;
  font: 700 64px/1 var(--font); letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.14);
}

/* Facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact { padding: 34px 30px; }
.fact-value {
  font-size: clamp(48px, 5.4vw, 64px); font-weight: 700; line-height: 1;
  letter-spacing: -0.05em; margin-bottom: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #9d9da6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fact:first-child .fact-value { background-image: var(--grad); }

/* About */
.about {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center;
  padding: 60px;
  background:
    radial-gradient(70% 90% at 100% 50%, rgba(255, 91, 74, 0.08), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}
.about h2 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 700; }
.card.about p { font-size: 19px; margin: 0; }

/* Promise */
.promise {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center;
  padding: 60px;
  background:
    radial-gradient(70% 90% at 0% 50%, rgba(255, 91, 74, 0.12), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}
.card .promise-big {
  font-size: clamp(42px, 5.6vw, 68px); font-weight: 800; margin: 0;
  line-height: 0.98; letter-spacing: -0.048em; color: var(--text);
}
.promise .promise-sub { font-size: 18px; margin-top: 18px; }
.promise-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.promise-list li { display: flex; gap: 18px; align-items: flex-start; }
.promise-list .check {
  width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center;
  color: var(--accent-soft);
  background: rgba(255, 91, 74, 0.10); border: 1px solid rgba(255, 91, 74, 0.25);
}
.promise-list .check .i { width: 18px; height: 18px; stroke-width: 2.2; }
.promise-list h3 { font-size: 19px; }
.promise-list p { margin-top: 4px; }

/* Stopwatch dial graphic */
.dial {
  position: relative; width: 132px; height: 132px; border-radius: 50%; margin-bottom: 36px;
  background:
    radial-gradient(circle closest-side, #111114 79%, transparent 80%),
    repeating-conic-gradient(from -1.5deg, rgba(255, 255, 255, 0.4) 0deg 3deg, transparent 3deg 30deg),
    #0b0b0d;
  box-shadow: inset 0 0 0 9px #0b0b0d, 0 0 0 1px var(--line-hi), 0 0 70px -10px rgba(255, 91, 74, 0.55);
}
.dial::before {
  content: ""; position: absolute; left: 50%; top: -10px; width: 22px; height: 8px;
  transform: translateX(-50%); border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, #3a3a40, #1c1c20);
}
.dial-hand {
  position: absolute; left: 50%; top: 50%; width: 3px; height: 44px; border-radius: 3px;
  background: linear-gradient(0deg, rgba(255, 91, 74, 0.2), var(--accent));
  transform-origin: 50% 100%;
  transform: translate(-50%, -100%) rotate(0deg);
  animation: sweep 10s linear infinite;
}
.dial-hub {
  position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; border-radius: 50%;
  transform: translate(-50%, -50%); background: var(--accent); box-shadow: 0 0 16px var(--accent);
}
@keyframes sweep { to { transform: translate(-50%, -100%) rotate(360deg); } }

/* IT pro band */
.pro-band {
  display: flex; align-items: center; gap: 24px; padding: 28px 32px;
}
.pro-band .icon-key { margin: 0; }
.pro-band .pro-text { flex: 1; }
.pro-band p { margin-top: 4px; }
.pro-band:hover { border-color: var(--line-hi); }

/* Specialty strip (IT pros page) */
.specs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.spec { padding: 28px 16px; text-align: center; }
.spec .icon-key { margin: 0 auto 20px; }
.spec h3 { font-size: 17.5px; }

/* Contact */
.contact {
  text-align: center; padding: 96px 40px 48px;
  background:
    radial-gradient(70% 70% at 50% 0%, rgba(255, 91, 74, 0.20), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}
.contact .lead { color: var(--muted); font-size: 19px; margin: 18px auto 36px; max-width: 44ch; }
.contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-top: 72px; text-align: left;
}
.contact-item {
  display: flex; align-items: center; gap: 16px; padding: 20px;
  border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02);
  transition: border-color .2s ease, background .2s ease;
}
a.contact-item:hover { border-color: var(--line-hi); background: rgba(255, 255, 255, 0.04); }
.contact-item .icon-key { width: 44px; height: 44px; border-radius: 12px; margin: 0; }
.contact-item .icon-key .i { width: 20px; height: 20px; }
.contact-item small { display: block; color: var(--dim); font-size: 13.5px; margin-bottom: 2px; }
.contact-item strong { font-weight: 600; font-size: 16px; word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 36px; margin-top: 64px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-tag { color: var(--muted); margin-top: 16px; }
.footer-col h4 { margin: 0 0 14px; font-size: 14px; font-weight: 600; color: var(--text); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--muted); font-size: 15px; transition: color .2s ease; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; }

/* ---------- Scroll reveal (progressive enhancement) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
  }
}
@keyframes reveal { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .specs { grid-template-columns: repeat(3, 1fr); }
  .promise { grid-template-columns: 1fr; gap: 44px; padding: 48px; }
  .about { grid-template-columns: 1fr; gap: 24px; padding: 48px; }
}

/* Header menu: tighter spacing, then short menu, as the screen narrows */
@media (max-width: 1060px) {
  .nav { gap: 16px; }
  .nav-links a { padding: 8px 10px; }
}
@media (max-width: 920px) {
  .nav { gap: 8px; }
  .site-nav { justify-content: flex-end; }
  .nav-links li:not(.keep) { display: none; }
}

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; margin-top: 56px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 88px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head p, .contact .lead { font-size: 17.5px; }
  .grid-3, .facts { grid-template-columns: 1fr; }
  .card { padding: 26px; }
  .fact { padding: 28px 26px; }
  .promise { padding: 32px 24px; }
  .about { padding: 32px 24px; }
  .card.about p { font-size: 17.5px; }
  .pro-band { flex-direction: column; align-items: flex-start; gap: 18px; padding: 26px; }
  .contact { padding: 64px 20px 20px; }

  .specs { grid-template-columns: 1fr; gap: 10px; }
  .spec { display: flex; align-items: center; gap: 18px; padding: 16px 18px; text-align: left; }
  .spec .icon-key { margin: 0; width: 46px; height: 46px; }

  .site-header .brand img { height: 32px; }

  .keyboard { --k: 46px; --gap: 7px; margin-top: 56px; }
  .keyboard::before { width: 300px; height: 200px; }
  .kb { border-radius: 20px; }
  .key { border-radius: 11px; }
  .key::before { inset: 3px 4px 7px; border-radius: 8px; }
  .key > svg { width: 19px; height: 19px; }
  .key-accent > svg { width: 26px; height: 26px; }
  .key-accent > svg.clock { width: 19px; height: 19px; }

  .grid-3 > .card-cta { flex-direction: column; align-items: flex-start; gap: 0; }
  .grid-3 > .card-cta .icon-key { margin-bottom: 26px; }
  .grid-3 > .card-cta .text-link { margin-top: 20px; }
  .krow .key:first-child, .krow .key:last-child { display: none; }

  .window { margin-top: 56px; }
  .term { padding: 20px 18px 24px; font-size: 13px; }
  .chips { padding-left: 0; }

  .btn-lg { width: 100%; max-width: 360px; }
}

@media (max-width: 400px) {
  .brand-name span { display: none; }
  .btn-sm { padding: 10px 12px; }
  .nav-links a { padding: 8px 8px; }
}

@media (max-width: 370px) {
  .site-header .brand img { height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .term .line { opacity: 1; }
}
