:root {
  --red: #e30613;
  --red-dark: #c20410;
  --navy: #0f172a;
  --ink: #0f0506;
  --gray-900: #1e2937;
  --gray-500: #64748b;
  --gray-100: #f1f5f9;
  --gray-50: #fafbfc;
  --white: #ffffff;
  --border: #e5e9f0;
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 20px 60px rgba(15, 23, 42, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  color: #1e2937;
  background: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}

/* Continuous page-wide gradient backdrop — kept from the live site */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(
      1100px 700px at 88% 5%,
      rgba(196, 30, 35, 0.13),
      transparent 60%
    ),
    radial-gradient(
      900px 700px at 5% 25%,
      rgba(15, 15, 15, 0.18),
      transparent 60%
    ),
    radial-gradient(
      950px 650px at 95% 45%,
      rgba(20, 20, 20, 0.14),
      transparent 65%
    ),
    radial-gradient(
      1000px 700px at 10% 65%,
      rgba(180, 28, 32, 0.11),
      transparent 65%
    ),
    radial-gradient(
      850px 700px at 92% 88%,
      rgba(15, 15, 15, 0.16),
      transparent 65%
    ),
    radial-gradient(
      900px 600px at 30% 95%,
      rgba(140, 20, 25, 0.1),
      transparent 70%
    ),
    #ffffff;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(
      ellipse 38% 55% at 100% 50%,
      transparent 0%,
      transparent 18%,
      rgba(180, 28, 32, 0.1) 18.4%,
      transparent 19%,
      transparent 28%,
      rgba(180, 28, 32, 0.08) 28.4%,
      transparent 29%,
      transparent 40%,
      rgba(180, 28, 32, 0.06) 40.4%,
      transparent 41%,
      transparent 56%,
      rgba(180, 28, 32, 0.045) 56.4%,
      transparent 57%
    ),
    radial-gradient(
      ellipse 32% 42% at 0% 22%,
      transparent 0%,
      transparent 22%,
      rgba(20, 20, 20, 0.045) 22.4%,
      transparent 23%,
      transparent 36%,
      rgba(20, 20, 20, 0.035) 36.4%,
      transparent 37%,
      transparent 54%,
      rgba(20, 20, 20, 0.025) 54.4%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 30% 38% at 8% 95%,
      transparent 0%,
      transparent 26%,
      rgba(20, 20, 20, 0.07) 26.4%,
      transparent 27%,
      transparent 44%,
      rgba(20, 20, 20, 0.05) 44.4%,
      transparent 45%,
      transparent 66%,
      rgba(20, 20, 20, 0.035) 66.4%,
      transparent 67%
    ),
    radial-gradient(
      ellipse 26% 32% at 92% 0%,
      transparent 0%,
      transparent 24%,
      rgba(180, 28, 32, 0.03) 24.4%,
      transparent 25%,
      transparent 42%,
      rgba(180, 28, 32, 0.022) 42.4%,
      transparent 43%,
      transparent 64%,
      rgba(180, 28, 32, 0.018) 64.4%,
      transparent 65%
    );
}

h1,
h2,
h3,
h4 {
  color: #0f0506;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

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

img {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 100;
  background: var(--red);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
}

.skip-link:focus {
  top: 16px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.padded {
  padding: 120px 0;
  position: relative;
}

.accent {
  color: var(--red);
}

/* ========= NAV ========= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(15, 15, 15, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.65s ease,
    visibility 0.65s ease;
}

.nav-logo.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-logo img {
  height: 64px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #0f0506;
}

.nav-cta {
  background: var(--red);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 10px;
  transition:
    background 0.2s,
    transform 0.15s;
  box-shadow: 0 4px 14px rgba(227, 6, 19, 0.25);
  white-space: nowrap;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--red-dark);
}


.nav-end {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #64748b;
  white-space: nowrap;
}

.lang-switch a {
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.lang-switch a:hover,
.lang-switch a:focus-visible {
  color: #0f0506;
}

.lang-switch [aria-current="page"] {
  color: #0f0506;
}

.lang-switch .sep {
  color: #94a3b8;
  font-weight: 400;
  opacity: 0.8;
}

/* ========= HERO ========= */
.hero {
  position: relative;
  padding: 20px 0 80px;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  text-align: center;
}

.hero-logo {
  margin: -28px auto -8px;
  width: 360px;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 40px rgba(15, 15, 15, 0.12))
    drop-shadow(0 0 60px rgba(227, 6, 19, 0.1));
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  display: inline-block;
}

h1 {
  font-size: clamp(40px, 6vw, 72px);
  max-width: 920px;
  margin: 0 auto 24px;
  text-wrap: balance;
}

.lead {
  font-size: clamp(18px, 1.6vw, 21px);
  color: #64748b;
  max-width: 640px;
  margin: 0 auto 40px;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  font-weight: 600;
  font-size: 16px;
  padding: 16px 28px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 6px 20px rgba(227, 6, 19, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(227, 6, 19, 0.32);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.7);
  color: #0f0506;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 28px;
  border-radius: 14px;
  border: 1px solid rgba(15, 15, 15, 0.12);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: #0f0506;
  color: #fff;
  border-color: #0f0506;
}

.trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
}

.trust-divider {
  width: 1px;
  height: 14px;
  background: rgba(15, 15, 15, 0.15);
}

/* Code window under the hero — general software-house feel, not a product demo */
.hero-stage {
  margin: 72px auto 0;
  max-width: 720px;
  position: relative;
}

.code-window {
  background: #0b1220;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow:
    0 30px 80px rgba(15, 15, 15, 0.22),
    0 0 40px rgba(227, 6, 19, 0.06);
  overflow: hidden;
  text-align: left;
}

.c-top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.d-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.d-dot.r {
  background: #ff5f56;
}
.d-dot.y {
  background: #ffbd2e;
}
.d-dot.g {
  background: #27c93f;
}

.c-title {
  margin-left: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}

.c-body {
  padding: 18px 20px 22px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  overflow-x: auto;
}

.c-line {
  display: flex;
  gap: 16px;
  white-space: pre;
  flex-wrap: nowrap;
}

.c-line > span:last-child {
  min-width: 0;
  white-space: pre;
}

.c-num {
  color: rgba(255, 255, 255, 0.25);
  width: 1.5em;
  text-align: right;
  flex-shrink: 0;
  user-select: none;
}

.kw {
  color: #c792ea;
}
.fn {
  color: #82aaff;
}
.str {
  color: #c3e88d;
}
.com {
  color: rgba(255, 255, 255, 0.35);
}
.num {
  color: #f78c6c;
}

/* ========= SECTIONS ========= */
.section-head {
  margin-bottom: 64px;
}

.section-head.center {
  text-align: center;
}

.section-title {
  font-size: clamp(32px, 4.5vw, 52px);
  margin-bottom: 16px;
  max-width: 720px;
  text-wrap: balance;
}

.section-head.center .section-title,
.section-head.center .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.section-sub {
  font-size: 18px;
  color: #64748b;
  max-width: 600px;
  line-height: 1.6;
  text-wrap: pretty;
}

/* ========= SERVICES ========= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 15, 15, 0.08);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.feature-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(227, 6, 19, 0.25);
  box-shadow:
    0 20px 50px rgba(15, 15, 15, 0.1),
    0 0 40px rgba(227, 6, 19, 0.06);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(227, 6, 19, 0.1);
  color: var(--red);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(227, 6, 19, 0.18);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}

/* ========= HOW WE WORK ========= */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.steps::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 32px;
  right: calc((100% - 72px) / 4 - 32px);
  height: 2px;
  background-image: linear-gradient(
    to right,
    rgba(15, 15, 15, 0.18) 50%,
    transparent 50%
  );
  background-size: 12px 2px;
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: left;
}

.step-num {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(227, 6, 19, 0.25);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 24px;
  box-shadow:
    0 10px 30px rgba(15, 15, 15, 0.08),
    inset 0 0 20px rgba(227, 6, 19, 0.04);
  backdrop-filter: blur(8px);
}

.step-icon {
  width: 32px;
  height: 32px;
  color: #0f0506;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}

/* ========= WHY + ABOUT ========= */
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.why-item {
  display: flex;
  gap: 18px;
}

.why-check {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(227, 6, 19, 0.1);
  color: var(--red);
  display: grid;
  place-items: center;
  margin-top: 2px;
  border: 1px solid rgba(227, 6, 19, 0.2);
}

.why-check svg {
  width: 14px;
  height: 14px;
}

.why-item h4 {
  font-size: 17px;
  margin-bottom: 4px;
  color: #0f0506;
}

.why-item p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}

.about-card {
  background: linear-gradient(135deg, #0f0506 0%, #2a0a0d 100%);
  color: var(--white);
  border-radius: 24px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(227, 6, 19, 0.2);
  box-shadow: 0 30px 80px rgba(15, 15, 15, 0.2);
}

.about-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(
    closest-side,
    rgba(227, 6, 19, 0.45),
    transparent 70%
  );
}

.about-card h3 {
  color: var(--white);
  font-size: 24px;
  margin-bottom: 16px;
  position: relative;
}

.about-card p {
  position: relative;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 14px;
}

.about-card p:last-of-type {
  margin-bottom: 28px;
}

.about-facts {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

.about-facts dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 4px;
}

.about-facts dd {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.about-facts dd .pct {
  color: var(--red);
}

/* ========= CTA ========= */
.cta {
  background: transparent;
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.cta-inner {
  position: relative;
}

.cta h2 {
  font-size: clamp(36px, 5vw, 60px);
  margin-bottom: 20px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.cta p {
  font-size: 18px;
  color: #64748b;
  max-width: 540px;
  margin: 0 auto 36px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-fine {
  margin-top: 16px;
  font-size: 13px;
  color: #64748b;
}

.cta-fine .sep {
  margin: 0 8px;
  opacity: 0.5;
}

.todo-note {
  margin: 28px auto 0;
  max-width: 520px;
  font-size: 13px;
  color: #64748b;
  background: rgba(227, 6, 19, 0.04);
  border: 1px dashed rgba(227, 6, 19, 0.35);
  border-radius: 12px;
  padding: 12px 16px;
  text-align: left;
}

.todo-note code {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  white-space: nowrap;
}

.todo-note strong {
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 11px;
  display: block;
  margin-bottom: 4px;
}

/* ========= FOOTER ========= */
footer {
  background: #0a0303;
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(227, 6, 19, 0.15);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  align-items: start;
}

.foot-brand {
  max-width: 340px;
}

.foot-brand img {
  height: 88px;
  width: auto;
  margin-bottom: 8px;
  display: block;
}

.foot-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

.foot-col h5 {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.foot-col a,
.foot-col span {
  display: block;
  font-size: 14px;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.15s;
}

.foot-col a:hover,
.foot-col a:focus-visible {
  color: var(--white);
}

.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(255, 255, 255, 0.5);
}

/* ========= RESPONSIVE ========= */
@media (max-width: 1000px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps::before {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 20px;
  }

  .padded,
  .cta {
    padding: 80px 0;
  }

  .hero {
    padding: 8px 0 56px;
  }

  .hero-logo {
    width: 240px;
    margin-top: -12px;
  }

  .hero-stage {
    margin-top: 48px;
  }

  .c-body {
    font-size: 11px;
  }

  .nav-logo img {
    height: 52px;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .trust-divider {
    display: none;
  }

  .trust {
    gap: 8px 20px;
  }

  .foot-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .features-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions a,
  .cta-actions a {
    justify-content: center;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}


/* ========= FEATURE CARDS AS LINKS ========= */
a.feature-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

a.feature-card:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.feature-more {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
}

/* ========= INNER / SERVICE PAGES ========= */
body.page-inner .nav-logo {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.page-hero {
  position: relative;
  padding: 56px 0 24px;
}

.page-hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  max-width: 860px;
  margin: 0 auto 20px;
  text-align: center;
}

.page-hero .lead {
  margin-bottom: 0;
  text-align: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 28px;
}

.breadcrumb a {
  color: #64748b;
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: #0f0506;
}

.breadcrumb .bc-sep {
  color: #94a3b8;
  font-weight: 400;
}

.prose-wrap {
  padding: 24px 0 80px;
}

.prose {
  max-width: 720px;
  margin: 0 auto;
}

.prose h2 {
  font-size: 28px;
  line-height: 1.2;
  margin: 48px 0 16px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  font-size: 17px;
  line-height: 1.7;
  color: #334155;
}

.prose p {
  margin-bottom: 16px;
}

.prose ul {
  margin: 0 0 16px 1.25em;
}

.prose li {
  margin-bottom: 8px;
}

.prose a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover,
.prose a:focus-visible {
  color: var(--red-dark);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.faq-list details {
  border: 1px solid rgba(15, 15, 15, 0.08);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  padding: 18px 22px;
  backdrop-filter: blur(12px);
}

.faq-list summary {
  font-weight: 650;
  font-size: 17px;
  color: #0f0506;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  letter-spacing: -0.01em;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--red);
  font-weight: 600;
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: #334155;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.related-grid a {
  display: block;
  padding: 20px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 15, 15, 0.08);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  backdrop-filter: blur(12px);
}

.related-grid a:hover,
.related-grid a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(227, 6, 19, 0.25);
  box-shadow: 0 12px 30px rgba(15, 15, 15, 0.08);
}

.related-grid h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.related-grid p {
  font-size: 14px;
  line-height: 1.5;
  color: #64748b;
  margin: 0;
}

@media (max-width: 900px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-hero {
    padding: 36px 0 8px;
  }

  .prose-wrap {
    padding: 16px 0 56px;
  }

  .prose h2 {
    font-size: 24px;
  }
}
