/* Nodara website. Brand: navy #0B1026, silver-white #E8ECF8, teal #19E3C2. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-700-normal.woff2") format("woff2");
}

:root {
  --navy: #0B1026;
  --navy-2: #111938;
  --navy-3: #18224a;
  --line: rgba(232, 236, 248, 0.12);
  --text: #E8ECF8;
  --muted: #A9B3D1;
  --teal: #19E3C2;
  --teal-dim: rgba(25, 227, 194, 0.14);
  --radius: 14px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background:
    radial-gradient(1100px 520px at 85% -120px, rgba(25, 227, 194, 0.10), transparent 70%),
    var(--navy);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; outline: none; }

img, svg { max-width: 100%; height: auto; }

a { color: var(--teal); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); margin-top: 0; }
h3 { font-size: 1.2rem; }

p, ul, ol { margin: 0 0 1em; }
li + li { margin-top: 0.35em; }

code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: var(--navy-3);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.08em 0.4em;
  overflow-wrap: anywhere;
}

.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  background: var(--teal);
  color: var(--navy);
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
}
.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list li + li { margin-top: 0; }
.nav-list a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}
.nav-list a:hover { color: var(--text); background: var(--navy-3); }
.nav-list a[aria-current="page"] { color: var(--text); background: var(--teal-dim); }

/* Sections */
.section { padding: 56px 0; }
.section + .section { border-top: 1px solid var(--line); }
.page-head { padding: 56px 0 8px; }
.page-head p { color: var(--muted); font-size: 1.15rem; max-width: 46em; }
.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.8em;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.prose { max-width: 46em; }
.muted { color: var(--muted); }
.note { color: var(--muted); font-size: 0.92rem; font-weight: 400; }

/* Hero */
.hero { padding: 64px 0 56px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 40px;
}
.hero-art { justify-self: center; width: min(340px, 100%); }
.hero-art img { display: block; width: 100%; filter: drop-shadow(0 24px 60px rgba(25, 227, 194, 0.18)); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 10px;
  border: 2px solid var(--teal);
  background: var(--teal);
  color: var(--navy);
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: #4cebd1; border-color: #4cebd1; }
.button.secondary { background: transparent; color: var(--text); border-color: var(--line); }
.button.secondary:hover { border-color: var(--teal); background: transparent; }
.button:disabled,
.button:disabled:hover {
  background: var(--navy-3);
  border-color: var(--line);
  color: var(--muted);
  cursor: not-allowed;
}
.add-network { margin: 20px 0 8px; }
.add-network .note { margin-top: 8px; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.cards > li + li { margin-top: 0; }
.card {
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--muted); margin: 0; }
.card .icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--teal-dim);
  margin-bottom: 16px;
}
.card .icon svg { width: 24px; height: 24px; stroke: var(--teal); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Status box */
.status {
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 22px 24px;
  max-width: 46em;
}
.status h2, .status h3 { font-size: 1.25rem; }
.status p:last-child, .status ul:last-child { margin-bottom: 0; }

/* Steps (how it works) */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 24px 0 0; max-width: 46em; }
.steps > li {
  counter-increment: step;
  position: relative;
  padding-left: 56px;
  margin-top: 22px;
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-dim);
  color: var(--teal);
  font-family: var(--font-head);
  font-weight: 700;
}
.steps h3 { margin-bottom: 0.25em; padding-top: 6px; }
.steps p { color: var(--muted); }

/* Tables */
.table-wrap { overflow-x: auto; margin: 20px 0 8px; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
caption { text-align: left; padding: 14px 16px 0; color: var(--muted); font-size: 0.92rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child > th, tr:last-child > td { border-bottom: 0; }
thead th { color: var(--muted); font-weight: 600; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.05em; }
tbody th { font-weight: 600; white-space: nowrap; }

/* Roadmap */
.timeline { list-style: none; margin: 28px 0 0; padding: 0; max-width: 46em; }
.timeline > li {
  position: relative;
  padding: 0 0 30px 44px;
  margin: 0;
}
.timeline > li::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 30px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.timeline > li:last-child::before { display: none; }
.timeline .dot {
  position: absolute;
  left: 4px;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid var(--muted);
  background: var(--navy);
}
.timeline .done .dot { border-color: var(--teal); background: var(--teal); }
.timeline .next .dot { border-color: var(--teal); }
.timeline h3 { margin-bottom: 0.2em; }
.timeline p { color: var(--muted); margin: 0; }
.tag {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font: 600 0.78rem/1.6 var(--font-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 0.2em;
}
.done .tag, .next .tag { color: var(--teal); border-color: rgba(25, 227, 194, 0.4); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; }
.footer-inner { padding-top: 32px; padding-bottom: 40px; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.site-footer p { margin: 0 0 0.5em; }
.site-footer .fine { color: var(--muted); font-size: 0.9rem; max-width: 50em; }

/* Phones */
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .hero { padding: 36px 0 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { order: -1; width: 150px; justify-self: start; }
  .section { padding: 40px 0; }
  .page-head { padding: 36px 0 0; }
  .nav-list a { padding: 8px 10px; }
  .header-inner { gap: 4px 16px; }
  th, td { padding: 10px 12px; }
  tbody th { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
