:root {
  color-scheme: light;
  --bg-top: #fff4df;
  --bg-mid: #f7ede1;
  --bg-bottom: #eef3ff;
  --panel: rgba(255, 255, 255, 0.72);
  --panel-strong: rgba(255, 255, 255, 0.88);
  --border: rgba(16, 24, 40, 0.08);
  --text: #1b1d24;
  --muted: #596171;
  --accent: #f58a3d;
  --accent-deep: #dd6225;
  --accent-soft: #ffcf93;
  --sky: #7f96c8;
  --shadow: 0 22px 60px rgba(53, 63, 92, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(255, 197, 123, 0.56), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(128, 167, 244, 0.26), transparent 22%),
    linear-gradient(180deg, var(--bg-top), var(--bg-mid) 45%, var(--bg-bottom));
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.brand {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 1rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(16, 24, 40, 0.05);
  border-radius: 999px;
  padding: 9px 14px;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
}

.hero,
.subpage-header {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.82)),
    linear-gradient(180deg, rgba(255, 213, 155, 0.22), rgba(111, 153, 239, 0.08));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero {
  min-height: 430px;
  display: grid;
  align-items: center;
}

.hero-copy,
.subpage-title {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.eyebrow,
.card-label {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

h1,
h2 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  margin-bottom: 12px;
}

.lede {
  margin: 18px 0 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 12px 30px rgba(221, 98, 37, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 24, 40, 0.08);
}

.hero-orb {
  position: absolute;
  right: -20px;
  bottom: -10px;
  width: min(44vw, 430px);
  aspect-ratio: 1;
  pointer-events: none;
}

.orb-core,
.orb-glow {
  position: absolute;
  border-radius: 50%;
}

.orb-glow {
  inset: 4%;
  background: radial-gradient(circle, rgba(255, 202, 145, 0.54), rgba(245, 138, 61, 0.12), transparent 72%);
  filter: blur(16px);
}

.orb-core {
  inset: 17%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 241, 215, 0.96), rgba(255, 241, 215, 0.58) 10%, transparent 32%),
    radial-gradient(circle at 34% 28%, rgba(255, 183, 104, 0.26), transparent 36%),
    linear-gradient(155deg, #ffbe74, #f1883f 56%, #d95f29);
  box-shadow:
    0 0 0 14px rgba(252, 173, 90, 0.1),
    0 40px 90px rgba(235, 121, 35, 0.22);
}

.orb-cloud {
  position: absolute;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82) 46%, rgba(219, 226, 239, 0.9));
  filter: drop-shadow(0 10px 18px rgba(86, 98, 134, 0.16));
}

.orb-cloud::before,
.orb-cloud::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: inherit;
}

.orb-cloud-one {
  width: 120px;
  height: 46px;
  left: 10%;
  top: 24%;
}

.orb-cloud-one::before {
  width: 48px;
  height: 48px;
  left: 12px;
  top: -22px;
}

.orb-cloud-one::after {
  width: 58px;
  height: 58px;
  right: 10px;
  top: -24px;
}

.orb-cloud-two {
  width: 104px;
  height: 42px;
  right: 17%;
  bottom: 28%;
}

.orb-cloud-two::before {
  width: 40px;
  height: 40px;
  left: 10px;
  top: -18px;
}

.orb-cloud-two::after {
  width: 52px;
  height: 52px;
  right: 10px;
  top: -22px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.card,
.legal-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.card {
  padding: 24px;
  grid-column: span 6;
}

.content-grid .card:nth-child(1) {
  grid-column: span 7;
}

.content-grid .card:nth-child(2) {
  grid-column: span 5;
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  font-weight: 700;
  color: var(--accent-deep);
}

.clean-list {
  margin: 0;
  padding-left: 18px;
}

.clean-list li + li {
  margin-top: 10px;
}

.legal-layout {
  margin-top: 22px;
}

.legal-card {
  padding: 28px;
  background: var(--panel-strong);
}

.legal-card section + section {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid rgba(16, 24, 40, 0.08);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 18px;
  margin-top: 20px;
  padding: 0 6px;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .hero {
    min-height: 0;
    padding-bottom: 300px;
  }

  .hero-orb {
    right: 50%;
    bottom: -60px;
    transform: translateX(50%);
    width: min(75vw, 360px);
  }

  .content-grid .card,
  .content-grid .card:nth-child(1),
  .content-grid .card:nth-child(2),
  .content-grid .card:nth-child(3),
  .content-grid .card:nth-child(4) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 10px;
  }

  .hero,
  .subpage-header,
  .card,
  .legal-card {
    border-radius: 22px;
  }

  .hero,
  .subpage-header {
    padding: 20px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .legal-card {
    padding: 22px;
  }
}
