.tech-index, .tech-page {
  --tech-ink: #183329;
  --tech-secondary: #4d5e54;
  --tech-line: #d6ded7;
  --tech-panel: #142722;
}

.tech-index .lp-intro h1 { max-width: 15ch; }
.tech-compare > h2, .tech-more > h2 { margin-bottom: 22px; font-size: clamp(25px, 2.35vw, 39px); }
.tech-compare-grid, .tech-more-grid { display: grid; gap: clamp(14px, 1.45vw, 26px); }
.tech-compare-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; }
.tech-compare-card, .tech-more-card { min-width: 0; border-radius: 10px; color: var(--tech-ink); }
.tech-compare-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--tech-line);
  background: #f6f8f4;
  transition: border-color .18s;
}
.tech-compare-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  border-bottom: 1px solid var(--tech-line);
}
.tech-diagram-panel { background-color: var(--tech-panel); }
.tech-diagram-panel canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 520 / 240;
  background-color: var(--tech-panel);
}
.tech-card-copy { min-width: 0; display: flex; flex: 1; flex-direction: column; align-items: stretch; }
.tech-compare-card .tech-card-copy { padding: clamp(15px, 1.4vw, 25px); }
.tech-card-title { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.tech-card-title h3 { font-size: clamp(20px, 1.65vw, 28px); line-height: 1.16; color: var(--tech-ink); }
.tech-card-title .lp-arrow { color: #4b6257; font-size: 18px; transition: transform .18s ease; }
.tech-card-copy p { margin-block: 9px 0; color: #424f47; font-size: 15px; line-height: 1.5; }
.tech-card-copy small {
  display: block;
  margin-top: auto;
  padding-top: 15px;
  color: var(--tech-secondary);
  font-size: 13px;
  line-height: 1.45;
}
.tech-more { margin-top: clamp(43px, 5vw, 81px); padding-top: clamp(24px, 3vw, 43px); border-top: 1px solid var(--tech-line); }
.tech-more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px clamp(18px, 2.6vw, 44px); }
.tech-more-card {
  display: grid;
  grid-template-columns: minmax(96px, .65fr) minmax(0, 1.35fr);
  gap: clamp(13px, 1.6vw, 30px);
  align-items: center;
  border-bottom: 1px solid var(--tech-line);
  border-radius: 0;
  padding-block: 0 18px;
}
.tech-card-photo { aspect-ratio: 1.6; border-radius: 7px; overflow: hidden; background: #e8ede8; }
.tech-card-photo img { width: 100%; height: 100%; object-fit: cover; }

.tech-heading {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
  column-gap: clamp(26px, 6.2vw, 108px);
  row-gap: 12px;
  align-items: start;
  padding-block: clamp(34px, 4.8vw, 80px) clamp(26px, 3.5vw, 57px);
}
.tech-heading h1 {
  grid-row: 1 / span 2;
  max-width: 14ch;
  font-size: clamp(45px, 5.9vw, 102px);
  line-height: .99;
  color: var(--tech-ink);
}
.tech-headline, .tech-intro { grid-column: 2; }
.tech-headline { max-width: 29ch; color: var(--tech-ink); font-size: clamp(21px, 2.1vw, 36px); font-weight: 580; line-height: 1.16; letter-spacing: -.035em; text-wrap: balance; }
.tech-intro, .tech-principle > p, .tech-choice > p { max-width: 65ch; color: #415248; font-size: clamp(16px, 1.17vw, 20px); line-height: 1.62; }
.tech-media { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: clamp(13px, 2.1vw, 37px); }
.tech-media figure { min-width: 0; margin: 0; }
.tech-photo-frame { height: clamp(225px, 30vw, 457px); overflow: hidden; border-radius: 9px; background: #edf1ed; }
.tech-photo-frame img { width: 100%; height: 100%; }
.tech-product-photo .tech-photo-frame { background: #eef2ef; }
.tech-product-photo .tech-photo-frame img { padding: clamp(15px, 2.2vw, 42px); object-fit: contain; }
.tech-application-photo .tech-photo-frame img { object-fit: cover; }
.tech-media figcaption { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 12px; max-width: 80ch; margin-top: 9px; color: var(--tech-secondary); font-size: 13px; line-height: 1.48; }
.tech-media figcaption a { flex: 0 0 auto; padding-bottom: 1px; }
.tech-principle, .tech-uses, .tech-choice, .tech-products, .tech-sources {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: clamp(20px, 5vw, 86px);
  align-items: start;
  padding-block: clamp(26px, 3.4vw, 59px);
  border-top: 1px solid var(--tech-line);
}
.tech-principle { margin-top: clamp(32px, 4.6vw, 77px); }
.tech-page :is(.tech-principle, .tech-diagram, .tech-uses, .tech-choice, .tech-products) > h2 {
  font-size: clamp(27px, 2.85vw, 49px); color: var(--tech-ink);
}
.tech-diagram {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  column-gap: clamp(20px, 5vw, 86px);
  row-gap: 13px;
  align-items: start;
  margin-bottom: clamp(30px, 3.8vw, 63px);
  padding-top: clamp(22px, 2.9vw, 49px);
  border-top: 1px solid var(--tech-line);
}
.tech-diagram > h2 { grid-column: 1; grid-row: 1; }
.tech-diagram-panel, .tech-diagram-controls, .tech-diagram-caption { grid-column: 2; }
.tech-diagram-panel { min-width: 0; overflow: hidden; border-radius: 10px; }
.tech-diagram-controls { display: flex; flex-wrap: wrap; gap: 7px; }
.tech-diagram-controls button {
  max-width: 100%;
  min-height: 42px;
  padding: 6px 15px;
  border: 1px solid #aebeb3;
  border-radius: 20px;
  background: #fff;
  color: var(--tech-ink);
  font-size: 14px;
  font-weight: 620;
  line-height: 1.3;
  text-align: start;
}
.tech-diagram-controls button[aria-pressed="true"] { border-color: #213e32; background: #213e32; color: #fff; }
.tech-diagram-caption { min-height: 3em; max-width: 65ch; color: var(--tech-secondary); font-size: 15px; line-height: 1.55; }
.tech-media.tech-gob-comparison {
  --gob-visual-height: clamp(130px, 24vw, 345px);
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
}
.tech-gob-comparison .tech-photo-frame, .tech-gob-comparison canvas {
  height: var(--gob-visual-height);
  aspect-ratio: auto;
}
.tech-gob-comparison .tech-diagram {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}
.tech-gob-comparison .tech-diagram-panel {
  order: -1;
  width: 100%;
}
.tech-gob-comparison canvas {
  object-fit: contain;
  background: var(--tech-panel) url("assets/tech-gob-section.webp") center / contain no-repeat;
}
.tech-gob-comparison .tech-diagram > h2 { font-size: clamp(16px, 1.4vw, 23px); }
.tech-media.tech-gob-application { display: block; margin-bottom: clamp(24px, 3vw, 50px); }
.tech-gob-application .tech-photo-frame { height: auto; aspect-ratio: 2.7; }
.tech-use-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(17px, 2.6vw, 44px); }
.tech-use-grid h3 { color: var(--tech-ink); font-size: clamp(19px, 1.56vw, 26px); }
.tech-use-grid p { margin-top: 9px; color: var(--tech-secondary); font-size: 16px; line-height: 1.58; }
.tech-choice { padding: clamp(23px, 3vw, 46px); border: 0; border-radius: 10px; background: #eaf0eb; }
.tech-choice + .tech-products { margin-top: clamp(24px, 3vw, 50px); }
.tech-product-links, .tech-source-links { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 11px; min-width: 0; }
.tech-product-links .lp-inline {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 43px;
  padding: 8px 13px;
  border: 1px solid #b0c1b4;
  border-radius: 5px;
  color: var(--tech-ink);
  font-size: 15px;
  line-height: 1.36;
}
.tech-sources { padding-block: 21px; }
.tech-sources h2 { font-size: clamp(18px, 1.45vw, 24px); }
.tech-source-links { column-gap: 20px; }
.tech-source-links .lp-inline { min-width: 0; font-size: 14px; overflow-wrap: anywhere; }
.tech-footer.lp-article-foot { margin-top: 0; }

@media (hover: hover) {
  .tech-compare-card:hover { border-color: #7e9987; }
  .tech-compare-card:hover .lp-arrow, .tech-more-card:hover .lp-arrow { transform: translateX(3px); }
  .tech-more-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
  .tech-diagram-controls button:not([aria-pressed="true"]):hover, .tech-product-links .lp-inline:hover { border-color: #536f5e; background: #eff4ee; }
}
@media (max-width: 1080px) {
  .tech-compare-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tech-compare-card .tech-card-copy { padding: 18px; }
  .tech-use-grid { grid-template-columns: 1fr; }
  .tech-use-grid > section + section { padding-top: 17px; border-top: 1px solid var(--tech-line); }
}
@media (max-width: 750px) {
  .tech-heading, .tech-diagram, .tech-principle, .tech-uses, .tech-choice, .tech-products, .tech-sources { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .tech-heading h1, .tech-headline, .tech-intro, .tech-diagram > h2, .tech-diagram-panel, .tech-diagram-controls, .tech-diagram-caption { grid-column: auto; grid-row: auto; }
  .tech-heading h1 { max-width: none; }
  .tech-headline { max-width: 34ch; }
  .tech-diagram-caption { min-height: 0; }
  .tech-more-grid { grid-template-columns: 1fr; }
  .tech-more-card { grid-template-columns: minmax(92px, .52fr) minmax(0, 1.48fr); }
}
@media (max-width: 550px) {
  .tech-compare-grid, .tech-media { grid-template-columns: minmax(0, 1fr); }
  .tech-compare-grid { gap: 16px; }
  .tech-compare-card .tech-card-copy { padding: 16px; }
  .tech-card-copy small { padding-top: 10px; }
  .tech-more-card { gap: 12px; }
  .tech-more-card .tech-card-title h3 { font-size: 19px; }
  .tech-more-card .tech-card-copy p { font-size: 14px; }
  .tech-media { gap: 20px; }
  .tech-photo-frame { height: auto; aspect-ratio: 1.55; }
  .tech-application-photo .tech-photo-frame { aspect-ratio: 1.42; }
  .tech-product-photo .tech-photo-frame img { padding: 15px; }
  .tech-source-links { gap: 4px 12px; }
  .tech-diagram-controls button { padding-inline: 12px; }
  .tech-media.tech-gob-comparison {
    --gob-visual-height: clamp(105px, 30vw, 155px);
    gap: 12px;
  }
  .tech-gob-comparison .tech-diagram-controls { gap: 5px; }
  .tech-gob-comparison .tech-diagram-controls button { padding: 5px 9px; font-size: 13px; }
  .tech-gob-comparison .tech-diagram-caption { font-size: 14px; }
  .tech-gob-application .tech-photo-frame { aspect-ratio: 1.6; }
}
@media (prefers-reduced-motion: reduce) {
  .tech-compare-card, .tech-card-title .lp-arrow { transition: none; }
}

.tech-summary { display: none; }
@media (max-width: 760px) {
  .tech-summary {
    display: table;
    width: 100%;
    margin: 0 0 24px;
    border-collapse: collapse;
    color: var(--tech-ink);
    font-size: .875rem;
    line-height: 1.35;
  }
  .tech-summary th, .tech-summary td {
    padding: 8px 6px;
    text-align: start;
    vertical-align: middle;
    border-bottom: 1px solid var(--tech-line);
  }
  .tech-summary thead { background: #eaf1eb; }
  .tech-summary thead th { font-weight: 650; }
  .tech-summary tbody th { width: 27%; }
  .tech-summary a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    color: #24572d;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}
