:root {
  --bg: #f0f2f5;
  --bg-elev: #ffffff;
  --ink: #050505;
  --muted: #65676b;
  --fox: #ff6a00;
  --fox-hot: #ff7a1a;
  --line: rgba(0, 0, 0, 0.1);
  --font: "Outfit", system-ui, sans-serif;
  --max: 1160px;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 2.75rem);
  background: rgba(240, 242, 245, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  background: #000;
}

.nav {
  display: none;
  gap: 1.35rem;
  margin: 0 auto;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav a {
  position: relative;
  padding-bottom: 0.2rem;
}

.nav a:hover,
.nav a.is-active { color: var(--ink); }

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15rem;
  height: 2px;
  background: var(--fox);
  border-radius: 2px;
}

.header-end {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.header-cta { display: none; }

.lang-switch {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
  flex-shrink: 0;
}

.lang-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  color: var(--muted);
  border-radius: 8px;
  padding: 0.22rem 0.38rem;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.1;
  opacity: 0.55;
  transition: opacity 0.15s, border-color 0.15s, background 0.15s;
  font-family: inherit;
}

.lang-btn:hover { opacity: 0.85; }

.lang-btn.is-active {
  opacity: 1;
  color: var(--fox);
  border-color: rgba(255, 106, 0, 0.45);
  background: rgba(255, 106, 0, 0.1);
}

.nav-toggle {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 10px;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--fox);
  color: #fff;
}

.btn-primary:hover { background: var(--fox-hot); }

.btn-outline {
  border-color: rgba(28, 20, 16, 0.2);
  background: transparent;
  color: var(--ink);
}

.btn-outline:hover { border-color: var(--fox); color: var(--fox); }

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  pointer-events: none;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.4rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2.75rem) 2.5rem;
  display: grid;
  gap: 2.75rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--fox);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.4rem, 6vw, 3.7rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.hero h1 .accent { color: var(--fox); }

.lede {
  margin: 1.1rem 0 0;
  max-width: 40ch;
  color: #c8c8d0;
  font-size: 1.05rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.trust-row {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.trust-row li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.trust-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  color: var(--fox);
  background: rgba(255, 106, 0, 0.1);
  flex-shrink: 0;
}

.browser {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow:
    0 30px 80px rgba(80, 40, 10, 0.12),
    0 0 0 1px rgba(255, 106, 0, 0.08);
  animation: rise 0.9s ease both;
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.85rem;
  background: #e4e6eb;
  border-bottom: 1px solid var(--line);
}

.browser-chrome .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3a3a42;
}

.browser-chrome .dot:nth-child(1) { background: #ff5f57; }
.browser-chrome .dot:nth-child(2) { background: #febc2e; }
.browser-chrome .dot:nth-child(3) { background: #28c840; }

.url {
  margin-left: 0.6rem;
  flex: 1;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 0.75rem;
  border: 1px solid var(--line);
}

.browser-stage {
  position: relative;
  aspect-ratio: 16 / 11;
  background:
    linear-gradient(180deg, rgba(8, 8, 12, 0.15), rgba(8, 8, 12, 0.72)),
    var(--scene) center / cover no-repeat;
}

.browser-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem 1.4rem 1.6rem;
  display: grid;
  gap: 0.35rem;
  justify-items: start;
}

.browser-kicker {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
}

.browser-title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.foxstatus {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 4vw, 2.75rem) 2.5rem;
}

.foxstatus-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.foxstatus h2,
.pros h2,
.support h2,
.blog-teaser h2,
.cta-band h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.link-more {
  color: var(--fox);
  font-weight: 700;
  font-size: 0.9rem;
}

.status-grid {
  display: grid;
  gap: 0.75rem;
  padding: 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-elev);
}

.status-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
}

.status-item h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
}

.status-item p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.status-dot {
  width: 11px;
  height: 11px;
  margin-top: 0.35rem;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.04);
}

.status-green { background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15); }
.status-yellow { background: #eab308; box-shadow: 0 0 0 4px rgba(234, 179, 8, 0.15); }
.status-red { background: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15); }
.status-purple { background: #a855f7; box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.15); }
.status-blue { background: #3b82f6; box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15); }

.pros {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem clamp(1rem, 4vw, 2.75rem) 3rem;
}

.pros > h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
}

.pros-grid {
  display: grid;
  gap: 1rem;
}

.pro {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-elev);
  transition: border-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 8px 24px rgba(80, 40, 10, 0.04);
}

.pro:hover {
  border-color: rgba(255, 106, 0, 0.35);
  transform: translateY(-2px);
}

.pro-icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.85rem;
  border-radius: 12px;
  color: var(--fox);
  background: rgba(255, 106, 0, 0.12);
  border: 1px solid rgba(255, 106, 0, 0.25);
}

.pro h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.pro p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.cta-band {
  text-align: center;
  padding: 3.5rem clamp(1rem, 4vw, 2.75rem);
  margin: 0 clamp(1rem, 4vw, 2.75rem);
  border-radius: 20px;
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(255, 106, 0, 0.22), transparent 70%),
    var(--bg-elev);
  border: 1px solid rgba(255, 106, 0, 0.2);
}

.cta-band p {
  margin: 0.6rem 0 1.4rem;
  color: var(--muted);
}

.support,
.blog-teaser {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.25rem clamp(1rem, 4vw, 2.75rem);
}

.support p,
.blog-teaser p {
  margin: 0.55rem 0 0.85rem;
  color: var(--muted);
  max-width: 48ch;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 2.75rem) 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-brand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand strong {
  display: block;
  color: var(--ink);
  letter-spacing: 0.06em;
}

.footer-brand p { margin: 0.15rem 0 0; font-size: 0.82rem; }

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

@media (min-width: 720px) {
  .trust-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .status-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
  }

  .status-item {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .status-dot { margin-top: 0; }
}

@media (min-width: 900px) {
  .nav,
  .header-cta { display: flex; }

  .nav-toggle { display: none; }

  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }

  .pros-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 899px) {
  .nav.is-open {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 1rem;
    padding: 1.1rem 1.25rem 1.35rem;
    background: #f0f2f5;
    border-bottom: 1px solid var(--line);
  }
}

@media (prefers-reduced-motion: reduce) {
  .browser { animation: none; }
  .btn:hover,
  .pro:hover { transform: none; }
}
