:root {
  --gt-blue-900: #03133f;
  --gt-blue-800: #041a72;
  --gt-blue-700: #003366;
  --gt-cyan: #14a8c8;
  --gt-slate: #102033;
  --gt-muted: #5d6a7a;
  --gt-border: rgba(12, 47, 92, 0.14);
  --gt-shadow: 0 24px 64px rgba(3, 19, 63, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #f6f9fc;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: "Inter", Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--gt-slate);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.96) 0%, rgba(245, 249, 253, 0.92) 48%, rgba(230, 240, 248, 0.88) 100%),
    radial-gradient(circle at top right, rgba(20, 168, 200, 0.16), transparent 34%),
    #f6f9fc;
}

@supports (min-height: 100svh) {
  body {
    min-height: 100svh;
  }
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.links-page {
  width: 100%;
  padding: clamp(18px, 4vh, 52px) 18px clamp(12px, 2vh, 20px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.links-shell {
  width: 100%;
  max-width: 460px;
}

.brand-panel {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 30px 20px 26px;
  border: 1px solid var(--gt-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--gt-shadow);
}

.brand-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--gt-blue-800), var(--gt-cyan));
}

.brand-logo-link {
  display: flex;
  justify-content: center;
  width: min(100%, 280px);
  margin: 0 auto 24px;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.intro {
  text-align: center;
}

.subtitle {
  margin: 0;
  color: var(--gt-blue-700);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
}

.summary {
  margin: 18px auto 0;
  max-width: 35rem;
  color: var(--gt-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.link-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
}

.link-button {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border: 1px solid rgba(4, 26, 114, 0.16);
  border-radius: 8px;
  color: var(--gt-blue-900);
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(3, 19, 63, 0.08);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease;
}

.link-button:focus-visible {
  outline: 3px solid rgba(20, 168, 200, 0.35);
  outline-offset: 3px;
}

.link-button:hover,
.link-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(20, 168, 200, 0.45);
  box-shadow: 0 16px 32px rgba(3, 19, 63, 0.12);
}

.link-button-primary {
  border-color: rgba(4, 26, 114, 0.32);
  color: #ffffff;
  background: linear-gradient(135deg, var(--gt-blue-800), var(--gt-blue-700));
}

.link-icon {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  color: var(--gt-blue-700);
  background: rgba(20, 168, 200, 0.1);
}

.link-button-primary .link-icon {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.link-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.links-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 18px clamp(18px, 4vh, 46px);
  color: var(--gt-blue-900);
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.4;
  text-align: center;
  flex-wrap: wrap;
}

.links-footer a {
  display: inline-flex;
  min-height: 44px;
  min-width: min(100%, 220px);
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(4, 26, 114, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 26px rgba(3, 19, 63, 0.12);
  text-decoration: none;
}

.links-footer a:hover,
.links-footer a:focus-visible {
  color: var(--gt-blue-700);
  border-color: rgba(20, 168, 200, 0.38);
}

.links-footer span {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(93, 106, 122, 0.48);
}

@media (min-width: 560px) {
  .links-page {
    padding-right: 24px;
    padding-left: 24px;
  }

  .brand-panel {
    padding: 36px 32px 28px;
  }

  .brand-logo-link {
    width: 310px;
  }

  .link-button {
    min-height: 62px;
    padding: 14px 18px;
  }

  .links-footer {
    gap: 14px;
  }
}

@media (min-width: 900px) {
  .links-shell {
    max-width: 560px;
  }

  .brand-panel {
    padding: 44px 42px 36px;
  }

  .brand-logo-link {
    width: 370px;
    margin-bottom: 30px;
  }

  .subtitle {
    font-size: 1.18rem;
  }

  .summary {
    font-size: 1.04rem;
  }

  .link-list {
    gap: 14px;
    margin-top: 30px;
  }

  .link-button {
    min-height: 70px;
    padding: 16px 22px;
    font-size: 1.08rem;
  }

  .link-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .link-icon svg {
    width: 24px;
    height: 24px;
  }

  .links-footer {
    font-size: 1.06rem;
  }

  .links-footer a {
    min-height: 48px;
    min-width: 240px;
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (min-width: 1280px) and (min-height: 820px) {
  .links-shell {
    max-width: 640px;
  }

  .brand-panel {
    padding: 52px 48px 42px;
  }

  .brand-logo-link {
    width: 420px;
  }

  .subtitle {
    font-size: 1.28rem;
  }

  .summary {
    font-size: 1.1rem;
    line-height: 1.7;
  }

  .link-list {
    gap: 16px;
    margin-top: 34px;
  }

  .link-button {
    min-height: 76px;
    font-size: 1.15rem;
  }

  .links-footer {
    padding-top: 2px;
    font-size: 1.1rem;
  }
}

@media (max-width: 420px) {
  .links-page {
    padding-top: 16px;
  }

  .brand-panel {
    padding: 26px 16px 20px;
  }

  .brand-logo-link {
    width: min(100%, 230px);
    margin-bottom: 20px;
  }

  .subtitle {
    font-size: 1rem;
  }

  .summary {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .link-list {
    gap: 10px;
    margin-top: 22px;
  }

  .link-button {
    min-height: 56px;
    padding: 12px 14px;
    font-size: 0.98rem;
  }

  .links-footer {
    gap: 8px;
    padding-right: 14px;
    padding-left: 14px;
    font-size: 0.93rem;
  }

  .links-footer a {
    width: 100%;
    min-width: 0;
  }

  .links-footer span {
    display: none;
  }
}

@media (prefers-color-scheme: dark) {
  html {
    background: #030817;
  }

  body {
    color: #edf4fb;
    background:
      linear-gradient(145deg, rgba(3, 8, 23, 0.94), rgba(4, 26, 72, 0.92)),
      radial-gradient(circle at top right, rgba(20, 168, 200, 0.2), transparent 32%),
      #030817;
  }

  .brand-panel {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.96);
  }

  .links-footer {
    color: #f4f9ff;
  }

  .links-footer a {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  }

  .links-footer a:hover,
  .links-footer a:focus-visible {
    color: #ffffff;
    border-color: rgba(20, 168, 200, 0.48);
    background: rgba(255, 255, 255, 0.14);
  }
}

@media (prefers-reduced-motion: reduce) {
  .link-button {
    transition: none;
  }

  .link-button:hover,
  .link-button:focus-visible {
    transform: none;
  }
}
