:root {
  --bg: #07111f;
  --bg2: #0b1b2e;

  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --muted2: rgba(255, 255, 255, 0.52);
  --line: rgba(255, 255, 255, 0.12);

  --blue: #0ea5e9;
  --cyan: #22d3ee;
  --lime: #84cc16;

  --radius: 30px;
  --shadow: 0 34px 120px rgba(0, 0, 0, 0.6);

  --max: 1020px;

  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 20px;
  --space-5: 28px;
  --space-6: 34px;
  --space-7: 44px;
  --space-8: 56px;

  --sans:
    ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --mono:
    ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
}

/* ---------- Reset (minimal) ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  background:
    radial-gradient(
      1100px 650px at 18% 18%,
      rgba(34, 211, 238, 0.12),
      transparent 60%
    ),
    radial-gradient(
      900px 520px at 82% 22%,
      rgba(132, 204, 22, 0.12),
      transparent 58%
    ),
    linear-gradient(180deg, var(--bg), var(--bg2));

  display: flex;
  min-height: 100dvh;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

a:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.85);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Background grid ---------- */
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;

  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);

  background-size: 52px 52px;
  mask-image: radial-gradient(780px 520px at 50% 20%, black, transparent 72%);
}

/* ---------- Layout ---------- */
.page {
  width: min(var(--max), calc(100% - 40px));
  margin: auto;
  padding: 20px 0;
}

/* ---------- Card ---------- */
.card {
  position: relative;
  overflow: hidden;

  border-radius: var(--radius);
  border: 1px solid var(--line);

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.035)
  );
  box-shadow: var(--shadow);

  padding: var(--space-8) 52px;
}

.card::before {
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;

  background:
    radial-gradient(
      680px 280px at 14% 12%,
      rgba(34, 211, 238, 0.16),
      transparent 62%
    ),
    radial-gradient(
      560px 240px at 86% 18%,
      rgba(132, 204, 22, 0.14),
      transparent 60%
    );
}

/* Create a consistent stacking context for content above the glow */
.card > * {
  position: relative;
  z-index: 1;
}

.card__header {
  margin-bottom: var(--space-6);
}

/* ---------- Brand ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.brand__logo {
  width: 96px;
  height: 96px;
  flex: 0 0 auto;

  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.18);

  display: grid;
  place-items: center;

  padding: 10px;
}

.brand__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.35));
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.brand__name {
  margin: 0;

  font-size: 22px;
  font-weight: 820;
  letter-spacing: 0.2px;

  background: linear-gradient(
    90deg,
    rgba(34, 211, 238, 0.95),
    rgba(14, 165, 233, 0.95),
    rgba(132, 204, 22, 0.9)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand__tagline {
  margin: 0;

  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted2);
  letter-spacing: 0.6px;
  text-transform: uppercase;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card__content {
  max-width: 90ch;
}

.title {
  margin: 0 0 var(--space-5);
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.3px;
}

.lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.lead p {
  margin: 0;
}

.lead p + p {
  margin-top: 18px;
}

.divider {
  margin: var(--space-7) 0 var(--space-4);
  height: 1px;
  border: 0;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(34, 211, 238, 0.35),
    rgba(132, 204, 22, 0.35),
    transparent
  );
}

.card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;

  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.mail {
  color: rgba(34, 211, 238, 0.95);
  border-bottom: 1px dashed rgba(34, 211, 238, 0.45);
  padding-bottom: 2px;
  transition:
    border-color 0.15s ease,
    opacity 0.15s ease;
}

.mail:hover {
  opacity: 0.9;
  border-bottom-color: rgba(132, 204, 22, 0.55);
}

@media (max-width: 768px) {
  .page {
    width: min(var(--max), calc(100% - 36px));
  }

  .card {
    padding: 40px 24px;
  }

  .brand {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }

  .brand__logo {
    width: 84px;
    height: 84px;
  }

  .brand__name {
    font-size: 20px;
  }

  .card__content {
    max-width: 100%;
    text-align: center;
  }

  .card__footer {
    justify-content: center;
    text-align: center;
    gap: 8px;
  }
}

@media (max-width: 420px) {
  .title {
    font-size: 26px;
  }

  .lead {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
