/* FixIt Llama IT Services
   Brand: ink navy, logo cyan to blue. Tektur for headings (matches the boxy logo), Instrument Sans for reading. */
@font-face { font-family: "Tektur"; src: url("/assets/fonts/tektur-medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Tektur"; src: url("/assets/fonts/tektur-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrumentsans-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrumentsans-bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrumentsans-italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --ink: #0B1424;
  --ink-2: #101C31;
  --ink-3: #16253F;
  --line: #22324D;
  --paper: #E9F0FA;
  --muted: #9AABC6;
  --cyan: #22D3EE;
  --blue: #2F7BFF;
  --display: "Tektur", "Segoe UI", system-ui, sans-serif;
  --text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 18px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; margin: 0; }
p { margin: 0; }

.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 10px; padding: 8px 14px; background: var(--blue); color: #fff; border-radius: 6px; z-index: 10; }
.skip:focus { left: 10px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}
.btn:hover { background: #4A8DFF; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(11, 20, 36, .92); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: .97rem; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--paper); }
.nav .nav-cta { color: var(--paper); padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; }
.nav .nav-cta:hover { border-color: var(--cyan); }

/* Hero */
.hero { padding: 88px 0 96px; border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1fr 470px; gap: 64px; align-items: start; }
.hero h1 { font-size: clamp(3rem, 6.6vw, 5.4rem); line-height: 1; letter-spacing: -.01em; max-width: 12ch; }
.hero-lede { margin-top: 32px; font-size: 1.22rem; max-width: 31em; }
.hero-services { margin-top: 18px; color: var(--muted); max-width: 31em; }

/* Triage: the one bold element */
.triage { background: var(--ink-2); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.triage-q { font-size: 1.25rem; padding: 22px 24px 14px; }
.triage-options { display: flex; flex-direction: column; }
.triage-options button {
  position: relative;
  text-align: left;
  font: inherit;
  font-size: 1.02rem;
  color: var(--muted);
  background: none;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 13px 24px 13px 28px;
  cursor: pointer;
}
.triage-options button:hover { color: var(--paper); background: rgba(255, 255, 255, .02); }
.triage-options button[aria-checked="true"] { color: var(--paper); background: var(--ink-3); }
.triage-options button[aria-checked="true"]::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 4px; border-radius: 0 3px 3px 0;
  background: linear-gradient(var(--cyan), var(--blue));
}
.triage-answer { border-top: 1px solid var(--line); padding: 22px 24px 24px; background: var(--ink-3); }
.triage-label { font-family: var(--display); font-size: .98rem; color: var(--cyan); margin-bottom: 8px; }
.triage-text { font-size: .98rem; line-height: 1.55; margin-bottom: 20px; min-height: 6.2em; }
.triage-text.swap { animation: swap .22s ease-out; }
@keyframes swap { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* Section titles */
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height: 1.1; margin-bottom: 40px; }

/* Services as rows */
.services { padding: 96px 0; }
.service-list { margin: 0; }
.service { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; padding: 30px 0; border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service dt { font-family: var(--display); font-weight: 500; font-size: 1.55rem; line-height: 1.2; }
.service dd { margin: 0; color: var(--muted); max-width: 36em; }

/* How it works: packets flowing into the bar, like the logo */
.how { padding: 96px 0; background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.flow { list-style: none; padding: 0 40px 0 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
.flow::before {
  content: ""; position: absolute; left: 0; right: 40px; top: 5px; height: 2px;
  background: linear-gradient(90deg, rgba(34, 211, 238, .15), rgba(47, 123, 255, .7));
}
.flow::after {
  content: ""; position: absolute; right: 18px; top: -22px; width: 8px; height: 56px; border-radius: 4px;
  background: linear-gradient(var(--cyan), var(--blue));
}
.flow li { position: relative; padding-top: 34px; }
.packet { position: absolute; top: 0; left: 0; width: 56px; height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--cyan), var(--blue)); }
.flow li:nth-child(1) .packet { opacity: .5; }
.flow li:nth-child(2) .packet { opacity: .75; }
.flow h3 { font-size: 1.3rem; margin-bottom: 10px; }
.flow p { color: var(--muted); font-size: 1rem; max-width: 26em; }

/* About */
.about { padding: 96px 0; }
.about-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; }
.about .section-title { margin-bottom: 0; }
.about-copy p { max-width: 36em; }
.about-copy p + p { margin-top: 1em; color: var(--muted); }

/* Contact */
.contact { padding: 96px 0 104px; border-top: 1px solid var(--line); }
.contact-title { font-size: 1.4rem; color: var(--muted); font-weight: 400; margin-bottom: 14px; }
.contact-email {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.3rem, 5.9vw, 4.6rem); line-height: 1.1; white-space: nowrap;
  text-decoration: none;
  background: linear-gradient(90deg, var(--cyan), var(--blue)) left bottom / 0 3px no-repeat;
  transition: background-size .25s ease;
}
.contact-email:hover, .contact-email:focus-visible { background-size: 100% 3px; }
.contact-note { margin-top: 22px; color: var(--muted); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 26px 0; font-size: .92rem; color: var(--muted); }
.foot-inner { display: flex; justify-content: space-between; gap: 16px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--paper); }

/* 404 */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px 0; }
.notfound img { margin: 0 auto 32px; }
.notfound h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 14px; }
.notfound p { color: var(--muted); margin-bottom: 28px; }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { max-width: none; }
  .triage { max-width: 560px; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav a:not(.nav-cta) { display: none; }
  .brand img { height: 28px; }
  .hero { padding: 56px 0 64px; }
  .hero-lede { margin-top: 24px; font-size: 1.12rem; }
  .services, .how, .about, .contact { padding: 64px 0; }
  .section-title { margin-bottom: 28px; }
  .service, .about-inner { grid-template-columns: 1fr; gap: 10px; }
  .about-inner { gap: 24px; }
  .flow { grid-template-columns: 1fr; gap: 36px; padding: 0 0 0 0; }
  .flow::before { left: 5px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(rgba(34, 211, 238, .15), rgba(47, 123, 255, .7)); }
  .flow::after { display: none; }
  .flow li { padding: 0 0 0 36px; }
  .packet { width: 12px; height: 40px; left: 0; top: 2px; }
  .triage-q, .triage-options button, .triage-answer { padding-left: 20px; padding-right: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .triage-text.swap { animation: none; }
  .contact-email { transition: none; }
}
