/* =========================================================
   DaySky.ai — marketing site styles
   ========================================================= */

:root {
  --sky:        #2980B9;
  --sky-2:      #5DADE2;
  --yellow:     #F39C12;
  --yellow-2:   #F1C40F;
  --navy:       #2C3E50;
  --navy-deep:  #1a252f;
  --navy-card:  #243342;
  --light-blue: #BDC3C7;
  --teal:       #1ABC9C;

  --text:       #ECF0F1;
  --muted:      #95A5A6;
  --border:     rgba(255,255,255,0.08);

  --radius:     14px;
  --radius-lg:  20px;
  --shadow-lg:  0 30px 60px -20px rgba(0,0,0,0.5);

  --font: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont,
          'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--text);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; padding: 0; margin: 0; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =================== BUTTONS =================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease,
              background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
  font-family: var(--font);
}

.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--sky), #3498DB);
  color: #fff;
  box-shadow: 0 10px 25px -10px rgba(41,128,185,0.7);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -10px rgba(41,128,185,0.85);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--navy-deep);
  color: #fff;
}
.btn-dark:hover {
  background: #0f1820;
  transform: translateY(-2px);
}

.arrow { display: inline-block; transition: transform .2s ease; }
.btn:hover .arrow { transform: translateY(2px); }

/* =================== NAV =================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(44, 62, 80, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background .25s ease, border-color .25s ease;
}
.nav.scrolled {
  background: rgba(26, 37, 47, 0.88);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.brand-mark { width: 30px; height: 30px; }
.brand-word { color: #fff; }

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: 24px;
}
.nav-links a {
  color: var(--light-blue);
  font-size: 15px;
  font-weight: 500;
  transition: color .2s ease;
}
.nav-links a:hover { color: #fff; }

.nav-cta { margin-left: auto; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background: #fff;
  margin: 0 auto;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =================== HERO =================== */

.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 80% 20%, rgba(41,128,185,0.18), transparent 60%),
    radial-gradient(800px 500px at 10% 80%, rgba(243,156,18,0.10), transparent 60%),
    linear-gradient(180deg, #2C3E50 0%, #1a252f 100%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.hero-title .white { color: #fff; display: block; }
.gradient-text {
  display: block;
  background: linear-gradient(135deg, var(--sky-2) 0%, var(--sky) 50%, #1ABC9C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--light-blue);
  max-width: 560px;
  margin: 0 0 32px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-proof {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

/* sun visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sun-stage {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1 / 1;
}
.sun-svg { width: 100%; height: 100%; }

.sphere {
  transform-origin: 300px 300px;
  animation: pulse 4s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(243,156,18,0.6));
}
.sphere-ring {
  transform-origin: 300px 300px;
  animation: spin 18s linear infinite;
}
.sphere-ring-2 { animation-direction: reverse; animation-duration: 24s; }

.halo {
  transform-origin: 300px 300px;
  animation: pulse-halo 5s ease-in-out infinite;
}

.ray {
  opacity: 0;
  transform-origin: 300px 300px;
  animation: ray-in 0.6s ease-out forwards, ray-glow 4s ease-in-out infinite;
  animation-delay: calc(0.15s * var(--i, 0)), calc(2s + 0.2s * var(--i, 0));
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}
@keyframes pulse-halo {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.05); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes ray-in {
  from { opacity: 0; transform: scale(0.7); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes ray-glow {
  0%, 100% { filter: brightness(1); }
  50%      { filter: brightness(1.3); }
}

/* =================== PROOF BAR =================== */

.proof-bar {
  background: var(--navy-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.marquee {
  display: flex;
  white-space: nowrap;
  padding: 14px 0;
}
.marquee-track {
  display: inline-flex;
  gap: 30px;
  align-items: center;
  animation: marquee 35s linear infinite;
  padding-left: 30px;
  font-size: 14px;
  color: var(--light-blue);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.marquee-track .dot { color: var(--yellow); }

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =================== SECTION HEAD =================== */

.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.section-head p {
  margin: 0;
  font-size: 18px;
  color: var(--light-blue);
}

/* =================== FEATURES =================== */

.features {
  background: var(--navy-deep);
  padding: 100px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  position: relative;
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px 30px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent, var(--sky));
  opacity: 0.85;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 25px 40px -20px rgba(0,0,0,0.6),
              0 0 0 1px var(--accent, var(--sky)) inset;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: color-mix(in srgb, var(--accent, var(--sky)) 18%, transparent);
  color: var(--accent, var(--sky));
}
.card-icon svg { width: 26px; height: 26px; }

.card h3 {
  font-size: 20px;
  margin: 0 0 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.card p {
  margin: 0;
  color: var(--light-blue);
  font-size: 15px;
  line-height: 1.6;
}

/* =================== HOW IT WORKS =================== */

.how {
  background: var(--navy);
  padding: 100px 0;
}

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
}

.step {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  text-align: left;
  position: relative;
}
.step-num {
  font-size: 56px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--sky-2), var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 16px;
}
.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(41,128,185,0.15);
  color: var(--sky-2);
  margin-bottom: 18px;
}
.step-icon svg { width: 24px; height: 24px; }
.step h3 {
  font-size: 20px;
  margin: 0 0 10px;
  font-weight: 700;
}
.step p {
  margin: 0;
  color: var(--light-blue);
  font-size: 15px;
  line-height: 1.6;
}
.step-arrow {
  align-self: center;
  font-size: 32px;
  color: var(--sky-2);
  font-weight: 300;
}

/* =================== COMPANION =================== */

.companion {
  background: var(--navy-deep);
  padding: 100px 0;
}

.companion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.chat-shell {
  background: linear-gradient(180deg, #1f2d3b 0%, #16222d 100%);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 460px;
  margin: 0 auto;
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.18);
}
.chat-head .dot-r,
.chat-head .dot-y,
.chat-head .dot-g {
  width: 11px; height: 11px; border-radius: 50%;
}
.chat-head .dot-r { background: #FF5F56; }
.chat-head .dot-y { background: #FFBD2E; }
.chat-head .dot-g { background: #27C93F; }
.chat-title {
  margin-left: 12px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.chat-body {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 280px;
}

.bubble {
  max-width: 82%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(10px);
  animation: bubble-in 0.5s ease forwards;
}
.bubble.user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--sky), #3498DB);
  color: #fff;
  border-bottom-right-radius: 6px;
  animation-delay: 0.4s;
}
.bubble.ai {
  align-self: flex-start;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 6px;
  animation-delay: 1.6s;
}
.bubble.typing {
  align-self: flex-start;
  display: inline-flex;
  gap: 4px;
  padding: 14px 16px;
  animation-delay: 1.0s;
  animation: bubble-in 0.4s ease forwards 1.0s;
}
.bubble.typing span {
  width: 7px; height: 7px;
  background: var(--light-blue);
  border-radius: 50%;
  animation: typing 1.2s infinite ease-in-out;
}
.bubble.typing span:nth-child(2) { animation-delay: 0.15s; }
.bubble.typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes bubble-in {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%           { transform: translateY(-4px); opacity: 1; }
}

.chat-foot {
  padding: 12px 18px 18px;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.18);
}
.wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 28px;
}
.wave span {
  width: 3px;
  background: linear-gradient(180deg, var(--sky-2), var(--teal));
  border-radius: 3px;
  animation: wave 1.2s infinite ease-in-out;
}
.wave span:nth-child(1)  { animation-delay: 0.0s; }
.wave span:nth-child(2)  { animation-delay: 0.05s; }
.wave span:nth-child(3)  { animation-delay: 0.10s; }
.wave span:nth-child(4)  { animation-delay: 0.15s; }
.wave span:nth-child(5)  { animation-delay: 0.20s; }
.wave span:nth-child(6)  { animation-delay: 0.25s; }
.wave span:nth-child(7)  { animation-delay: 0.30s; }
.wave span:nth-child(8)  { animation-delay: 0.35s; }
.wave span:nth-child(9)  { animation-delay: 0.40s; }
.wave span:nth-child(10) { animation-delay: 0.45s; }
.wave span:nth-child(11) { animation-delay: 0.50s; }
.wave span:nth-child(12) { animation-delay: 0.55s; }
.wave span:nth-child(13) { animation-delay: 0.60s; }
.wave span:nth-child(14) { animation-delay: 0.65s; }
.wave span:nth-child(15) { animation-delay: 0.70s; }

@keyframes wave {
  0%, 100% { height: 6px; }
  50%      { height: 22px; }
}

.companion-copy h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.companion-copy p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--light-blue);
  margin: 0 0 22px;
  max-width: 520px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin: 10px 0;
  font-size: 16px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), #16A085);
  background-image:
    linear-gradient(135deg, var(--teal), #16A085);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px; top: 10px;
  width: 8px; height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* =================== PRICING =================== */

.pricing {
  background: var(--navy-deep);
  padding: 100px 0 80px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  background: linear-gradient(180deg, #2c4357 0%, #243342 100%);
  border-color: rgba(41,128,185,0.5);
  box-shadow: 0 30px 60px -25px rgba(41,128,185,0.45),
              0 0 0 1px rgba(41,128,185,0.25) inset;
  transform: translateY(-6px);
}
.price-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-2));
  color: var(--navy-deep);
  padding: 6px 12px;
  border-radius: 999px;
}
.price-tier {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky-2);
  margin-bottom: 8px;
}
.price-amount {
  font-size: 50px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.price-amount span {
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
  margin-left: 4px;
}
.price-note {
  margin: 0 0 22px;
  color: var(--light-blue);
  font-size: 15px;
}
.price-list {
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
}
.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--teal);
  font-weight: 800;
}
.price-card .btn { margin-top: auto; }

.price-foot {
  text-align: center;
  margin-top: 30px;
  color: var(--muted);
  font-size: 14px;
}
.price-foot strong { color: var(--yellow); }

/* =================== WAITLIST =================== */

.waitlist {
  position: relative;
  padding: 110px 0;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(255,255,255,0.12), transparent 60%),
    linear-gradient(135deg, var(--sky) 0%, #1F6F9F 100%);
  text-align: center;
  overflow: hidden;
}
.waitlist::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 80% 100%, rgba(243,156,18,0.18), transparent 60%);
  pointer-events: none;
}
.waitlist-inner { position: relative; }

.waitlist h2 {
  font-size: clamp(36px, 5vw, 56px);
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.waitlist p {
  font-size: 19px;
  margin: 0 0 30px;
  color: rgba(255,255,255,0.92);
}

.waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto 18px;
  background: rgba(255,255,255,0.12);
  padding: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
}
.waitlist-form input {
  flex: 1;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 16px;
  padding: 0 18px;
  outline: none;
  font-family: var(--font);
  min-width: 0;
}
.waitlist-form input::placeholder { color: rgba(255,255,255,0.7); }

.waitlist-msg {
  min-height: 22px;
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.waitlist-msg.error { color: #FFE082; }

.waitlist-fine {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin: 8px 0 0;
}

/* =================== FOOTER =================== */

.footer {
  background: var(--navy-deep);
  padding: 70px 0 30px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}
.footer-tag {
  margin: 14px 0 0;
  color: var(--light-blue);
  font-size: 14px;
  max-width: 280px;
}
.footer-nav {
  display: flex;
  gap: 60px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  color: var(--light-blue);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s ease;
}
.footer-nav a:hover { color: #fff; }

.footer-social {
  display: flex;
  gap: 12px;
  justify-self: end;
}
.footer-social a {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--light-blue);
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.footer-social a:hover {
  color: #fff;
  border-color: var(--sky-2);
  transform: translateY(-2px);
}
.footer-social svg { width: 16px; height: 16px; }

.footer-base {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 0;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-base a:hover { color: var(--sky-2); }
.heart { color: var(--yellow); }

/* =================== LEGAL PAGES (privacy / terms) =================== */

.legal {
  padding: 140px 0 80px;
  min-height: 100vh;
}
.legal .container { max-width: 820px; }

.legal-head {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.legal-head h1 {
  font-size: 40px;
  font-weight: 800;
  margin: 0 0 12px;
  color: #fff;
  letter-spacing: -0.02em;
}
.legal-head .legal-meta {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--sky-2);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  transition: color .2s ease;
}
.legal-back:hover { color: #fff; }

.legal-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 40px 0 14px;
  letter-spacing: -0.01em;
}
.legal-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin: 24px 0 8px;
}
.legal-body p,
.legal-body li {
  color: var(--light-blue);
  font-size: 15px;
  line-height: 1.7;
}
.legal-body p { margin: 0 0 14px; }
.legal-body ul {
  list-style: disc;
  padding-left: 22px;
  margin: 0 0 18px;
}
.legal-body li { margin-bottom: 6px; }
.legal-body strong { color: var(--text); font-weight: 600; }
.legal-body a { color: var(--sky-2); border-bottom: 1px solid rgba(93,173,226,0.35); }
.legal-body a:hover { color: #fff; border-bottom-color: #fff; }

.legal-body .note {
  background: var(--navy-card);
  border-left: 3px solid var(--sky);
  padding: 14px 18px;
  border-radius: 8px;
  margin: 18px 0;
}
.legal-body .note p:last-child { margin-bottom: 0; }

@media (max-width: 720px) {
  .legal { padding: 110px 0 60px; }
  .legal-head h1 { font-size: 30px; }
}

/* =================== REVEAL ON SCROLL =================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* =================== RESPONSIVE =================== */

@media (max-width: 980px) {
  .hero { padding: 120px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .sun-stage { max-width: 360px; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }

  .steps { grid-template-columns: 1fr; gap: 16px; }
  .step-arrow { transform: rotate(90deg); justify-self: center; }

  .companion-grid { grid-template-columns: 1fr; gap: 40px; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-social { justify-self: start; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(26,37,47,0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    margin: 0;
  }
  .nav.open .nav-links li { padding: 0; }
  .nav.open .nav-links a {
    display: block;
    padding: 16px 24px;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav.open .nav-cta {
    display: inline-flex;
    position: absolute;
    top: 100%;
    left: 24px; right: 24px;
    margin: 16px 0;
    transform: translateY(calc(54px * 3 + 8px));
    width: calc(100% - 48px);
  }

  .hero-title { font-size: 44px; }
  .hero-sub { font-size: 17px; }
  .hero-cta .btn { flex: 1; }

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

  .price-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }

  .waitlist-form { flex-direction: column; border-radius: 18px; padding: 14px; }
  .waitlist-form input { padding: 14px 16px; background: rgba(255,255,255,0.08); border-radius: 12px; }
  .waitlist-form .btn { width: 100%; }

  .footer-nav { flex-direction: column; gap: 18px; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  html { scroll-behavior: auto; }
}
