:root {
  color-scheme: dark;
  --navy: #071b33;
  --navy-deep: #04111f;
  --blue: #0a315c;
  --cyan: #4eb4db;
  --ice: #eaf5fa;
  --muted: #abc2d1;
  --line: rgba(188, 223, 239, .17);
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--navy-deep); }

body {
  min-height: 100svh;
  margin: 0;
  color: var(--ice);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(155deg, #0b3155 0%, var(--navy) 38%, var(--navy-deep) 100%);
  background-size: 44px 44px, 44px 44px, auto;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(135deg, rgba(78,180,219,.13), transparent 38%, rgba(255,255,255,.035));
}

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

.shell {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: max(18px, env(safe-area-inset-top)) 14px max(18px, env(safe-area-inset-bottom));
}

.panel {
  width: min(100%, 440px);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 17, 31, .72);
  box-shadow: 0 26px 80px rgba(0, 7, 14, .4);
  backdrop-filter: blur(22px);
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
}

.masthead i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cyan);
}

.identity {
  display: grid;
  justify-items: center;
  padding: 28px 8px 30px;
  text-align: center;
}

.logo-wrap {
  display: grid;
  width: 132px;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.logo-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: contain;
}

.name {
  max-width: 330px;
  margin: 17px 0 0;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}

h1 {
  max-width: 350px;
  margin: 20px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 400;
  line-height: 1.08;
}

.intro {
  max-width: 340px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.links { display: grid; gap: 10px; }

.link {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255,255,255,.045);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.link.primary {
  border-color: rgba(78,180,219,.45);
  background: linear-gradient(135deg, rgba(78,180,219,.16), rgba(255,255,255,.045));
}

.link:hover,
.link:focus-visible {
  border-color: rgba(78,180,219,.7);
  background: rgba(255,255,255,.09);
  outline: none;
  transform: translateY(-2px);
}

.link:active { transform: translateY(0) scale(.99); }

.icon {
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(78,180,219,.32);
  border-radius: 50%;
  color: var(--cyan);
  background: rgba(1, 12, 24, .35);
}

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

.text-icon { font-family: Arial, sans-serif; font-size: 16px; font-weight: 700; }
.copy { min-width: 0; }
.copy strong, .copy em { display: block; font-style: normal; }
.copy strong { font-size: 15.5px; font-weight: 620; line-height: 1.25; }
.copy em { margin-top: 4px; overflow-wrap: anywhere; color: var(--muted); font-size: 12.5px; line-height: 1.3; }
.arrow { color: rgba(234,245,250,.68); font-size: 17px; }

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 4px 2px 0;
  color: rgba(171,194,209,.75);
  font-size: 11.5px;
}

footer a {
  color: rgba(234,245,250,.82);
  transition: color .2s ease;
}

footer a:hover,
footer a:focus-visible {
  color: var(--cyan);
  outline: none;
}

@media (min-width: 720px) {
  .shell { padding: 38px; }
  .panel { padding: 20px; }
}

@media (max-width: 370px) {
  .panel { padding: 14px; }
  h1 { font-size: 28px; }
  .identity { padding-inline: 2px; }
}

@media (prefers-reduced-motion: no-preference) {
  .panel { animation: appear .6s ease-out both; }
  .link { animation: rise .55s ease-out both; }
  .link:nth-child(2) { animation-delay: .05s; }
  .link:nth-child(3) { animation-delay: .1s; }
  .link:nth-child(4) { animation-delay: .15s; }
  .link:nth-child(5) { animation-delay: .2s; }
  .link:nth-child(6) { animation-delay: .25s; }
  @keyframes appear { from { opacity: 0; transform: translateY(12px); } }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } }
}
