@font-face {
  font-family: 'Aptos Display';
  src: local('Aptos Display Bold'),
       local('AptosDisplay-Bold'),
       local('Aptos Display');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Aptos';
  src: local('Aptos'),
       local('Aptos Regular');
  font-weight: 400;
  font-style: normal;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --deep-blue: #123f91;
  --blue: #1767d8;
  --cyan: #16c7ee;
  --white: #fff;
  --ink: #08296b;
  --muted: #3b5f9c;
  --shadow: 0 20px 55px rgba(18, 63, 145, 0.18);
  --shadow-soft: 0 10px 30px rgba(18, 63, 145, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Aptos', 'Aptos Display', 'Segoe UI', system-ui, sans-serif;
  background:
    radial-gradient(
      circle at 50% 12%,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(234, 250, 255, 0.92) 34%,
      rgba(214, 245, 255, 0.78) 64%,
      rgba(190, 235, 255, 0.68) 100%
    ),
    linear-gradient(
      180deg,
      #f9feff 0%,
      #ddf7ff 45%,
      #c9efff 100%
    );
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-attachment: fixed;
  color: var(--ink);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.72;
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
nav a,
.hero-tag,
.toc-title,
.btn-primary,
.btn-secondary {
  font-family: 'Aptos Display', 'Aptos', 'Segoe UI', system-ui, sans-serif;
  font-weight: 700;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--cyan);
  text-decoration: underline;
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 72px;
  padding: 0 clamp(1rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(22, 199, 238, 0.18);
  box-shadow: 0 8px 30px rgba(18, 63, 145, 0.06);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 8px 16px rgba(23, 103, 216, 0.12));
}

.site-header nav {
  display: flex;
  gap: 1.35rem;
  align-items: center;
}

.site-header nav a {
  font-size: 0.9rem;
  color: var(--deep-blue);
  transition: color 0.2s, transform 0.2s;
}

.site-header nav a:hover {
  color: var(--cyan);
  transform: translateY(-1px);
  text-decoration: none;
}

.nav-pill {
  color: var(--white) !important;
  padding: 0.48rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 10px 24px rgba(22, 199, 238, 0.22);
}

/* Hero */

.hero {
  padding: 126px 1.4rem 2.4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      35deg,
      transparent 0 48%,
      rgba(23, 103, 216, 0.04) 49% 51%,
      transparent 52%
    ),
    linear-gradient(
      125deg,
      transparent 0 48%,
      rgba(23, 103, 216, 0.035) 49% 51%,
      transparent 52%
    );
  background-size: 78px 78px;
  mask-image: radial-gradient(circle at 70% 4%, black, transparent 42%);
  pointer-events: none;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  box-shadow: 0 12px 28px rgba(22, 199, 238, 0.24);
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: var(--deep-blue);
  max-width: 920px;
  margin: 0 auto 0.7rem;
  text-shadow: 0 10px 30px rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
}

.hero-date {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

/* Main content */

.container {
  width: min(1040px, calc(100% - 2.8rem));
  margin: 0 auto 5rem;
}

.toc,
section,
.contact-card {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 28px;
  padding: clamp(1.3rem, 3vw, 2rem);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.toc {
  margin-bottom: 1.2rem;
}

.toc-title {
  color: var(--deep-blue);
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.toc ol {
  columns: 2;
  column-gap: 2.4rem;
  padding-left: 1.2rem;
}

.toc li {
  break-inside: avoid;
  margin: 0.34rem 0;
  color: var(--muted);
}

/* Sections */

section {
  margin-top: 1.2rem;
}

section h2 {
  color: var(--deep-blue);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}

section h3 {
  color: var(--blue);
  font-size: 1.08rem;
  margin: 1.2rem 0 0.45rem;
}

p,
li {
  color: var(--muted);
}

p + p {
  margin-top: 0.75rem;
}

ul,
ol {
  padding-left: 1.25rem;
}

section ul,
section ol {
  margin: 0.7rem 0 0;
}

section li {
  margin: 0.45rem 0;
}

strong {
  color: var(--ink);
}

/* Boxes */

.highlight-box,
.warning-box {
  margin: 1rem 0;
  border-radius: 22px;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(22, 199, 238, 0.22);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
}

.highlight-box {
  box-shadow: inset 4px 0 0 var(--cyan);
}

.warning-box {
  box-shadow: inset 4px 0 0 #ffb84d;
  background: rgba(255, 247, 230, 0.72);
}

/* Contact cards */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

/* Buttons */

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 28px rgba(22, 199, 238, 0.24);
}

.btn-secondary {
  color: var(--deep-blue);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(23, 103, 216, 0.14);
}

.email-obfuscated {
  color: var(--ink);
  font-family: 'Aptos Display', 'Aptos', sans-serif;
  font-weight: 700;
}

/* Footer */

.site-footer {
  background: linear-gradient(90deg, #083287, #105fd1);
  color: rgba(255, 255, 255, 0.86);
  text-align: center;
  padding: 1.8rem 1.4rem;
  font-size: 0.88rem;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

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

.footer-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

/* Contact form */

.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--deep-blue);
  font-family: 'Aptos Display', 'Aptos', sans-serif;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(23, 103, 216, 0.18);
  border-radius: 18px;
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(22, 199, 238, 0.16);
}

.contact-form textarea {
  resize: vertical;
}

.gotcha-field {
  display: none;
}

/* Responsive */

@media (max-width: 860px) {
  .site-header {
    height: 66px;
  }

  .site-header nav a:not(.nav-pill) {
    display: none;
  }

  .hero {
    padding-top: 102px;
  }

  .toc ol {
    columns: 1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 0 1rem;
  }

  .logo img {
    height: 42px;
  }

  .container {
    width: min(100% - 1.5rem, 1040px);
  }

  .toc,
  section,
  .contact-card {
    border-radius: 22px;
    padding: 1.1rem;
  }
}