:root {
  color-scheme: dark;
  --bg-top: #050b1f;
  --bg-bottom: #003b8f;
  --surface: rgba(7, 22, 44, 0.82);
  --surface-soft: rgba(85, 216, 255, 0.09);
  --line: rgba(106, 207, 255, 0.22);
  --text: #ffffff;
  --muted: #b7c2dd;
  --cyan: #55d8ff;
  --navy: #03142d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 12%, rgba(85, 216, 255, 0.16), transparent 28%),
    radial-gradient(circle at 90% 32%, rgba(0, 114, 232, 0.18), transparent 30%),
    linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 50%, rgba(255, 255, 255, 0.04) 50% 52%, transparent 52%),
    radial-gradient(ellipse at bottom left, rgba(85, 216, 255, 0.10), transparent 42%);
}

.page-shell {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.hero {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.32),
    0 0 40px rgba(85, 216, 255, 0.08);
  backdrop-filter: blur(14px);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 148px;
  height: 148px;
  border-radius: 34px;
  background: linear-gradient(145deg, #74cfff, #49dfff);
  color: var(--navy);
  font-size: 34px;
  font-weight: 900;
  box-shadow: 0 18px 45px rgba(85, 216, 255, 0.26);
}

.brand-mark span {
  color: #e63b47;
}

.brand-mark strong {
  display: block;
  margin-top: -20px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(38px, 8vw, 72px);
  line-height: 0.95;
  font-weight: 950;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 650;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  font-weight: 800;
}

button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

#printButton {
  padding: 11px 16px;
  border: 1px solid rgba(85, 216, 255, 0.36);
  border-radius: 16px;
  background: rgba(85, 216, 255, 0.12);
  color: var(--cyan);
  font-weight: 900;
}

.summary {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 0 18px;
  padding: 10px;
  border: 1px solid rgba(106, 207, 255, 0.16);
  border-radius: 24px;
  background: rgba(4, 17, 39, 0.82);
  backdrop-filter: blur(14px);
}

.summary a {
  flex: 0 0 auto;
  padding: 10px 13px;
  border-radius: 16px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.summary a.active,
.summary a:hover {
  background: rgba(85, 216, 255, 0.14);
  color: var(--cyan);
}

.terms-card {
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(7, 22, 44, 0.76);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
}

.terms-section {
  position: relative;
  padding: 30px 30px 30px 92px;
  border-bottom: 1px solid rgba(106, 207, 255, 0.12);
}

.terms-section:last-child {
  border-bottom: 0;
}

.section-number {
  position: absolute;
  left: 28px;
  top: 28px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(85, 216, 255, 0.32);
  border-radius: 16px;
  background: var(--surface-soft);
  color: var(--cyan);
  font-weight: 950;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.1;
  font-weight: 950;
}

h3 {
  margin: 18px 0 10px;
  color: var(--cyan);
  font-size: 17px;
  font-weight: 900;
}

p,
li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
  font-weight: 650;
}

ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 18px;
  padding-left: 20px;
}

li::marker {
  color: var(--cyan);
}

.contact-link {
  color: var(--cyan);
  font-weight: 900;
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

.top-button {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(85, 216, 255, 0.32);
  border-radius: 18px;
  background: linear-gradient(145deg, #74cfff, #2fbdeb);
  color: var(--navy);
  font-size: 24px;
  font-weight: 950;
  box-shadow: 0 16px 36px rgba(85, 216, 255, 0.26);
}

.top-button.visible {
  display: block;
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 24px, 1120px);
    padding-top: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px;
  }

  .brand-mark {
    width: 116px;
    height: 116px;
    border-radius: 28px;
    font-size: 28px;
  }

  .terms-section {
    padding: 24px 20px;
  }

  .section-number {
    position: static;
    margin-bottom: 14px;
  }

  p,
  li {
    font-size: 15px;
  }
}

@media print {
  body {
    background: #ffffff;
    color: #111827;
  }

  body::before,
  .summary,
  .top-button,
  #printButton {
    display: none !important;
  }

  .page-shell {
    width: 100%;
    padding: 0;
  }

  .hero,
  .terms-card,
  .terms-section {
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  p,
  li,
  .hero-copy > p:not(.eyebrow) {
    color: #1f2937;
  }
}
