/* TemporaSync — ink / copper industrial timing (distinct from ntpnode teal) */

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
}

:root {
  --bg: #0b1016;
  --bg-deep: #06090d;
  --text: #f2efe8;
  --text-muted: #9aa3ad;
  --accent: #c47a3a;
  --accent-hover: #d48c4c;
  --line: rgba(242, 239, 232, 0.12);
  --line-strong: rgba(242, 239, 232, 0.2);
  --ok: #7aaf7a;
  --danger: #c47070;
  --font: "IBM Plex Sans", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --max: 960px;
  --nav-h: 4rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(ellipse 90% 55% at 15% -10%, rgba(74, 111, 165, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 40% at 90% 10%, rgba(196, 122, 58, 0.12), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  line-height: 1.55;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  color: var(--accent-hover);
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.narrow {
  max-width: 32rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--nav-h);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 16, 22, 0.88);
  backdrop-filter: blur(10px);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.1rem;
  color: var(--text);
}

.brand-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--mono);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.nav-links a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: flex-end;
  padding: 4rem 0 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 20%, rgba(6, 9, 13, 0.75) 70%, var(--bg-deep) 100%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 18px,
      rgba(242, 239, 232, 0.03) 18px,
      rgba(242, 239, 232, 0.03) 19px
    );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  animation: rise 0.9s var(--ease) both;
}

.hero-brand {
  margin: 0 0 0.75rem;
  font-size: clamp(2.6rem, 8vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.hero-line {
  margin: 0 0 0.85rem;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  color: var(--text);
  max-width: 28rem;
}

.hero-support {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  max-width: 34rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-hero {
  padding: 3rem 0 1rem;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.page-hero h1,
.section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
}

.lead-sm {
  color: var(--text-muted);
  max-width: 40rem;
}

.section {
  padding: 3rem 0 4.5rem;
  border-top: 1px solid var(--line);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.1rem;
  font: inherit;
  font-weight: 500;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: #140e08;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #140e08;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-hover);
}

.feature-list {
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
}
.feature-list strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.cta-inline {
  margin-top: 1.5rem;
}

.product-stack {
  display: grid;
  gap: 2.5rem;
}

.product h2 {
  margin: 0.35rem 0 0.35rem;
}

.model {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.status {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  padding: 0.15rem 0.45rem;
  border: 1px solid var(--line-strong);
  margin: 0;
}

.status-ship {
  border-color: var(--ok);
  color: var(--ok);
}

.status-plan {
  border-color: var(--accent);
  color: var(--accent);
}

.doc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.doc-list li {
  border-bottom: 1px solid var(--line);
}

.doc-list a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 0;
  color: inherit;
  text-decoration: none;
}

.doc-list strong {
  color: var(--text);
}

.doc-list span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.doc-list a:hover strong {
  color: var(--accent-hover);
}

.form label {
  display: block;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.form input,
.form select,
.form textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.65rem 0.75rem;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
}

.form-status {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}
.form-status.ok {
  color: var(--ok);
}
.form-status.err {
  color: var(--danger);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
}

.footer-brand {
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.footer-note,
.footer-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  max-width: 36rem;
}

@media (max-width: 640px) {
  .nav-links {
    gap: 0.85rem;
    font-size: 0.85rem;
  }
  .brand-sub {
    display: none;
  }
}
