.why-section {
  position: relative;
  isolation: isolate;
  padding: clamp(46px, 4vw, 58px) var(--frame-gutter) clamp(70px, 7vw, 104px);
  background: var(--ink);
  color: var(--paper);
}

.why-atmosphere {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.why-atmosphere svg {
  display: block;
  width: 100%;
  height: 100%;
}

.why-inner {
  position: relative;
  width: min(100%, var(--section-width));
  margin: 0 auto;
}

.why-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1210px;
  margin: 0 auto clamp(34px, 2.8vw, 42px);
  text-align: center;
}

.why-eyebrow {
  margin: 0 0 var(--section-overline-gap);
  color: rgba(247, 247, 247, 0.9);
  font-size: var(--section-label-size);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.why-eyebrow span {
  margin: 0 0.45em;
  color: #00c7e8;
}

.why-header h2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  font-size: clamp(53px, 5.65vw, 91px);
  font-weight: 350;
  letter-spacing: -0.065em;
  line-height: 0.94;
  text-wrap: balance;
}

.why-header h2 em {
  margin-top: 0.06em;
  font-size: 1.03em;
}

.why-title-dot { color: #00c7e8; }

.why-intro {
  max-width: 800px;
  margin: clamp(16px, 1.5vw, 20px) 0 0;
  color: rgba(247, 247, 247, 0.84);
  font-size: clamp(16px, 1.32vw, 20px);
  line-height: 1.5;
}

.why-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  /* Match the arrow and socket offsets in the 500 × 340 card outlines. */
  column-gap: 1.58%;
  row-gap: clamp(10.7px, 1.03vw, 13.2px);
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.why-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: clamp(250px, 17.5vw, 270px);
  padding: clamp(30px, 3vw, 42px) clamp(34px, 3.2vw, 48px);
}

.why-card:nth-child(1) { z-index: 4; }
.why-card:nth-child(2) { z-index: 3; }
.why-card:nth-child(3) { z-index: 1; }
.why-card:nth-child(4) { z-index: 2; }

.why-card-shape {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.why-card-shape path {
  fill: #101012;
  stroke: rgba(247, 247, 247, 0.91);
  stroke-width: 1.45px;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  transition: fill 260ms ease, stroke 260ms ease;
}

.why-card:nth-child(2) .why-card-shape path { fill: url(#why-card-blue-02); }
.why-card:nth-child(4) .why-card-shape path:not(.why-card-accent) { fill: url(#why-card-blue-04); }
.why-card:nth-child(4) .why-card-shape .why-card-accent {
  fill: none;
  stroke: #00c7e8;
  stroke-width: 1.65px;
}

.why-number {
  display: block;
  margin-bottom: clamp(11px, 1vw, 15px);
  color: rgba(247, 247, 247, 0.88);
  font-size: clamp(38px, 2.7vw, 42px);
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.why-card-copy { max-width: 405px; }

.why-card h3 {
  margin: 0;
  font-size: clamp(31px, 2.7vw, 42px);
  font-weight: 350;
  letter-spacing: -0.06em;
  line-height: 1.04;
}

.why-card p {
  max-width: 400px;
  margin: 16px 0 0;
  color: rgba(247, 247, 247, 0.85);
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.48;
}

@media (hover: hover) {
  .why-card:hover .why-card-shape path { stroke: #fff; }
}

@media (max-width: 700px) {
  .why-section { padding-top: 62px; padding-bottom: 92px; }
  .why-header { margin-bottom: 38px; }
  .why-eyebrow { margin-bottom: 24px; font-size: 9px; }
  .why-header h2 { font-size: clamp(42px, 10vw, 58px); line-height: 0.98; }
  .why-intro { margin-top: 22px; font-size: 15px; }
  .why-grid { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .why-grid::before { position: absolute; z-index: 0; top: 0; bottom: 0; left: 50%; width: 1px; background: rgba(247, 247, 247, 0.68); content: ""; }
  .why-card { min-height: 245px; padding: 30px; border: 1px solid rgba(247, 247, 247, 0.78); border-radius: 24px; background: #101012; }
  .why-card:nth-child(even) { background: #071b27; }
  .why-card-shape { display: none; }
  .why-number { margin-bottom: 24px; font-size: 44px; }
  .why-card h3 { font-size: 30px; }
  .why-card p { margin-top: 12px; font-size: 15px; }
  .why-atmosphere svg { width: 160%; margin-left: -30%; }
}

@media (prefers-reduced-motion: reduce) {
  .why-card-shape path { transition: none; }
}
