/* Winnivo — coming soon. Graphite datasheet, cyan, monospaced labels. Written by hand. */

:root {
  --bg: #0f1317;
  --panel: #161c22;
  --raise: #1c242c;
  --line: rgba(255, 255, 255, .10);
  --line-2: rgba(255, 255, 255, .18);
  --text: #e8eef2;
  --muted: #8d9aa5;
  --cyan: #35d0d6;
  --on-cyan: #06231f;
  --radius: 8px;
  --mono: "JetBrains Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::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: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -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: 1000px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

/* top bar */
.bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.sig {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text);
  font-family: var(--mono); font-size: .9rem; font-weight: 700; letter-spacing: .06em;
}
.sig:hover { text-decoration: none; }
.sig s {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(53, 208, 214, .16);
  text-decoration: none;
}
.bar nav { display: flex; gap: 20px; }
.bar nav a {
  color: var(--muted);
  font-family: var(--mono); font-size: .78rem; letter-spacing: .04em;
}
.bar nav a:hover, .bar nav a.active { color: var(--cyan); text-decoration: none; }

/* hero */
.hero { padding: clamp(44px, 8vw, 84px) 0 clamp(28px, 4vw, 44px); }
.tag {
  display: inline-block; margin: 0 0 20px;
  padding: 5px 12px;
  border: 1px solid var(--line-2); border-radius: 4px;
  color: var(--cyan);
  font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 20px;
  max-width: 20ch;
  font-size: clamp(2.1rem, 6vw, 3.5rem);
  line-height: 1.05; letter-spacing: -.035em; font-weight: 750;
}
.hero h1 i { font-style: normal; color: var(--cyan); }
.hero .tagline { margin: 0 0 14px; color: #b9c6d0; font-size: 1.06rem; }
.hero .intro { margin: 0; max-width: 60ch; color: var(--muted); }

/* datasheet */
.sheet { border-top: 1px solid var(--line-2); }
.sheet h2 {
  margin: 0;
  padding: 16px 0 14px;
  font-family: var(--mono); font-size: .74rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.rows { margin: 0; border-top: 1px solid var(--line); }
.rows > div {
  display: flex; align-items: baseline; gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.rows dt {
  flex: none; width: 12rem;
  color: var(--muted);
  font-family: var(--mono); font-size: .78rem; letter-spacing: .04em;
}
.rows dd { margin: 0; font-size: .95rem; word-break: break-word; }
.rows .fill { flex: 1; border-bottom: 1px dotted var(--line-2); transform: translateY(-4px); }

/* contact */
.contact { padding: clamp(34px, 5vw, 56px) 0; }
.grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 28px);
}
.panel > h2 {
  margin: 0 0 4px;
  font-family: var(--mono); font-size: .74rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--cyan);
}
.panel .hint { margin: 0 0 20px; color: var(--muted); font-size: .88rem; }

.field { margin-bottom: 14px; }
.field label {
  display: block; margin-bottom: 6px;
  color: var(--muted);
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
}
.field input, .field textarea {
  width: 100%;
  padding: 11px 13px;
  font: inherit; font-size: .95rem;
  color: var(--text);
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: border-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 112px; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(53, 208, 214, .16);
}
.field .invalid { border-color: #e2705f; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; min-height: 48px; padding: 0 22px;
  font: inherit; font-size: .82rem; font-weight: 700;
  font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--on-cyan); background: var(--cyan);
  border: 0; border-radius: 6px;
  cursor: pointer;
  transition: background .18s, transform .18s;
}
.btn:hover { background: #55e0e5; transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: default; transform: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.status { margin: 13px 0 0; min-height: 1.2em; font-size: .87rem; }
.status.ok { color: #5fe0a8; }
.status.err { color: #f0937f; }

.notes { margin: 0; padding: 0; list-style: none; }
.notes li {
  padding: 11px 0 11px 20px;
  border-bottom: 1px solid var(--line);
  position: relative;
  color: var(--muted); font-size: .9rem;
}
.notes li:last-child { border-bottom: 0; }
.notes li::before {
  content: "›"; position: absolute; left: 4px; top: 11px;
  color: var(--cyan); font-weight: 700;
}

/* footer */
.base {
  border-top: 1px solid var(--line);
}
.base .wrap {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding-top: 20px; padding-bottom: 32px;
  color: var(--muted); font-size: .82rem;
  font-family: var(--mono); letter-spacing: .03em;
}
.base nav { display: flex; gap: 20px; }
.base a { color: var(--muted); }
.base a:hover { color: var(--cyan); text-decoration: none; }
.base p { margin: 0; }

/* legal */
.doc { max-width: 800px; margin: 0 auto; padding: clamp(36px, 6vw, 64px) clamp(20px, 4vw, 40px) 56px; }
.doc .tag { margin-bottom: 18px; }
.doc h1 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 5vw, 2.7rem);
  letter-spacing: -.03em;
}
.meta {
  margin: 0 0 32px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line-2);
  color: var(--muted);
  font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
}
.doc h2 {
  margin: 30px 0 10px;
  font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em;
  text-transform: none; color: var(--text);
}
.doc h2:first-of-type { margin-top: 0; }
.doc p, .doc li { color: #bac6d0; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: .5em; }
.doc-actions {
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid var(--line-2);
  display: flex; flex-wrap: wrap; gap: 14px;
}
.doc-actions a {
  font-family: var(--mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
}
.doc-actions a.ghost {
  color: var(--muted);
}

@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr; }
  .rows dt { width: 9.5rem; }
}
@media (max-width: 560px) {
  .rows > div { flex-wrap: wrap; gap: 4px; }
  .rows dt { width: 100%; }
  .rows .fill { display: none; }
  .base .wrap { flex-direction: column; }
}
