@import url("./globals.css");

body {
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse at 50% 0%, var(--bg-alt) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 45%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.7;
  padding: 120px 20px 80px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}

.nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 20px 12px 0px;
}

nav {
  width: 100%;
  max-width: 1100px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(var(--surface-rgb), 0.25);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid transparent;
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(var(--ink-rgb), 0.08);
  position: relative;
}

nav::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg,
      var(--secondary) 0%,
      #e9c46a 33%,
      var(--cta) 66%,
      #2a9d8f 100%);
  opacity: 0.5;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

nav a {
  line-height: 100%;
}

.nav-logo-img {
  height: 30px;
  width: auto;
  display: block;
}

.back-home {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border-radius: 999px;
  background: var(--bg-alt);
  transition:
    color 0.3s,
    border-color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.back-home::before {
  content: "<-";
  font-size: 12px;
}

.back-home:hover {
  color: var(--cta);
}

.container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
}

.logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--cta), var(--secondary-deep));
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

h1,
h2 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 600;
}

h1 {
  font-size: 34px;
  /* margin: 24px 0 8px; */
}

h2 {
  font-size: 20px;
  margin: 28px 0 10px;
}

p {
  color: var(--muted);
  margin-bottom: 12px;
}

ul {
  margin: 10px 0 14px 20px;
  color: var(--muted);
}

li {
  margin-bottom: 6px;
}

.updated {
  color: var(--muted);
  font-size: 13px;
}

.section {
  margin-top: 18px;
}

.contact {
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 768px) {
  nav {
    padding: 10px 16px;
  }

  .nav-logo-img {
    height: 28px;
  }

  body {
    padding: 110px 14px 60px;
  }

  .container {
    padding: 26px 20px;
  }

  h1 {
    font-size: 28px;
    font-weight: 600;
  }
}