:root {
  /* tokens shared with the RenoDesk landing page (renodesk-landing/styles.css) */
  /* surfaces: cool near-black, never pure black */
  --ink-0: #0d0e11;
  --ink-1: #13151a;
  --ink-2: #1a1d23;
  --line: #262a33;
  --line-strong: #3a404c;
  /* text: cool greys. --paper-3 still clears AA on --ink-1 */
  --paper: #eef1f7;
  --paper-2: #a9b0bf;
  --paper-3: #7f8797;
  /* blueprint blue = primary (interactive). Fills (--blue) carry white text; --blue-text is for text on dark */
  --blue: #3057e1;
  --blue-hover: #2446c4;
  --blue-text: #4a6de5;
  --blue-tint: #ced8f7;
  --navy: #002082;
  /* hi-vis = heavy accents only. Text on hi-vis is always --ink-0 */
  --hivis: #dbff1a;
  --grid: rgba(206,216,247,.045);

  --font-display: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --i-arrow-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M22.414 12 12 22.414 10.586 21l8-8H2v-2h16.586l-8-8L12 1.586z'/%3E%3C/svg%3E");
  --i-arrow-blue: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ced8f7' d='M22.414 12 12 22.414 10.586 21l8-8H2v-2h16.586l-8-8L12 1.586z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--ink-0);
  color: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--hivis); color: var(--ink-0); }
a { color: var(--blue-tint); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--blue-tint); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--font-display); font-stretch: 112%; line-height: 1.05; margin: 0 0 .6em; color: var(--paper); text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.75rem); font-weight: 800; letter-spacing: -.035em; line-height: .96; }
h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); font-weight: 750; letter-spacing: -.03em; line-height: 1.02; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
p { color: var(--paper-2); margin: 0 0 1em; }
p, li { text-wrap: pretty; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: .95rem; font-weight: 500; color: var(--paper-2); margin-bottom: 1.6em; }

/* header: a row of bordered cells, like a drawing's title strip */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(13,14,17,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: stretch; justify-content: space-between; height: 63px; }
.logo {
  display: inline-flex; align-items: center; gap: 10px; align-self: center;
  font-family: var(--font-display); font-stretch: 112%; font-weight: 800; letter-spacing: -.01em;
  color: var(--paper); font-size: 1.15rem;
}
.logo img { display: block; }
.logo .wm span { color: var(--blue-text); }
.logo:hover { text-decoration: none; }
.site-header nav { display: flex; margin-left: auto; }
.nav-links { display: flex; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; height: 100%; min-width: 118px; padding: 12px 16px; border-left: 1px solid var(--line);
  color: var(--paper-2); font-size: .88rem; font-weight: 500; transition: background-color .15s ease, color .15s ease;
}
.nav-links a:hover { color: var(--paper); background: var(--ink-1); text-decoration: none; }
.nav-cta {
  position: relative; display: block; min-width: 180px; padding: 12px 16px; margin-right: -1px;
  background: var(--blue); color: #fff; font-size: .88rem; font-weight: 600; transition: background-color .15s ease;
}
.nav-cta:hover { background: var(--blue-hover); text-decoration: none; }
.nav-cta::after {
  content: ""; position: absolute; right: 14px; bottom: 12px; width: 13px; height: 13px;
  background: var(--i-arrow-white) center / contain no-repeat; transition: transform .2s var(--ease);
}
.nav-cta:hover::after { transform: translateX(3px); }
.nav-cta:focus-visible { outline: 2px solid var(--blue-tint); outline-offset: -4px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6em; border-radius: 2px; padding: 13px 22px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2;
  border: 1px solid transparent; transition: background-color .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-primary::after {
  content: ""; width: .85em; height: .85em; background: var(--i-arrow-white) center / contain no-repeat; transition: transform .2s var(--ease);
}
.btn-primary:hover::after { transform: translateX(3px); }
.btn-ghost { border-color: var(--line-strong); color: var(--paper); }
.btn-ghost:hover { border-color: var(--paper); }

/* hero: drafting grid that fades out downwards, plus a cursor glow (positions set by the inline script) */
.hero {
  position: relative; isolation: isolate; overflow: hidden; padding: 128px 0 112px; border-bottom: 1px solid var(--line);
  background-image:
    linear-gradient(to bottom, transparent 0, transparent 40%, var(--ink-0) 92%),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
  background-position: 0 0, -1px -1px, -1px -1px;
}
.hero::before, .hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0; transition: opacity .6s ease;
}
.hero::before { background: radial-gradient(640px circle at var(--mx, 50%) var(--my, 30%), rgba(48,87,225,.18), transparent 62%); }
.hero::after {
  background-image:
    linear-gradient(rgba(206,216,247,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(206,216,247,.16) 1px, transparent 1px);
  background-size: 40px 40px; background-position: -1px -1px;
  mask: radial-gradient(300px circle at var(--mx, 50%) var(--my, 30%), #000, transparent 72%),
        linear-gradient(to bottom, #000 40%, transparent 92%);
  mask-composite: intersect;
}
.hero.is-lit::before, .hero.is-lit::after { opacity: 1; }
.hero h1 { max-width: 14ch; margin-bottom: .6em; }
.hero h1 .hl { color: var(--hivis); }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.lede { font-size: 1.2rem; max-width: 560px; margin: 0; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* sections */
.section { padding: 104px 0; }
/* alternate sections sit on deep blueprint blue; tokens are re-pointed so cards and hairlines keep AA contrast */
.section.alt {
  --ink-0: #071235; --ink-1: #0b1a4e; --ink-2: #12246a;
  --line: rgba(206,216,247,.15); --line-strong: rgba(206,216,247,.28);
  --blue-text: #8aa4ff; --paper-3: #9aa4c4;
  background: var(--ink-1);
}
.section.alt.alt-2 { --ink-0: #050d29; --ink-1: #08143b; --ink-2: #0e1e57; }
.section-head { margin-bottom: 48px; max-width: 760px; }
.section-head h2 { max-width: 18ch; }
.section-intro { font-size: 1.15rem; margin: 0; max-width: 680px; }

/* product */
.product-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: 48px; }
.product-head h2 { margin: 0; font-size: clamp(2.6rem, 6.4vw, 5.5rem); font-weight: 800; letter-spacing: -.035em; line-height: .96; }
.wordmark span { color: var(--blue-text); }
.product-lede { font-size: 1.15rem; margin: 0 0 1.2em; }
.text-link { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; }
.text-link::after {
  content: ""; width: .85em; height: .85em; background: var(--i-arrow-blue) center / contain no-repeat; transition: transform .2s var(--ease);
}
.text-link:hover::after { transform: translateX(3px); }

/* boxed cards: label + number row over a dashed rule, then the copy */
.boxes { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-left: 0; }
.boxes-2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; }
.box { display: flex; flex-direction: column; border-left: 1px solid var(--line); background: var(--ink-0); transition: background-color .15s ease; }
.box:hover { background: var(--ink-2); }
.box-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0;
  padding: 16px 24px; border-bottom: 1px dashed var(--line-strong); color: var(--paper-2); font-size: .95rem; font-weight: 500;
}
.box-num { color: var(--hivis); font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: .95rem; }
.box-body { flex: 1; margin: 0; padding: 28px 24px 32px; }
.box-body h3 { margin: 0 0 .6em; }
.box-body p, .box-body address { margin: 0; font-size: .97rem; line-height: 1.6; }
.box-body .big { font-family: var(--font-display); font-stretch: 112%; font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 700; letter-spacing: -.015em; }
address { font-style: normal; color: var(--paper-2); }

/* footer */
.site-footer { padding: 72px 0 0; overflow: hidden; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.tagline { font-size: .9rem; color: var(--paper-3); margin: 10px 0 0; }
.footer-links { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--paper-2); font-size: .9rem; }
.footer-links a:hover { color: var(--paper); }
.disclaimer { font-size: .8rem; color: var(--paper-3); max-width: 820px; }
.copyright { font-size: .8rem; color: var(--paper-3); margin: 0; }
.footer-wordmark {
  margin: 48px 0 -0.16em; font-family: var(--font-display); font-stretch: 112%; font-weight: 900; letter-spacing: -.05em; line-height: .8;
  font-size: clamp(2.4rem, 10.2vw, 9.4rem); color: var(--ink-2); user-select: none; white-space: nowrap;
}
.footer-wordmark span { color: var(--navy); }

/* responsive */
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .product-head { grid-template-columns: 1fr; gap: 24px; }
  .boxes { grid-template-columns: 1fr; gap: 16px; border: 0; }
  .box { border: 1px solid var(--line); }
  .site-header nav { display: none; }
  .nav-cta { margin-left: auto; min-width: 0; padding-right: 40px; }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .hero { padding: 72px 0 64px; }
  .logo { font-size: 1rem; gap: 8px; }
  .logo img { width: 40px; height: 28px; }
  .nav-cta { font-size: .8rem; padding: 12px 34px 12px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
