@font-face {
  font-family: "Watcher Mono";
  src: url("/fonts/JetBrainsMonoSlashed-Regular.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: "Watcher Mono";
  src: url("/fonts/JetBrainsMonoSlashed-Bold.woff2") format("woff2");
  font-display: swap;
  font-weight: 700;
}

:root {
  color-scheme: dark;
  --bg: #0d0d0f;
  --surface: #141416;
  --surface-2: #19191c;
  --line: #2b2b30;
  --line-soft: #222227;
  --text: #f1f1f3;
  --muted: #95969e;
  --dim: #65666d;
  --green: #31d49b;
  --green-soft: rgba(49, 212, 155, .1);
  --amber: #d8ad4c;
  --amber-soft: rgba(216, 173, 76, .1);
  --red: #ee6175;
  --content: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 74% 0%, rgba(72, 68, 82, .14), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }

.seo-header {
  min-height: 58px;
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  padding: 0 max(20px, calc((100vw - var(--content)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(13, 13, 15, .92);
  backdrop-filter: blur(14px);
}
.seo-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  text-decoration: none;
  font: 700 13px/1 "Watcher Mono", monospace;
  letter-spacing: .09em;
}
.seo-brand img { width: 20px; height: 20px; }
.seo-nav {
  min-width: 0;
  display: flex;
  align-items: stretch;
  height: 57px;
  gap: 4px;
}
.seo-nav a {
  display: grid;
  place-items: center;
  padding: 0 12px;
  border-bottom: 1px solid transparent;
  color: #85868d;
  text-decoration: none;
  font: 400 10px/1 "Watcher Mono", monospace;
  letter-spacing: .04em;
}
.seo-nav a:hover,
.seo-nav a[aria-current="page"] {
  color: #e7e7ea;
  border-color: var(--amber);
  background: rgba(255, 255, 255, .018);
}
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.lang-switch a {
  min-width: 34px;
  padding: 7px 8px;
  color: var(--dim);
  text-align: center;
  text-decoration: none;
  font: 700 9px/1 "Watcher Mono", monospace;
}
.lang-switch a + a { border-left: 1px solid var(--line); }
.lang-switch a.active {
  color: var(--text);
  background: #242428;
}
.header-app-link {
  padding: 9px 13px;
  border: 1px solid #5c4930;
  border-radius: 4px;
  background: var(--amber-soft);
  color: #e4c679;
  text-decoration: none;
  white-space: nowrap;
  font: 700 9px/1 "Watcher Mono", monospace;
  letter-spacing: .06em;
}
.header-app-link:hover { border-color: var(--amber); color: #f1d68c; }

.seo-main {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: #62636a;
  font: 400 9px/1.4 "Watcher Mono", monospace;
  letter-spacing: .04em;
}
.breadcrumbs a { color: #86878e; text-decoration: none; }
.breadcrumbs a:hover { color: #c8c8cc; }

.seo-hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr);
  align-items: center;
  gap: 62px;
  padding: 72px 0 70px;
  border-bottom: 1px solid var(--line);
}
.seo-hero.copy-only {
  min-height: 480px;
  grid-template-columns: minmax(0, 1fr) minmax(330px, .72fr);
}
.seo-hero > * { min-width: 0; }
.eyebrow {
  margin: 0 0 16px;
  color: var(--amber);
  font: 700 9px/1.3 "Watcher Mono", monospace;
  letter-spacing: .14em;
}
.seo-hero h1 {
  max-width: 730px;
  margin: 0;
  font: 700 clamp(36px, 5vw, 64px)/1.02 "Watcher Mono", monospace;
  letter-spacing: -.055em;
}
.seo-hero h1 span { color: #777980; }
.seo-lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: #aaaab1;
  font-size: 17px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 31px;
}
.primary-action,
.secondary-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 4px;
  text-decoration: none;
  font: 700 10px/1 "Watcher Mono", monospace;
  letter-spacing: .04em;
}
.primary-action {
  border: 1px solid #6b5635;
  background: #d2a746;
  color: #14110b;
}
.primary-action:hover { background: #e2b755; }
.secondary-action {
  border: 1px solid var(--line);
  color: #b8b8be;
  background: #151517;
}
.secondary-action:hover { border-color: #494950; color: #eeeef0; }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 24px;
  margin: 27px 0 0;
  padding: 0;
  list-style: none;
  color: #77787f;
  font: 400 9px/1.4 "Watcher Mono", monospace;
}
.hero-facts li::before {
  content: "●";
  margin-right: 8px;
  color: var(--green);
  font-size: 7px;
}

.product-frame {
  position: relative;
  margin: 0;
  padding: 10px;
  border: 1px solid #35353a;
  border-radius: 8px;
  background: #111113;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .38);
}
.product-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(216,173,76,.24), transparent 35%, rgba(49,212,155,.12));
  filter: blur(18px);
}
.product-frame img {
  display: block;
  width: 100%;
  border: 1px solid #27272b;
  border-radius: 4px;
}
.product-frame figcaption {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 3px 1px;
  color: #66676e;
  font: 400 8px/1.4 "Watcher Mono", monospace;
}
.product-frame figcaption b { color: #9b9ca2; font-weight: 400; }

.signal-card {
  position: relative;
  padding: 24px;
  border: 1px solid #35353a;
  border-radius: 7px;
  background:
    linear-gradient(145deg, rgba(216, 173, 76, .05), transparent 38%),
    #141416;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.signal-card > small {
  color: #65666e;
  font: 700 8px/1 "Watcher Mono", monospace;
  letter-spacing: .12em;
}
.signal-card h2 {
  margin: 18px 0 8px;
  color: #f0f0f2;
  font: 700 20px/1.25 "Watcher Mono", monospace;
}
.signal-card > p { margin: 0; color: #8d8e95; font-size: 13px; line-height: 1.6; }
.signal-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  margin-top: 20px;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
}
.signal-row span { color: #85868d; font: 400 10px/1.4 "Watcher Mono", monospace; }
.signal-row strong { color: var(--green); font: 700 13px/1 "Watcher Mono", monospace; }
.signal-row.warn strong { color: var(--amber); }
.signal-row.red strong { color: var(--red); }

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.metric-strip div {
  min-height: 116px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}
.metric-strip div:first-child { border-left: 1px solid var(--line); }
.metric-strip strong {
  display: block;
  color: #efeff1;
  font: 700 22px/1 "Watcher Mono", monospace;
}
.metric-strip span {
  display: block;
  margin-top: 9px;
  color: #73747b;
  font-size: 11px;
  line-height: 1.45;
}

.content-section {
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}
.section-heading {
  display: grid;
  grid-template-columns: minmax(250px, .65fr) minmax(0, 1.35fr);
  gap: 60px;
  margin-bottom: 42px;
}
.section-heading h2 {
  margin: 0;
  font: 700 clamp(25px, 3vw, 38px)/1.15 "Watcher Mono", monospace;
  letter-spacing: -.035em;
}
.section-heading p {
  max-width: 720px;
  margin: 0;
  color: #95969c;
  font-size: 15px;
  line-height: 1.75;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.feature-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
}
.feature-card small {
  color: var(--amber);
  font: 700 8px/1 "Watcher Mono", monospace;
  letter-spacing: .12em;
}
.feature-card h3 {
  margin: 25px 0 10px;
  font: 700 15px/1.35 "Watcher Mono", monospace;
}
.feature-card p {
  margin: 0;
  color: #898a91;
  font-size: 13px;
  line-height: 1.68;
}
.feature-card a { color: #c8b06f; text-underline-offset: 3px; }

.steps {
  counter-reset: seo-step;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.step {
  counter-increment: seo-step;
  display: grid;
  grid-template-columns: 70px minmax(210px, .65fr) minmax(0, 1.35fr);
  gap: 30px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.step::before {
  content: "0" counter(seo-step);
  color: #55565d;
  font: 700 11px/1.5 "Watcher Mono", monospace;
}
.step h3 {
  margin: 0;
  font: 700 14px/1.5 "Watcher Mono", monospace;
}
.step p {
  margin: 0;
  color: #8e8f96;
  font-size: 13px;
  line-height: 1.72;
}

.article-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 70px;
  padding: 68px 0;
  border-bottom: 1px solid var(--line);
}
.article-body { min-width: 0; }
.article-body h2 {
  margin: 45px 0 14px;
  font: 700 clamp(22px, 2.5vw, 31px)/1.25 "Watcher Mono", monospace;
  letter-spacing: -.025em;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  margin: 28px 0 10px;
  font: 700 16px/1.4 "Watcher Mono", monospace;
}
.article-body p,
.article-body li {
  color: #a0a1a8;
  font-size: 15px;
  line-height: 1.85;
}
.article-body ul,
.article-body ol { padding-left: 20px; }
.article-body strong { color: #e0e0e3; }
.article-body a { color: #d3b86f; text-underline-offset: 3px; }
.article-meta {
  margin-top: 18px;
  color: #67686f;
  font: 400 9px/1.5 "Watcher Mono", monospace;
}
.article-aside {
  position: sticky;
  top: 84px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
}
.article-aside b {
  display: block;
  margin-bottom: 13px;
  color: #ceced2;
  font: 700 10px/1.4 "Watcher Mono", monospace;
}
.article-aside a {
  display: block;
  padding: 9px 0;
  border-top: 1px solid var(--line-soft);
  color: #85868d;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.45;
}
.article-aside a:hover { color: #d8d8dc; }
.article-aside .aside-action {
  margin-top: 15px;
  padding: 11px;
  border: 1px solid #5d4b31;
  color: #d9bd72;
  text-align: center;
  font: 700 9px/1.2 "Watcher Mono", monospace;
}

.note {
  margin: 30px 0;
  padding: 18px 20px;
  border-left: 2px solid var(--amber);
  background: var(--amber-soft);
  color: #aba79c;
  font-size: 13px;
  line-height: 1.7;
}
.note.green { border-color: var(--green); background: var(--green-soft); }
.note strong { color: #e0d2aa; }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  padding: 22px 0;
  cursor: pointer;
  color: #d6d6da;
  font: 700 13px/1.5 "Watcher Mono", monospace;
}
.faq-list p {
  max-width: 800px;
  margin: -6px 0 24px;
  color: #8d8e95;
  font-size: 13px;
  line-height: 1.75;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.related-card {
  min-height: 155px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  text-decoration: none;
}
.related-card:hover { border-color: #4a4a50; background: var(--surface-2); }
.related-card small { color: #64656c; font: 400 8px/1 "Watcher Mono", monospace; }
.related-card b { font: 700 14px/1.45 "Watcher Mono", monospace; }
.related-card span { color: var(--amber); font: 400 9px/1 "Watcher Mono", monospace; }

.final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  margin: 74px 0;
  padding: 34px 38px;
  border: 1px solid #4b4130;
  border-radius: 6px;
  background:
    linear-gradient(110deg, rgba(216,173,76,.085), transparent 44%),
    var(--surface);
}
.final-cta h2 {
  margin: 0;
  font: 700 clamp(21px, 2.7vw, 32px)/1.2 "Watcher Mono", monospace;
}
.final-cta p { margin: 9px 0 0; color: #85868d; font-size: 13px; line-height: 1.6; }

.seo-footer {
  border-top: 1px solid var(--line);
  color: #6f7077;
}
.seo-footer-inner {
  width: min(var(--content), calc(100% - 40px));
  min-height: 126px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  margin: 0 auto;
}
.seo-footer p { max-width: 670px; margin: 7px 0 0; font-size: 11px; line-height: 1.6; }
.seo-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.seo-footer nav a { color: #888990; text-decoration: none; font-size: 11px; }
.seo-footer nav a:hover { color: #d4d4d8; }

@media (max-width: 920px) {
  .seo-header {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }
  .seo-nav { display: none; }
  .seo-hero,
  .seo-hero.copy-only {
    grid-template-columns: 1fr;
    gap: 45px;
    padding: 55px 0;
  }
  .seo-hero { min-height: 0; }
  .seo-hero h1 { font-size: clamp(36px, 8vw, 58px); }
  .metric-strip { grid-template-columns: repeat(2, 1fr); }
  .metric-strip div:nth-child(2) { border-right: 1px solid var(--line); }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .feature-grid,
  .related-grid { grid-template-columns: 1fr 1fr; }
  .article-section { grid-template-columns: 1fr; gap: 35px; }
  .article-aside { position: static; }
}

@media (max-width: 620px) {
  .seo-header {
    min-height: 52px;
    padding: 0 12px;
  }
  .seo-brand { font-size: 11px; }
  .seo-brand img { width: 17px; height: 17px; }
  .header-app-link { display: none; }
  .seo-main,
  .seo-footer-inner { width: min(100% - 28px, var(--content)); }
  .seo-hero { padding: 38px 0 48px; }
  .seo-hero h1 {
    font-size: clamp(31px, 9vw, 40px);
    overflow-wrap: break-word;
    hyphens: auto;
  }
  .seo-lead { overflow-wrap: anywhere; }
  .breadcrumbs { margin-bottom: 17px; }
  .seo-lead { font-size: 15px; }
  .product-frame { padding: 5px; }
  .product-frame figcaption { display: none; }
  .metric-strip { grid-template-columns: 1fr 1fr; }
  .metric-strip div { min-height: 105px; padding: 22px 15px; }
  .content-section { padding: 55px 0; }
  .feature-grid,
  .related-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 38px 1fr; gap: 15px; }
  .step p { grid-column: 2; }
  .article-section { padding: 50px 0; }
  .article-body p,
  .article-body li { font-size: 14px; }
  .final-cta { grid-template-columns: 1fr; margin: 55px 0; padding: 27px 23px; }
  .seo-footer-inner { grid-template-columns: 1fr; padding: 28px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
