:root {
  color-scheme: dark;
  --bg: #0c0e10;
  --panel: rgba(17, 20, 23, 0.96);
  --line: rgba(255, 255, 255, 0.11);
  --text: #f7f7f8;
  --muted: rgba(255, 255, 255, 0.58);
  --fire: #dc2626;
  --service: #ef4444;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.background { position: fixed; inset: 0; overflow: hidden; pointer-events: none; background: #0c0e10; }
.scanner { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .58; }
.scanner-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 52% 38%, transparent 0, rgba(12, 14, 16, .18) 38%, rgba(8, 9, 11, .84) 100%),
    linear-gradient(to bottom, rgba(12, 14, 16, .08), rgba(12, 14, 16, .38) 62%, rgba(8, 9, 11, .9));
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.topbar { min-height: 64px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: var(--fire);
  box-shadow: 0 0 24px rgba(220,38,38,.25);
}
.brand-mark svg { width: 22px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.product-label, .tool-type, .eyebrow, .tool-number, footer { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; }
.product-label { color: rgba(255,255,255,.42); }

.hero { padding: clamp(58px, 8vw, 96px) 0 clamp(38px, 5vw, 56px); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; color: #ef4444; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 14px rgba(239,68,68,.65); }
h1, h2, p { margin: 0; }
h1 {
  max-width: 760px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(3.3rem, 8vw, 6.8rem);
  font-weight: 800;
  line-height: .86;
  letter-spacing: -0.07em;
}
.hero h1 span { color: #ef4444; }
.hero p { margin-top: 26px; color: var(--muted); font-size: 1rem; line-height: 1.7; }

.tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tool-card {
  position: relative;
  min-height: 340px;
  padding: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--text);
  text-decoration: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(0,0,0,.32);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.tool-card::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  top: -165px;
  right: -100px;
  border-radius: 50%;
  filter: blur(20px);
  opacity: .08;
  transition: opacity .35s ease, transform .35s ease;
}
.tool-card-fire::before, .tool-card-service::before { background: #ef4444; }
.tool-card:hover, .tool-card:focus-visible { transform: translateY(-5px); outline: none; }
.tool-card-fire:hover, .tool-card-fire:focus-visible,
.tool-card-service:hover, .tool-card-service:focus-visible { border-color: rgba(239,68,68,.55); box-shadow: 0 28px 80px rgba(220,38,38,.1); }
.tool-card:hover::before, .tool-card:focus-visible::before { opacity: .22; transform: scale(1.25); }
.card-top { position: relative; display: flex; align-items: flex-start; justify-content: space-between; }
.tool-number { color: rgba(255,255,255,.13); font-size: 3.25rem; letter-spacing: -.06em; line-height: 1; }
.tool-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(239,68,68,.22);
  border-radius: 14px;
  background: rgba(220,38,38,.11);
}
.tool-icon svg { width: 25px; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.tool-card-fire .tool-icon, .tool-card-fire .tool-type,
.tool-card-service .tool-icon, .tool-card-service .tool-type { color: #ef4444; }
.card-copy { position: relative; margin-top: auto; padding-top: 58px; }
.tool-type { display: block; margin-bottom: 13px; }
h2 { font-family: "Manrope", sans-serif; font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.045em; }
.card-copy p { max-width: 410px; min-height: 52px; margin-top: 14px; color: var(--muted); font-size: 0.95rem; line-height: 1.65; }
.launch {
  position: relative;
  margin-top: 30px;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font-size: .95rem;
  font-weight: 600;
}
.launch svg { width: 20px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.tool-card:hover .launch svg, .tool-card:focus-visible .launch svg { transform: translateX(4px); }
footer { margin-top: auto; min-height: 96px; display: flex; align-items: center; gap: 18px; color: rgba(255,255,255,.3); letter-spacing: .1em; }
.footer-line { width: 34px; height: 1px; background: rgba(255,255,255,.15); }

@media (max-width: 720px) {
  .shell { width: min(100% - 30px, 560px); }
  .topbar { min-height: 76px; }
  .hero { padding: 54px 0 34px; }
  h1 { font-size: clamp(2.7rem, 14vw, 4.2rem); }
  .hero p { margin-top: 17px; }
  .tools { grid-template-columns: 1fr; }
  .tool-card { min-height: 330px; padding: 24px; border-radius: 20px; }
  .card-copy { padding-top: 42px; }
  .card-copy p { min-height: 0; }
  footer { min-height: 90px; font-size: .66rem; }
}
@media (max-width: 390px) {
  .product-label { display: none; }
  .hero { padding-top: 44px; }
  .tool-card { min-height: 310px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media(min-width:1100px){.tools{grid-template-columns:repeat(3,minmax(0,1fr))}}
