:root {
  color-scheme: dark;
  font-family: Tahoma, Arial, sans-serif;
  background: #0b1118;
  color: #f3f6f8;
  letter-spacing: 0;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  background: #0b1118;
}

a { color: inherit; text-decoration: none; }

.topbar {
  min-height: 68px;
  padding: 0 32px;
  border-bottom: 1px solid #28313b;
  background: #10171f;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.brand img { width: 104px; height: 30px; object-fit: contain; object-position: left center; }
.brand span { padding-right: 12px; border-right: 1px solid #39434e; font-size: 13px; color: #b8c1ca; }
.environment { color: #93a0ab; font: 12px Consolas, monospace; direction: ltr; }

main { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 44px 0 56px; }

.intro { padding-bottom: 34px; border-bottom: 1px solid #28313b; }
.intro p { margin: 0 0 8px; color: #28c58b; font-size: 12px; font-weight: 700; }
.intro h1 { margin: 0; font-size: clamp(28px, 5vw, 46px); line-height: 1.25; }
.intro span { display: block; margin-top: 12px; color: #9ba7b2; font-size: 14px; }

.link-section { padding-top: 34px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-heading h2 { margin: 0; font-size: 17px; }
.section-heading span { color: #7f8b96; font-size: 12px; }

.link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.link-card {
  min-height: 106px;
  padding: 20px;
  border: 1px solid #2a3540;
  border-right: 3px solid var(--accent);
  border-radius: 7px;
  background: #121a23;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.link-card:hover { border-color: var(--accent); background: #17212b; transform: translateY(-2px); }
.link-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.link-card div { min-width: 0; }
.link-card strong { display: block; direction: ltr; text-align: right; font: 700 16px Arial, sans-serif; }
.link-card span { display: block; margin-top: 8px; color: #96a2ad; font-size: 12px; line-height: 1.7; }
.link-card i {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid #3b4651;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  font: normal 17px Arial, sans-serif;
}
.accent-green { --accent: #28c58b; }
.accent-blue { --accent: #4ba3f2; }
.accent-amber { --accent: #e2ad42; }
.accent-red { --accent: #ef6f6c; }

footer {
  min-height: 58px;
  padding: 0 32px;
  border-top: 1px solid #28313b;
  color: #6f7b86;
  font: 11px Consolas, monospace;
  direction: ltr;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 700px) {
  .topbar, footer { padding-left: 18px; padding-right: 18px; }
  .brand span, .section-heading span { display: none; }
  main { width: min(100% - 28px, 1120px); padding-top: 30px; }
  .link-grid { grid-template-columns: 1fr; }
  .link-card { min-height: 96px; padding: 17px; }
}
