/* Navira Vento — coming soon. Deep teal, a horizon of thin lines. Written by hand. */

:root {
  --bg: #07171c;
  --panel: #0d2229;
  --line: rgba(255, 255, 255, .09);
  --text: #e8f4f6;
  --muted: #8aa7ad;
  --cyan: #43d9e8;
  --on-cyan: #04222a;
  --radius: 12px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.64;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

/* header */
.top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); font-weight: 780; letter-spacing: .02em;
}
.brand:hover { text-decoration: none; }
.brand b {
  width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--cyan), #1b7d8c);
}
.top nav { display: flex; gap: 20px; }
.top nav a { color: var(--muted); font-size: .85rem; }
.top nav a:hover, .top nav a.active { color: var(--cyan); }

/* horizon lines */
.horizon {
  height: clamp(120px, 22vw, 200px);
  margin: 0 0 clamp(24px, 4vw, 40px);
  background:
    repeating-linear-gradient(180deg, rgba(67, 217, 232, .16) 0 1px, transparent 1px 12px);
  mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
  border-bottom: 1px solid var(--line);
}

.kicker {
  display: inline-block; margin: 0 0 16px;
  color: var(--cyan);
  font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
}
h1 {
  margin: 0 0 18px;
  max-width: 24ch;
  font-size: clamp(2rem, 5.4vw, 3.2rem);
  line-height: 1.06; letter-spacing: -.04em; font-weight: 780;
}
h1 span { color: var(--cyan); }
.lede { margin: 0 0 12px; color: #b9d3d8; }
.lede.quiet { color: var(--muted); }

/* card */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3.6vw, 34px);
  margin: clamp(24px, 4vw, 36px) 0;
}
.card h2 { margin: 0 0 4px; font-size: 1.06rem; font-weight: 760; letter-spacing: -.01em; }
.card .hint { margin: 0 0 20px; color: var(--muted); font-size: .9rem; }

.field { margin-bottom: 15px; }
.field label {
  display: block; margin-bottom: 6px;
  color: var(--muted);
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
}
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit; font-size: .96rem;
  color: var(--text);
  background: #061318;
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: border-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 108px; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(67, 217, 232, .14);
}
.field .invalid { border-color: #e2705f; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 30px;
  font: inherit; font-size: .92rem; font-weight: 740;
  color: var(--on-cyan); background: var(--cyan);
  border: 0; border-radius: 6px;
  cursor: pointer;
  transition: filter .18s, transform .18s;
}
.btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: default; transform: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { margin: 12px 0 0; min-height: 1.2em; font-size: .88rem; }
.status.ok { color: var(--cyan); }
.status.err { color: #f0937f; }

/* facts */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 10px; }
.facts > div { border-top: 1px solid var(--line); padding-top: 12px; }
.facts dt { color: var(--muted); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 5px; }
.facts dd { margin: 0; font-weight: 640; font-size: .93rem; word-break: break-word; }

/* footer */
.base {
  padding: 20px 0 40px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--muted); font-size: .82rem;
}
.base nav { display: flex; gap: 20px; }
.base a { color: var(--muted); }
.base a:hover { color: var(--cyan); }
.base p { margin: 0; }

/* legal */
.doc { max-width: 800px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px) 44px; }
.doc .sheet {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(24px, 4.2vw, 42px);
}
.doc h1 { margin: 16px 0 10px; font-size: clamp(1.8rem, 4.4vw, 2.4rem); }
.stamp { display: block; margin: 0 0 26px; color: var(--muted); font-size: .72rem; letter-spacing: .1em; }
.doc h2 { margin: 28px 0 8px; font-size: 1.02rem; font-weight: 740; text-transform: none; color: var(--text); }
.doc h2:first-of-type { margin-top: 0; }
.doc p, .doc li { color: #b9d3d8; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: .5em; }
.doc-actions { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; }
.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.ghost:hover { background: rgba(255, 255, 255, .05); }

@media (max-width: 700px) {
  .facts { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .base { flex-direction: column; }
}
