.why-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(24rem, 1.05fr) minmax(25rem, .95fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
  padding: clamp(6rem, 10vh, 9rem) var(--page-pad) 2rem;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.why-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(99, 230, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 230, 255, .055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom right, black, transparent 82%);
}

.why-hero::after {
  content: "INTERNAL";
  position: absolute;
  right: -2vw;
  bottom: 3rem;
  color: transparent;
  font-family: "DM Mono", monospace;
  font-size: clamp(5rem, 13vw, 14rem);
  font-weight: 500;
  line-height: .8;
  letter-spacing: -.08em;
  -webkit-text-stroke: 1px rgba(99, 230, 255, .08);
  transform: rotate(-90deg) translateX(55%);
  transform-origin: right bottom;
  pointer-events: none;
}

.why-hero-copy,
.why-console,
.why-signal { position: relative; z-index: 2; min-width: 0; }

.why-hero h1 {
  margin: 0;
  font-size: clamp(4rem, 5.8vw, 7rem);
  line-height: .88;
  letter-spacing: -.075em;
}

.why-hero h1 span {
  color: transparent;
  -webkit-text-stroke: 1px var(--cyan);
}

.why-lead {
  max-width: 44rem;
  margin: 2.3rem 0 0;
  color: #bfccd4;
  font-size: clamp(1rem, 1.6vw, 1.28rem);
}

.why-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.8rem;
  margin-top: 2.3rem;
}

.why-actions a {
  padding: .7rem 0;
  border-bottom: 1px solid currentColor;
  font-family: "DM Mono", monospace;
  font-size: .67rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.why-actions .why-primary {
  padding: .7rem .9rem;
  border: 1px solid var(--cyan);
  color: var(--night);
  background: var(--cyan);
}

.why-actions span { margin-left: .5rem; }

.why-console {
  width: 100%;
  border: 1px solid rgba(99, 230, 255, .35);
  background: rgba(5, 11, 20, .86);
  box-shadow: 1.2rem 1.2rem 0 rgba(99, 230, 255, .045);
  font-family: "DM Mono", monospace;
}

.console-bar {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--line);
}

.console-bar i {
  width: .48rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #425466;
}

.console-bar i:first-child { background: #ee6a5f; }
.console-bar i:nth-child(2) { background: var(--yellow); }
.console-bar i:nth-child(3) { background: #54dc91; }
.console-bar span { margin-left: auto; color: var(--muted); font-size: .52rem; }

.console-body { padding: clamp(1.4rem, 3vw, 2.3rem); }
.console-body p { margin: .65rem 0; color: #b9c8d1; font-size: clamp(.62rem, 1vw, .78rem); }
.console-body em { color: #c792ea; font-style: normal; }
.console-body strong { color: #54dc91; font-weight: 400; }
.console-body span { color: var(--yellow); }
.console-body b { color: var(--cyan); font-weight: 400; }
.console-body small { color: #62778a; font-size: inherit; }
.console-body .console-gap { margin-top: 2rem; }
.console-body .console-indent { padding-left: 1.6rem; }

.console-result {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .55rem;
  letter-spacing: .08em;
}

.console-result strong { color: #54dc91; font-size: .6rem; font-weight: 400; }
.console-result i { width: .5rem; aspect-ratio: 1; border-radius: 50%; background: #54dc91; box-shadow: 0 0 0 5px rgba(84, 220, 145, .1); }

.why-signal {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: .58rem;
  letter-spacing: .08em;
}

.why-signal i { color: #526779; font-style: normal; }
.why-signal strong { color: var(--cyan); font-weight: 400; }

.idea-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(3rem, 8vw, 9rem);
  align-items: start;
}

.idea-statement {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -.055em;
}

.idea-copy {
  padding-top: .6rem;
  border-top: 1px solid var(--cyan);
}

.idea-copy p { margin: 0 0 1.6rem; color: #afbec7; font-size: clamp(.92rem, 1.25vw, 1.08rem); }

.why-cost { color: #101a25; background: #dfe9ec; }
.why-cost .code-label { color: #007d94; }
.why-cost .section-index { -webkit-text-stroke-color: rgba(0, 125, 148, .45); }

.cost-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
}

.cost-card {
  min-height: 20rem;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid rgba(8, 17, 31, .22);
}

.cost-card > p {
  margin: 0;
  color: #5e7079;
  font-family: "DM Mono", monospace;
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.cost-formula {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  margin: auto 0 2rem;
  font-family: "DM Mono", monospace;
}

.cost-formula span { padding: .55rem .65rem; border: 1px solid rgba(8, 17, 31, .22); font-size: clamp(.72rem, 1.25vw, .92rem); }
.cost-formula i { color: #71828b; font-style: normal; font-size: .7rem; }

.cost-card > strong { font-size: clamp(2.4rem, 5vw, 5rem); line-height: .9; letter-spacing: -.06em; }
.cost-card > strong small { display: block; margin-top: 1rem; font-family: "DM Mono", monospace; font-size: .58rem; font-weight: 400; letter-spacing: .05em; }
.cost-internal { color: var(--white); border-color: var(--night); background: var(--night); }
.cost-internal > p { color: var(--cyan); }
.cost-internal .cost-formula span { border-color: var(--line); }
.cost-internal .cost-formula i { color: var(--muted); }
.cost-internal > strong small { color: var(--cyan); }

.cost-versus { display: grid; place-items: center; width: 5rem; }
.cost-versus span { display: grid; place-items: center; width: 3rem; aspect-ratio: 1; border: 1px solid #101a25; border-radius: 50%; font-family: "DM Mono", monospace; font-size: .58rem; }

.break-even {
  display: grid;
  grid-template-columns: minmax(16rem, .7fr) 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  margin-top: 3rem;
  padding: 2.2rem 0;
  border-top: 1px solid rgba(8, 17, 31, .22);
  border-bottom: 1px solid rgba(8, 17, 31, .22);
}

.break-even div { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 0 1rem; }
.break-even span { grid-column: 1 / -1; color: #007d94; font-family: "DM Mono", monospace; font-size: .58rem; letter-spacing: .1em; }
.break-even strong { font-size: clamp(3.7rem, 7vw, 7rem); line-height: .8; letter-spacing: -.07em; }
.break-even small { max-width: 9rem; padding-bottom: .2rem; color: #5b6c75; font-family: "DM Mono", monospace; font-size: .55rem; }
.break-even > p { margin: 0; color: #465963; font-size: clamp(1rem, 1.55vw, 1.25rem); }

.cost-note { max-width: 65rem; margin: 1.7rem 0 0; color: #667780; font-size: .66rem; }
.cost-note a { display: inline-block; margin: .5rem .65rem 0 0; padding-bottom: .1rem; border-bottom: 1px solid #007d94; color: #006f83; font-family: "DM Mono", monospace; }

.why-value { background: #0b1625; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.value-grid article { min-height: 20rem; display: flex; flex-direction: column; padding: 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(145deg, rgba(99, 230, 255, .035), transparent 55%); }
.value-grid span { color: var(--cyan); font-family: "DM Mono", monospace; font-size: .58rem; }
.value-grid h3 { margin: auto 0 .7rem; font-size: clamp(1.25rem, 2vw, 1.8rem); letter-spacing: -.035em; }
.value-grid p { margin: 0; color: #9eafb9; font-size: .8rem; }

.why-fit { background: #07131f; }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; }
.fit-grid article { padding: clamp(1.5rem, 4vw, 3.5rem); border: 1px solid var(--line); }
.fit-grid article + article { border-left: 0; }
.fit-grid article > p { display: flex; align-items: center; gap: .75rem; margin: 0 0 2rem; font-family: "DM Mono", monospace; font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.fit-grid article > p i { width: .55rem; aspect-ratio: 1; border-radius: 50%; }
.fit-yes > p { color: #54dc91; }
.fit-yes > p i { background: #54dc91; box-shadow: 0 0 0 5px rgba(84, 220, 145, .1); }
.fit-no > p { color: var(--yellow); }
.fit-no > p i { background: var(--yellow); box-shadow: 0 0 0 5px rgba(245, 208, 97, .1); }
.fit-grid ul { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.fit-grid li { position: relative; padding: 0 0 1rem 1.7rem; border-bottom: 1px solid var(--line); color: #b6c3cb; font-size: .86rem; }
.fit-grid li::before { position: absolute; left: 0; top: .05rem; color: var(--cyan); font-family: "DM Mono", monospace; font-size: .7rem; }
.fit-yes li::before { content: "+"; }
.fit-no li::before { content: "–"; color: var(--yellow); }

.why-skills { background: var(--night-2); }
.why-skills-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.why-skills-layout > p { margin: 0; color: #c4d0d7; font-size: clamp(1.15rem, 2.1vw, 1.65rem); }
.why-skill-list { display: flex; flex-wrap: wrap; gap: .6rem; }
.why-skill-list span { padding: .7rem .85rem; border: 1px solid var(--line); color: #dce5e9; font-family: "DM Mono", monospace; font-size: .68rem; }
.why-skill-list span:nth-child(3n + 1) { border-color: rgba(99, 230, 255, .52); color: var(--cyan); }

.cv-link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  margin-top: clamp(4rem, 8vw, 7rem);
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: "DM Mono", monospace;
  font-size: .67rem;
}

.cv-link span { color: var(--muted); }
.cv-link strong { color: var(--cyan); font-weight: 400; }

.why-contact-lead { max-width: 48rem; margin: 2rem 0 0; font-size: clamp(1rem, 1.6vw, 1.25rem); }

@media (max-width: 1060px) {
  .why-hero { grid-template-columns: minmax(0, 1fr); }
  .why-console { max-width: 42rem; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .why-hero { min-height: auto; padding-top: 8rem; }
  .idea-layout,
  .why-skills-layout { grid-template-columns: 1fr; }
  .cost-comparison { grid-template-columns: 1fr; }
  .cost-versus { width: auto; height: 5rem; }
  .break-even { grid-template-columns: 1fr; }
  .fit-grid { grid-template-columns: 1fr; }
  .fit-grid article + article { border-top: 0; border-left: 1px solid var(--line); }
}

@media (max-width: 540px) {
  .why-hero h1 { font-size: clamp(2.75rem, 11.8vw, 3.3rem); }
  .why-signal { align-items: flex-start; flex-direction: column; }
  .why-signal i { display: none; }
  .value-grid { grid-template-columns: 1fr; }
  .value-grid article { min-height: 14rem; }
  .cost-card { min-height: 17rem; }
  .cost-versus { height: 4rem; }
  .break-even div { grid-template-columns: 1fr; }
  .break-even small { max-width: none; }
  .cv-link { grid-template-columns: 1fr; gap: .7rem; }
}

@media print {
  .why-page .rail,
  .why-page .mobile-header { display: none !important; }
  .why-page .page { margin: 0; }
  .why-hero { min-height: auto; display: block; padding: 0 0 1cm; }
  .why-console { margin-top: .6cm; box-shadow: none; }
  .why-signal { margin-top: .6cm; }
}
