/* Upvora — brand site. Dark-first, Upvora Orange, Inter Display. */
:root {
  --orange: #f97316;
  --orange-light: #ff5a0a;
  --orange-dark: #e94a00;
  --grad: linear-gradient(135deg, var(--orange-light), var(--orange) 55%, var(--orange-dark));
  --glow: color-mix(in srgb, var(--orange) 30%, transparent);

  --bg: #0b0c0e;
  --bg-1: #101216;
  --surface: #16181c;
  --surface-2: #1c1f24;
  --charcoal: #202124;
  --line: rgba(255, 255, 255, 0.08);
  --line-bright: rgba(249, 115, 22, 0.35);

  --fg: #fafaf8;
  --fg-dim: #a2a8b0;
  --fg-mute: #6b7078;

  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--fg);
  background:
    radial-gradient(1200px 620px at 88% -8%, var(--glow), transparent 60%),
    radial-gradient(900px 500px at 6% 4%, rgba(249, 115, 22, 0.06), transparent 55%),
    var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a {
  color: var(--orange);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
img {
  max-width: 100%;
}
h1,
h2,
h3 {
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.4em;
  font-weight: 800;
}
p {
  margin: 0 0 1em;
  color: var(--fg-dim);
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}
.muted {
  color: var(--fg-mute);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.12s ease,
    filter 0.12s ease,
    background 0.12s ease;
  text-decoration: none;
}
.btn--primary {
  color: #fff;
  background-image: var(--grad);
  box-shadow: 0 10px 26px -12px var(--glow);
}
.btn--primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  text-decoration: none;
}
.btn--ghost {
  color: var(--fg);
  background: var(--surface);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--line-bright);
  text-decoration: none;
}

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav__in {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
}
.nav__logo {
  display: flex;
  align-items: center;
}
.nav__logo img {
  height: 26px;
}
.nav__links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  align-items: center;
}
.nav__links a {
  color: var(--fg-dim);
  font-size: 14.5px;
  font-weight: 550;
}
.nav__links a:hover {
  color: var(--fg);
  text-decoration: none;
}
.nav__gh {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
@media (max-width: 800px) {
  .nav__links a:not(.btn):not(.nav__gh) {
    display: none;
  }
}

/* hero */
.hero {
  padding: 96px 0 64px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  max-width: 16ch;
  margin: 18px auto 0.4em;
}
.hero h1 .accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--fg-dim);
  max-width: 60ch;
  margin: 0 auto 28px;
}
.hero__cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--fg-mute);
}
.shot {
  margin: 56px auto 0;
  max-width: 1000px;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  background: var(--surface);
}
.shot img {
  display: block;
  width: 100%;
}

/* trust strip */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-1);
}
.strip__in {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  justify-content: center;
  padding: 22px 0;
  font-size: 14px;
  color: var(--fg-mute);
}
.strip__in b {
  color: var(--fg);
  font-weight: 650;
}

/* sections */
.section {
  padding: 88px 0;
}
.section__head {
  text-align: center;
  max-width: 62ch;
  margin: 0 auto 48px;
}
.section__head h2 {
  font-size: clamp(28px, 4vw, 40px);
}

/* feature grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition:
    border-color 0.14s ease,
    transform 0.14s ease;
}
.card:hover {
  border-color: var(--line-bright);
  transform: translateY(-2px);
}
.card__ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: color-mix(in srgb, var(--orange) 12%, transparent);
  border: 1px solid var(--line-bright);
  margin-bottom: 14px;
}
.card h3 {
  font-size: 18px;
  font-weight: 700;
}
.card p {
  font-size: 14.5px;
  margin: 0;
}
.card .tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}

/* comparison */
.compare {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
th,
td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
thead th {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--fg-mute);
  text-transform: uppercase;
  background: var(--bg-1);
}
thead th:last-child {
  color: var(--orange);
}
tbody tr:last-child td {
  border-bottom: none;
}
td:first-child {
  color: var(--fg);
  font-weight: 600;
}
.yes {
  color: var(--orange);
  font-weight: 650;
}
.no {
  color: var(--fg-mute);
}

/* split / self-host */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}
.code {
  background: #0a0b0d;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  font-family: var(--mono);
  font-size: 13.5px;
  color: #d7dbe0;
  overflow-x: auto;
  line-height: 1.7;
}
.code .c {
  color: var(--fg-mute);
}
.code .o {
  color: var(--orange);
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist li {
  padding: 8px 0 8px 30px;
  position: relative;
  color: var(--fg-dim);
}
.checklist li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* fork note */
.note {
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  max-width: 760px;
  margin: 0 auto;
}
.note p {
  margin: 0;
  font-size: 15px;
}

/* contact form */
.form {
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 6px;
}
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--fg);
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--glow);
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.form__status {
  font-size: 14px;
  margin-top: 4px;
  min-height: 20px;
}
.form__status.ok {
  color: #34d399;
}
.form__status.err {
  color: #f87171;
}

/* footer */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-1);
  padding: 56px 0 40px;
}
.footer__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.footer__col h4 {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin: 0 0 12px;
}
.footer__col a {
  display: block;
  color: var(--fg-dim);
  font-size: 14px;
  padding: 4px 0;
}
.footer__col a:hover {
  color: var(--fg);
  text-decoration: none;
}
.footer__brand {
  max-width: 300px;
}
.footer__brand img {
  height: 26px;
  margin-bottom: 12px;
}
.footer__brand p {
  font-size: 13.5px;
  color: var(--fg-mute);
}
.footer__bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--fg-mute);
}
.hody {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-dim);
}
.hody img {
  height: 20px;
  opacity: 0.9;
}
.hody:hover {
  text-decoration: none;
  color: var(--fg);
}
