/* Azury Digital — marketing site, 2026 redesign.
   Theme kept true to the logo (deep navy, electric azure, circuit traces & node pads)
   but the language shifts from glow-and-gradient to PRECISION INSTRUMENT:
   hairline traces, corner-bracketed panels, monospace technical labels, flat azure.
   Type: Archivo (display) + IBM Plex Mono (labels/data), self-hosted — no third-party
   requests, keeping the "no tracking" promise literal. Body text stays on the system
   stack for speed. Class + variable names unchanged so every page shares the system. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/Archivo-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-201A, U+201C-201E, U+2026, U+2192;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/Archivo-800.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-201A, U+201C-201E, U+2026, U+2192;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/PlexMono-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-201A, U+201C-201E, U+2026, U+2192;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/PlexMono-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-201A, U+201C-201E, U+2026, U+2192;
}

:root {
  --bg: #04070e;
  --bg-2: #060b16;
  --panel: #0a121f;
  --panel-2: #0e1a2e;
  --azure: #2f9fff;      /* the logo glow */
  --azure-deep: #0b6bcb; /* the app brand blue */
  --cyan: #7cc6ff;
  --glow: rgba(47, 159, 255, 0.35);
  --text: #e9f0fa;
  --muted: #90a4c2;
  --line: rgba(126, 172, 232, 0.16);
  --line-bright: rgba(88, 158, 235, 0.42);
  --radius: 10px;
  --display: "Archivo", "Segoe UI", system-ui, Arial, sans-serif;
  --mono: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* circuit-pad field: a whisper of node dots instead of the old line grid,
   plus one deep azure wash pooling behind the hero */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% -12%, rgba(47, 159, 255, 0.16), transparent 60%),
    radial-gradient(circle at 88% 18%, rgba(11, 107, 203, 0.10), transparent 42%),
    radial-gradient(circle, rgba(126, 172, 232, 0.09) 1px, transparent 1.6px);
  background-size: 100% 100%, 100% 100%, 28px 28px;
  z-index: -1;
  pointer-events: none;
}

::selection { background: rgba(47, 159, 255, 0.35); color: #fff; }

a { color: var(--cyan); text-decoration: none; }
a:hover { color: #fff; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
section { padding: 92px 0; position: relative; }

/* the technical label: mono, tracked wide, led in by a trace-line and pad */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono);
  color: var(--cyan); font-weight: 600; letter-spacing: 0.24em;
  text-transform: uppercase; font-size: 12px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; flex: 0 0 auto;
  background: linear-gradient(90deg, transparent, var(--azure));
  box-shadow: 0 0 8px rgba(47, 159, 255, 0.7);
}

h1, h2, h3, h4 { font-family: var(--display); }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.015em; line-height: 1.14; margin: 12px 0 14px; text-wrap: balance; }
.lead { color: var(--muted); font-size: 17.5px; max-width: 640px; }

/* buttons — flat azure plates, a held edge of light instead of a bloom */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 6px;
  font-family: var(--display); font-weight: 600; letter-spacing: 0.01em;
  font-size: 15px; cursor: pointer; border: 1px solid transparent;
  transition: background .14s ease, border-color .14s ease, color .14s ease, box-shadow .14s ease;
}
.btn.primary {
  background: var(--azure-deep); color: #fff;
  border-color: rgba(124, 198, 255, 0.55);
  box-shadow: inset 0 1px 0 rgba(160, 210, 255, 0.35), 0 4px 18px rgba(11, 107, 203, 0.35);
}
.btn.primary:hover {
  background: #1583ea; color: #fff;
  box-shadow: inset 0 1px 0 rgba(190, 225, 255, 0.5), 0 4px 26px rgba(47, 159, 255, 0.45);
}
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--azure); color: #fff; background: rgba(47, 159, 255, 0.08); }

a:focus-visible, .btn:focus-visible, button:focus-visible, input:focus-visible, .nav-toggle:focus-visible {
  outline: 2px solid var(--azure);
  outline-offset: 3px;
  border-radius: 6px;
}

/* nav — capped by a full-width signal trace */
header.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(4, 7, 14, 0.78);
  border-bottom: 1px solid var(--line);
}
header.nav::before {
  content: ""; display: block; height: 2px;
  background: linear-gradient(90deg, transparent 4%, var(--azure-deep) 30%, var(--cyan) 50%, var(--azure-deep) 70%, transparent 96%);
}
.nav-inner { display: flex; align-items: center; gap: 20px; height: 64px; }
.wordmark { font-family: var(--display); font-weight: 800; letter-spacing: 0.22em; font-size: 17px; }
.wordmark b { background: linear-gradient(175deg, #dceeff 20%, var(--azure) 78%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wordmark span { color: var(--muted); font-weight: 600; letter-spacing: 0.32em; font-size: 11px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 14.5px; padding: 2px 0; border-bottom: 1px solid transparent; }
.nav-links a:hover { color: #fff; border-bottom-color: var(--azure); }
/* compact nav CTA — smaller type with room to breathe, so it sits light in the bar */
.nav-links a.btn { padding: 9px 18px; font-size: 13.5px; letter-spacing: 0.02em; border-bottom: 1px solid transparent; }
.nav-links a.btn.primary { border: 1px solid rgba(124, 198, 255, 0.55); }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 26px; cursor: pointer; margin-left: auto; }

/* hero — the logo dissolves into the page (screen blend eats its black ground),
   headline tucks up into the glow underneath it */
.hero { text-align: center; padding: 56px 0 64px; }
.hero-logo {
  max-width: 640px; width: 100%; height: auto;
  mix-blend-mode: screen;
  border-radius: 0; box-shadow: none;
  margin-bottom: -34px;
}
.hero h1 {
  font-size: clamp(31px, 5vw, 54px); font-weight: 800; letter-spacing: -0.02em;
  margin: 0 auto 14px; max-width: 820px; line-height: 1.1; text-wrap: balance;
  position: relative;
}
.hero h1 .hl { color: var(--cyan); text-shadow: 0 0 34px rgba(47, 159, 255, 0.55); }
.hero p.lead { margin: 0 auto 30px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* panels ("cards") — flat instrument plates with bracketed corners */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  position: relative;
  transition: border-color .16s ease, background .16s ease;
}
.card::before, .card::after {
  content: ""; position: absolute; width: 20px; height: 20px; pointer-events: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.card::before { top: -1px; left: -1px; border-top: 2px solid var(--line-bright); border-left: 2px solid var(--line-bright); border-top-left-radius: var(--radius); }
.card::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--line); border-right: 2px solid var(--line); border-bottom-right-radius: var(--radius); }
.card:has(a):hover { border-color: var(--line-bright); background: #0c1526; }
.card:has(a):hover::before { border-color: var(--azure); box-shadow: -2px -2px 14px rgba(47, 159, 255, 0.28); }
.card:has(a):hover::after { border-color: var(--line-bright); }
.card .tag {
  display: inline-block; font-family: var(--mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan);
  background: rgba(47, 159, 255, 0.08); border: 1px solid var(--line);
  padding: 5px 10px; border-radius: 4px;
}
.card h3 { font-size: 25px; font-weight: 800; letter-spacing: -0.01em; margin: 16px 0 6px; }
.card h3 span { color: var(--azure); }
.card .who { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.card ul { list-style: none; margin: 0 0 22px; }
.card li { padding: 7px 0 7px 26px; position: relative; color: #ccd9ec; font-size: 15.5px; }
.card li::before {
  content: ""; position: absolute; left: 4px; top: 0.95em;
  width: 7px; height: 7px;
  border: 1px solid var(--azure); background: rgba(47, 159, 255, 0.25);
}
.card .card-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* grouped product suite — a wider plate that bundles related apps */
.suite {
  background: linear-gradient(180deg, rgba(47, 159, 255, 0.05), rgba(10, 18, 31, 0.4));
  border: 1px solid var(--line); border-radius: 14px; padding: 34px 30px; margin: 56px 0 76px;
}
.suite-head { text-align: center; }
.suite-head .tag {
  display: inline-block; font-family: var(--mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan);
  background: rgba(47, 159, 255, 0.08); border: 1px solid var(--line);
  padding: 5px 10px; border-radius: 4px;
}
.suite-title { font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -0.015em; margin: 14px 0 8px; }
.suite-sub { color: var(--muted); font-size: 16.5px; max-width: 620px; margin: 0 auto; }
.suite .grid2, .suite .grid3 { margin-top: 28px; }

/* why / story — the stat plates carry the same visual weight as the text column:
   the right-hand side stretches to the text's height, the two rows share it evenly */
.why { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why .grid2 { align-items: stretch; margin-top: 30px; }
.why .grid2 > div:last-child { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.stat-row { display: flex; gap: 18px; flex-wrap: wrap; flex: 1; }
.stat {
  flex: 1; min-width: 150px; background: var(--panel);
  border: 1px solid var(--line); border-left: 2px solid var(--azure);
  border-radius: 0 10px 10px 0; padding: 24px 22px;
  display: flex; flex-direction: column; justify-content: center; min-height: 126px;
}
.stat b { display: block; font-family: var(--display); font-size: 21px; font-weight: 800; color: #fff; letter-spacing: 0.01em; margin-bottom: 5px; }
.stat span { color: var(--muted); font-size: 14px; line-height: 1.55; }

/* contact */
.contact { text-align: center; }
.contact .panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 54px 30px; position: relative;
}
.contact .panel::before, .contact .panel::after { content: ""; position: absolute; width: 26px; height: 26px; pointer-events: none; }
.contact .panel::before { top: -1px; left: -1px; border-top: 2px solid var(--azure); border-left: 2px solid var(--azure); border-top-left-radius: 14px; box-shadow: -2px -2px 16px rgba(47, 159, 255, 0.25); }
.contact .panel::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--line-bright); border-right: 2px solid var(--line-bright); border-bottom-right-radius: 14px; }
.contact .email { font-family: var(--display); font-size: clamp(20px, 3vw, 27px); font-weight: 800; margin: 8px 0 18px; }
.contact .email a { color: #fff; border-bottom: 2px solid rgba(47, 159, 255, 0.5); padding-bottom: 2px; }
.contact .email a:hover { color: var(--cyan); border-bottom-color: var(--cyan); }
.contact .email a[href^="tel"] { font-family: var(--mono); font-weight: 600; font-size: 0.8em; letter-spacing: 0.06em; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 44px 0 40px; color: var(--muted); font-size: 14px; }
.foot-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.foot-inner .wordmark { font-size: 15px; }
.foot-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 28px; }
.foot-cols.rich { grid-template-columns: 1.7fr 1fr 1fr 1fr; }
.foot-cols h4 { font-family: var(--mono); color: var(--cyan); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 14px; }
.foot-cols a { display: block; color: var(--muted); margin-bottom: 8px; font-size: 14.5px; }
.foot-cols a:hover { color: #fff; }
.foot-legal { color: var(--muted); font-size: 13.5px; margin-top: 10px; max-width: 320px; }
.foot-bottom { border-top: 1px solid var(--line); margin-top: 30px; padding-top: 20px; color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* unified footer bottom — legal line left, compact trust badges right, same on every page */
.foot-bottom.unified { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.foot-bottom.unified .foot-legal { margin: 0; max-width: 46ch; }
.foot-bottom.unified .trust { margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 11px; flex: 0 0 auto; }
.foot-bottom.unified .trust-badge { background: none; border: none; padding: 0; gap: 10px; }
.foot-bottom.unified .trust-badge .ic { width: 18px; height: 18px; color: var(--azure); flex: 0 0 auto; }
.foot-bottom.unified .trust-badge b { display: inline; font-size: 13px; white-space: nowrap; }
.foot-bottom.unified .trust-badge .sub { display: inline; font-family: var(--mono); font-size: 11px; margin-left: 7px; white-space: nowrap; }

/* trust badges */
.trust { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 30px 0 4px; }
.trust-badge { display: flex; align-items: center; gap: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 9px 14px; }
.trust-badge .ic { font-size: 18px; line-height: 1; }
.trust-badge b { display: block; font-size: 13px; color: var(--text); font-weight: 700; }
.trust-badge .sub { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--muted); margin-top: 1px; }

/* status chips + plan tiers + centred note tile */
.soon { display:inline-block; font-family:var(--mono); font-size:10px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:#ffcf6b; background:rgba(255,180,60,.09); border:1px solid rgba(255,180,60,.32); padding:4px 10px; border-radius:4px; vertical-align:middle; margin-left:8px; }
.chip { display:inline-block; font-family:var(--mono); font-size:10px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:#8fdcae; background:rgba(80,200,130,.09); border:1px solid rgba(80,200,130,.3); padding:4px 10px; border-radius:4px; vertical-align:middle; margin-left:8px; }
.tier { display:inline-block; font-family:var(--mono); font-size:11px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; padding:4px 12px; border-radius:4px; border:1px solid var(--line); }
.tier.free { color:var(--muted); background:rgba(126,172,232,.08); }
.tier.pro { color:#fff; background:var(--azure-deep); border-color:rgba(124,198,255,.5); }
.note-tile { text-align:center; margin-top:24px; }
.note-tile h3 { font-size:22px; margin-bottom:8px; }
.note-tile p { color:var(--muted); max-width:640px; margin:0 auto; }

/* legal pages (privacy / terms / security) */
.legal-head { padding: 56px 0 22px; }
.legal-head h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.015em; }
.legal-head .updated { font-family: var(--mono); color: var(--muted); font-size: 12.5px; margin-top: 10px; }
.legal { padding: 30px 0 90px; }
.legal .wrap { max-width: 820px; }
.legal h2 { font-size: 21px; margin: 34px 0 10px; }
.legal h3 { font-size: 16px; margin: 20px 0 6px; color: #fff; }
.legal p, .legal li { color: #c7d3e6; margin-bottom: 12px; }
.legal ul { margin: 0 0 12px 22px; }
.legal .note { background: rgba(47, 159, 255, 0.07); border: 1px solid var(--line); border-left: 2px solid var(--azure); border-radius: 6px; padding: 14px 18px; color: var(--muted); font-size: 14px; margin: 8px 0 20px; }

/* screenshots gallery */
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.shot { margin: 0; }
.shot-frame { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--panel); }
.shot-frame .bar { display: flex; gap: 7px; align-items: center; padding: 9px 12px; background: rgba(126, 172, 232, 0.06); border-bottom: 1px solid var(--line); }
.shot-frame .bar i { width: 8px; height: 8px; border-radius: 2px; background: #2c4a75; }
.shot-frame .bar i:first-child { background: var(--azure-deep); }
.shot-frame img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.shot-frame .ph { aspect-ratio: 16 / 10; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; color: var(--muted); background: linear-gradient(135deg, var(--panel-2), var(--panel)); font-weight: 700; padding: 20px; }
.shot-frame .ph span { font-weight: 400; font-size: 12px; opacity: .7; }
.shot figcaption { font-family: var(--mono); color: var(--muted); font-size: 12.5px; margin-top: 12px; text-align: center; }
.lightbox { position: fixed; inset: 0; background: rgba(4, 7, 14, 0.93); display: none; align-items: center; justify-content: center; z-index: 999; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 96vw; max-height: 92vh; border-radius: 8px; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7); }
.lightbox .close { position: fixed; top: 16px; right: 26px; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; opacity: .8; }
.lightbox .close:hover { opacity: 1; }

/* services (3-up) */
#services .card .btn { margin-top: 4px; }

/* responsive */
@media (max-width: 860px) {
  .grid3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  section { padding: 64px 0; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: rgba(4, 7, 14, 0.97); border-bottom: 1px solid var(--line); padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 24px; width: 100%; border-bottom: none; }
  .nav-links .btn { margin: 8px 24px; text-align: center; width: auto; }
  .hero-logo { margin-bottom: -18px; }
  .foot-cols, .foot-cols.rich { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; }
}

/* Website design section */
.websites { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.websites .showcase { margin-top: 32px; }
.websites .showcase p { max-width: 720px; }
.websites .showcase p + p { margin-top: 14px; }
.showcase-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px !important; }
.showcase-links a {
  display: inline-block; padding: 9px 18px; border-radius: 999px;
  border: 1px solid rgba(124, 198, 255, 0.45); color: var(--text);
  text-decoration: none; font-weight: 600; font-size: 14.5px;
}
.showcase-links a:hover { border-color: var(--azure); color: #fff; background: rgba(47, 159, 255, 0.08); }
.websites .showcase .btn { margin: 18px 6px 0; }
/* Nav separators — a hairline between the text links */
.nav-links a { position: relative; }
.nav-links a:not(.btn) + a:not(.btn)::before {
  content: ""; position: absolute; left: -13px; top: 50%; transform: translateY(-50%);
  width: 1px; height: 14px; background: rgba(124, 198, 255, 0.22);
}
@media (max-width: 900px) { .nav-links a:not(.btn) + a:not(.btn)::before { display: none; } }