/* NavoBytes — site styles
   No external requests: system fonts only, no CDN, no trackers. */

:root {
  --brand: #1e9bf0;
  --brand-deep: #0b7fd0;
  --brand-ink: #07446e;
  --brand-soft: #e8f4fe;
  --ink: #0d1520;
  --ink-2: #46586c;
  --ink-3: #7b8b9c;
  --line: #e2e9f0;
  --bg: #ffffff;
  --bg-2: #f6f9fc;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1120px;
  --shadow: 0 1px 2px rgba(13, 21, 32, 0.04), 0 8px 24px rgba(13, 21, 32, 0.06);
  --shadow-lg: 0 24px 60px rgba(7, 68, 110, 0.18);
  /* Logo accent — the emerald of the mark. Deliberately not the UI accent: buttons and links
     stay on the brand blue. */
  --logo-accent: #059669;
}

/* ---------- brand type ----------
   Outfit, self-hosted (no third-party request; the file is served from /assets/fonts).
   OFL 1.1, see /assets/fonts/OFL.txt. Used only for the wordmark. */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.15rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 750; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }
.tiny { font-size: .8rem; color: var(--ink-3); }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 26px; height: 66px; }
.brand {
  display: flex; align-items: center; gap: 9px;
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 600; font-size: 1.08rem; color: var(--ink); letter-spacing: -0.012em;
}
.brand:hover { text-decoration: none; }
.brand-mark { width: 32px; height: 32px; flex: 0 0 32px; display: block; }

.brand span { line-height: 1; }
.brand span b { color: var(--logo-accent); font-weight: 600; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav ul a { color: var(--ink-2); font-size: .94rem; font-weight: 550; }
.nav ul a:hover { color: var(--ink); }
.nav .cta { margin-left: 4px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 650; font-size: .96rem; cursor: pointer; white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(30, 155, 240, .32); }
.btn-primary:hover { background: var(--brand-deep); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow); }
.btn-ghost:hover { border-color: #cfdae6; }
.btn-sm { padding: 9px 17px; font-size: .9rem; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1000px 520px at 12% -8%, #5cc0ff 0%, rgba(92, 192, 255, 0) 62%),
    linear-gradient(160deg, #0f8fe8 0%, #1e9bf0 45%, #0a6fbd 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .5; pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px;
  align-items: center; padding: 78px 0 84px;
}
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero .lede { font-size: 1.16rem; color: rgba(255, 255, 255, .92); max-width: 34em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28);
  color: #fff; padding: 6px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-actions .btn-ghost { background: rgba(255, 255, 255, .96); }
.hero-note { margin-top: 20px; font-size: .88rem; color: rgba(255, 255, 255, .85); }
.hero-note strong { color: #fff; }

.phone {
  width: min(292px, 76vw); margin: 0 auto; border-radius: 38px; padding: 10px;
  background: linear-gradient(180deg, #16202b, #0a1119);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .16);
}
.phone img { border-radius: 29px; }

/* ---------- sections ---------- */
section { padding: 74px 0; }
section.tight { padding: 54px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 44em; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { color: var(--ink-2); font-size: 1.03rem; margin: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .35em; }
.card p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-deep); margin-bottom: 16px;
}
.icon svg { width: 22px; height: 22px; }

/* two column band */
.band { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: 0 0 14px 32px; color: var(--ink-2); }
.checklist li strong { color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 7px; width: 16px; height: 9px;
  border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand);
  transform: rotate(-45deg); border-radius: 1px;
}

/* price note */
.plan {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 760px; margin: 0 auto;
}
.plan .card { text-align: left; }
.plan .tag {
  display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--brand-deep); background: var(--brand-soft);
  border-radius: 999px; padding: 4px 11px; margin-bottom: 12px;
}

/* faq */
details.faq {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 20px; margin-bottom: 12px;
}
details.faq summary { cursor: pointer; font-weight: 650; }
details.faq summary::marker { color: var(--brand); }
details.faq p { margin: 12px 0 0; color: var(--ink-2); font-size: .95rem; }

/* ---------- footer ---------- */
footer.site { background: #0b131c; color: #9fb0c0; padding: 54px 0 34px; font-size: .92rem; }
footer.site a { color: #cfdcea; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
footer.site h4 { color: #fff; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin-bottom: 9px; }
.foot-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid #1d2936;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: #7c8fa1;
}
footer.site .brand { color: #fff; margin-bottom: 12px; }
footer.site .brand span b { color: #34d399; }

/* ---------- legal / doc pages ---------- */
.doc-hero { background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 52px 0 44px; }
.doc-hero h1 { margin-bottom: .25em; }
.doc-hero p { color: var(--ink-2); margin: 0; }
.doc-layout { display: grid; grid-template-columns: 250px 1fr; gap: 52px; padding: 52px 0 80px; align-items: start; }
.toc { position: sticky; top: 92px; font-size: .9rem; }
.toc h4 { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.toc ol { list-style: none; counter-reset: t; margin: 0; padding: 0; }
.toc li { counter-increment: t; margin-bottom: 7px; }
.toc a { color: var(--ink-2); }
.toc a::before { content: counter(t) ". "; color: var(--ink-3); }
.prose { max-width: 46em; }
.prose h2 {
  font-size: 1.35rem; margin: 2.4em 0 .6em; padding-top: .2em; scroll-margin-top: 92px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.6em 0 .4em; }
.prose ul { padding-left: 1.15em; color: var(--ink-2); }
.prose li { margin-bottom: .5em; }
.prose strong { color: var(--ink); }
.callout {
  background: var(--brand-soft); border: 1px solid #cfe7fb; border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm); padding: 16px 20px; margin: 22px 0; font-size: .95rem;
}
.callout.warn { background: #fff8e8; border-color: #f4e0b6; border-left-color: #e8a72a; }
.callout p:last-child { margin-bottom: 0; }
table.t {
  width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .92rem;
}
table.t th, table.t td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t th { background: var(--bg-2); font-weight: 650; color: var(--ink); }

/* ---------- developer home: app cards ---------- */
.apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.app-card {
  display: flex; flex-direction: column; gap: 16px; padding: 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.app-card:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(13, 21, 32, .10); border-color: #cfdae6; text-decoration: none; }
.app-card .top { display: flex; align-items: center; gap: 15px; }
.app-card .app-icon { width: 58px; height: 58px; border-radius: 15px; flex: none; box-shadow: 0 4px 14px rgba(13, 21, 32, .12); }
.app-card h3 { margin: 0 0 3px; font-size: 1.16rem; color: var(--ink); }
.app-card .meta { color: var(--ink-3); font-size: .84rem; }
.app-card p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.app-card .foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: auto; padding-top: 4px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 650;
  padding: 5px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-deep);
}
.pill.live { background: #e7f7ee; color: #1d7a4a; }
.pill.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22a35f; }
.pill.soon { background: #f1f4f8; color: #64748b; }
.app-card .links { margin-left: auto; display: flex; gap: 14px; font-size: .9rem; font-weight: 600; }
.apps-note { margin-top: 26px; color: var(--ink-3); font-size: .9rem; }

/* developer hero */
.dev-hero { padding: 82px 0 66px; }
.dev-hero h1 { max-width: 22em; }
.dev-hero .lede { font-size: 1.15rem; color: var(--ink-2); max-width: 40em; }

@media (max-width: 780px) { .apps { grid-template-columns: 1fr; } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 56px 0 64px; }
  .phone { width: min(260px, 68vw); }
  .cards { grid-template-columns: 1fr 1fr; }
  .band { grid-template-columns: 1fr; gap: 30px; }
  .doc-layout { grid-template-columns: 1fr; gap: 26px; padding-top: 34px; }
  .toc { position: static; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav ul { display: none; }
  .cards, .plan { grid-template-columns: 1fr; }
  section { padding: 54px 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media print {
  header.site, footer.site, .toc { display: none; }
  .doc-layout { display: block; padding: 0; }
}
