.technical-page .camus-page-hero {
  padding-bottom: 58px;
}

.technical-page .camus-page-hero h1 {
  max-width: 940px;
}

.technical-page .camus-page-lead {
  max-width: 820px;
}

.technical-content {
  display: grid;
  gap: 24px;
}

.technical-overview,
.technical-panel,
.technical-support {
  border: 1px solid #becfde;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #eef5fb);
  box-shadow: 0 16px 38px rgba(16, 40, 61, 0.09), inset 0 1px rgba(255, 255, 255, 0.92);
}

.technical-overview {
  position: relative;
  overflow: hidden;
  padding: 34px;
  color: #ffffff;
  border-color: rgba(140, 185, 217, 0.25);
  background:
    radial-gradient(circle at 92% 12%, rgba(69, 133, 177, 0.28), transparent 34%),
    linear-gradient(135deg, #0b2236 0%, #123a56 58%, #174a6b 100%);
  box-shadow: 0 20px 46px rgba(8, 31, 49, 0.2), inset 0 1px rgba(255, 255, 255, 0.1);
}

.technical-overview::after {
  content: "";
  position: absolute;
  right: -74px;
  bottom: -96px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(180, 219, 244, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(180, 219, 244, 0.035), 0 0 0 68px rgba(180, 219, 244, 0.025);
}

.technical-overview-copy,
.technical-facts {
  position: relative;
  z-index: 1;
}

.technical-eyebrow,
.technical-number {
  display: block;
  color: #78bfe8;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.technical-overview h2,
.technical-panel h2,
.technical-support h2 {
  margin: 9px 0 0;
  color: inherit;
  font-size: clamp(1.5rem, 2.4vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.technical-overview-copy > p {
  max-width: 850px;
  margin: 14px 0 0;
  color: #d7e8f5;
  line-height: 1.68;
}

.technical-facts {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(188, 220, 243, 0.2);
}

.technical-fact {
  min-width: 0;
  padding: 20px 20px 0 0;
}

.technical-fact + .technical-fact {
  padding-left: 20px;
  border-left: 1px solid rgba(188, 220, 243, 0.2);
}

.technical-fact strong,
.technical-fact span {
  display: block;
}

.technical-fact strong {
  color: #ffffff;
  font-size: 0.95rem;
}

.technical-fact span {
  margin-top: 5px;
  color: #bcd3e5;
  font-size: 0.82rem;
  line-height: 1.5;
}

.technical-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.technical-panel {
  min-width: 0;
  padding: 28px;
}

.technical-panel.is-wide {
  grid-column: 1 / -1;
}

.technical-panel h2,
.technical-support h2 {
  color: #0b1f33;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}

.technical-panel > p,
.technical-support p {
  margin: 13px 0 0;
  color: #435d74;
  line-height: 1.65;
}

.technical-panel .camus-list {
  margin-top: 18px;
}

.technical-panel .camus-list li {
  color: #173047;
}

.technical-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 3px solid #2c7fb0;
  border-radius: 0 8px 8px 0;
  color: #29465e;
  background: #e6f1f8;
  font-size: 0.9rem;
  line-height: 1.58;
}

.technical-note strong {
  color: #0b1f33;
}

.technical-note.is-concept {
  border-left-color: #0e8a7a;
  background: #e8f5f2;
}

.technical-delete-window {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  padding: 22px;
  border: 1px solid #c5d9e8;
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(44, 127, 176, 0.12), transparent 42%),
    #f4f9fc;
}

.technical-delete-message {
  width: min(430px, 100%);
  justify-self: center;
  padding: 17px 18px 12px;
  border: 1px solid #b8cede;
  border-radius: 16px 16px 4px 16px;
  color: #18334a;
  background: linear-gradient(180deg, #ffffff, #e8f2f8);
  box-shadow: 0 12px 26px rgba(16, 40, 61, 0.11);
}

.technical-delete-message > span,
.technical-delete-message > strong,
.technical-delete-message small {
  display: block;
}

.technical-delete-message > span {
  color: #36769e;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.technical-delete-message > strong {
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.45;
}

.technical-delete-message small {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
  color: #61788b;
}

.technical-delete-message small b {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: #ffffff;
  background: #b42318;
  font-size: 1rem;
}

.technical-delete-message small b svg {
  width: 15px;
  height: 15px;
}

.technical-delete-timer {
  min-width: 0;
}

.technical-delete-timer > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.technical-delete-timer > div strong {
  color: #0b1f33;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.technical-delete-timer > div span {
  color: #526b80;
  font-size: 0.8rem;
  font-weight: 700;
}

.technical-delete-timer > i {
  position: relative;
  display: block;
  height: 8px;
  margin-top: 13px;
  overflow: hidden;
  border-radius: 999px;
  background: #d8e6ef;
}

.technical-delete-timer > i::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 76%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2c7fb0, #0e8a7a);
}

.technical-delete-timer > p {
  margin: 12px 0 0;
  color: #526b80;
  font-size: 0.85rem;
  line-height: 1.55;
}

.technical-flow {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  counter-reset: technical-flow;
}

.technical-flow-step {
  position: relative;
  min-height: 150px;
  padding: 20px;
  border: 1px solid #c8d8e5;
  border-radius: 12px;
  background: #f7fbfe;
}

.technical-flow-step::before {
  counter-increment: technical-flow;
  content: "0" counter(technical-flow);
  display: block;
  margin-bottom: 16px;
  color: #2878a8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.technical-flow-step strong,
.technical-flow-step span {
  display: block;
}

.technical-flow-step strong {
  color: #0b1f33;
  font-size: 1rem;
}

.technical-flow-step span {
  margin-top: 7px;
  color: #526b80;
  font-size: 0.86rem;
  line-height: 1.55;
}

.technical-tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.technical-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid #c5d9e8;
  border-radius: 999px;
  color: #235f84;
  background: #edf6fb;
  font-size: 0.76rem;
  font-weight: 700;
}

.technical-support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 28px 30px;
}

.technical-support .btn {
  min-width: 210px;
}

html[data-camus-theme="dark"] .technical-panel,
html[data-camus-theme="dark"] .technical-support {
  border-color: #41434a;
  background: linear-gradient(180deg, #24252a, #1c1d21);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22), inset 0 1px rgba(255, 255, 255, 0.04);
}

html[data-camus-theme="dark"] .technical-panel h2,
html[data-camus-theme="dark"] .technical-support h2,
html[data-camus-theme="dark"] .technical-note strong,
html[data-camus-theme="dark"] .technical-flow-step strong {
  color: #ffffff;
}

html[data-camus-theme="dark"] .technical-panel > p,
html[data-camus-theme="dark"] .technical-support p,
html[data-camus-theme="dark"] .technical-panel .camus-list li,
html[data-camus-theme="dark"] .technical-flow-step span {
  color: #c7cbd2;
}

html[data-camus-theme="dark"] .technical-note,
html[data-camus-theme="dark"] .technical-flow-step,
html[data-camus-theme="dark"] .technical-tag {
  border-color: #3f4f5e;
  background: #202b35;
}

html[data-camus-theme="dark"] .technical-note {
  color: #c8d8e5;
  border-left-color: #5aa7d4;
}

html[data-camus-theme="dark"] .technical-note.is-concept {
  border-left-color: #55c7b8;
  background: #1d302f;
}

html[data-camus-theme="dark"] .technical-delete-window {
  border-color: #3f4f5e;
  background:
    radial-gradient(circle at 100% 0%, rgba(90, 167, 212, 0.12), transparent 42%),
    #1d252d;
}

html[data-camus-theme="dark"] .technical-delete-message {
  border-color: #465d70;
  color: #f4f8fb;
  background: linear-gradient(180deg, #293945, #202c35);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

html[data-camus-theme="dark"] .technical-delete-message > span {
  color: #8fc8e8;
}

html[data-camus-theme="dark"] .technical-delete-message small,
html[data-camus-theme="dark"] .technical-delete-timer > div span,
html[data-camus-theme="dark"] .technical-delete-timer > p {
  color: #b8c8d4;
}

html[data-camus-theme="dark"] .technical-delete-timer > div strong {
  color: #ffffff;
}

html[data-camus-theme="dark"] .technical-delete-timer > i {
  background: #354550;
}

html[data-camus-theme="dark"] .technical-tag {
  color: #9dcae5;
}

@media (max-width: 920px) {
  .technical-facts,
  .technical-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .technical-fact:nth-child(3) {
    border-left: 0;
  }

  .technical-support {
    grid-template-columns: 1fr;
  }

  .technical-support .btn {
    width: fit-content;
  }
}

@media (max-width: 700px) {
  .technical-page .camus-page-hero {
    padding-bottom: 42px;
  }

  .technical-overview,
  .technical-panel,
  .technical-support {
    padding: 22px;
    border-radius: 12px;
  }

  .technical-grid,
  .technical-facts,
  .technical-flow,
  .technical-delete-window {
    grid-template-columns: 1fr;
  }

  .technical-fact,
  .technical-fact + .technical-fact,
  .technical-fact:nth-child(3) {
    padding: 16px 0;
    border-top: 1px solid rgba(188, 220, 243, 0.2);
    border-left: 0;
  }

  .technical-facts {
    padding-top: 8px;
  }

  .technical-flow-step {
    min-height: 0;
  }

  .technical-support .btn {
    width: 100%;
    min-width: 0;
  }

  .technical-overview::after {
    right: -48px;
    bottom: -62px;
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 360px) {
  .technical-overview::after {
    display: none;
  }

  .technical-overview,
  .technical-panel,
  .technical-support {
    padding: 18px;
  }

  .technical-note,
  .technical-flow-step {
    padding-right: 14px;
    padding-left: 14px;
  }
}
