:root {
  --tech-corner-bg: var(--fx-bg);
  --tech-corner-surface: var(--fx-surface-strong);
  --tech-corner-border-strong: var(--fx-border-soft);
  --tech-corner-shadow: var(--fx-shadow-lg);
  --tech-corner-shadow-subtle: var(--fx-shadow-md);
  --tech-corner-accent: var(--fx-accent);
  --tech-corner-accent-strong: var(--fx-accent-strong);
  --tech-corner-muted: var(--fx-muted);
  --tech-corner-heading: var(--fx-text);
  --tech-corner-body: var(--fx-muted);
  --tech-corner-card-text: var(--fx-text);
  --tech-corner-card-muted: var(--fx-muted);
}

.tech-corner-page {
  background: transparent;
  color: var(--tech-corner-body);
}

.tech-corner-page a {
  color: inherit;
}

.tech-corner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 7vw, 72px);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.tech-corner::after {
  content: none;
}

.tech-corner__content {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 7vw, 72px);
  padding-inline: clamp(1.5rem, 4vw, 3rem);
}

.section-heading {
  display: grid;
  gap: 0.75rem;
  max-width: 640px;
}

.section-heading h2 {
  margin: 0;
  color: var(--tech-corner-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-heading p {
  margin: 0;
  color: var(--tech-corner-body);
  font-size: 0.98rem;
  line-height: 1.6;
}

.downloads-section {
  display: grid;
  gap: clamp(32px, 6vw, 48px);
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.download-card {
  background: #ffffff;
  color: var(--tech-corner-card-text);
  border-radius: 18px;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  border: 1px solid rgba(24, 28, 36, 0.12);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.download-card__cover {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #f4f5f7;
  isolation: isolate;
}

.download-card__cover::after {
  content: none;
}

.download-card__cover--lab {
  background: #eef1f4;
}

.download-card__cover--hydrogen {
  background: #e8edf2;
}

.download-card__cover--carbon {
  background: #edf0f3;
}

.download-card__cover--automation {
  background: #e9edf1;
}

.download-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.8rem 1.6rem 1.6rem;
  flex: 1 1 auto;
}

.download-card__title {
  margin: 0;
  font-size: 1.1rem;
  color: var(--tech-corner-card-text);
  line-height: 1.35;
}

.download-card__summary {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--tech-corner-card-muted);
}

.download-card__button {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  background: var(--tech-corner-accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, transform 0.2s ease;
}

.download-card__button:hover,
.download-card__button:focus-visible {
  background: var(--tech-corner-accent-strong);
  transform: translateY(-1px);
}


.publications-section {
  display: grid;
  gap: clamp(32px, 6vw, 48px);
}

.section-heading--publications {
  max-width: 640px;
}

.section-heading--publications h2 {
  color: var(--tech-corner-heading);
  letter-spacing: 0.04em;
}


.publication-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(20px, 2.8vw, 28px);
}

.publication-entry {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  background: #f3f5f7;
  color: var(--tech-corner-card-text);
  border-radius: 16px;
  border: 1px solid rgba(24, 28, 36, 0.1);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
  padding: 1.3rem 1.25rem 1.2rem;
  min-height: 360px;
}

.publication-entry__logo {
  align-self: flex-end;
  min-height: 22px;
  color: #2d6799;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.publication-entry__title {
  margin: 0;
  color: var(--tech-corner-accent);
  font-size: 1.05rem;
  line-height: 1.38;
  font-weight: 700;
  text-transform: uppercase;
}

.publication-entry__divider {
  margin: 0.1rem 0 0;
  border: 0;
  border-top: 2px solid rgba(80, 93, 112, 0.22);
}

.publication-entry__authors {
  margin: 0;
  color: #3e4b5e;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
  text-transform: uppercase;
}

.publication-entry__venue {
  margin: 0;
  color: #6f7f94;
  font-size: 0.94rem;
  line-height: 1.45;
}

.publication-entry__button {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 178px;
  padding: 0.62rem 1.25rem;
  border-radius: 999px;
  background: var(--tech-corner-accent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease;
}

.publication-entry__button:hover,
.publication-entry__button:focus-visible {
  background: var(--tech-corner-accent-strong);
  transform: translateY(-1px);
}

.publication-entry__error {
  margin: 0;
  color: #fff;
}

.publications-actions {
  display: flex;
  justify-content: center;
}

.publications-actions__button {
  min-width: 140px;
  justify-content: center;
  text-align: center;
}

.connect-card {
  border-radius: 42px;
  background: linear-gradient(112deg, #3c444f 0%, #242c37 55%, #161d28 100%);
  box-shadow: 0 30px 70px rgba(16, 20, 27, 0.28);
  padding: clamp(2rem, 4vw, 3.2rem);
}

.connect-card__inner {
  display: grid;
  gap: 1.3rem;
  max-width: 620px;
}

.connect-card__kicker {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.2em;
  text-transform: none;
  font-size: 0.85rem;
  font-weight: 700;
}

.connect-card h2 {
  margin: 0;
  color: #f2f4f7;
  font-size: clamp(2rem, 5vw, 3.45rem);
  line-height: 1.12;
}

.connect-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.55;
}

.connect-card__button {
  justify-self: start;
  color: #fff !important;
}

@media (max-width: 560px) {
  .publication-entry {
    min-height: 320px;
  }

  .publication-entry__title {
    font-size: 1rem;
  }

  .publication-entry__authors {
    font-size: 0.9rem;
  }

  .connect-card {
    border-radius: 28px;
  }

}

@media (max-width: 480px) {
  .tech-corner.wrap {
    padding-inline: clamp(1rem, 8vw, 1.4rem);
    gap: clamp(36px, 12vw, 48px);
  }

  .download-card__body {
    padding: 1.4rem 1.3rem 1.3rem;
  }
}

.company-menu-hero .section-kicker {
  color: var(--fx-accent);
}
