/* Palette from the Spite mark (crates/browser-desktop/resources/logo.svg). */
:root {
  --red: #ff3b1f;
  --red-deep: #d92a12;
  --bone: #f2ede4;
  --ink: #121212;
  --ink-2: #1b1b1b;
  --ink-3: #262626;
  --line: #2e2e2e;
  --muted: #a39d93;
  --display: 'Archivo Black', 'Arial Black', sans-serif;
  --body: 'Archivo', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font: 400 18px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h1, h2 { font-family: var(--display); letter-spacing: -0.035em; line-height: 0.95; }
h3 { font-weight: 600; font-size: 1.1rem; margin-bottom: .4rem; }
p { margin: 0; }
::selection { background: var(--red); color: var(--ink); }

section { padding: 120px max(16px, calc((100vw - var(--max)) / 2)); }

/* Coming-soon bar */
.soon-bar {
  display: flex; justify-content: center; align-items: center; gap: 10px;
  padding: 10px 16px; background: var(--red); color: var(--ink);
  font-size: .92rem; text-align: center;
}
.soon-bar strong { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); flex: none;
  animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.tag { display: inline-block; margin-right: 10px; padding: 3px 9px; border-radius: 6px;
  background: var(--bone); color: var(--ink); letter-spacing: .08em; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px max(16px, calc((100vw - var(--max)) / 2));
  background: rgb(18 18 18 / .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none;
  font: 1.6rem var(--display); letter-spacing: -0.05em; }
.mark { width: 34px; height: 34px; display: block; }
.nav nav { display: flex; gap: 28px; align-items: center; font-size: .95rem; }
.nav nav a:not(.btn) { text-decoration: none; color: var(--muted); }
.nav nav a:not(.btn):hover { color: var(--bone); }

/* Buttons */
.btn {
  display: inline-block; padding: 16px 26px; border-radius: 14px;
  background: var(--red); color: var(--ink);
  font: 1rem var(--display); letter-spacing: -0.01em; text-decoration: none;
  transition: transform .15s, background .15s;
}
.btn:hover { background: var(--bone); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--bone); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { background: transparent; box-shadow: inset 0 0 0 2px var(--bone); }
.btn-small { padding: 9px 16px; border-radius: 10px; font-size: .9rem; color: var(--ink) !important; }
.btn-disabled { background: var(--ink-3); color: var(--muted); cursor: default; }
.btn-disabled:hover { background: var(--ink-3); transform: none; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 60px; align-items: center;
  padding-top: 110px; padding-bottom: 80px;
}
.eyebrow { font: 500 .85rem var(--mono); text-transform: uppercase; letter-spacing: .12em;
  color: var(--red); margin-bottom: 22px; }
h1 { font-size: clamp(3.4rem, 8.4vw, 7.4rem); }
h1 em { font-style: normal; color: var(--red); }
.lede { margin-top: 30px; max-width: 34em; color: #cfc9be; font-size: 1.2rem; }
.cta { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-eye svg { width: 100%; max-width: 440px; display: block; margin-left: auto;
  filter: drop-shadow(0 40px 80px rgb(255 59 31 / .25)); }
#pupil { transition: transform .12s ease-out; }

/* Mock browser */
.shot { padding-top: 20px; }
.window {
  border-radius: 16px; overflow: hidden; background: var(--ink-2);
  box-shadow: 0 0 0 1px var(--line), 0 60px 120px -40px rgb(255 59 31 / .35);
  font-size: .85rem;
}
.tabs { display: flex; align-items: center; gap: 6px; padding: 10px 14px 0; background: #0d0d0d; }
.dots { display: flex; gap: 7px; margin-right: 12px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--ink-3); }
.group { background: var(--red); color: var(--ink); font-weight: 600; padding: 3px 10px;
  border-radius: 7px; margin-bottom: 8px; }
.tab { display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 10px 10px 0 0;
  color: var(--muted); white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.tab.active { background: var(--ink-2); color: var(--bone); box-shadow: inset 0 -2px var(--red); }
.tab.dim { color: #555; }
.fav { width: 12px; height: 12px; border-radius: 4px; background: var(--red); flex: none; }
.fav.alt { background: var(--bone); }
.toolbar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.ctl { color: var(--muted); }
.spark { color: var(--red); }
.omni { flex: 1; background: var(--ink-3); border-radius: 9px; padding: 7px 14px;
  color: var(--bone); font-family: var(--mono); font-size: .8rem; }
.shield { color: var(--bone); background: var(--ink-3); border-radius: 8px; padding: 4px 9px; font-size: .78rem; }
.panes { display: grid; grid-template-columns: 1fr 1fr 300px; min-height: 380px; }
.pane { background: var(--bone); padding: 34px 30px; display: flex; flex-direction: column; gap: 12px; }
.pane + .pane { border-left: 3px solid var(--ink); }
.ph { height: 10px; border-radius: 5px; background: #d9d2c5; }
.ph.h { height: 26px; width: 70%; background: var(--ink); margin-bottom: 10px; }
.ph.s { width: 55%; }
.ph.img { height: 90px; background: #e6dfd2; margin: 8px 0; border-radius: 10px; }
.assistant { background: var(--ink-2); padding: 20px; border-left: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px; }
.as-title { font-weight: 600; display: flex; justify-content: space-between; align-items: baseline; }
.as-title small { color: var(--muted); font-weight: 400; font-size: .75rem; }
.bubble { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--ink-3); line-height: 1.45; }
.bubble.me { align-self: flex-end; background: var(--red); color: var(--ink); font-weight: 500; }
ul.bubble { padding-left: 30px; }

/* Features */
.features h2, .keys h2, .download h2 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
.features h2 span { color: var(--muted); }
.grid { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.grid article { background: var(--ink); padding: 34px 30px; transition: background .2s; }
.grid article:hover { background: var(--ink-2); }
.grid article h3::before { content: ''; display: block; width: 26px; height: 6px;
  border-radius: 3px; background: var(--red); margin-bottom: 20px; }
.grid p { color: #bdb7ac; font-size: 1rem; }

kbd { font: 500 .85em var(--mono); background: var(--ink-3); color: var(--bone);
  border: 1px solid #3a3a3a; border-bottom-width: 3px; border-radius: 7px; padding: 2px 8px; }

/* Privacy (the loud section) */
.privacy { background: var(--red); color: var(--ink); }
.privacy h2 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
.cols { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.cols h3 { font-family: var(--display); font-weight: 400; font-size: 1.3rem; letter-spacing: -0.02em; }
.cols p { font-size: 1.02rem; }

/* Keys */
.keys dl { margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.keys dl div { border: 1px solid var(--line); border-radius: 16px; padding: 24px 22px;
  display: flex; flex-direction: column; gap: 14px; }
.keys dt { display: flex; gap: 6px; }
.keys dt kbd { font-size: 1.05rem; padding: 6px 11px; }
.keys dd { margin: 0; color: #bdb7ac; }

/* Download */
.download { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px;
  border-top: 1px solid var(--line); }
.mark.big { width: 120px; height: 120px; }
.download p { color: var(--muted); margin-bottom: 10px; }

footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 30px max(16px, calc((100vw - var(--max)) / 2)); border-top: 1px solid var(--line);
  color: var(--muted); font-size: .88rem; }

/* Responsive */
@media (max-width: 960px) {
  section { padding-top: 84px; padding-bottom: 84px; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 60px; }
  .hero-eye { order: -1; }
  .hero-eye svg { max-width: 160px; margin: 0; }
  .grid, .cols { grid-template-columns: 1fr 1fr; }
  .keys dl { grid-template-columns: 1fr 1fr; }
  .panes { grid-template-columns: 1fr 260px; }
  .pane + .pane { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .nav nav a:not(.btn) { display: none; }
  .grid, .cols { grid-template-columns: 1fr; }
  .panes { grid-template-columns: 1fr; min-height: 0; }
  .pane { display: none; }
  .assistant { border-left: 0; }
  .tab:not(.active) { display: none; }
  .shield { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, #pupil { transition: none; }
  .pulse { animation: none; }
}
