/* Generated from the Juice design (gen_oxV7ySA1yJ-TNrdQck9NGuKx). Values are Juice's; do not restyle. */
:root {
  --bg-page: #06080d;
  --bg-nav: #080b12;
  --bg-intro: #0b0e16;
  --bg-build: #0c1018;
  --bg-service: #12141e;
  --bg-tool-art: #10141e;
  --bg-closing: #131721;
  --bg-closing-photo: #111621;

  --ink-primary: #f5f6f8;
  --ink-mark: #d8dbe2;
  --ink-body: #979ba6;
  --ink-service: #7f8594;
  --ink-footer: #9aa0ae;
  --ink-white: #ffffff;

  --blue-primary: #0874ff;
  --blue-border: #3d95ff;
  --blue-submit: #0781ff;
  --blue-active: #087cff;
  --blue-intro-accent: #4595ff;
  --blue-icon: #488eff;
  --blue-ticket: #3b82f6;
  --blue-builds-link: #2f86ff;
  --blue-social: #1d76f5;

  --blue-subline: #3578bb;
  --blue-outline-border: #3275b4;
  --blue-outline-label: #74a9df;
  --blue-signin: #3676b0;
  --blue-spec-val: #377ab9;
  --blue-service-num: #3978b5;
  --blue-ticket-label: #367fb5;
  --blue-tool-link: #3275b9;
  --blue-closing-rule: #3477b8;
  --blue-social-label: #3378b5;
  --blue-build-cap: #77a8dd;
  --blue-footer-head: #78a9dc;
  --blue-top: #3d86c2;

  --rule-frame: #20232c;
  --rule-nav: #21242e;
  --rule-service: #252933;
  --rule-cal: #333843;
  --rule-tool: #262b36;
  --rule-step: #29303d;
  --rule-build: #2c323e;
  --rule-footer: #2a2e38;
  --node-border: #3a3e48;

  --muted-tag: #646e82;
  --muted-build-num: #58637a;
  --watermark: #212632;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --font-cond: 'Roboto Condensed', sans-serif;
}

/* Juice's global reset, scoped to .jx so it can't disturb the portal/admin pages.
   :where() keeps it at element specificity, so every Juice class rule still wins. */
:where(.jx) *, :where(.jx) *::before, :where(.jx) *::after { box-sizing: border-box; }
:where(.jx) :is(h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, form, button) {
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}
:where(.jx) a { color: inherit; text-decoration: none; }
:where(.jx) img { display: block; max-width: 100%; }

/* Layout Container */
.container {
  width: 90%;
  max-width: 1296px;
  margin-left: auto;
  margin-right: auto;
}

/* Corner Nodes */
.frame-box {
  position: relative;
  border: 1px solid var(--rule-frame);
}

.corner-node {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: var(--bg-page);
  border: 1px solid var(--node-border);
  transform: rotate(45deg);
  z-index: 4;
  pointer-events: none;
}

.corner-node::after {
  content: '';
  position: absolute;
  inset: 2px;
  background-color: var(--bg-page);
}

.corner-node.tl { top: -5px; left: -5px; }
.corner-node.tr { top: -5px; right: -5px; }
.corner-node.bl { bottom: -5px; left: -5px; }
.corner-node.br { bottom: -5px; right: -5px; }

/* Animated top rule for signature reveal */
.draw-top-rule {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--rule-frame);
  transform-origin: left center;
  z-index: 3;
  pointer-events: none;
}

/* Navigation */
.nav {
  height: 40px;
  background-color: var(--bg-nav);
  border-bottom: 1px solid var(--rule-nav);
  padding: 0 3%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 20;
}

.nav-left {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  width: 44px;
  height: 38px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 18px;
  height: 100%;
  list-style: none;
}

.nav-links li {
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 100%;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-primary);
  transition: color 120ms ease;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background-color: var(--blue-active);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms ease;
}

.nav-link:hover {
  color: var(--blue-active);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--blue-active);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-signin {
  font-size: 12px;
  font-weight: 400;
  color: var(--blue-signin);
  transition: color 120ms ease;
  white-space: nowrap;
}

.nav-signin:hover {
  color: var(--blue-outline-label);
}

/* Pills & Buttons */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  font-family: var(--font-sans);
  font-weight: 500;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease, transform 120ms ease;
  white-space: nowrap;
}

.pill:active {
  transform: translateY(1px);
}

.pill-nav-contact {
  height: 30px;
  padding: 7px 16px;
  background-color: var(--blue-border);
  border: 1px solid #6aa4e8;
  color: var(--bg-page);
  font-size: 12.5px;
}

.pill-nav-contact:hover {
  border-color: var(--blue-outline-label);
  background-color: #53a2ff;
}

.pill-primary {
  height: 30px;
  padding: 7px 16px;
  background-color: var(--blue-primary);
  border: 1px solid var(--blue-border);
  color: var(--ink-white);
  font-size: 12.5px;
}

.pill-primary:hover {
  border-color: var(--blue-outline-label);
  background-color: #197eff;
}

.pill-outline {
  height: 30px;
  padding: 7px 16px;
  background-color: transparent;
  border: 1px solid var(--blue-outline-border);
  color: var(--blue-outline-label);
  font-size: 12.5px;
}

.pill-outline:hover {
  border-color: var(--blue-outline-label);
  color: var(--ink-white);
}

.pill-large {
  height: 42px;
  padding: 0 24px;
  background-color: var(--blue-primary);
  border: 1px solid var(--blue-border);
  color: var(--ink-white);
  font-size: 13px;
  gap: 6px;
}

.pill-large:hover {
  border-color: var(--blue-outline-label);
  background-color: #197eff;
}

.pill-large-sub {
  font-size: 10.5px;
  font-weight: 400;
  color: #b7d7ff;
}

/* Footer */
.footer {
  position: relative;
  border-top: 1px solid var(--rule-footer);
  padding-top: 36px;
  padding-bottom: 48px;
  overflow: hidden;
}

.footer-top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer-emblem {
  width: 190px;
  height: 160px;
  display: block;
}

.footer-col-title {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: var(--blue-footer-head);
}

.footer-links {
  margin-top: 18px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  display: inline-block;
  font-size: 12px;
  line-height: 22px;
  color: var(--ink-footer);
  transition: color 120ms ease;
}

.footer-links a:hover {
  color: var(--blue-active);
}

.footer-bottom {
  position: relative;
  z-index: 2;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--rule-frame);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.6px;
  color: var(--muted-tag);
}

.footer-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  color: var(--blue-social-label);
  transition: color 120ms ease;
}

.social-link svg {
  width: 13px;
  height: 13px;
  color: var(--blue-social);
}

.social-link:hover {
  color: var(--blue-outline-label);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.9px;
  color: var(--blue-top);
  transition: color 120ms ease;
}

.back-to-top:hover {
  color: var(--blue-outline-label);
}

.footer-watermark {
  position: absolute;
  left: 50%;
  bottom: -70px;
  transform: translateX(-50%);
  font-size: 340px;
  line-height: 272px;
  font-weight: 700;
  letter-spacing: -12px;
  color: var(--watermark);
  user-select: none;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

/* Scroll reveal primitives */
.js-anim [data-reveal-rule] {
  transform: scaleX(0);
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.js-anim .is-visible [data-reveal-rule] {
  transform: scaleX(1);
}

.js-anim [data-reveal-node] {
  opacity: 0;
  transition: opacity 120ms ease 420ms;
}
.js-anim .is-visible [data-reveal-node] {
  opacity: 1;
}

.js-anim [data-reveal-line] {
  transform: translateY(105%);
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}
.js-anim .is-visible [data-reveal-line] {
  transform: translateY(0);
}

/* ---- site wiring (not in the Juice page; built only from its values) ---- */

/* Sign out is a POST form; it looks exactly like .nav-signin. */
.nav-signout {
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  color: var(--blue-signin);
  transition: color 120ms ease;
  white-space: nowrap;
}
.nav-signout:hover { color: var(--blue-outline-label); }
.nav-right form { display: inline-flex; }

/* Mobile menu: the Juice page hides the links under 960px; this brings them back
   as a drop panel, styled from .pill-outline and the nav rule. */
.nav-toggle {
  display: none;
  height: 30px;
  padding: 7px 16px;
  border-radius: 30px;
  border: 1px solid var(--blue-outline-border);
  background-color: transparent;
  color: var(--blue-outline-label);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.9px;
  cursor: pointer;
  align-items: center;
}
.nav-toggle:hover { border-color: var(--blue-outline-label); color: var(--ink-white); }

.footer-meta + .footer-meta { margin-top: 12px; }
.footer-legal { position: relative; z-index: 2; margin-top: 18px; }

@media (max-width: 1180px) {
  .nav-links { gap: 14px; }
  .nav-link { font-size: 11px; }
  .footer-watermark { font-size: 260px; line-height: 210px; }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    height: auto;
    padding: 6px 3% 14px;
    background-color: var(--bg-nav);
    border-bottom: 1px solid var(--rule-nav);
  }
  .nav-links.open li { height: auto; }
  .nav-links.open .nav-link {
    width: 100%;
    height: auto;
    padding: 12px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--rule-nav);
  }
  .nav-links.open li:last-child .nav-link { border-bottom: 0; }
  .nav-links.open .nav-link::after { display: none; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-watermark { font-size: 200px; line-height: 160px; bottom: -45px; }
}

@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .nav-right { gap: 12px; }
}
