:root{
  --bg1: #0f1724;    /* deep background */
  --bg2: #0b1220;    /* secondary */
  --accent: #7dd3fc; /* light cyan */
  --muted: rgba(255,255,255,0.7);
  --glass: rgba(255,255,255,0.03);
  --radius: 14px;
  --maxwidth: 720px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color-scheme: dark;
}

* { box-sizing: border-box }
html,body { height:100%; margin:0 }
body {
  background: linear-gradient(180deg, var(--bg1), var(--bg2));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: white;
  font-size: 16px;
  line-height: 1.45;
}

/* Centering card */
.page {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card {
  width: 100%;
  max-width: var(--maxwidth);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 8px 30px rgba(2,6,23,0.6), inset 0 1px 0 rgba(255,255,255,0.02);
  border: 1px solid var(--glass);
  text-align: center;
}

/* Headline */
h1 {
  margin: 0 0 12px 0;
  font-weight: 600;
  font-size: clamp(1.6rem, 3.8vw, 2.25rem);
  letter-spacing: -0.02em;
}

/* Sub text */
.sub {
  margin: 0 0 22px 0;
  color: var(--muted);
  font-weight: 300;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

/* Links */
.links {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.link {
  font-size: .95rem;
  text-decoration: none;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,0.03);
  background: transparent;
}
.link:hover {
  color: var(--accent);
  border-color: rgba(125,211,252,0.08);
  transform: translateY(-2px);
}

/* Special style for email link */
.link[href^="mailto:"] {
  background: #ffffff;
  color: var(--bg1);           /* dark font for contrast */
  font-weight: 600;
  padding: 14px 20px;
  border-radius: 12px;
  margin: 20px auto;
  display: inline-block;
  border: none;                /* remove subtle border */
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform .15s ease, box-shadow .15s ease;
}

.link[href^="mailto:"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

/* Company info */
.company {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  text-align: center;
  line-height: 1.5;
}
.company p {
  margin: 4px 0;
}

/* Footer small text */
.small {
  font-size: .85rem;
  color: rgba(255,255,255,0.45);
}

/* Responsive tweaks */
@media (max-width:520px) {
  .card { padding: 28px }
}
.divider {
  margin: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}