@import url("https://fonts.cdnfonts.com/css/stage-wander");
@import url("https://fonts.googleapis.com/css2?family=Reggae+One&family=Space+Grotesk:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap");

:root {
  --bg: #070709;
  --primary: #e10600;
  --primary-2: #ff2a1b;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.10);
  --max: 1240px;
  --radius: 14px;
  --section: 120px;
  --gap: 24px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.62);
  --glow: 0 0 0 1px rgba(225, 6, 0, 0.20), 0 0 56px rgba(225, 6, 0, 0.18);
  --glow-soft: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 44px rgba(0, 0, 0, 0.6);
  --gold-glow: 0 0 0 1px rgba(225, 6, 0, 0.18), 0 0 44px rgba(225, 6, 0, 0.12);
}

/* TECH STACK (samurai grid) */
.tech-stack {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  isolation: isolate;
}

/* Blend in/out to avoid hard seams with neighbors */
.tech-stack::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(to bottom, var(--bg), rgba(7, 7, 9, 0) 120px),
    linear-gradient(to top, var(--bg), rgba(7, 7, 9, 0) 160px);
  background-repeat: no-repeat;
  background-size: 100% 120px, 100% 160px;
  background-position: top, bottom;
}

.tech-stack .container {
  position: relative;
  z-index: 1;
}

.ts-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  margin-bottom: 18px;
  align-items: end;
}

.ts-head .section-kicker {
  margin-bottom: 14px;
}

.ts-sub {
  margin: 0;
  max-width: 54ch;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.60);
  justify-self: end;
}

.ts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ts-card {
  position: relative;
  overflow: hidden;
  min-height: 292px;
  border-radius: 18px;
  padding: 22px;
  background:
    radial-gradient(520px 320px at 20% 10%, rgba(255, 255, 255, 0.05), transparent 62%),
    linear-gradient(180deg, rgba(20, 20, 20, 0.92), rgba(10, 10, 10, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    transform 260ms cubic-bezier(0.2, 0.9, 0.2, 1),
    border-color 260ms ease,
    box-shadow 260ms ease;
  cursor: default;
}

.ts-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(135deg, transparent 0%, transparent 62%, rgba(229, 57, 57, 0.08) 100%);
  transition: opacity 260ms ease;
}

.ts-card:hover {
  transform: translateY(-3px);
  border-color: rgba(229, 57, 57, 0.38);
  box-shadow:
    0 34px 92px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(229, 57, 57, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.ts-card:hover::before {
  opacity: 1;
}

.ts-card-glow {
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  pointer-events: none;
  opacity: 0.28;
  background:
    radial-gradient(520px 320px at 30% 20%, rgba(229, 57, 57, 0.18), transparent 60%),
    radial-gradient(380px 260px at 78% 74%, rgba(229, 57, 57, 0.10), transparent 62%);
  filter: blur(0.2px);
}

.ts-card-header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 22px;
}

.ts-card-ic {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}

.ts-card-ic::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  pointer-events: none;
}

.ts-card-ic-border {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  pointer-events: none;
}

.ts-card-ic svg {
  width: 26px;
  height: 26px;
  display: block;
}

.ts-card-meta {
  text-align: right;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.ts-card-num {
  display: block;
  margin-bottom: 6px;
  color: rgba(229, 57, 57, 0.95);
  font-weight: 800;
}

.ts-card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: calc(100% - 76px);
}

.ts-card-label {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.ts-card-name {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
}

.ts-card-ver {
  margin: 0 0 auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.50);
}

.ts-card-desc {
  margin: 18px 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.58);
}

.ts-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(229, 57, 57, 0.95);
  box-shadow: 0 0 12px rgba(229, 57, 57, 0.35);
  flex: 0 0 auto;
}

.ts-pattern {
  position: absolute;
  right: -12px;
  bottom: -18px;
  width: 150px;
  height: 150px;
  opacity: 0.52;
  pointer-events: none;
  transition: opacity 260ms ease, transform 260ms ease;
  transform: translateZ(0);
}

.ts-card:hover .ts-pattern {
  opacity: 0.95;
}

@media (max-width: 1080px) {
  .ts-head {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
    margin-bottom: 12px;
  }
  .ts-sub {
    justify-self: start;
    max-width: 70ch;
  }
  .ts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ts-grid {
    grid-template-columns: 1fr;
  }
  .ts-card {
    min-height: 272px;
    padding: 20px;
  }
  .ts-card-name {
    font-size: 20px;
  }
}

.tech-stack::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(7, 7, 9, 0.52) 22%, rgba(7, 7, 9, 0.86) 100%),
    url("tech-stack-bg.png") center / cover no-repeat,
    radial-gradient(520px 520px at 22% 48%, rgba(225, 6, 0, 0.16), transparent 60%),
    radial-gradient(900px 700px at 12% 40%, rgba(255, 255, 255, 0.045), transparent 62%);
  opacity: 1;
  filter: none;
  pointer-events: none;
}

@media (max-width: 640px) {
  .tech-stack::before {
    background:
      linear-gradient(180deg, var(--bg) 0%, rgba(7, 7, 9, 0.44) 24%, rgba(7, 7, 9, 0.82) 100%),
      url("tech-stack-bg.png") 62% 20% / 170% no-repeat,
      radial-gradient(520px 520px at 22% 48%, rgba(225, 6, 0, 0.14), transparent 60%),
      radial-gradient(900px 700px at 12% 40%, rgba(255, 255, 255, 0.04), transparent 62%);
  }
}

/* NOTE: decorative ring moved to .tech-stack::before layers */

.tech-stack-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 52px;
  align-items: start;
}

.tech-stack-left {
  grid-column: 2;
  grid-row: 1;
  padding-top: 0;
}

.tech-stack-grid {
  grid-column: 1;
  grid-row: 1;
  padding-top: 0;
  margin-top: 0;
}

/* Tech stack: left visual centered */
.tech-stack-media {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  padding-top: 0;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.tech-stack-left-img {
  width: min(560px, 100%);
  height: auto;
  display: block;
  /* Remove baked-in light "checkerboard" by blending into dark bg */
  mix-blend-mode: multiply;
  filter:
    brightness(0.92)
    contrast(1.25)
    drop-shadow(0 26px 80px rgba(225, 6, 0, 0.12));
}

/* Tech stack: single image instead of cards */
.tech-stack-ring {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  place-items: center;
  width: min(560px, 100%);
  height: min(560px, 100vw);
  margin: 0;
  padding-top: 0;
}

.tech-stack-ring::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 155px; height: 155px;
  border-radius: 20px;
  border: 1px dashed rgba(225, 6, 0, 0.14);
  pointer-events: none;
}

.tech-stack-ring::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.45) 0%, rgba(225, 6, 0, 0.12) 45%, transparent 72%);
  pointer-events: none;
  filter: blur(28px);
  opacity: 0.65;
}

.stack-ring-card {
  grid-area: 1 / 1;
  position: relative;
  width: 155px;
  height: 155px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(150deg, rgba(22, 22, 28, 1) 0%, rgba(12, 12, 15, 1) 100%);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(225, 6, 0, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition:
    transform 280ms cubic-bezier(0.2, 0.9, 0.2, 1),
    box-shadow 280ms,
    border-color 280ms;
}

.stack-ring-card::before {
  content: "";
  position: absolute;
  top: 0; left: 18px; right: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(225, 6, 0, 0.65), transparent);
  pointer-events: none;
}

.stack-ring-card::after {
  content: "";
  position: absolute;
  bottom: 11px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(225, 6, 0, 0.80);
  box-shadow: 0 0 7px rgba(225, 6, 0, 0.45);
  pointer-events: none;
}

.stack-card-inner {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px 12px 20px;
  position: relative;
  z-index: 1;
  gap: 8px;
}

.stack-ring-idx {
  position: absolute;
  top: 10px;
  left: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  color: rgba(225, 6, 0, 0.72);
  letter-spacing: 0.08em;
}

.tech-stack .stack-card-ic {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.80);
  flex-shrink: 0;
}

.tech-stack .stack-card-ic svg {
  width: 22px;
  height: 22px;
  display: block;
}

.tech-stack .stack-card-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.stack-ring-card:hover,
.stack-ring-card:focus-visible {
  border-color: rgba(225, 6, 0, 0.32);
  box-shadow:
    0 14px 44px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(225, 6, 0, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.stack-ring-card:focus-visible { outline: none; }

/* 3-2-3 grid — no rotation, aligned rows */
.tech-stack-ring .stack-ring-card:nth-child(1) { transform: translate(-162px, -162px) !important; }
.tech-stack-ring .stack-ring-card:nth-child(2) { transform: translate(   0px, -162px) !important; }
.tech-stack-ring .stack-ring-card:nth-child(3) { transform: translate( 162px, -162px) !important; }
.tech-stack-ring .stack-ring-card:nth-child(4) { transform: translate(-162px,    0px) !important; }
.tech-stack-ring .stack-ring-card:nth-child(5) { transform: translate( 162px,    0px) !important; }
.tech-stack-ring .stack-ring-card:nth-child(6) { transform: translate(-162px,  162px) !important; }
.tech-stack-ring .stack-ring-card:nth-child(7) { transform: translate(   0px,  162px) !important; }
.tech-stack-ring .stack-ring-card:nth-child(8) { transform: translate( 162px,  162px) !important; }
.tech-stack-ring .stack-ring-card:nth-child(1):hover { transform: translate(-162px, -162px) scale(1.05) !important; }
.tech-stack-ring .stack-ring-card:nth-child(2):hover { transform: translate(   0px, -162px) scale(1.05) !important; }
.tech-stack-ring .stack-ring-card:nth-child(3):hover { transform: translate( 162px, -162px) scale(1.05) !important; }
.tech-stack-ring .stack-ring-card:nth-child(4):hover { transform: translate(-162px,    0px) scale(1.05) !important; }
.tech-stack-ring .stack-ring-card:nth-child(5):hover { transform: translate( 162px,    0px) scale(1.05) !important; }
.tech-stack-ring .stack-ring-card:nth-child(6):hover { transform: translate(-162px,  162px) scale(1.05) !important; }
.tech-stack-ring .stack-ring-card:nth-child(7):hover { transform: translate(   0px,  162px) scale(1.05) !important; }
.tech-stack-ring .stack-ring-card:nth-child(8):hover { transform: translate( 162px,  162px) scale(1.05) !important; }

.tech-stack-left .section-kicker {
  color: rgba(255, 255, 255, 0.38);
  position: relative;
  padding-left: 0;
  margin-bottom: 24px;
}

.tech-stack-left::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--primary);
  margin-bottom: 20px;
  border-radius: 2px;
}

.h2.tech-stack-title {
  margin-top: 0;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
}

.tech-stack-accent {
  color: var(--primary);
  font-style: normal;
}

.h2.tech-stack-title .tech-stack-accent {
  color: var(--primary) !important;
}

/* Hard override (some sections use filters/blend modes) */
.tech-stack .tech-stack-accent {
  color: var(--primary) !important;
}

.section#stack .tech-stack-title .tech-stack-accent {
  color: var(--primary);
  -webkit-text-fill-color: var(--primary);
}

.tech-stack-sub {
  margin-top: 10px;
  max-width: 40ch;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 500;
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.82);
}

.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

/* Stack tiles — same system as Integrations (rim, dot, glass, hover) */
.tech-stack .stack-card {
  height: 176px;
  padding: 22px 18px 18px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: center;
  align-content: center;
  text-align: center;
  background:
    radial-gradient(220px 180px at 50% 20%, rgba(255, 255, 255, 0.06), transparent 62%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.70), rgba(10, 10, 10, 0.40));
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(10px);
  transform: translateY(0) scale(1);
  transition:
    transform 260ms cubic-bezier(0.2, 0.9, 0.2, 1),
    box-shadow 260ms cubic-bezier(0.2, 0.9, 0.2, 1),
    border-color 260ms ease;
  will-change: transform;
}

.tech-stack .stack-card::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(225, 6, 0, 0.85), transparent);
  opacity: 0.9;
  pointer-events: none;
}

.tech-stack .stack-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 4px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(225, 6, 0, 0.95);
  box-shadow: 0 0 14px rgba(225, 6, 0, 0.22);
  opacity: 0.95;
  pointer-events: none;
}

.tech-stack .stack-card:hover,
.tech-stack .stack-card:focus-visible {
  transform: translateY(-3px) scale(1.03);
  border-color: rgba(225, 6, 0, 0.18);
  box-shadow: 0 34px 92px rgba(0, 0, 0, 0.58), 0 0 0 1px rgba(225, 6, 0, 0.10);
}

.tech-stack .stack-card:focus-visible {
  outline: none;
}

.tech-stack .stack-card-ic {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.26);
  color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  font-family: "Space Mono", monospace;
  font-weight: 700;
  margin: 0 0 12px;
  position: relative;
}

.tech-stack .stack-card-name {
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.86);
  position: relative;
}

/* =========================================================
   Tech Stack — Ring layout overrides (wins vs .tech-stack .stack-card)
   ========================================================= */
.tech-stack-ring {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  width: min(560px, 100%);
  height: min(600px, 107vw);
  margin: 0;
}

.tech-stack-ring::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 1px solid rgba(225, 6, 0, 0.22);
  pointer-events: none;
}

.tech-stack-ring::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(225, 6, 0, 0.55) 0%, rgba(225, 6, 0, 0.22) 38%, transparent 68%);
  pointer-events: none;
  filter: blur(22px);
  opacity: 0.75;
}

.tech-stack-ring .stack-ring-card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(calc(-50% + var(--tx, 0px)), calc(-50% + var(--ty, 0px))) rotate(var(--rot, 0deg));
  width: clamp(150px, 20vw, 182px);
  height: clamp(132px, 18vw, 156px);
  padding: 0;
  border-radius: 26px;
  border: 1px solid rgba(225, 6, 0, 0.34);
  background:
    radial-gradient(220px 180px at 50% 10%, rgba(255, 255, 255, 0.06), transparent 62%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.72), rgba(10, 10, 10, 0.40));
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.60),
    0 0 36px rgba(225, 6, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  clip-path: polygon(16% 4%, 84% 4%, 98% 28%, 92% 92%, 50% 100%, 8% 92%, 2% 28%);
  overflow: hidden;
}

.tech-stack-ring .stack-ring-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 28px;
  background: radial-gradient(120px 90px at 20% 18%, rgba(225, 6, 0, 0.22), transparent 60%);
  opacity: 0.75;
  pointer-events: none;
}

.tech-stack-ring .stack-card-inner {
  height: 100%;
  width: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  align-content: center;
  text-align: center;
  padding: 16px 14px 14px;
  position: relative;
  z-index: 1;
}

.tech-stack-ring .stack-ring-idx {
  position: absolute;
  top: 12px;
  left: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 800;
  color: rgba(225, 6, 0, 0.85);
  letter-spacing: 0.04em;
}

.tech-stack-ring .stack-ring-card:hover,
.tech-stack-ring .stack-ring-card:focus-visible {
  transform: translate(calc(-50% + var(--tx, 0px)), calc(-50% + var(--ty, 0px))) rotate(var(--rot, 0deg)) scale(1.04);
  border-color: rgba(225, 6, 0, 0.48);
  box-shadow:
    0 30px 86px rgba(0, 0, 0, 0.62),
    0 0 34px rgba(225, 6, 0, 0.12);
}

.tech-stack-ring .stack-ring-card:focus-visible { outline: none; }

.tech-stack-ring .stack-ring-card:nth-child(1) { --tx: -154px; --ty: -178px; --rot:  -6deg; }
.tech-stack-ring .stack-ring-card:nth-child(2) { --tx:    0px; --ty: -196px; --rot:   2deg; }
.tech-stack-ring .stack-ring-card:nth-child(3) { --tx:  154px; --ty: -178px; --rot:   6deg; }
.tech-stack-ring .stack-ring-card:nth-child(4) { --tx: -184px; --ty:    0px; --rot:  -9deg; }
.tech-stack-ring .stack-ring-card:nth-child(5) { --tx:  184px; --ty:    0px; --rot:   9deg; }
.tech-stack-ring .stack-ring-card:nth-child(6) { --tx: -154px; --ty:  178px; --rot:  -6deg; }
.tech-stack-ring .stack-ring-card:nth-child(7) { --tx:    0px; --ty:  196px; --rot:  -2deg; }
.tech-stack-ring .stack-ring-card:nth-child(8) { --tx:  154px; --ty:  178px; --rot:   6deg; }

@media (prefers-reduced-motion: reduce) {
  .tech-stack .stack-card {
    transition: none;
  }
  .tech-stack .stack-card:hover,
  .tech-stack .stack-card:focus-visible {
    transform: none;
  }
}

@media (max-width: 1080px) {
  .tech-stack-inner { grid-template-columns: 1fr; }
  .tech-stack-left { grid-column: auto; }
  .tech-stack-media { grid-column: auto; margin-top: 16px; min-height: 0; }
  .tech-stack-left-img { width: min(520px, 92%); }
  .tech-stack-left { min-height: 0; }
}

@media (max-width: 560px) {
  .tech-stack-ring {
    aspect-ratio: auto;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 8px 0 2px;
  }
  .tech-stack-ring::before,
  .tech-stack-ring::after { display: none; }
  .stack-ring-card {
    grid-area: auto;
    position: static;
    width: 100%;
    height: 150px;
    transform: none !important;
    clip-path: none;
    border-radius: 18px;
  }
  .stack-ring-card:hover,
  .stack-ring-card:focus-visible { transform: none !important; }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: radial-gradient(1200px 700px at 18% 10%, rgba(255, 255, 255, 0.06), transparent 55%),
    radial-gradient(900px 520px at 78% 22%, rgba(225, 6, 0, 0.10), transparent 52%),
    var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* Subtle film grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
  mix-blend-mode: overlay;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0 1px, rgba(0, 0, 0, 0.02) 1px 2px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.015) 0 1px, rgba(0, 0, 0, 0.015) 1px 3px);
}

main, header, footer {
  position: relative;
  z-index: 1;
}

/* Header enabled */

/* Fade blend between hero and next section (Tailwind-like) */
.hero {
  position: relative;
}

.fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 320px;
  background: linear-gradient(
    to bottom,
    rgba(7, 7, 9, 0) 0%,
    rgba(7, 7, 9, 0.18) 45%,
    var(--bg) 100%
  );
  pointer-events: none;
  z-index: 10;
}

.section-services {
  position: relative;
}

.fade-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(
    to bottom,
    var(--bg) 0%,
    rgba(7, 7, 9, 0.22) 55%,
    rgba(7, 7, 9, 0) 100%
  );
  pointer-events: none;
  z-index: 10;
}

/* Stronger top fade for About → Tech Stack seam */
.tech-stack .fade-top {
  height: 320px;
  position: absolute;
  background: transparent;
}

.tech-stack .fade-top::before {
  content: "";
  position: absolute;
  inset: -30px -20px 0;
  background: linear-gradient(
    to bottom,
    var(--bg) 0%,
    rgba(7, 7, 9, 0.34) 55%,
    rgba(7, 7, 9, 0) 100%
  );
  filter: blur(18px);
  opacity: 0.95;
  transform: translateZ(0);
}

@media (max-width: 640px) {
  /* Give the Tech Stack heading more breathing room */
  .tech-stack .container {
    padding-top: 26px;
  }
  .tech-stack .ts-head {
    margin-top: 12px;
  }

  /* Red divider line right above Tech Stack heading */
  .tech-stack .ts-head::before {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    border-radius: 999px;
    background: rgba(225, 6, 0, 0.92);
    box-shadow: 0 0 0 1px rgba(225, 6, 0, 0.22), 0 10px 28px rgba(225, 6, 0, 0.18);
    margin: 6px 0 18px;
  }
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* Services section as full-bleed background image */
.section-services {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.section-services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("services-bg.png") center / cover no-repeat;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.section-services::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(7,7,9,0.55) 0%, rgba(7,7,9,0.1) 30%, rgba(7,7,9,0.1) 70%, rgba(7,7,9,0.65) 100%),
    linear-gradient(to right, rgba(7,7,9,0.2) 0%, transparent 40%, rgba(7,7,9,0.2) 100%);
  pointer-events: none;
  z-index: 1;
}

.section-services > .container {
  position: relative;
  z-index: 2;
}

/* Ensure top fade doesn't push content visually */
.section-services .container {
  padding-top: 26px;
}

.section-services .grid-4 {
  align-items: stretch;
}

/* Process section background (3rd block) */
.section-process {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.section-process::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,7,9,0.92) 0%, rgba(7,7,9,0.55) 48%, rgba(7,7,9,0.18) 100%),
    url("case-how-it-works-bg.png") 22% center / cover no-repeat,
    radial-gradient(900px 600px at 60% 50%, rgba(225, 6, 0, 0.06), transparent 70%),
    radial-gradient(600px 400px at 20% 30%, rgba(255,255,255,0.03), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 640px) {
  /* Let the background art show through on mobile */
  .section-process::before {
    background:
      linear-gradient(90deg, rgba(7,7,9,0.82) 0%, rgba(7,7,9,0.42) 52%, rgba(7,7,9,0.10) 100%),
      url("case-how-it-works-bg.png") 18% center / 155% no-repeat,
      radial-gradient(900px 600px at 60% 50%, rgba(225, 6, 0, 0.05), transparent 70%),
      radial-gradient(600px 400px at 20% 30%, rgba(255,255,255,0.03), transparent 60%);
  }
}

.section-process::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(7,7,9,0.5) 0%, transparent 20%, transparent 80%, rgba(7,7,9,0.5) 100%);
  pointer-events: none;
  z-index: 1;
}

.section-process > .container {
  position: relative;
  z-index: 2;
}

.section-process .container {
  padding-top: 26px;
}

.text-gold {
  color: var(--primary);
}

.text-white {
  color: #fff;
}

.h1 {
  font-size: 64px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

.h2 {
  font-size: 40px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
}

.h3 {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0;
}

/* ── NAVBAR (reference style) ── */
.nav-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-inner {
  width: min(var(--max), calc(100% - 48px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
}

.logo-text {
  font-family: "Stage Wander", "Space Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 400;
  letter-spacing: 1px;
}

.logo-icon {
  font-size: 13px;
  color: var(--primary);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.panel-head-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.nav-lang--panel {
  flex: 0 0 auto;
}

.nav-lang {
  display: inline-flex;
  align-items: stretch;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.nav-lang-btn {
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 7px 11px;
  margin: 0;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.52);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-lang-btn:hover {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.06);
}

.nav-lang-btn.is-active {
  color: #fff;
  background: rgba(225, 6, 0, 0.26);
}

.btn-cta {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 20px;
  border-radius: 4px;
  font-family: "Space Grotesk", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.btn-cta:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ── KATANA BURGER ── */
.burger-katana {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  cursor: pointer;
  position: relative;
  z-index: 1001;
  background: none;
  border: none;
  padding: 2px 0;
}

.burger-katana .katana-icon {
  width: 44px;
  height: 44px;
  overflow: visible;
  filter: drop-shadow(0 0 6px rgba(255, 0, 0, 0.55));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.burger-katana:hover .katana-icon {
  transform: scale(1.05);
  filter: drop-shadow(0 0 9px rgba(255, 0, 0, 0.85));
}

.katana-icon .sword {
  transform-box: fill-box;
  transform-origin: center;
  filter: drop-shadow(0 0 6px rgba(255, 0, 0, 0.55));
}

/* ── OVERLAY ── */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  z-index: 900;
  pointer-events: none;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
.nav-overlay.active {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: all;
}

/* ── MENU PANEL ── */
.nav-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  height: 100vh;
  background: #0c0c0c;
  border-left: 1px solid rgba(255, 255, 255, 0.04);
  z-index: 950;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
}
.nav-panel.active { transform: translateX(0); }

.nav-panel::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.nav-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-45deg, transparent, transparent 14px, rgba(255, 255, 255, 0.006) 14px, rgba(255, 255, 255, 0.006) 15px);
  pointer-events: none;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 1;
}

.panel-logo {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  color: #333;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.panel-close {
  background: none;
  border: none;
  color: #333;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  font-weight: 300;
}
.panel-close:hover { color: var(--primary); }

@media (max-width: 640px) {
  .nav-fixed {
    height: 60px;
    padding: 0 16px;
  }

  .nav-inner {
    width: 100%;
  }

  .nav-right .btn-cta {
    display: none;
  }

  .nav-panel {
    width: 100vw;
  }

  .panel-header {
    padding: 18px 18px;
  }

  .menu-nav {
    padding: 28px 18px 22px;
  }

  .panel-footer {
    padding: 22px 18px;
  }

  .item-name {
    font-size: 20px;
  }
}

.menu-nav {
  padding: 48px 36px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  z-index: 1;
}

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  cursor: pointer;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.35s ease, transform 0.35s ease, color 0.2s;
  position: relative;
  overflow: hidden;
}

.menu-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--primary);
  transform: translateY(-50%);
  transition: width 0.3s ease;
}
.menu-item:hover::before { width: 24px; }
.menu-item:hover { color: #fff; padding-left: 36px; }

.nav-panel.active .menu-item { opacity: 1; transform: translateX(0); }
.nav-panel.active .menu-item:nth-child(1) { transition-delay: 0.07s; }
.nav-panel.active .menu-item:nth-child(2) { transition-delay: 0.12s; }
.nav-panel.active .menu-item:nth-child(3) { transition-delay: 0.17s; }
.nav-panel.active .menu-item:nth-child(4) { transition-delay: 0.22s; }
.nav-panel.active .menu-item:nth-child(5) { transition-delay: 0.27s; }
.nav-panel.active .menu-item:nth-child(6) { transition-delay: 0.32s; }

.menu-item.active-link { color: #fff; }
.menu-item.active-link .item-num { color: var(--primary); }

.item-left { display: flex; align-items: baseline; gap: 20px; }
.item-num {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  color: #222;
  letter-spacing: 1px;
  min-width: 20px;
  transition: color 0.2s;
}
.menu-item:hover .item-num { color: var(--primary); }

.item-name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.3px;
  line-height: 1;
}

.item-arrow {
  font-size: 12px;
  color: #222;
  transition: transform 0.2s, color 0.2s;
  font-family: "Space Mono", monospace;
}
.menu-item:hover .item-arrow { transform: translateX(4px); color: var(--primary); }

.panel-footer {
  padding: 28px 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease 0.42s, transform 0.35s ease 0.42s;
}
.nav-panel.active .panel-footer { opacity: 1; transform: translateY(0); }

.footer-cta {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 14px 24px;
  border-radius: 4px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.footer-cta:hover { opacity: 0.85; }

.panel-lang {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.panel-lang-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.36);
  white-space: nowrap;
}

.footer-contacts {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.footer-contacts a {
  font-size: 10px;
  color: #2a2a2a;
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-contacts a:hover { color: #888; }

/* Push page content below fixed nav */
main { padding-top: 64px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 18px;
  font-family: "Space Grotesk", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.94);
  background: transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

/* Samurai-style primary button (brush red) */
.btn-primary {
  background: var(--primary);
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: 0 0 0 1px rgba(225, 6, 0, 0.22), 0 18px 44px rgba(0, 0, 0, 0.45);
  color: #fff;
}

/* Square red button for header / icon CTAs */
.btn-square {
  width: 44px;
  height: 40px;
  padding: 0;
  border-radius: 10px;
}

.btn-square-ic {
  font-size: 14px;
  line-height: 1;
  opacity: 0.95;
}

.btn-outline {
  background: rgba(0, 0, 0, 0.14);
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-primary:hover {
  background: #ff2a2a;
  box-shadow: 0 0 0 1px rgba(255, 42, 42, 0.30), 0 20px 52px rgba(0, 0, 0, 0.5);
}

.btn-outline:hover {
  border-color: rgba(225, 6, 0, 0.28);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(225, 6, 0, 0.12), 0 18px 44px rgba(0, 0, 0, 0.42);
}

/* HERO — gritty samurai full-bleed */
.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  background:
    radial-gradient(800px 520px at 28% 22%, rgba(255, 255, 255, 0.06), transparent 55%),
    radial-gradient(900px 600px at 72% 20%, rgba(225, 6, 0, 0.16), transparent 55%),
    linear-gradient(to bottom, rgba(7, 7, 9, 0.65), rgba(7, 7, 9, 0.96));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("hero-full.png");
  background-size: cover;
  background-position: 60% 35%;
  opacity: 0.42;
  filter: contrast(1.05) saturate(0.9);
  mix-blend-mode: normal;
  pointer-events: none;
  transform: scale(1.04);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 680px at 28% 38%, rgba(0, 0, 0, 0.68), transparent 62%),
    radial-gradient(1200px 820px at 72% 30%, rgba(0, 0, 0, 0.60), transparent 62%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.70), rgba(0, 0, 0, 0.92));
  pointer-events: none;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  opacity: 0.82;
}

.hero-layout {
  padding-top: 24px;
  padding-bottom: 76px;
}

.hero .h1 {
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 850;
}

.text-gold {
  color: var(--primary);
  text-shadow: 0 0 28px rgba(225, 6, 0, 0.22);
}

.metrics .metric-card {
  background: rgba(0, 0, 0, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: var(--glow-soft);
}

.metrics .metric-card:hover {
  border-color: rgba(225, 6, 0, 0.28);
  box-shadow: var(--glow);
}

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

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 10px 14px;
  font-size: 13px;
}

.btn-arrow {
  transition: transform 0.22s ease;
}

.btn-arrowed:hover .btn-arrow {
  transform: translateX(4px);
}

/* HERO (image on entire block) */
.hero {
  position: relative;
  padding: 84px 0 0;
  overflow: hidden;
  background: url("hero-3d.png") right center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 34%, rgba(11, 11, 13, 0.15), rgba(11, 11, 13, 0.92) 58%),
    linear-gradient(90deg, rgba(11, 11, 13, 0.94) 0%, rgba(11, 11, 13, 0.88) 38%, rgba(11, 11, 13, 0.44) 72%, rgba(11, 11, 13, 0.22) 100%);
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-particles span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(225, 6, 0, 0.92);
  box-shadow: 0 0 24px rgba(225, 6, 0, 0.55);
  animation: floatParticle 9s ease-in-out infinite;
}

.hero-particles span:nth-child(1) { top: 22%; left: 56%; }
.hero-particles span:nth-child(2) { top: 34%; left: 78%; animation-delay: -2s; }
.hero-particles span:nth-child(3) { top: 58%; left: 66%; animation-delay: -4s; }
.hero-particles span:nth-child(4) { top: 18%; left: 88%; animation-delay: -1s; }
.hero-particles span:nth-child(5) { top: 72%; left: 84%; animation-delay: -6s; }

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
  min-height: calc(100vh - 140px);
  padding-bottom: 36px;
}

.hero-left {
  max-width: 760px;
}

.page-hero {
  padding: 120px 0 70px;
  background:
    radial-gradient(circle at 20% 30%, rgba(225, 6, 0, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.page-hero .section-intro {
  max-width: 66ch;
  color: var(--muted);
  line-height: 1.75;
}

.case-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 120% 80% at 85% 0%, rgba(225, 6, 0, 0.14), transparent 50%),
    radial-gradient(circle at 12% 40%, rgba(225, 6, 0, 0.08), transparent 38%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 18px,
      rgba(225, 6, 0, 0.04) 18px,
      rgba(225, 6, 0, 0.04) 19px
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
}

/* Case-specific hero art */
.case-ai-sales .case-hero {
  background:
    radial-gradient(ellipse 120% 80% at 85% 0%, rgba(225, 6, 0, 0.14), transparent 50%),
    radial-gradient(circle at 12% 40%, rgba(225, 6, 0, 0.08), transparent 38%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.62) 55%, rgba(0, 0, 0, 0.35)),
    url("case-ai-sales-bg.png") right center / cover no-repeat,
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 18px,
      rgba(225, 6, 0, 0.04) 18px,
      rgba(225, 6, 0, 0.04) 19px
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
}

.case-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(225, 6, 0, 0.06), transparent 45%);
  pointer-events: none;
}

.case-hero .container {
  position: relative;
  z-index: 1;
}

/* Case hero: breadcrumb + oversized metric */
.case-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.case-breadcrumb-link {
  color: rgba(255, 255, 255, 0.52);
  text-decoration: none;
  transition: color 0.2s ease;
}

.case-breadcrumb-link:hover {
  color: var(--primary-2);
}

.case-breadcrumb-sep {
  opacity: 0.55;
  font-weight: 600;
}

.case-breadcrumb-current {
  color: rgba(255, 255, 255, 0.72);
}

.case-hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 0 0 18px;
  max-width: 920px;
}

.case-hero-line {
  display: block;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.2;
}

.case-hero-metric {
  display: block;
  font-size: clamp(3rem, 10vw, 5.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  text-shadow: 0 0 48px rgba(225, 6, 0, 0.35);
}

.page-hero.case-hero .h1.case-hero-title {
  font-size: unset;
  line-height: 1.1;
  text-transform: none;
  letter-spacing: normal;
}

.kicker {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.52);
  margin: 0 0 18px;
}

.hero-body {
  max-width: 54ch;
  color: var(--muted);
  line-height: 1.7;
  margin: 18px 0 26px;
}

.social-proof {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.stars {
  color: var(--primary);
  letter-spacing: 0.08em;
  text-shadow: 0 0 20px rgba(225, 6, 0, 0.28);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.metrics {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.metric-card {
  border-radius: var(--radius);
  background: rgba(17, 17, 21, 0.86);
  border: 1px solid var(--border);
  padding: 18px 18px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.metric-ic {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--primary);
  margin-bottom: 12px;
}

.metric-ic svg {
  width: 28px;
  height: 28px;
}



.metric-card:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 6, 0, 0.2);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.42), 0 0 44px rgba(225, 6, 0, 0.12);
}

.metric-value {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.metric-note {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.58);
}

.trust-bar {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
}

.trust-bar strong {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
  letter-spacing: -0.02em;
}

@keyframes floatParticle {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.45; }
  50% { transform: translate3d(10px, -18px, 0); opacity: 1; }
}

/* Sections */
.section {
  padding: var(--section) 0;
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
}

.section-kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.5);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
  display: flex;
  flex-direction: column;
}

a.card {
  display: block;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 6, 0, 0.22);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.4), 0 0 44px rgba(225, 6, 0, 0.12);
}

.card-ic {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: transparent;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 1px rgba(225, 6, 0, 0.10), 0 16px 40px rgba(0, 0, 0, 0.35);
}

.card-ic svg { width: 26px; height: 26px; }

.card-ic::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  background: radial-gradient(32px 26px at 30% 30%, rgba(225, 6, 0, 0.22), transparent 62%);
  opacity: 0.6;
  pointer-events: none;
}

.card-ic::before {
  content: "";
  width: 26px;
  height: 26px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  transform-origin: 50% 50%;
  background: var(--primary);
  -webkit-mask-image: url("shuriken.png");
  mask-image: url("shuriken.png");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  animation: shurikenSpin 6s linear infinite;
  filter: drop-shadow(0 0 10px rgba(225, 6, 0, 0.35));
}

.card:hover .card-ic::before {
  animation-duration: 1.4s;
}

.card:active .card-ic::before {
  animation-duration: 0.9s;
}

@keyframes shurikenSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.card .h3 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.65;
  font-size: 14px;
}

.mini-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  margin-top: auto;
}

.mini-list li {
  position: relative;
  padding-left: 16px;
}

.mini-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 14px rgba(225, 6, 0, 0.42);
}

/* Services cards: more air between title, body and bullet list */
.section-services .card {
  gap: 16px;
}

.section-services .card .h3 {
  margin-bottom: 0;
}

.section-services .card > p {
  margin: 0;
}

.section-services .mini-list {
  gap: 10px;
}

.section-services .card .card-ic {
  margin-bottom: 0;
}

/* Process */
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--gap);
}

.timeline-steps {
  position: relative;
}

.timeline-steps::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 38px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(225, 6, 0, 0.42), transparent);
}

.step {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  padding: 18px 18px;
  display: grid;
  gap: 14px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.step-ic {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: rgba(225, 6, 0, 0.95);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.step-title {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.step-note {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 12px;
}

/* Cases */
.case-list {
  display: grid;
  gap: var(--gap);
}

.case-card {
  position: relative;
  display: grid;
  grid-template-columns: 320px 1fr auto;
  gap: 18px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 18px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.case-card:hover {
  transform: translateY(-2px);
  border-color: rgba(225, 6, 0, 0.18);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.42), 0 0 44px rgba(225, 6, 0, 0.1);
}

.case-media {
  height: 120px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 30% 30%, rgba(225, 6, 0, 0.16), transparent 58%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.case-card-lg .case-media {
  min-height: 160px;
}

.case-media-sales {
  background:
    radial-gradient(circle at 70% 35%, rgba(225, 6, 0, 0.28), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.case-media-support {
  background:
    radial-gradient(circle at 35% 35%, rgba(225, 6, 0, 0.24), transparent 46%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
}

.case-media-crm {
  background:
    radial-gradient(circle at 50% 55%, rgba(225, 6, 0, 0.22), transparent 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.case-title {
  font-weight: 750;
  letter-spacing: -0.02em;
}

.case-sub {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.case-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.case-metrics span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(225, 6, 0, 0.08);
  border: 1px solid rgba(225, 6, 0, 0.14);
  color: rgba(225, 6, 0, 0.95);
  font-size: 12px;
}

.case-reveal {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.55;
  transition: max-height 0.28s ease, opacity 0.28s ease, margin 0.28s ease;
}

.case-card:hover .case-reveal {
  max-height: 80px;
  opacity: 1;
  margin-top: 10px;
}

.logo-grid,
.integration-grid,
.pricing-grid,
.insight-grid {
  display: grid;
  gap: var(--gap);
}

.logo-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.logo-grid span,
.integration-card,
.price-card,
.insight-card,
a.insight-card,
.faq-list details {
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.logo-grid span {
  padding: 22px;
  text-align: center;
  font-weight: 750;
  color: rgba(255, 255, 255, 0.74);
}

.logo-grid span:hover,
.integration-card:hover,
.price-card:hover,
.insight-card:hover,
a.insight-card:hover,
.faq-list details:hover {
  border-color: rgba(225, 6, 0, 0.18);
  box-shadow: var(--gold-glow);
}

.section-head {
  display: flex;
  flex-direction: column;
}

.section-head::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--primary);
  margin-bottom: 20px;
  border-radius: 2px;
}

.section-head .section-kicker {
  margin-bottom: 20px;
}

.section-head .h2 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
}

.section#faq .section-head .h2 .faq-accent {
  color: var(--primary);
}

.section-head .h2 .text-gold {
  color: var(--primary);
}

.section#pricing .section-head .h2 .text-gold {
  color: var(--primary);
}

.section#integrations .section-head .h2 .text-gold {
  color: var(--primary);
}

.section#cases .section-head .h2 .text-gold {
  color: var(--primary);
}

.section#services .section-head .h2 .text-gold {
  color: var(--primary);
}

.section-pricing .price-list .text-gold {
  color: var(--primary);
}

.section-head .section-sub {
  margin: 12px 0 0;
  max-width: 46ch;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

/* Integrations section as full-bleed background image */
.section-integrations {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.section-integrations::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("integrations-bg.png") center / cover no-repeat;
  opacity: 0.72;
  pointer-events: none;
  z-index: 0;
}

.section-integrations::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(7,7,9,0.72) 0%, rgba(7,7,9,0.22) 28%, rgba(7,7,9,0.22) 72%, rgba(7,7,9,0.78) 100%),
    radial-gradient(700px 520px at 68% 48%, rgba(225, 6, 0, 0.08), transparent 62%);
  pointer-events: none;
  z-index: 1;
}

.section-integrations > .container {
  position: relative;
  z-index: 2;
}

.section-pricing {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.section-pricing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("pricing-bg.png") center / cover no-repeat;
  opacity: 0.72;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 640px) {
  /* Reveal mountain + sun composition on mobile */
  .section-pricing::before {
    background: url("pricing-bg.png") 56% 28% / 170% no-repeat;
    opacity: 0.78;
  }
}

.section-pricing::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(7,7,9,0.74) 0%, rgba(7,7,9,0.26) 30%, rgba(7,7,9,0.26) 70%, rgba(7,7,9,0.82) 100%),
    radial-gradient(700px 520px at 35% 45%, rgba(225, 6, 0, 0.08), transparent 62%);
  pointer-events: none;
  z-index: 1;
}

.section-pricing > .container {
  position: relative;
  z-index: 2;
}

.section#faq {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.section#faq::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Shift artwork down so the sun is visible */
  background: url("faq-bg.png") 50% 70% / cover no-repeat;
  opacity: 0.72;
  pointer-events: none;
  z-index: 0;
}

.section#faq::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(7,7,9,0.78) 0%, rgba(7,7,9,0.34) 26%, rgba(7,7,9,0.34) 74%, rgba(7,7,9,0.86) 100%),
    radial-gradient(720px 540px at 60% 45%, rgba(225, 6, 0, 0.08), transparent 62%);
  pointer-events: none;
  z-index: 1;
}

.section#faq > .container {
  position: relative;
  z-index: 2;
  padding-top: 44px;
}

.section.section-insights {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.section.section-insights::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: min(720px, 84vw);
  height: min(420px, 52vw);
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
  background:
    radial-gradient(520px 420px at 72% 58%, rgba(255, 49, 49, 0.18), transparent 62%),
    radial-gradient(520px 520px at 68% 72%, rgba(255, 255, 255, 0.06), transparent 62%),
    repeating-linear-gradient(
      135deg,
      rgba(255, 49, 49, 0.22) 0px,
      rgba(255, 49, 49, 0.22) 1px,
      rgba(255, 255, 255, 0) 1px,
      rgba(255, 255, 255, 0) 14px
    ),
    radial-gradient(520px 520px at 62% 55%, rgba(255, 255, 255, 0.06), transparent 62%);
  mask-image: radial-gradient(closest-side at 70% 65%, #000 0%, transparent 72%);
}

.section.section-insights::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  /* No bottom darkening — keeps seam with #contact flush with --bg (same as FAQ→insights). */
  background: radial-gradient(900px 520px at 18% 92%, rgba(255, 49, 49, 0.10), transparent 62%);
}

/* Homepage only: tighter rhythm between insights and embedded #contact (no extra “divider” band) */
body.home .section#insights {
  padding-bottom: 72px;
}

.section#insights + .section.contact-page {
  padding-top: 32px;
}

/* Homepage: bottom overlay on insights reads as a horizontal rule above #contact — remove at seam */
body.home .section#insights.section-insights::after {
  display: none;
}

/* Homepage: gradient rim on .contact-shell still draws a hairline at the top edge — turn off */
body.home #contact.contact-page .contact-shell::before {
  opacity: 0;
}

/* Homepage: softer shell stroke so top/side edge doesn’t read as a grey line against --bg */
body.home #contact.contact-page .contact-shell {
  border-top: none;
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 24px 88px rgba(0, 0, 0, 0.52);
}

.section.section-insights > .container {
  position: relative;
  z-index: 2;
}

.section.section-insights .insights-ai {
  color: #ff3131;
}

.section.section-insights .section-head .section-sub {
  margin-top: 14px;
}

.section.section-insights .insight-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.section.section-insights a.insight-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 0;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 0 40px rgba(255, 0, 0, 0.15);
  backdrop-filter: none;
  overflow: hidden;
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 280ms ease,
    box-shadow 280ms ease,
    background 280ms ease;
}

.section.section-insights a.insight-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow:
    0 0 0 1px rgba(255, 49, 49, 0.18),
    0 0 46px rgba(255, 49, 49, 0.16),
    0 22px 70px rgba(0, 0, 0, 0.55);
}

.section.section-insights .insight-art {
  height: 172px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(520px 240px at 40% 35%, rgba(255, 49, 49, 0.14), transparent 62%),
    linear-gradient(180deg, rgba(12, 12, 14, 0.92), rgba(12, 12, 14, 0.55));
}

.section.section-insights .insight-card--a .insight-art {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.78)),
    url("insight-card-1.png") 50% 45% / cover no-repeat;
}

.section.section-insights .insight-card--a .insight-art::before {
  content: none;
}

.section.section-insights .insight-card--b .insight-art {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.30), rgba(0, 0, 0, 0.82)),
    url("insight-card-2.png") 50% 52% / cover no-repeat;
}

.section.section-insights .insight-card--b .insight-art::before {
  content: none;
}

.section.section-insights .insight-card--c .insight-art {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.84)),
    url("insight-card-3.png") 50% 48% / cover no-repeat;
}

.section.section-insights .insight-card--c .insight-art::before {
  content: none;
}

.section.section-insights .insight-body {
  padding: 18px 20px 10px;
  display: grid;
  gap: 10px;
}

.section.section-insights .insight-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.section.section-insights .insight-kind {
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 800;
  text-transform: uppercase;
  color: #ff3131;
}

.section.section-insights .insight-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.46);
  white-space: nowrap;
}

.section.section-insights .insight-title {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section.section-insights .insight-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.section.section-insights .insight-foot {
  padding: 14px 20px 18px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section.section-insights .insight-more {
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 800;
  text-transform: uppercase;
  color: #ff3131;
}

.section.section-insights .insights-actions {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

.section.section-insights .insights-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 49, 49, 0.35);
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.section.section-insights .insights-all:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 49, 49, 0.55);
  box-shadow: 0 0 46px rgba(255, 49, 49, 0.18);
}

@media (max-width: 980px) {
  .section.section-insights .insight-grid {
    grid-template-columns: 1fr;
  }

  .section.section-insights .insight-meta {
    white-space: normal;
    text-align: right;
  }
}

.section-pricing .section-sub {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.38;
  margin-top: 10px;
}

.section-pricing .pricing-grid {
  margin-top: 20px;
  gap: 26px;
  align-items: stretch;
}

.section-pricing .price-card {
  position: relative;
  height: 100%;
  padding: 30px 26px 34px;
  border-radius: 18px;
  background:
    radial-gradient(260px 200px at 50% 18%, rgba(255,255,255,0.06), transparent 62%),
    linear-gradient(180deg, rgba(10,10,10,0.66), rgba(10,10,10,0.38));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 30px 86px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  min-height: 420px;
  overflow: visible;
  transform: translateY(0);
  transition: transform 260ms cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 260ms ease, border-color 260ms ease;
  --rim-a: 0.55;
  --rim-b: 0.22;
  animation: pricingRimPulse 3.2s ease-in-out infinite;
}

.section-pricing .price-card-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.section-pricing .price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(380px 240px at 0% 35%, rgba(225, 6, 0, 0.10), transparent 62%),
    radial-gradient(320px 240px at 100% 20%, rgba(255, 255, 255, 0.05), transparent 60%),
    linear-gradient(90deg, rgba(255,255,255,0.04), transparent 24%, transparent 76%, rgba(255,255,255,0.03));
  opacity: 0.85;
  pointer-events: none;
}

.section-pricing .price-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 360px;
  height: 56px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(225, 6, 0, 0.62), rgba(225, 6, 0, 0));
  opacity: 0.18;
  filter: blur(2px);
  pointer-events: none;
  transition: opacity 260ms ease, transform 260ms ease, filter 260ms ease;
  animation: pricingFloorPulse 3.2s ease-in-out infinite;
}

.section-pricing .price-card:hover::after,
.section-pricing .price-card:focus-within::after {
  opacity: 0.75;
  animation-play-state: paused;
}

.section-pricing .price-card:hover,
.section-pricing .price-card:focus-within {
  --rim-a: 0.72;
  --rim-b: 0.32;
  animation: none;
  transform: translateY(-4px);
  border-color: rgba(225, 6, 0, 0.52);
  box-shadow:
    0 44px 140px rgba(0, 0, 0, 0.66),
    0 0 0 1px rgba(225, 6, 0, 0.22),
    0 0 66px rgba(225, 6, 0, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.section-pricing .price-card:hover::before,
.section-pricing .price-card:focus-within::before {
  opacity: 1;
  animation: none;
  background:
    radial-gradient(520px 340px at 50% 40%, rgba(225, 6, 0, 0.16), transparent 64%),
    radial-gradient(240px 180px at 50% 0%, rgba(255, 255, 255, 0.05), transparent 62%),
    linear-gradient(90deg, rgba(225, 6, 0, 0.08), transparent 22%, transparent 78%, rgba(225, 6, 0, 0.07));
}

.section-pricing .price-card.is-featured:hover::before,
.section-pricing .price-card.is-featured:focus-within::before {
  /* Keep hover glow consistent with non-featured cards */
  background:
    radial-gradient(520px 340px at 50% 40%, rgba(225, 6, 0, 0.11), transparent 64%),
    radial-gradient(240px 180px at 50% 0%, rgba(255, 255, 255, 0.05), transparent 62%),
    linear-gradient(90deg, rgba(225, 6, 0, 0.06), transparent 22%, transparent 78%, rgba(225, 6, 0, 0.05));
}

.section-pricing .price-card.is-featured:hover::before,
.section-pricing .price-card.is-featured:focus-within::before {
  opacity: 1;
  animation: none;
  background:
    radial-gradient(520px 340px at 50% 40%, rgba(225, 6, 0, 0.48), transparent 64%),
    radial-gradient(240px 180px at 50% 0%, rgba(255, 255, 255, 0.06), transparent 62%),
    linear-gradient(90deg, rgba(225, 6, 0, 0.22), transparent 22%, transparent 78%, rgba(225, 6, 0, 0.20));
}

.section-pricing .price-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(225, 6, 0, 0.35);
  background: rgba(0, 0, 0, 0.22);
  color: rgba(225, 6, 0, 0.92);
  font-family: "Space Mono", monospace;
  font-weight: 700;
  margin-bottom: 18px;
  box-shadow: 0 0 0 1px rgba(225, 6, 0, 0.08);
}

.section-pricing .price-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.section-pricing .price-name {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.9);
}

.section-pricing .price-tag {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(225, 6, 0, 0.85);
  opacity: 0.55;
  transition: opacity 260ms ease;
}

.section-pricing .price-divider {
  height: 1px;
  margin: 14px 0 14px;
  background: linear-gradient(90deg, transparent, rgba(225, 6, 0, 0.35), transparent);
  opacity: 0.9;
}

.section-pricing .price-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
  align-content: start;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.25;
  flex: 1 1 auto;
}

.section-pricing .price-list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  column-gap: 10px;
  align-items: start;
}

.section-pricing .price-list li::before {
  content: "";
  width: 6px;
  height: 2px;
  grid-column: 1;
  margin-top: 0.62em;
  justify-self: center;
  background: rgba(225, 6, 0, 0.85);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(225, 6, 0, 0.18);
}

.section-pricing .price-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.86);
  text-transform: uppercase;
}

.section-pricing .price-cta span {
  color: rgba(225, 6, 0, 0.95);
  letter-spacing: 0;
}

.section-pricing .price-card.is-featured {
  border-color: rgba(225, 6, 0, 0.52);
  --rim-a: 0.82;
  --rim-b: 0.34;
  animation: none;
}

.section-pricing .price-card.is-featured::before {
  background:
    radial-gradient(380px 240px at 0% 35%, rgba(225, 6, 0, 0.10), transparent 62%),
    radial-gradient(320px 240px at 100% 20%, rgba(255, 255, 255, 0.05), transparent 60%),
    linear-gradient(90deg, rgba(255,255,255,0.04), transparent 24%, transparent 76%, rgba(255,255,255,0.03));
  animation: none;
}

@keyframes featuredInnerGlow {
  0%, 100% {
    opacity: 0.7;
    background:
      radial-gradient(500px 320px at 50% 50%, rgba(225, 6, 0, 0.02), transparent 65%),
      radial-gradient(320px 240px at 100% 20%, rgba(255, 255, 255, 0.05), transparent 60%),
      linear-gradient(90deg, rgba(255,255,255,0.04), transparent 24%, transparent 76%, rgba(255,255,255,0.03));
  }
  50% {
    opacity: 1;
    background:
      radial-gradient(500px 320px at 50% 50%, rgba(225, 6, 0, 0.05), transparent 65%),
      radial-gradient(320px 240px at 100% 20%, rgba(255, 255, 255, 0.05), transparent 60%),
      linear-gradient(90deg, rgba(255,255,255,0.04), transparent 24%, transparent 76%, rgba(255,255,255,0.03));
  }
}

.section-pricing .price-card.is-featured::after {
  opacity: 0.3;
  animation: none;
}

.section-pricing .price-card.is-featured:hover .price-tag,
.section-pricing .price-card.is-featured:focus-within .price-tag {
  opacity: 1;
}

@keyframes pricingRimPulseFeatured {
  0%,
  100% {
    box-shadow:
      0 30px 86px rgba(0, 0, 0, 0.55),
      0 0 0 1px rgba(225, 6, 0, 0.50),
      0 0 40px rgba(225, 6, 0, 0.28),
      0 0 80px rgba(225, 6, 0, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  }
  50% {
    box-shadow:
      0 30px 86px rgba(0, 0, 0, 0.55),
      0 0 0 1px rgba(225, 6, 0, 0.90),
      0 0 60px rgba(225, 6, 0, 0.55),
      0 0 120px rgba(225, 6, 0, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  }
}

@keyframes pricingRimPulse {
  0%,
  100% {
    box-shadow:
      0 30px 86px rgba(0, 0, 0, 0.55),
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  }
  50% {
    box-shadow:
      0 30px 86px rgba(0, 0, 0, 0.55),
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      inset 0 0 0 1px rgba(255, 255, 255, 0.04),
      0 0 0 1px rgba(225, 6, 0, calc(var(--rim-b) * 0.35)),
      0 0 46px rgba(225, 6, 0, calc(var(--rim-a) * 0.10));
  }
}

@keyframes pricingFloorPulse {
  0%,
  100% {
    opacity: 0.14;
    transform: translateX(-50%) scaleX(1);
  }
  50% {
    opacity: 0.26;
    transform: translateX(-50%) scaleX(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-pricing .price-card {
    animation: none;
  }
  .section-pricing .price-card::after {
    animation: none;
    opacity: 0.16;
  }
}

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

.integration-card {
  min-height: 96px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 750;
}

/* Integrations cards — match reference tiles */
.section-integrations .integration-grid {
  gap: 22px;
}

.section-integrations .integration-card {
  height: 176px;
  padding: 22px 18px 18px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: center;
  align-content: center;
  text-align: center;
  background: radial-gradient(220px 180px at 50% 20%, rgba(255,255,255,0.06), transparent 62%),
    linear-gradient(180deg, rgba(10,10,10,0.70), rgba(10,10,10,0.40));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(10px);
  transform: translateY(0) scale(1);
  transition:
    transform 260ms cubic-bezier(0.2, 0.9, 0.2, 1),
    box-shadow 260ms cubic-bezier(0.2, 0.9, 0.2, 1),
    border-color 260ms ease;
  will-change: transform;
}

.section-integrations .integration-card::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(225, 6, 0, 0.85), transparent);
  opacity: 0.9;
  pointer-events: none;
}

.section-integrations .integration-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 4px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(225, 6, 0, 0.95);
  box-shadow: 0 0 14px rgba(225, 6, 0, 0.22);
  opacity: 0.95;
  pointer-events: none;
}

.section-integrations .integration-card:hover,
.section-integrations .integration-card:focus-visible {
  transform: translateY(-3px) scale(1.03);
  border-color: rgba(225, 6, 0, 0.18);
  box-shadow: 0 34px 92px rgba(0, 0, 0, 0.58), 0 0 0 1px rgba(225, 6, 0, 0.10);
}

.section-integrations .integration-card:focus-visible {
  outline: none;
}

.section-integrations .integration-ic {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.26);
  color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  margin-bottom: 12px;
}

.section-integrations .integration-ic svg {
  width: 22px;
  height: 22px;
}

.section-integrations .integration-name {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 18px; /* space above bottom dot */
}

@media (prefers-reduced-motion: reduce) {
  .section-integrations .integration-card {
    transition: none;
  }
  .section-integrations .integration-card:hover,
  .section-integrations .integration-card:focus-visible {
    transform: none;
  }
}

.pricing-grid,
.insight-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card,
.insight-card {
  padding: 24px;
}

.price-card.is-featured {
  border-color: rgba(225, 6, 0, 0.30);
}

.price-card p,
.insight-card p,
.faq-list p {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.65;
}

.price-card a,
.insight-card span {
  color: var(--primary);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  position: relative;
  padding: 20px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(8, 8, 10, 0.72), rgba(8, 8, 10, 0.36)),
    url("faq-card-closed-bg.png") center / cover no-repeat;
  backdrop-filter: none;
  box-shadow: 0 0 40px rgba(255, 0, 0, 0.15);
  overflow: hidden;
  cursor: pointer;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 16px;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 22px; /* room for plus/minus icon */
  color: rgba(255, 255, 255, 0.92);
}

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

.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 28px;
  width: 12px;
  height: 2px;
  background: #ff2d2d;
  border-radius: 2px;
  box-shadow: 0 0 14px rgba(255, 45, 45, 0.25);
}

.faq-list summary::after {
  width: 2px;
  height: 12px;
  left: 29px;
  top: 23px;
}

.faq-list details[open] summary::after {
  opacity: 0; /* minus when open */
}

.faq-list details > p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  padding-left: 22px; /* align with title text */
  max-width: 62ch;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.faq-list details {
  min-height: 86px;
}

.faq-list details[open] {
  min-height: 118px;
}

.faq-list details::after {
  content: none;
}

.faq-list details:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.faq-list details[open] {
  background:
    linear-gradient(180deg, rgba(8, 8, 10, 0.62), rgba(8, 8, 10, 0.32)),
    url("faq-card-open-bg.png") center / cover no-repeat;
  border-color: rgba(255, 45, 45, 0.6);
  box-shadow:
    0 0 20px rgba(255, 45, 45, 0.25),
    0 0 40px rgba(255, 0, 0, 0.15);
}

.section#faq .faq-list {
  gap: 16px;
}

.case-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--primary);
}

.case-idx {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: rgba(255, 255, 255, 0.22);
  font-size: 34px;
}

/* Case study: editorial two-column (main + CTA) */
.case-article-wrap {
  padding-top: 40px;
  padding-bottom: 60px;
}

.case-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px 48px;
  align-items: start;
}

.case-article-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.case-article-panel {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, rgba(18, 18, 22, 0.95), rgba(8, 8, 10, 0.88));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  padding: clamp(22px, 3vw, 34px);
}

.case-key-results-box {
  margin: 0 0 28px;
  padding: 20px 20px 22px;
  border-radius: 14px;
  border: 1px solid rgba(225, 6, 0, 0.42);
  background: rgba(225, 6, 0, 0.04);
}

.case-key-results-box .case-article-subh--results {
  margin-bottom: 14px;
}

.case-key-results-box .case-key-results {
  margin-bottom: 0;
}

.case-article-h {
  font-size: clamp(1.4rem, 2.1vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  line-height: 1.2;
  color: #fff;
}

.case-article-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 62ch;
}

.case-article-subh {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: #fff;
}

.case-article-subh--results {
  color: var(--primary);
}

.case-key-results {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 14px;
  max-width: 65ch;
}

.case-key-results li {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.case-key-results li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 1em;
  font-size: 0.85em;
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
  text-shadow: 0 0 12px rgba(225, 6, 0, 0.35);
}

.case-prose p {
  margin: 0 0 1.25em;
  font-size: 0.95rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.7);
  max-width: 65ch;
  text-align: start;
  word-wrap: break-word;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.case-prose p:last-child {
  margin-bottom: 0;
}

.case-article-aside {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  scrollbar-width: none;
}

.case-article-aside::-webkit-scrollbar {
  display: none;
}

.case-aside-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.case-read-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 18px 18px 16px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.case-read-bar-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 14px;
}

.case-read-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  transition: width 100ms linear;
  will-change: width;
}

.case-read-time {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.5);
}

.case-cta-card {
  display: none;
}

.case-cta-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: var(--primary);
  border: 1px solid rgba(225, 6, 0, 0.30);
  background: transparent;
}

.case-cta-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.case-share-block {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(8, 8, 10, 0.45);
  padding: 18px 16px 16px;
}

.case-share-kicker {
  margin: 0 0 14px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.case-share-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.case-share-btn {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.case-share-btn:hover {
  border-color: rgba(225, 6, 0, 0.32);
  color: rgba(255, 255, 255, 0.85);
}

.case-share-btn--social span {
  font-family: ui-sans-serif, system-ui, sans-serif;
  line-height: 1;
}

.case-share-btn svg {
  display: block;
}

.case-cta-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.38;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.92);
}

.case-cta-btn {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  padding-top: 14px;
  padding-bottom: 14px;
  box-shadow: 0 12px 32px rgba(225, 6, 0, 0.28);
}

.case-cta-btn::after {
  content: "→";
  margin-left: 10px;
  font-weight: 700;
  font-size: 1.05em;
  line-height: 1;
  opacity: 0.92;
}

.case-bottom-bar-btn::after {
  content: "→";
  margin-left: 8px;
  font-size: 1.05em;
  opacity: 0.9;
}

.case-detail-breakdown {
  padding-top: 16px;
}

.case-breakdown-title {
  margin: 0;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
}

@media (max-width: 960px) {
  .case-article-layout {
    grid-template-columns: 1fr;
  }

  .case-article-aside {
    position: static;
    order: -1;
  }
}

.case-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}

.case-breakdown-pro {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

.break-card {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(11, 11, 14, 0.85);
  padding: clamp(20px, 2.4vw, 28px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.32);
  overflow: hidden;
  position: relative;
}

.break-card--problem {
  background: rgba(11, 11, 14, 0.85);
}

.break-card--solution {
  border-color: rgba(225, 6, 0, 0.18);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.32);
  background: rgba(11, 11, 14, 0.85);
}

/* Case-specific art: "How it works" section background */
.case-ai-sales .break-card--solution .break-section {
  position: relative;
  border-radius: 14px;
  padding: 14px 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 18% 20%, rgba(225, 6, 0, 0.14), transparent 52%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0.10)),
    url("case-how-it-works-bg.png") right center / cover no-repeat;
  overflow: hidden;
}

.case-ai-sales .break-card--solution .break-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.90), rgba(0, 0, 0, 0.55) 52%, rgba(0, 0, 0, 0.16));
  pointer-events: none;
}

.case-ai-sales .break-card--solution .break-section > * {
  position: relative;
  z-index: 1;
}

.break-card--pipeline,
.break-card--logic {
  grid-column: auto;
}

.break-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}

.break-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  flex-shrink: 0;
}

.break-card--solution .break-icon,
.break-card--logic .break-icon {
  border-color: rgba(225, 6, 0, 0.35);
  background: transparent;
  color: rgba(225, 6, 0, 0.85);
}

.break-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.break-kicker {
  margin: 0;
}

.break-title {
  margin: 0 0 14px;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.break-subtitle {
  margin: 0 0 14px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
}

.break-lead {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
  max-width: 78ch;
}

.break-section {
  margin-top: 14px;
}

.break-label {
  margin: 0 0 10px;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.break-list,
.break-steps {
  margin: 0;
  padding-left: 1.1em;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.6;
}

.break-list li,
.break-steps li {
  margin: 0;
}

/* PRO icons inside list items */
/* Default list items should wrap normally */
.break-list li {
  display: list-item;
}

/* Icon lists (2-column: icon + text) */
.break-list.break-list--icon li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}

.break-li-ic {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.72);
  opacity: 0.95;
  transform: translateY(1px);
}

.break-card--solution .break-li-ic,
.break-card--logic .break-li-ic {
  color: rgba(225, 6, 0, 0.92);
}

.break-li-ic svg {
  display: block;
  width: 100%;
  height: 100%;
}

.break-li-text {
  min-width: 0;
}

/* Pipeline */
.break-pipeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.pipe-node {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  padding: 12px 10px;
  text-align: center;
  display: grid;
  place-items: center;
}

.pipe-label {
  font-size: 0.82rem;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.25;
}

.pipe-arrow {
  display: none;
}

@media (min-width: 860px) {
  .break-pipeline {
    grid-template-columns: repeat(11, minmax(0, 1fr));
  }
  .pipe-node { grid-column: span 1; }
  .pipe-arrow {
    display: block;
    grid-column: span 1;
    align-self: center;
    height: 10px;
    background: repeating-linear-gradient(
      90deg,
      rgba(225, 6, 0, 0.85),
      rgba(225, 6, 0, 0.85) 3px,
      transparent 3px,
      transparent 7px
    );
    mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  }
}

/* Roles */
.break-role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
}

.role-card {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: transparent;
  padding: 14px 14px 16px;
}

.role-title {
  margin: 0 0 8px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.9);
}

.role-points {
  margin: 0;
  padding-left: 1.05em;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.55;
  display: grid;
  gap: 8px;
}

/* Code block */
.break-code {
  margin: 16px 0 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-left: 2px solid rgba(225, 6, 0, 0.55);
  background: rgba(0, 0, 0, 0.30);
  padding: 14px 16px 13px;
  overflow: auto;
}

.break-code-text {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
  white-space: pre;
}

.break-strength {
  margin-top: 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: transparent;
  padding: 14px 14px 16px;
}

@media (max-width: 960px) {
  .case-breakdown-pro { grid-template-columns: 1fr; }
  .break-role-grid { grid-template-columns: 1fr; }
}

.detail-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 28px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

/* ─────────────────────────────────────────────────────────
   ABOUT SECTION — full-bleed portrait background
   ───────────────────────────────────────────────────────── */
.about-section {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0;
  background: var(--bg);
  isolation: isolate;
}

.about-bg {
  position: absolute;
  inset: 0;
  background: url("about-founder.png") right center / auto 100% no-repeat;
  z-index: 0;
}

.about-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      var(--bg) 0%,
      var(--bg) 38%,
      rgba(11,11,15,0.85) 58%,
      rgba(11,11,15,0.3) 78%,
      transparent 100%),
    linear-gradient(180deg,
      rgba(11,11,15,0.5) 0%,
      transparent 20%,
      transparent 80%,
      rgba(11,11,15,0.6) 100%);
  z-index: 1;
}

.about-inner {
  position: relative;
  z-index: 2;
}

.about-content {
  max-width: 560px;
}

.about-kicker { margin-bottom: 20px; }

.about-heading {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: #fff;
}

.about-heading em {
  font-style: normal;
  color: var(--primary);
}


.about-content::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--primary);
  margin-bottom: 20px;
  border-radius: 2px;
}

.about-quote {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 500;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  border-left: 2px solid var(--primary);
  padding-left: 20px;
  margin: 0 0 16px;
  font-style: normal;
}

.about-author {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 32px;
}

.about-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.about-social-link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.about-social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.about-handle {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.38);
}

@media (max-width: 768px) {
  .about-section {
    align-items: flex-end;
    padding: 0 0 56px;
    min-height: 100svh;
  }
  .about-bg {
    background-position: 68% top;
    background-size: 160%;
  }
  .about-overlay {
    background: linear-gradient(to bottom,
      rgba(11,11,15,0.03) 0%,
      rgba(11,11,15,0.10) 32%,
      rgba(11,11,15,0.56) 52%,
      var(--bg) 78%,
      var(--bg) 100%);
  }
  .about-heading { font-size: 1.8rem; }
  .about-stats { gap: 24px; }
}

/* ─────────────────────────────────────────────────────────
   SHOWCASE CASES — editorial full-width list
   ───────────────────────────────────────────────────────── */
.showcase-section { padding-bottom: 0; }
.showcase-section .section-head { margin-bottom: 48px; }

.showcase-strip { width: 100%; }

.showcase-row {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.22s ease;
}
.showcase-row:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.07); }

/* Red diagonal band — hidden by default, animates in on hover */
.showcase-row::before {
  content: "";
  position: absolute;
  inset: -18px -5%;
  background: var(--primary);
  transform: skewY(-1.6deg);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.showcase-row:hover::before {
  opacity: 1;
}

.showcase-row-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 220px 1fr 100px;
  gap: 48px;
  align-items: center;
  padding-top: 36px;
  padding-bottom: 36px;
}

/* Thumbnail */
.showcase-thumb {
  width: 220px;
  height: 140px;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 6px;
}

.showcase-thumb-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: skewX(-5deg);
  transform-origin: left center;
  filter: saturate(1.05) contrast(1.05);
  z-index: 0;
}

.showcase-thumb--3d .showcase-thumb-video {
  transform: none;
  z-index: 1;
}

.showcase-thumb--3d {
  --thumb-tilt-x: 3deg;
  --thumb-tilt-y: -4deg;
  transform: skewX(-5deg) perspective(900px) rotateX(var(--thumb-tilt-x)) rotateY(var(--thumb-tilt-y)) translateZ(0);
  transform-origin: left center;
  transition: transform 420ms cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 420ms ease;
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(255, 255, 255, 0.10),
    0 0 0 2px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.62),
    inset 0 0 0 1px rgba(225, 6, 0, 0.10);
}

.showcase-row:hover .showcase-thumb--3d {
  --thumb-tilt-x: 6deg;
  --thumb-tilt-y: -8deg;
  box-shadow:
    0 30px 86px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 0 2px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.66),
    inset 0 0 0 1px rgba(225, 6, 0, 0.14),
    0 0 46px rgba(225, 6, 0, 0.10);
}

.showcase-thumb--3d::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 8px;
  pointer-events: none;
  z-index: 2;
  background:
    conic-gradient(
      from 210deg,
      rgba(255, 255, 255, 0.30),
      rgba(225, 6, 0, 0.70),
      rgba(255, 255, 255, 0.12),
      rgba(0, 0, 0, 0.70),
      rgba(255, 255, 255, 0.22),
      rgba(225, 6, 0, 0.62),
      rgba(255, 255, 255, 0.30)
    );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  padding: 2px;
  opacity: 0.98;
}

.showcase-thumb--3d::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  pointer-events: none;
  z-index: 3;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0) 44%),
    linear-gradient(315deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0) 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 26%, rgba(0, 0, 0, 0) 72%, rgba(0, 0, 0, 0.22));
  mix-blend-mode: screen;
  opacity: 0.62;
  transition: opacity 420ms ease;
}

.showcase-row:hover .showcase-thumb--3d::after {
  opacity: 0.72;
}
.showcase-thumb-bg {
  position: absolute;
  inset: 0;
  border-radius: 6px;
  transform: skewX(-5deg);
  transform-origin: left center;
}
.showcase-thumb-01 {
  background:
    radial-gradient(circle at 65% 30%, rgba(225,6,0,0.38), transparent 52%),
    radial-gradient(circle at 20% 75%, rgba(225,6,0,0.14), transparent 48%),
    linear-gradient(140deg, rgba(40,8,8,1), rgba(22,16,16,1));
  border: 1px solid rgba(225,6,0,0.2);
}
.showcase-thumb-02 {
  background:
    radial-gradient(circle at 45% 55%, rgba(255,255,255,0.09), transparent 56%),
    radial-gradient(circle at 80% 20%, rgba(225,6,0,0.1), transparent 40%),
    linear-gradient(140deg, rgba(28,26,34,1), rgba(18,16,24,1));
  border: 1px solid rgba(255,255,255,0.12);
}
.showcase-thumb-03 {
  background:
    radial-gradient(circle at 35% 40%, rgba(225,6,0,0.22), transparent 52%),
    linear-gradient(140deg, rgba(30,20,20,1), rgba(20,16,16,1));
  border: 1px solid rgba(225,6,0,0.14);
}

/* Content */
.showcase-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 8px;
  opacity: 0.9;
  transition: color 0.35s ease;
}
.showcase-row:hover .showcase-kicker {
  color: rgba(255,255,255,0.72);
}

.showcase-title {
  font-size: clamp(1.45rem, 2.6vw, 2.4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #fff;
  margin: 0 0 10px;
}

.showcase-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  max-width: 440px;
  line-height: 1.65;
  margin: 0;
  transition: color 0.35s ease;
}
.showcase-row:hover .showcase-desc {
  color: rgba(255,255,255,0.88);
}

.showcase-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  text-decoration: none;
  margin-top: 16px;
  transition: gap 0.18s ease, color 0.35s ease;
}
.showcase-row:hover .showcase-link { color: #fff; }
.showcase-link:hover { gap: 10px; }

/* Number */
.showcase-idx {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  color: rgba(255,255,255,0.06);
  letter-spacing: -0.04em;
  text-align: right;
  line-height: 1;
  user-select: none;
  transition: color 0.35s ease;
}
.showcase-row:hover .showcase-idx {
  color: rgba(255,255,255,0.22);
}

/* Responsive */
@media (max-width: 900px) {
  .showcase-row-inner {
    grid-template-columns: 160px 1fr 64px;
    gap: 24px;
  }
  .showcase-thumb { width: 160px; height: 110px; }
}
@media (max-width: 640px) {
  .showcase-row-inner {
    grid-template-columns: 120px 1fr auto;
    gap: 14px;
    align-items: center;
  }
  .showcase-thumb {
    display: block;
    width: 120px;
    height: 86px;
    border-radius: 14px;
  }
  .showcase-thumb--3d { transform: none; }
  .showcase-thumb--3d::before,
  .showcase-thumb--3d::after { display: none; }

  .showcase-title { font-size: 1.15rem; }
  .showcase-desc { font-size: 0.86rem; }
  .showcase-kicker { font-size: 0.72rem; }
  .showcase-link { margin-top: 12px; }
  .showcase-idx { font-size: 1.8rem; }
}

@media (max-width: 420px) {
  .showcase-row-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .showcase-thumb {
    display: block;
    width: 100%;
    height: 180px;
    border-radius: 16px;
  }
  .showcase-content { order: 2; }
  .showcase-idx { order: 3; text-align: left; opacity: 0.16; }
}

.detail-card.wide {
  grid-column: 1 / -1;
}

.detail-card p {
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.7;
}

.architecture-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin-top: 18px;
}

.architecture-flow-step {
  flex: 1 1 96px;
  min-width: 0;
  border-radius: 14px;
  border: 1px solid rgba(225, 6, 0, 0.45);
  background: rgba(225, 6, 0, 0.06);
  padding: 16px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.architecture-flow-label {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
}

.architecture-flow-arrow {
  flex: 0 0 22px;
  align-self: center;
  height: 12px;
  margin: 0 2px;
  background: repeating-linear-gradient(
    90deg,
    rgba(225, 6, 0, 0.85),
    rgba(225, 6, 0, 0.85) 3px,
    transparent 3px,
    transparent 7px
  );
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

@media (max-width: 720px) {
  .architecture-flow {
    flex-direction: column;
    align-items: stretch;
  }

  .architecture-flow-arrow {
    display: none;
  }

  .architecture-flow-step {
    flex: 1 1 auto;
  }
}

.case-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

@media (max-width: 640px) {
  .case-metrics-grid {
    grid-template-columns: 1fr;
  }
}

.detail-card--metrics {
  padding-bottom: 26px;
}

.case-metric-card {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
  padding: 18px 14px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 100%;
}

.case-metric-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(225, 6, 0, 0.35);
  color: var(--primary);
  background: rgba(225, 6, 0, 0.08);
}

.case-metric-icon svg {
  display: block;
}

.case-metric-val {
  display: block;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary);
  line-height: 1.15;
}

.case-metric-desc {
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
}

.case-stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.case-stack-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(225, 6, 0, 0.38);
  background: rgba(225, 6, 0, 0.05);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.82);
}

.case-bottom-bar {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(12, 12, 14, 0.98), rgba(6, 6, 8, 0.96));
  padding: 28px 0 36px;
  margin-top: 8px;
}

.case-bottom-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.case-bottom-bar-text {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  max-width: 42ch;
}

.case-aside-art {
  display: none;
  margin-top: 8px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 160px;
  background:
    radial-gradient(circle at 30% 70%, rgba(225, 6, 0, 0.22), transparent 42%),
    radial-gradient(circle at 78% 28%, rgba(225, 6, 0, 0.12), transparent 38%),
    linear-gradient(145deg, rgba(16, 16, 20, 0.95), rgba(6, 6, 8, 0.88));
  position: relative;
  overflow: hidden;
}

.case-aside-art::before {
  content: "";
  position: absolute;
  inset: 18% 12%;
  border-radius: 10px;
  border: 1px dashed rgba(225, 6, 0, 0.22);
  transform: skewY(-6deg);
  opacity: 0.85;
}

.case-aside-art::after {
  content: "";
  position: absolute;
  right: 14%;
  bottom: 22%;
  width: 42%;
  height: 38%;
  border-radius: 50% 50% 12px 12px;
  background: linear-gradient(180deg, rgba(225, 6, 0, 0.22), rgba(225, 6, 0, 0.02));
  transform: rotate(-12deg);
  filter: blur(0.5px);
}

.result-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.result-list strong {
  color: var(--primary);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.team-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 18px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.team-photo {
  min-height: 260px;
  border-radius: 14px;
  margin-bottom: 18px;
  background:
    radial-gradient(circle at 48% 24%, rgba(225, 6, 0, 0.24), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.team-card p {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.65;
}

/* CTA */
.cta-block {
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(17, 17, 21, 0.95), rgba(17, 17, 21, 0.72));
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}

.cta-inner {
  padding: 46px;
}

.cta-inner p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
}

.cta-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer */
.site-footer {
  position: relative;
  padding: 0 0 36px;
  background: #000;
  border-top: none;
}

.site-footer .container {
  padding-top: 48px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 0.9fr 1fr;
  gap: 32px 28px;
  padding-bottom: 40px;
  align-items: start;
}

.footer-col--brand {
  min-width: 0;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
}

.footer-logo:hover {
  color: rgba(255, 255, 255, 0.92);
}

.footer-logo-icon {
  color: #ff2a2a;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 16px;
  font-weight: 500;
}

.footer-tagline {
  margin: 16px 0 0;
  max-width: 280px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 0;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.footer-status-line {
  display: block;
  width: 14px;
  height: 2px;
  border-radius: 1px;
  background: #ff2a2a;
  flex-shrink: 0;
}

.footer-col-title {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.footer-links a {
  margin: 0;
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ff2a2a;
}

.footer-links--contact .footer-book-cta {
  margin-top: 18px;
  padding: 0 0 5px;
  border-bottom: 1px solid #ff2a2a;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
}

.footer-book-cta-label {
  text-transform: uppercase;
}

.footer-book-cta-arrow {
  color: #ff2a2a;
  font-size: 14px;
  line-height: 1;
}

.footer-links--contact .footer-book-cta:hover {
  color: #ff2a2a;
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-copy {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-legal {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal:hover {
  color: rgba(255, 255, 255, 0.78);
}

.footer-bar-sep {
  color: rgba(255, 255, 255, 0.22);
  font-size: 12px;
  user-select: none;
}

.footer-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: 8px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.footer-top:hover {
  border-color: rgba(255, 255, 255, 0.48);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.footer-top-ic {
  font-size: 16px;
  line-height: 1;
}

.watermark {
  margin-top: 24px;
  font-size: clamp(34px, 8vw, 110px);
  letter-spacing: -0.04em;
  opacity: 0.08;
}

/* Reveal (only when JS is active) */
.js [data-animate] {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}

.js .is-in[data-animate] {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.2, 0.85, 0.2, 1);
}

.js .is-in[data-animate="micro"] { transition-delay: 0.05s; }
.js .is-in[data-animate="title"] { transition-delay: 0.12s; }
.js .is-in[data-animate="sub"] { transition-delay: 0.2s; }
.js .is-in[data-animate="ctaPrimary"] { transition-delay: 0.28s; }
.js .is-in[data-animate="ctaSecondary"] { transition-delay: 0.36s; }
.js .is-in[data-animate="metrics"] { transition-delay: 0.46s; }

.reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.2, 0.85, 0.2, 1), border-color 0.22s ease, box-shadow 0.22s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-particles span {
    animation: none !important;
  }
  .card-ic::before {
    animation: none !important;
  }
  [data-animate],
  .is-in[data-animate],
  .reveal,
  .reveal.is-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .btn,
  .card,
  .metric-card,
  .case-card {
    transition: none !important;
  }
}

@media (max-width: 1080px) {
  .metrics { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline-steps::before { display: none; }
  .logo-grid,
  .pricing-grid,
  .insight-grid,
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-section { grid-template-columns: 1fr; }
  .case-card { grid-template-columns: 240px 1fr; }
  .case-detail-grid { grid-template-columns: 1fr; }
  .case-idx { display: none; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .top-links { display: none; }
  .burger { display: inline-flex; }
  .lang-switch { display: none; }
  .h1 { font-size: 44px; }
  .h2 { font-size: 30px; }
  .grid-4, .steps { grid-template-columns: 1fr; }
  .logo-grid,
  .integration-grid,
  .pricing-grid,
  .insight-grid,
  .team-grid { grid-template-columns: 1fr; }
  .case-card { grid-template-columns: 1fr; }
  .case-media { height: 160px; }
  .cta-inner { padding: 28px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bar { flex-direction: column; align-items: flex-start; }
  .footer-bar-right { width: 100%; justify-content: flex-end; }
}

@media (max-width: 640px) {
  /* Hero metric cards: compact mobile layout */
  .metrics {
    margin-top: 22px;
    gap: 12px;
  }

  .metric-card {
    padding: 14px 14px;
    display: grid;
    grid-template-columns: 32px 1fr;
    column-gap: 12px;
    align-items: center;
  }

  .metric-ic {
    width: 32px;
    height: 32px;
    margin: 0;
  }

  .metric-ic svg {
    width: 22px;
    height: 22px;
  }

  .metric-value {
    font-size: 20px;
    line-height: 1.05;
  }

  .metric-note {
    margin-top: 4px;
    font-size: 12px;
  }
}

/* ─── Premium Contact Page ─── */

.section.contact-page {
  padding: 84px 0 110px;
  background: var(--bg);
}

.contact-shell {
  position: relative;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(10, 10, 12, 0.55);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.62);
  overflow: hidden;
}

.contact-shell::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(225, 6, 0, 0.42), transparent 38%, transparent 62%, rgba(255, 255, 255, 0.06));
  opacity: 0.55;
  mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  mask-composite: exclude;
  padding: 1px;
}

.contact-shell::after {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -140px;
  width: 520px;
  height: 260px;
  pointer-events: none;
  opacity: 0.55;
  background:
    radial-gradient(closest-side at 30% 40%, rgba(225, 6, 0, 0.36), transparent 70%),
    repeating-linear-gradient(
      135deg,
      rgba(225, 6, 0, 0.22) 0px,
      rgba(225, 6, 0, 0.22) 1px,
      rgba(255, 255, 255, 0) 1px,
      rgba(255, 255, 255, 0) 18px
    );
  filter: none;
  transform: rotate(-8deg);
}

.contact-shell-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  min-height: 620px;
}

.contact-shell-col {
  padding: 44px 44px 46px;
}

.contact-shell-col--left {
  border-right: none;
}

.contact-panel-head .section-kicker {
  margin-bottom: 18px;
}

.contact-panel-h2 {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.06em;
}

.contact-panel-h2-line1,
.contact-panel-h2-line2 {
  display: block;
}

.contact-panel-h2-line2 {
  margin-top: 0.02em;
}

.contact-accent {
  color: var(--primary);
}

.contact-panel-sub {
  margin: 14px 0 0;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.56);
  font-size: 15px;
  line-height: 1.65;
}

.contact-benefits {
  margin-top: 34px;
  display: grid;
  gap: 18px;
}

.contact-ben {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  align-items: start;
}

.contact-ben-ic {
  position: relative;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center start;
  overflow: visible;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--primary);
}

.contact-ben-ic::before,
.contact-ben-ic::after {
  display: none;
}

.contact-ben-ic svg {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  stroke: currentColor;
  filter: none;
}

.contact-ben:hover .contact-ben-ic {
  color: var(--primary-2);
}

.contact-ben:hover .contact-ben-ic svg {
  filter: none;
}

.contact-ben-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
}

.contact-ben-desc {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.52);
}

.contact-links {
  margin-top: 34px;
  display: grid;
  gap: 12px;
}

.contact-links-kicker {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.contact-link-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.28);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.contact-link-row:hover {
  border-color: rgba(225, 6, 0, 0.28);
  box-shadow: 0 0 0 1px rgba(225, 6, 0, 0.12), 0 18px 46px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}

.contact-link-ic {
  width: 28px;
  height: 28px;
  border-radius: 0;
  display: grid;
  place-items: center start;
  border: none;
  color: var(--primary);
  background: transparent;
}

.contact-link-ic svg {
  width: 20px;
  height: 20px;
}

.contact-link-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 3px;
}

.contact-link-val {
  font-size: 14px;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.92);
}

.contact-link-arrow {
  color: rgba(225, 6, 0, 0.95);
  font-size: 16px;
  line-height: 1;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: start;
}

.contact-side {
  display: grid;
  gap: 36px;
  position: sticky;
  top: 100px;
}

.contact-side-sub {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  font-size: 15px;
}

.contact-detail-stack { display: grid; gap: 10px; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(17, 17, 21, 0.82);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: border-color 0.22s, box-shadow 0.22s;
  text-decoration: none;
}

.contact-detail:hover {
  border-color: rgba(225, 6, 0, 0.24);
  box-shadow: var(--gold-glow);
}

.contact-detail-ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(225, 6, 0, 0.08);
  border: 1px solid rgba(225, 6, 0, 0.14);
  color: var(--primary);
  font-size: 15px;
  flex-shrink: 0;
}

.contact-detail-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 3px;
}

.contact-detail-val {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

/* Form card */
.contact-form-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.contact-form-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 30px;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field { display: grid; gap: 8px; }

.form-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: rgba(225, 6, 0, 0.52);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.24);
}

.form-select {
  cursor: pointer;
  color: rgba(255, 255, 255, 0.55);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(225,6,0,0.85)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.form-select option {
  background: #111115;
  color: #fff;
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-submit {
  width: 100%;
  padding: 17px 24px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 14px;
  margin-top: 4px;
  justify-content: center;
}

.contact-form-note {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 13px;
}

.contact-form-note-ic {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.55);
}

.contact-form-note-ic svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 1080px) {
  .contact-shell-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .contact-shell-col--left {
    border-right: 0;
    border-bottom: none;
  }

  .contact-shell-col {
    padding: 34px 26px;
  }

  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .contact-side { position: static; }
}

@media (max-width: 760px) {
  .contact-form-card { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ─── Service Landing Pages ─── */

.svc-hero {
  padding: 100px 0 72px;
  background:
    radial-gradient(circle at 18% 32%, rgba(225, 6, 0, 0.13), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.016), transparent 80%);
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.18s;
}

.breadcrumb a:hover { color: var(--primary); }

.svc-h1 {
  font-size: clamp(38px, 6vw, 68px);
  margin: 14px 0 0;
}

.svc-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.svc-metric {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(17, 17, 21, 0.82);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  backdrop-filter: blur(10px);
}

.svc-metric-val {
  font-weight: 800;
  font-size: 14px;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.svc-metric-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* Price tag inside pricing cards */
.price-tag {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary);
  margin: 14px 0 18px;
}

/* CTA panel (full-width centered block) */
.cta-panel {
  border-radius: 24px;
  border: 1px solid rgba(225, 6, 0, 0.22);
  background: linear-gradient(145deg, rgba(17, 17, 21, 0.95), rgba(17, 17, 21, 0.72));
  box-shadow: var(--shadow);
  padding: 64px 48px;
  text-align: center;
  display: grid;
  gap: 20px;
  place-items: center;
}

.cta-panel h2 { margin: 0; }

.cta-panel .section-kicker { margin-bottom: 4px; }

/* 4-column process timeline */
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1080px) {
  .svc-h1 { font-size: 46px; }
  .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .svc-hero { padding: 78px 0 52px; }
  .svc-metrics { gap: 8px; }
  .cta-panel { padding: 40px 24px; }
  .steps-4 { grid-template-columns: 1fr; }
}

/* =========================================================
   PROC — How It Works (card flow)
   ========================================================= */

/* Decorative globe */
.proc-globe {
  position: absolute;
  top: -120px;
  right: -180px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 35%, rgba(225,6,0,0.55) 0%, rgba(180,4,0,0.28) 28%, rgba(100,2,0,0.10) 55%, transparent 75%);
  box-shadow:
    inset -40px -40px 100px rgba(0,0,0,0.70),
    inset 20px 20px 60px rgba(225,6,0,0.08),
    0 0 160px rgba(225,6,0,0.07);
  pointer-events: none;
  z-index: 0;
}

/* Remove right-side glow in process section */
.section-process .proc-globe {
  display: none;
}
.proc-globe::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px solid rgba(225,6,0,0.12);
}

/* Heading block */
.proc-head {
  position: relative;
  z-index: 2;
  margin-bottom: 52px;
  max-width: 680px;
}

.proc-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.48);
  line-height: 1.65;
  margin: 0;
  max-width: 560px;
}

/* Card row */
.proc-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.proc-arrow {
  flex-shrink: 0;
  color: rgba(225,6,0,0.65);
  font-size: 18px;
  padding: 0 10px;
  margin-top: 94px;
  line-height: 1;
}

/* Card */
.proc-card {
  flex: 1;
  min-width: 0;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 0 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  transition: border-color 0.22s, box-shadow 0.22s;
}
.proc-card:hover {
  border-color: rgba(225,6,0,0.28);
  box-shadow: none;
}

/* Featured card */
.proc-card--active {
  border-color: rgba(255,255,255,0.10);
  box-shadow: none;
  background: rgba(255,255,255,0.025);
}
.proc-card--active .proc-icon-ring {
  border-color: rgba(225,6,0,0.22);
  background: rgba(225,6,0,0.05);
  box-shadow: none;
}

/* Top connector dot */
.proc-dot {
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(225,6,0,0.90);
  border: 2px solid #0b0b0e;
  box-shadow: none;
  flex-shrink: 0;
}

/* Icon ring */
.proc-icon-ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 1.5px solid rgba(225,6,0,0.22);
  background: rgba(225,6,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(225,6,0,0.80);
  margin: 28px auto 22px;
  align-self: center;
  transition: border-color 0.22s, background 0.22s, box-shadow 0.22s;
}
.proc-card:hover .proc-icon-ring {
  border-color: rgba(225,6,0,0.38);
  background: rgba(225,6,0,0.08);
}

/* Number */
.proc-num {
  display: block;
  font-size: 11px;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, monospace;
  letter-spacing: 0.06em;
  color: rgba(225,6,0,0.80);
  margin-bottom: 6px;
}

/* Title */
.proc-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

/* Description */
.proc-desc {
  font-size: 12.5px;
  color: rgba(255,255,255,0.45);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

/* Bottom dash */
.proc-dash {
  width: 22px;
  height: 2px;
  background: rgba(225,6,0,0.60);
  border-radius: 1px;
  margin-top: 18px;
}

/* Responsive */
@media (max-width: 1080px) {
  .proc-row { flex-wrap: wrap; gap: 12px; }
  .proc-arrow { display: none; }
  .proc-card { flex: calc(50% - 6px); min-width: 160px; }
  .proc-globe { width: 380px; height: 380px; right: -100px; top: -60px; }
}
@media (max-width: 600px) {
  .proc-card { flex: 1 1 100%; }
  .proc-head { margin-bottom: 36px; }
  .proc-globe { display: none; }
}

/* =========================================================
   LV2 — Logic / Guardrails Block
   ========================================================= */

.lv2-card {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.lv2-hd-icon {
  border-color: rgba(225,6,0,0.35);
  background: rgba(225,6,0,0.10);
  color: rgba(225,6,0,0.90);
}

.lv2-section { margin-top: 24px; }

.lv2-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.30);
  margin: 0 0 12px;
}

/* --- Constraints + if-blocks row ----------------------- */

.lv2-constraints-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: center;
}

/* left column: constraint cards */
.lv2-constraints {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 10px;
}

.lv2-con-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
}

.lv2-con-ic {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(225,6,0,0.28);
  background: rgba(225,6,0,0.08);
  color: rgba(225,6,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lv2-cn {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  margin: 0 0 2px;
}
.lv2-cd {
  font-size: 11px;
  color: rgba(255,255,255,0.38);
  margin: 0;
}

/* connector arrow */
.lv2-arrow {
  display: flex;
  align-items: center;
  position: relative;
  padding: 0 6px;
  height: 2px;
  width: 40px;
  flex-shrink: 0;
}
.lv2-arrow-line {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.15);
}
.lv2-arrow-dot {
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(225,6,0,0.90);
  box-shadow: 0 0 8px rgba(225,6,0,0.55);
  flex-shrink: 0;
}

/* right column: if-blocks */
.lv2-if-blocks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(10,8,10,0.70);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 20px 50px rgba(225,6,0,0.08) inset;
}

.lv2-if {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
}

.lv2-if-badge {
  font-size: 10px;
  font-weight: 700;
  font-family: monospace;
  color: #fff;
  background: rgba(225,6,0,0.85);
  border-radius: 5px;
  padding: 3px 7px;
  flex-shrink: 0;
  margin-top: 1px;
}

.lv2-if-cond {
  font-size: 13px;
  font-family: monospace;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  margin: 0 0 4px;
}
.lv2-if-op { color: rgba(255,255,255,0.45); }
.lv2-if-val { color: rgba(225,6,0,0.95); font-weight: 700; }

.lv2-if-action {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

/* --- Risk tiles ---------------------------------------- */

.lv2-risks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.lv2-risk-tile {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lv2-risk-tile p {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin: 0;
  line-height: 1.4;
}
.lv2-risk-ic {
  color: rgba(225,6,0,0.80);
}

/* --- Strength tiles ------------------------------------ */

.lv2-strengths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.lv2-str-tile {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.lv2-str-tile.lv2-str-active {
  background: rgba(225,6,0,0.08);
  border-color: rgba(225,6,0,0.25);
}

.lv2-str-ic {
  color: rgba(225,6,0,0.80);
  display: flex;
  margin-bottom: 2px;
}

.lv2-str-name {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
  margin: 0;
}
.lv2-str-desc {
  font-size: 11.5px;
  color: rgba(255,255,255,0.38);
  margin: 0;
}

/* responsive */
@media (max-width: 900px) {
  .lv2-constraints-row { grid-template-columns: 1fr; }
  .lv2-arrow { display: none; }
  .lv2-risks { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .lv2-risks { grid-template-columns: 1fr 1fr; }
  .lv2-strengths { grid-template-columns: 1fr; }
  .lv2-card { padding: 20px 16px 18px; }
}

/* =========================================================
   PV2 — Interactive Pipeline Block
   ========================================================= */

.pv2-card {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pv2-intro {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin: -4px 0 20px;
  line-height: 1.5;
}

/* --- Flow row ------------------------------------------- */

.pv2-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  overflow-x: auto;
  scrollbar-width: none;
}
.pv2-flow::-webkit-scrollbar { display: none; }

.pv2-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  cursor: pointer;
}

.pv2-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s, background 0.2s;
}
.pv2-btn:hover {
  border-color: rgba(225,6,0,0.4);
  color: rgba(255,255,255,0.75);
  background: rgba(225,6,0,0.06);
}

.pv2-node.active .pv2-btn {
  border-color: rgba(225,6,0,0.75);
  color: #fff;
  background: rgba(225,6,0,0.12);
  box-shadow: 0 0 14px rgba(225,6,0,0.30), 0 0 4px rgba(225,6,0,0.20) inset;
}

.pv2-lbl {
  font-size: 10.5px;
  line-height: 1.35;
  color: rgba(255,255,255,0.38);
  text-align: center;
  max-width: 72px;
  transition: color 0.2s;
}
.pv2-node.active .pv2-lbl { color: rgba(255,255,255,0.70); }

.pv2-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.10);
  align-self: 28px;
  margin-top: 27px;
  min-width: 16px;
  position: relative;
}
.pv2-line::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(225,6,0,0.55);
}

/* --- Detail area --------------------------------------- */

.pv2-detail {
  display: grid;
  grid-template-columns: 188px 1fr;
  gap: 0;
  padding-top: 0;
  min-height: 220px;
}

.pv2-nav {
  border-right: 1px solid rgba(255,255,255,0.07);
  padding: 16px 0 8px;
}

.pv2-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pv2-nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.40);
  cursor: pointer;
  border-left: 2px solid transparent;
  border-radius: 0 6px 6px 0;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
  line-height: 1.3;
}
.pv2-nav-item svg { flex-shrink: 0; opacity: 0.5; transition: opacity 0.18s; }
.pv2-nav-item:hover {
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.03);
}
.pv2-nav-item.active {
  color: #fff;
  border-left-color: rgba(225,6,0,0.80);
  background: rgba(225,6,0,0.07);
}
.pv2-nav-item.active svg { opacity: 1; }

/* --- Content panels ------------------------------------ */

.pv2-content {
  padding: 20px 20px 16px 24px;
  min-width: 0;
}

.pv2-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.pv2-panel.active { display: grid; }

.pv2-ptitle {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.pv2-pdesc {
  font-size: 12.5px;
  color: rgba(255,255,255,0.50);
  margin: 0 0 16px;
  line-height: 1.55;
}

/* --- Feature rows -------------------------------------- */

.pv2-feats { display: flex; flex-direction: column; gap: 10px; }

.pv2-feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pv2-fic {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pv2-fic-green {
  border-color: rgba(52,199,89,0.30);
  background: rgba(52,199,89,0.08);
  color: rgb(52,199,89);
}
.pv2-fic-yellow {
  border-color: rgba(255,184,0,0.30);
  background: rgba(255,184,0,0.08);
  color: rgb(255,184,0);
}

.pv2-fn {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.80);
  margin: 0 0 2px;
}
.pv2-fd {
  font-size: 11px;
  color: rgba(255,255,255,0.38);
  margin: 0;
  line-height: 1.4;
}

/* --- Panel right: stat card (panel 0) ------------------ */

.pv2-stat {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 20px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pv2-stat-lbl {
  font-size: 10.5px;
  color: rgba(255,255,255,0.38);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pv2-stat-val {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  margin: 4px 0;
  line-height: 1;
  letter-spacing: -0.03em;
}
.pv2-stat-val span {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  margin-left: 3px;
  vertical-align: 8px;
}
.pv2-stat-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.30);
  margin: 0;
}

/* --- Panel right: CRM record (panel 1) ----------------- */

.pv2-record {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pv2-rec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.pv2-rec-row:last-child { border-bottom: none; padding-bottom: 0; }
.pv2-rk { color: rgba(255,255,255,0.35); font-size: 11px; }
.pv2-rv { color: rgba(255,255,255,0.75); font-weight: 500; }
.pv2-rv-active {
  color: rgba(225,6,0,0.90);
  background: rgba(225,6,0,0.10);
  border: 1px solid rgba(225,6,0,0.25);
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
}

/* --- Panel right: AI score gauge (panel 2) ------------- */

.pv2-score-kicker {
  font-size: 9.5px;
  letter-spacing: 0.10em;
  color: rgba(255,255,255,0.30);
  text-transform: uppercase;
  margin: 0 0 10px;
}

.pv2-score-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pv2-gauge {
  width: 86px;
  height: 86px;
  flex-shrink: 0;
}

.pv2-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.pv2-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 3px 6px;
  align-items: center;
}

.pv2-bn {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  grid-column: 1;
}
.pv2-bp {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.80);
  grid-column: 2;
  grid-row: 1;
}
.pv2-bt {
  grid-column: 1 / -1;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.pv2-bf {
  height: 100%;
  background: linear-gradient(90deg, rgba(225,6,0,0.70), rgba(225,6,0,1));
  border-radius: 2px;
}

/* --- Panel right: routing (panel 3) -------------------- */

.pv2-routing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.pv2-rt-top {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 7px 20px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  position: relative;
}
.pv2-rt-top::after {
  content: '';
  position: absolute;
  bottom: -13px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 13px;
  background: rgba(255,255,255,0.15);
}

.pv2-rt-branches {
  display: flex;
  gap: 8px;
  width: 100%;
}

.pv2-rt-b {
  flex: 1;
  border-radius: 8px;
  padding: 8px 6px;
  font-size: 11px;
  font-weight: 500;
  text-align: center;
  border: 1px solid;
}
.pv2-rt-yes {
  background: rgba(52,199,89,0.08);
  border-color: rgba(52,199,89,0.28);
  color: rgb(52,199,89);
}
.pv2-rt-mid {
  background: rgba(255,184,0,0.08);
  border-color: rgba(255,184,0,0.28);
  color: rgb(255,184,0);
}
.pv2-rt-no {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.55);
}

/* --- Panel right: message (panel 4) -------------------- */

.pv2-msg {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pv2-msg-head {
  display: flex;
  align-items: center;
  gap: 7px;
}

.pv2-msg-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgb(52,199,89);
  box-shadow: 0 0 6px rgba(52,199,89,0.6);
  flex-shrink: 0;
}

.pv2-msg-from {
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
}

.pv2-msg-text {
  font-size: 12px;
  color: rgba(255,255,255,0.60);
  line-height: 1.55;
  margin: 0;
}

.pv2-msg-time {
  font-size: 10.5px;
  color: rgba(255,255,255,0.28);
  display: block;
}

/* --- Panel right: task card (panel 5) ------------------ */

.pv2-task {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.pv2-task-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pv2-task-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 3px 8px;
  border-radius: 20px;
}

.pv2-task-ok {
  font-size: 11px;
  font-weight: 500;
  color: rgb(52,199,89);
  background: rgba(52,199,89,0.09);
  border: 1px solid rgba(52,199,89,0.25);
  padding: 3px 9px;
  border-radius: 20px;
}

.pv2-task-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.pv2-task-meta {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: rgba(255,255,255,0.38);
}

.pv2-task-slot {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 9px;
}
.pv2-task-slot svg { color: rgba(225,6,0,0.70); flex-shrink: 0; }

/* --- Responsive ---------------------------------------- */

@media (max-width: 900px) {
  .pv2-detail { grid-template-columns: 1fr; }
  .pv2-nav {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 12px 0 4px;
  }
  .pv2-nav-list { flex-direction: row; flex-wrap: wrap; gap: 4px; padding: 0 12px; }
  .pv2-nav-item { border-left: none; border-bottom: 2px solid transparent; border-radius: 6px 6px 0 0; padding: 7px 10px; }
  .pv2-nav-item.active { border-left-color: transparent; border-bottom-color: rgba(225,6,0,0.80); }
  .pv2-content { padding: 16px 16px 12px; }
}

@media (max-width: 640px) {
  .pv2-panel.active { grid-template-columns: 1fr; }
  .pv2-pright { display: none; }
  .pv2-card { padding: 20px 16px 18px; }
  .pv2-btn { width: 46px; height: 46px; }
  .pv2-lbl { font-size: 9.5px; max-width: 58px; }
  .pv2-line { margin-top: 22px; }
}

