:root {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}

/* Page background + base text */

body {
  margin: 0;
  line-height: 1.6;
  background: linear-gradient(
    to bottom,
    #cde9ff 0%,      /* light sky blue */
    #b4daf8 35%,     /* soft pool-water blue */
    #89bfe8 100%     /* medium ocean blue */
  );
  color: #020617;
}

/* Header / top bar */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.logo-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e5e7eb;
  text-decoration: none;
}

.logo-text:hover {
  color: #f9fafb;
}

/* Navigation */

nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.9rem;
}

nav a {
  color: #cbd5e1;
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 0.4rem; /* rectangular-ish block, not pill */
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

nav a:hover {
  background: rgba(148, 163, 184, 0.28);
  border-color: rgba(148, 163, 184, 0.7);
  color: #f9fafb;
}

/* Main content shell */

main.container {
  max-width: 960px;
  margin: 1.8rem auto 3.6rem; /* closer to header so H1 reads under brand */
  padding: 2.1rem 2rem 3rem;
  background: #f9fafb;
  border-radius: 1.4rem;
  box-shadow:
    0 20px 60px rgba(15, 23, 42, 0.18),
    0 2px 6px rgba(15, 23, 42, 0.12);
}

h1 {
  font-size: 2.05rem;
  margin-bottom: 0.8rem;
  letter-spacing: 0.02em;
}

h2 {
  margin-top: 2.1rem;
  font-size: 1.45rem;
}

h3 {
  margin-top: 1.2rem;
  font-size: 1.1rem;
}

p {
  margin-bottom: 0.95rem;
  max-width: 70ch;
}

ul,
ol {
  padding-left: 1.3rem;
  margin-top: 0;
  margin-bottom: 0.95rem;
  max-width: 70ch;
}

img {
  border-radius: 0.9rem;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0.75rem 0 1.25rem;
}

/* Powered by TrackLiquid footer banner */

footer {
  margin-top: 3rem;
}

.footer-banner {
  width: 100%;
  padding: 2rem 0;
  text-align: center;
  background: linear-gradient(
    to right,
    #0284c7 0%,
    #0369a1 40%,
    #0b1120 100%
  );
  color: #f1f5f9;
}

.footer-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 0.45rem;
}

footer a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.4rem;
}

footer a:hover {
  text-decoration: underline;
}

/* Mobile / tablet adjustments */

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.6rem 0 0.85rem;
  }

  nav {
    flex-wrap: wrap;
    gap: 0.45rem;
  }

  main.container {
    margin: 1.6rem auto 2.6rem;
    padding: 1.85rem 1.3rem 2.5rem;
    border-radius: 1.2rem;
  }

  h1 {
    font-size: 1.7rem;
  }

  .footer-banner {
    padding: 1.6rem 0;
  }
}
