:root {
  --accent: #0f766e;
  --dark: #17201f;
  --light: #eef7f3;
  --paper: #fffdf9;
  --ink: #202124;
  --muted: #66736f;
  --line: rgba(32, 33, 36, 0.14);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.65;
}

a { color: inherit; }

.tech-header {
  z-index: 10;
}

.tech-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.tech-logo {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  object-fit: contain;
}

.tech-brand strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
}

.tech-brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  margin-top: 3px;
}

.tech-menu {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tech-menu a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  color: #3e4946;
  font-size: 14px;
}

.tech-menu a[aria-current="page"],
.tech-menu a:hover {
  background: var(--light);
  color: var(--dark);
}

.tech-article {
  font-size: 18px;
}

.tech-article p {
  margin: 0 0 22px;
}

.tech-side-title {
  margin: 0 0 14px;
  font-size: 18px;
}

.tech-related {
  display: grid;
  gap: 10px;
}

.tech-card {
  display: grid;
  gap: 4px;
  text-decoration: none;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.tech-card:hover {
  border-color: color-mix(in srgb, var(--accent), white 30%);
}

.tech-card span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.tech-card strong {
  line-height: 1.25;
}

.tech-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.tech {
  --paper: #edf4f1;
  --ink: #17201f;
  --muted: #63706c;
  --line: rgba(23, 32, 31, 0.14);
}

.tech-header {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 22px;
  padding: 12px clamp(18px, 4vw, 48px);
  background: rgba(237, 244, 241, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.tech-brand {
  min-width: 0;
}

.tech-logo {
  background: #17201f;
  box-shadow: 0 10px 28px rgba(15, 118, 110, 0.22);
}

.tech-brand-meta small {
  margin: 0;
  max-width: 170px;
  color: #52615d;
  font-weight: 700;
  text-transform: uppercase;
}

.tech-menu {
  justify-content: flex-end;
}

.tech-menu a {
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.54);
}

.tech-menu a[aria-current="page"],
.tech-menu a:hover {
  border-color: rgba(15, 118, 110, 0.26);
  background: #ffffff;
}

.tech-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(22px, 4vw, 52px);
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: clamp(22px, 4vw, 50px) auto 0;
  min-height: 0;
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid rgba(23, 32, 31, 0.12);
  border-radius: 8px;
  background: linear-gradient(135deg, #f7fbf8, #dfeee9);
  box-shadow: 0 24px 80px rgba(23, 32, 31, 0.10);
}

.tech-intro-media {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 8px;
  filter: saturate(0.92) contrast(1.03);
}

.tech-intro-copy {
  color: var(--ink);
}

.tech-intro-copy span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.tech-intro-copy h1 {
  margin: 0;
  max-width: 660px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.14;
}

.tech-intro-copy p {
  max-width: 600px;
  margin: 16px 0 0;
  color: #4d5a57;
  font-size: 18px;
}

.tech-layout {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(34px, 5vw, 64px) 0;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 1fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: start;
}

.tech-article {
  padding: clamp(22px, 4vw, 38px);
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.tech-article p:first-child::first-letter {
  float: left;
  font-size: 52px;
  line-height: 0.9;
  padding: 7px 10px 0 0;
  color: var(--accent);
  font-weight: 800;
}

.tech-side {
  position: sticky;
  top: 86px;
  padding: 18px;
  border-radius: 8px;
  background: #17201f;
  color: #eef7f3;
}

.tech-side-title {
  color: #ffffff;
}

.tech-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.13);
  color: #eef7f3;
}

.tech-card span {
  color: #8de4d5;
}

.tech-footer {
  background: #ffffff;
}

@media (max-width: 860px) {
  .tech-header,
  .tech-intro,
  .tech-layout {
    grid-template-columns: 1fr;
  }

  .tech-menu {
    justify-content: flex-start;
  }

  .tech-side {
    position: static;
  }
}
