:root {
  --cream: #fff8ea;
  --cream-deep: #f4ead6;
  --porcelain: #fffdf8;
  --navy: #07111f;
  --navy-mid: #101a34;
  --navy-light: #233868;
  --ink: #151827;
  --iris: #92e6ee;
  --iris-deep: #49b9cf;
  --rose: #f7b7d2;
  --violet: #7657b5;
  --gold: #f1b84b;
  --gold-light: #ffd778;
  --text-body: #273044;
  --text-muted: #718095;
  --border: rgba(15, 23, 42, 0.12);
  --glass: rgba(255, 255, 255, 0.68);
  --white: #ffffff;
  --shadow-soft: 0 24px 70px rgba(17, 24, 39, 0.12);
  --shadow-deep: 0 40px 110px rgba(2, 6, 23, 0.35);
}

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

img,
svg {
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--text-body);
  background:
    radial-gradient(circle at 12% 6%, rgba(255, 255, 255, 0.95) 0 10%, transparent 29%),
    radial-gradient(circle at 86% 4%, rgba(146, 230, 238, 0.22) 0 8%, transparent 28%),
    radial-gradient(circle at 76% 45%, rgba(247, 183, 210, 0.18) 0 10%, transparent 33%),
    linear-gradient(180deg, #fffdf8 0%, var(--cream) 52%, var(--cream-deep) 100%);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  text-rendering: geometricPrecision;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(7, 17, 31, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 17, 31, 0.024) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 10%, black, transparent 74%);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 18px 0 54px;
}

.site-nav {
  position: sticky;
  top: 18px;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  padding: 12px 14px 12px 22px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 55px rgba(7, 17, 31, 0.12);
  backdrop-filter: blur(22px) saturate(1.25);
}

.brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.72rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--navy);
  text-decoration: none;
}

.brand span {
  color: var(--violet);
  text-shadow: 0 0 18px rgba(146, 230, 238, 0.45);
}

.nav-links,
.footer-links,
.hero-actions,
.pill-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.nav-links,
.footer-links,
.hero-actions,
.pill-row {
  min-width: 0;
}

.nav-link {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.72;
}

.nav-link:hover {
  opacity: 1;
}

.nav-cta,
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.nav-cta,
.button-primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 14px 34px rgba(7, 17, 31, 0.2);
}

.button-secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(7, 17, 31, 0.14);
}

.nav-cta:hover,
.button-primary:hover,
.button-secondary:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 42px;
  padding: clamp(34px, 7vw, 76px);
  color: var(--white);
  background:
    radial-gradient(circle at 62% 28%, rgba(146, 230, 238, 0.15) 0 12%, transparent 38%),
    radial-gradient(circle at 88% 16%, rgba(247, 183, 210, 0.16) 0 9%, transparent 34%),
    radial-gradient(circle at 12% 72%, rgba(241, 184, 75, 0.16) 0 7%, transparent 30%),
    linear-gradient(135deg, #050914 0%, #0a1328 48%, #15102c 100%);
  box-shadow: var(--shadow-deep);
}

.hero::before {
  content: "";
  position: absolute;
  top: -240px;
  right: -180px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  border: 1px solid rgba(146, 230, 238, 0.15);
  background:
    radial-gradient(circle, transparent 0 33%, rgba(146, 230, 238, 0.14) 34% 34.4%, transparent 35% 48%, rgba(247, 183, 210, 0.13) 49% 49.4%, transparent 50%),
    radial-gradient(circle, rgba(241, 184, 75, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.72fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
}

.hero-grid > *,
.hero-copy-only,
.card,
.content-card {
  min-width: 0;
}

.hero-copy-only {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--iris);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.06;
  letter-spacing: -0.048em;
}

h1 {
  max-width: min(760px, 100%);
  color: var(--white);
  font-size: clamp(3rem, 7vw, 5.7rem);
  font-weight: 600;
  margin-bottom: 24px;
}

h1 em {
  color: transparent;
  font-style: italic;
  background: linear-gradient(100deg, var(--gold-light), var(--iris), var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
}

h2 {
  color: var(--navy);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 600;
  margin-bottom: 16px;
}

h3 {
  color: var(--navy);
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero p {
  max-width: min(640px, 100%);
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.12rem;
}

.pill-row {
  margin: 22px 0 34px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  font-weight: 600;
}

.pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--iris);
  box-shadow: 0 0 18px rgba(146, 230, 238, 0.75);
}

.phone-card {
  width: min(330px, 100%);
  margin: 0 auto;
  padding: 14px;
  border-radius: 40px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 34px 80px rgba(2, 6, 23, 0.36);
  transform: rotate(1.2deg);
}

.phone-card img {
  display: block;
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(2, 6, 23, 0.32);
}

.section {
  padding: clamp(42px, 8vw, 88px) 0 0;
}

.section-header {
  max-width: 720px;
  margin-bottom: 24px;
}

.section-header p,
.card p,
.note,
li {
  color: var(--text-muted);
}

.section-header p {
  margin: 0;
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.card.accent {
  background:
    radial-gradient(circle at 90% 0%, rgba(146, 230, 238, 0.26), transparent 42%),
    rgba(255, 255, 255, 0.74);
}

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 16px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-light), var(--iris));
  font-weight: 800;
}

.content-stack {
  display: grid;
  gap: 18px;
}

.content-card {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--border);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-soft);
}

.content-card p {
  margin: 0 0 14px;
}

.content-card p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 14px 0 0 20px;
  padding: 0;
}

li {
  margin: 8px 0;
}

.notice {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 22px;
  color: var(--text-muted);
  background: rgba(7, 17, 31, 0.06);
  border: 1px solid var(--border);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 52px;
  padding: 28px 0 0;
  border-top: 1px solid var(--border);
}

.footer p {
  margin: 0;
  max-width: 520px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  opacity: 0.76;
}

.footer-links a:hover {
  opacity: 1;
}

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

  .site-nav {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    border-radius: 28px;
    padding: 16px;
  }

  .site-nav > * {
    min-width: 0;
  }

  .brand {
    font-size: 1.56rem;
  }

  .nav-links {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .nav-links > * {
    min-width: 0;
    max-width: 100%;
  }

  .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 6px;
    border-radius: 999px;
    background: rgba(7, 17, 31, 0.05);
    font-size: 0.78rem;
    line-height: 1.15;
    text-align: center;
    overflow: hidden;
    overflow-wrap: anywhere;
  }

  .nav-cta {
    grid-column: 1 / -1;
    width: 100%;
    padding: 12px 14px;
    white-space: normal;
  }

  .hero {
    padding: 34px 22px;
    border-radius: 32px;
  }

  .hero-grid,
  .card-grid,
  .card-grid.two {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .hero p {
    font-size: 1rem;
  }

  .pill {
    font-size: 0.8rem;
    padding: 7px 12px;
  }

  .phone-card {
    max-width: 260px;
    transform: none;
  }

  .hero-actions {
    align-items: stretch;
  }

  .button-primary,
  .button-secondary {
    width: 100%;
    white-space: normal;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 840px) {
  .page-shell {
    width: min(366px, calc(100% - 24px));
  }
}
