.tech-page {
  --tech-ink: #2f3035;
  --tech-muted: #746f6b;
  --tech-line: #ead8cf;
  --tech-warm: #fff9e8;
  --tech-coral: #fff0ed;
  color: var(--tech-ink);
  overflow: clip;
}

.tech-page *,
.tech-page *::before,
.tech-page *::after {
  box-sizing: border-box;
}

.tech-page .section {
  padding-top: clamp(3rem, 5vw, 5rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
}

.tech-hero {
  margin-top: 0 !important;
  padding-top: clamp(1.5rem, 3vw, 2.5rem) !important;
}

.tech-hero .breadcrumb {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.tech-hero > .container.section {
  width: 100%;
  max-width: none;
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem) !important;
  padding: 0 !important;
}

.tech-hero > .container.section .breadcrumb {
  margin-bottom: 0;
}

.tech-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(290px, .72fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
}

.tech-eyebrow {
  margin: 0 0 1rem;
  color: var(--primary);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tech-hero h1,
.tech-heading h2,
.tech-files__intro h2,
.tech-zones__content h2,
.tech-final h2 {
  margin: 0;
  color: var(--tech-ink);
  font-weight: 700;
  line-height: 1.08;
}

.tech-hero h1 {
  max-width: 970px;
  font-size: clamp(2.75rem, 5.4vw, 5.6rem);
  letter-spacing: -.045em;
}

.tech-hero__lead {
  max-width: 860px;
  margin: 1.7rem 0 0;
  color: var(--tech-muted);
  font-size: clamp(1.15rem, 1.8vw, 1.42rem);
  line-height: 1.65;
}

.tech-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}

.tech-actions .btn {
  min-width: 210px;
}

.tech-hero__note {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: 0 34px 34px 34px;
  background: var(--tech-warm);
}

.tech-hero__note strong {
  display: block;
  font-size: 1.25rem;
}

.tech-hero__note p,
.tech-heading > p:not(.tech-eyebrow),
.tech-files__intro > p:not(.tech-eyebrow),
.tech-cover__copy > p {
  margin: .9rem 0 0;
  color: var(--tech-muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.tech-hero__note a,
.tech-text-link {
  display: inline-flex;
  margin-top: 1.1rem;
  color: var(--primary);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}

.tech-heading {
  max-width: 800px;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.tech-heading--wide {
  max-width: 980px;
}

.tech-heading h2,
.tech-files__intro h2,
.tech-zones__content h2,
.tech-final h2 {
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  letter-spacing: -.035em;
}

.tech-summary {
  border-radius: 0 54px 54px 54px;
  background: var(--tech-warm);
}

.tech-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tech-steps li {
  min-width: 0;
  padding: 0 clamp(1rem, 2.5vw, 2.25rem);
  border-left: 1px solid var(--tech-line);
}

.tech-steps li:first-child {
  padding-left: 0;
  border-left: 0;
}

.tech-steps li:last-child {
  padding-right: 0;
}

.tech-steps span,
.tech-file-card__label {
  display: block;
  color: var(--primary);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tech-steps strong {
  display: block;
  margin-top: 1.2rem;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
}

.tech-steps p {
  margin: .8rem 0 0;
  color: var(--tech-muted);
  line-height: 1.6;
}

.tech-files {
  display: grid;
  grid-template-columns: minmax(250px, .65fr) minmax(0, 1.35fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}

.tech-file-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.tech-file-cards article {
  min-width: 0;
  padding: clamp(1.6rem, 3vw, 2.5rem);
  border: 1px solid var(--tech-line);
  border-radius: 0 28px 28px 28px;
}

.tech-file-cards article:nth-child(2) {
  background: var(--tech-coral);
}

.tech-file-cards h3 {
  margin: 1rem 0 0;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
}

.tech-file-cards ul,
.tech-cover__copy ul {
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}

.tech-file-cards li,
.tech-cover__copy li {
  position: relative;
  padding: .62rem 0 .62rem 1.55rem;
  border-top: 1px solid rgba(47, 48, 53, .13);
  color: var(--tech-muted);
  line-height: 1.5;
}

.tech-file-cards li::before,
.tech-cover__copy li::before {
  position: absolute;
  left: 0;
  color: var(--primary);
  content: "✓";
  font-weight: 800;
}

.tech-formats {
  border-radius: 0 54px 54px 54px;
  background: var(--tech-warm);
}

.tech-format-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--tech-line);
  border-bottom: 1px solid var(--tech-line);
}

.tech-format-grid article {
  min-width: 0;
  padding: clamp(1.35rem, 2.5vw, 2.25rem);
  border-left: 1px solid var(--tech-line);
}

.tech-format-grid article:first-child {
  border-left: 0;
}

.tech-format-grid strong,
.tech-format-grid span,
.tech-format-grid small {
  display: block;
  overflow-wrap: anywhere;
}

.tech-format-grid strong {
  color: var(--primary);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.tech-format-grid span {
  margin-top: .7rem;
  font-size: 1.06rem;
  font-weight: 700;
}

.tech-format-grid small {
  margin-top: .75rem;
  color: var(--tech-muted);
  font-size: .92rem;
  line-height: 1.5;
}

.tech-zones {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.tech-zones__visual {
  display: grid;
  place-items: center;
  min-height: 520px;
  border-radius: 0 44px 44px 44px;
  background: var(--tech-coral);
}

.tech-page-diagram {
  position: relative;
  width: min(66%, 290px);
  aspect-ratio: .72;
  padding: 20px;
  border: 2px dashed var(--primary);
  background: rgba(255, 255, 255, .45);
}

.tech-page-diagram__bleed {
  position: absolute;
  top: -2.1rem;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.tech-page-diagram__trim {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 28px;
  border: 2px solid var(--tech-ink);
  background: #fff;
}

.tech-page-diagram__trim > span {
  position: absolute;
  bottom: calc(100% + 4px);
  right: 0;
  color: var(--tech-ink);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1;
}

.tech-page-diagram__safe {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 1rem;
  border: 1px solid var(--tech-line);
  color: var(--tech-muted);
  text-align: center;
  line-height: 1.45;
}

.tech-metric {
  display: grid;
  grid-template-columns: minmax(175px, .55fr) minmax(0, 1.45fr);
  gap: 1.4rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--tech-line);
}

.tech-metric:first-of-type {
  margin-top: 1.8rem;
  border-top: 1px solid var(--tech-line);
}

.tech-metric strong {
  color: var(--primary);
  font-size: 1.25rem;
}

.tech-metric p {
  margin: 0;
  color: var(--tech-muted);
  line-height: 1.6;
}

.tech-caution {
  margin: 1.5rem 0 0;
  padding: 1.2rem 1.4rem;
  border-left: 4px solid var(--primary);
  border-radius: 0 18px 18px 0;
  background: var(--tech-warm);
  color: var(--tech-muted);
  line-height: 1.6;
}

.tech-cover {
  border-radius: 0 54px 54px 54px;
  background: var(--tech-warm);
}

.tech-cover__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}

.tech-cover-diagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(72px, .18fr) minmax(0, 1fr);
  min-height: 330px;
  padding: 16px;
  border: 2px dashed var(--primary);
  background: #fff;
}

.tech-cover-diagram > div {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--tech-line);
  background: linear-gradient(145deg, #fff 0%, #fff7f0 100%);
  text-align: center;
}

.tech-cover-diagram > div:first-child {
  border-radius: 0 0 0 24px;
}

.tech-cover-diagram > div:last-child {
  border-radius: 0 24px 24px 0;
}

.tech-cover-diagram .tech-cover-diagram__spine {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 0;
  border-right: 0;
  border-left: 0;
  background: var(--tech-coral);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
}

.tech-cover-diagram span {
  line-height: 1.35;
}

.tech-checklist__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tech-checklist__grid li {
  position: relative;
  min-width: 0;
  padding: 1.2rem 1rem 1.2rem 2.5rem;
  border-bottom: 1px solid var(--tech-line);
  font-size: 1.05rem;
  line-height: 1.5;
}

.tech-checklist__grid li::before {
  position: absolute;
  left: .2rem;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: var(--tech-coral);
  color: var(--primary);
  content: "✓";
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.55rem;
  text-align: center;
}

.tech-faq {
  border-radius: 0 54px 54px 54px;
  background: var(--tech-warm);
}

.tech-accordion .accordion-item {
  border: 0;
  border-bottom: 1px solid rgba(47, 48, 53, .28);
  background: transparent;
}

.tech-accordion .accordion-button {
  column-gap: .75rem;
  min-height: 82px;
  padding: 1.25rem 3.2rem 1.25rem 0;
  background: transparent;
  box-shadow: none;
  color: var(--tech-ink);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 600;
  line-height: 1.35;
}

.tech-accordion .accordion-button:not(.collapsed) {
  color: var(--primary);
}

.tech-accordion .accordion-body {
  max-width: 900px;
  padding: 0 2.5rem 1.7rem 0;
  color: var(--tech-muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.tech-faq__more {
  margin-top: 2rem;
}

.tech-final {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(310px, .7fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: end;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 0 42px 42px 42px;
  background: var(--tech-coral);
}

.tech-final > div {
  min-width: 0;
}

@media (max-width: 1399.98px) {
  .tech-final {
    grid-template-columns: minmax(0, 1fr);
  }
}

.tech-final > div > p:not(.tech-eyebrow) {
  max-width: 720px;
  margin: 1rem 0 0;
  color: var(--tech-muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.tech-final .tech-actions {
  margin-top: 0;
}

.tech-updated {
  margin: 1rem 0 0;
  color: var(--tech-muted);
  font-size: .86rem;
  text-align: right;
}

@media (max-width: 1199.98px) {
  .tech-steps,
  .tech-format-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tech-steps li,
  .tech-steps li:first-child,
  .tech-steps li:last-child {
    padding: 1.5rem;
    border-top: 1px solid var(--tech-line);
    border-left: 1px solid var(--tech-line);
  }

  .tech-steps li:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .tech-format-grid article,
  .tech-format-grid article:first-child {
    border-top: 1px solid var(--tech-line);
    border-left: 1px solid var(--tech-line);
  }

  .tech-format-grid article:nth-child(odd) {
    border-left: 0;
  }
}

@media (max-width: 991.98px) {
  .tech-hero__grid,
  .tech-files,
  .tech-zones,
  .tech-cover__layout,
  .tech-final {
    grid-template-columns: 1fr;
  }

  .tech-hero__note {
    max-width: 680px;
  }

  .tech-zones__visual {
    min-height: 460px;
  }

  .tech-final .tech-actions {
    margin-top: 0;
  }
}

@media (min-width: 992px) and (max-width: 1679.98px) {
  .tech-page > .section.container {
    width: calc(100% - clamp(46px, 4.2vw, 60px) - 190px);
    max-width: 1320px;
    margin-right: 190px;
    margin-left: clamp(46px, 4.2vw, 60px);
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .tech-page .section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .tech-hero {
    padding-top: 1.5rem !important;
  }

  .tech-hero > .container.section {
    margin-bottom: 1.5rem !important;
  }

  .tech-hero__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tech-hero__note {
    max-width: 680px;
  }
}

@media (max-width: 767.98px) {
  .tech-page .section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .tech-hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.55rem);
  }

  .tech-heading h2,
  .tech-files__intro h2,
  .tech-zones__content h2,
  .tech-final h2 {
    font-size: clamp(2rem, 9.5vw, 2.8rem);
  }

  .tech-file-cards,
  .tech-checklist__grid {
    grid-template-columns: 1fr;
  }

  .tech-cover-diagram {
    grid-template-columns: minmax(0, 1fr) minmax(58px, .2fr) minmax(0, 1fr);
    min-height: 245px;
    padding: 9px;
  }

  .tech-cover-diagram > div {
    padding: .55rem;
    font-size: .78rem;
  }
}

@media (max-width: 575.98px) {
  .tech-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .tech-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .tech-steps,
  .tech-format-grid {
    grid-template-columns: 1fr;
  }

  .tech-steps li,
  .tech-steps li:first-child,
  .tech-steps li:last-child,
  .tech-format-grid article,
  .tech-format-grid article:first-child,
  .tech-format-grid article:nth-child(odd) {
    padding: 1.4rem 0;
    border-top: 1px solid var(--tech-line);
    border-left: 0;
  }

  .tech-summary,
  .tech-formats,
  .tech-cover,
  .tech-faq {
    border-radius: 0 28px 28px 28px;
  }

  .tech-zones__visual {
    min-height: 390px;
  }

  .tech-page-diagram {
    width: min(72%, 240px);
    padding: 15px;
  }

  .tech-metric {
    grid-template-columns: 1fr;
    gap: .5rem;
  }

  .tech-cover-diagram {
    grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
  }

  .tech-cover-diagram .tech-cover-diagram__spine {
    font-size: .63rem;
  }

  .tech-final {
    padding: 1.5rem 1rem;
    border-radius: 0 28px 28px 28px;
  }

  .tech-final h2 {
    font-size: clamp(1.4375rem, 7.2vw, 2.8rem);
  }

  .tech-updated {
    text-align: left;
  }
}

@media (max-width: 899px) and (orientation: landscape) {
  .tech-page .section {
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
  }

  .tech-hero__grid,
  .tech-zones,
  .tech-cover__layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }

  .tech-hero h1 {
    font-size: clamp(2.2rem, 6vw, 3.4rem);
  }

  .tech-hero__lead,
  .tech-hero__note p {
    font-size: .95rem;
  }

  .tech-zones__visual {
    min-height: 360px;
  }

  .tech-cover-diagram {
    min-height: 230px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tech-page * {
    scroll-behavior: auto !important;
  }
}
