/* SunoMumma website: the app's night sky, gold moonlight. */
:root {
  --midnight: #071426;
  --night: #0d1d34;
  --night-soft: #142642;
  --line: #223657;
  --moonlight: #fff7e6;
  --muted: #b9c3d3;
  --gold: #ffd15c;
  --gold-soft: #ffe8a3;
  --radius: 22px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--moonlight);
  background: linear-gradient(180deg, var(--midnight) 0%, var(--night) 45%, #11223d 100%) fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); }

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

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--moonlight);
  text-decoration: none;
  font-weight: 800;
  font-size: 22px;
}
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.top nav { display: flex; align-items: center; gap: 22px; font-weight: 700; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--moonlight); }
.top nav .nav-cta { color: var(--midnight); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  background: var(--gold);
  color: var(--midnight);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 30px rgba(255, 209, 92, 0.25);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 36px rgba(255, 209, 92, 0.35); }
.btn.small { padding: 9px 18px; font-size: 15px; box-shadow: none; }
.btn svg { width: 22px; height: 22px; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 36px 0 56px;
}
.hero h1 {
  font-size: clamp(36px, 5.2vw, 58px);
  line-height: 1.08;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}
.hero h1 span { color: var(--gold); }
.hero p.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 520px; }
.hero .note { margin-top: 14px; font-size: 14px; color: var(--muted); }
/* Grid children may shrink below their content (a wide picture would otherwise
   widen the page past a phone's screen). */
.hero > *, .grid > * { min-width: 0; }
.hero-art img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  /* Its edges melt into the night sky, evenly on every side. */
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
}

/* Sections */
section { padding: 56px 0; }
.eyebrow { color: var(--gold); font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; font-size: 13px; margin: 0 0 8px; }
h2 { font-size: clamp(28px, 3.6vw, 38px); line-height: 1.15; margin: 0 0 14px; }
.sub { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0 0 32px; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }

/* Walkthrough */
.walkthrough { display: flex; justify-content: center; }
.phone {
  width: min(300px, 80vw);
  aspect-ratio: 9 / 19;
  border-radius: 40px;
  border: 10px solid #1b2c4a;
  background: radial-gradient(circle at 50% 30%, #1d3358, var(--midnight));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; }
.phone .play {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--gold);
  display: grid;
  place-items: center;
}
.phone .play svg { width: 26px; height: 26px; margin-left: 4px; }
.phone p { margin: 0; color: var(--muted); font-size: 15px; }

/* Cards */
.grid { display: grid; gap: 18px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--night-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin: 0 0 6px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); }
.step-no {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 209, 92, 0.15);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 14px;
}
.icon { font-size: 26px; margin-bottom: 10px; }

/* Pricing */
.price { font-size: 40px; font-weight: 800; margin: 6px 0; color: var(--moonlight); }
.price small { font-size: 16px; color: var(--muted); font-weight: 600; }
.card.best { border-color: var(--gold); position: relative; }
.badge {
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--gold);
  color: var(--midnight);
  font-weight: 800;
  font-size: 13px;
  padding: 3px 12px;
  border-radius: 999px;
}

/* FAQ */
details {
  background: var(--night-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 12px;
}
summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--gold); font-weight: 800; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }

/* Closing call */
.closing {
  background: radial-gradient(circle at 50% 0%, rgba(255, 209, 92, 0.12), transparent 60%), var(--night-soft);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 48px 24px;
  text-align: center;
}
.closing img { width: 96px; margin: 0 auto 10px; }

/* Footer */
footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 28px 0 40px; color: var(--muted); font-size: 15px; }
footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--moonlight); }

/* Policy pages */
.doc { max-width: 760px; padding: 24px 0 40px; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); margin: 10px 0 6px; }
.doc .updated { color: var(--muted); margin: 0 0 28px; }
.doc h2 { font-size: 24px; margin: 34px 0 10px; }
.doc h3 { font-size: 18px; margin: 22px 0 6px; }
.doc p, .doc li { color: #dfe5ee; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0 8px; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { color: var(--gold-soft); font-weight: 700; }
.doc .box { background: var(--night-soft); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; }

/* Phones */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 12px; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-art { order: -1; max-width: 460px; margin: 0 auto; }
  .grid.three, .grid.two { grid-template-columns: 1fr; }
  .top nav a:not(.nav-cta) { display: none; }
  .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; }
  .doc thead { display: none; }
  .doc td { border-bottom: none; padding: 4px 0; }
  .doc tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
}
