/* Lumi — lavender mist · lilac · plum · rose (matches CycleTheme.swift) */
:root {
  --bg: #f6f0fb;
  --bg-deep: #fbe9f0;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.72);
  --ink: #3b2a4d;
  --muted: #6b5a80;
  --lilac: #b79beb;
  --lilac-wash: #eee4fb;
  --rose: #e58fb0;
  --gold: #e9a852;
  --accent-text: #6344ad;
  --border: #e9ddf6;
  --shadow: 0 18px 50px -24px rgba(99, 68, 173, 0.35);
  --max: 68rem;
  --text-max: 42rem;
  --radius: 1.4rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1730;
    --bg-deep: #241a35;
    --surface: #272142;
    --surface-soft: rgba(39, 33, 66, 0.72);
    --ink: #f3eefb;
    --muted: #bdb2d4;
    --lilac: #a88be6;
    --lilac-wash: #342b55;
    --rose: #d77a9e;
    --gold: #e6b062;
    --accent-text: #c9b5f7;
    --border: #3b3360;
    --shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-rounded, "Nunito", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 85% -5%, color-mix(in srgb, var(--lilac) 38%, transparent), transparent 60%),
    radial-gradient(ellipse 70% 45% at 0% 100%, color-mix(in srgb, var(--rose) 22%, transparent), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent-text);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.wrap.narrow {
  max-width: var(--text-max);
}

/* —— Header —— */
.site-header {
  padding: 1.25rem 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.6rem;
  box-shadow: 0 4px 12px -4px rgba(99, 68, 173, 0.4);
}

.nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

/* —— Hero —— */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 2rem;
  padding: 3rem 0 4rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.9rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.hero .accent {
  color: var(--accent-text);
}

.hero p.sub {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 34ch;
  margin: 0 0 1.5rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.95rem;
}

.hero-art {
  position: relative;
  justify-self: center;
  width: min(100%, 22rem);
}

.hero-art img {
  width: 100%;
  border-radius: 22%;
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: -12%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--lilac) 45%, transparent), transparent 65%);
}

/* —— Buttons —— */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  font: inherit;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  overflow-wrap: anywhere;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

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

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}

.btn-primary:hover {
  color: var(--bg);
}

.btn-primary[aria-disabled="true"] {
  opacity: 0.85;
  cursor: default;
  transform: none;
}

.btn-ghost {
  color: var(--ink);
  border-color: var(--border);
  background: var(--surface-soft);
}

.btn svg {
  width: 1.15em;
  height: 1.15em;
  fill: currentColor;
}

/* —— Sections —— */
.band {
  padding: 3.5rem 0;
}

.band h2,
.page h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

.band .intro {
  color: var(--muted);
  max-width: 46ch;
  margin: 0 0 2rem;
}

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 54rem;
  margin: 0 auto;
}

.shots figure {
  margin: 0;
}

.shots img {
  width: 100%;
  border-radius: 1.6rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.shots figcaption {
  margin-top: 0.85rem;
  text-align: center;
  font-weight: 700;
  color: var(--muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  padding: 1.4rem;
  border-radius: var(--radius);
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

.card .emoji {
  font-size: 1.6rem;
  line-height: 1;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0.6rem 0 0.35rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.privacy-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem;
  border-radius: calc(var(--radius) * 1.4);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.checks li {
  padding-left: 1.9rem;
  position: relative;
  font-weight: 700;
}

.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  background: var(--lilac-wash);
  color: var(--accent-text);
}

/* —— Content pages —— */
.page {
  padding: 2rem 0 4rem;
}

.page h1 {
  font-size: clamp(2.1rem, 6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 0.5rem;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 2rem;
}

.meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.page section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.page section:last-of-type {
  border-bottom: none;
}

.page h2 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

p {
  margin: 0 0 0.85rem;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0 0 0.85rem;
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.4rem;
}

.summary {
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius);
  background: var(--lilac-wash);
  margin-bottom: 2rem;
}

.contact-card {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-bottom: 2.5rem;
}

.contact-card h2 {
  margin: 0 0 0.25rem;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
}

.faq details {
  margin-bottom: 0.65rem;
  padding: 0.9rem 1.1rem;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 1rem;
}

.faq summary {
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--accent-text);
  font-weight: 700;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details > *:not(summary) {
  margin-top: 0.65rem;
  color: var(--muted);
}

/* —— Footer —— */
.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
}

.fine-print {
  font-size: 0.85rem;
  color: var(--muted);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 1.5rem;
    text-align: left;
  }

  .hero-art {
    grid-row: 1;
    width: min(60%, 14rem);
    justify-self: start;
  }

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

  .privacy-band {
    grid-template-columns: 1fr;
    padding: 1.6rem;
  }
}

@media (max-width: 560px) {
  .shots {
    grid-template-columns: repeat(3, 72%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
  }

  .shots figure {
    scroll-snap-align: start;
  }

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

  .nav {
    gap: 0.9rem;
    font-size: 0.9rem;
  }
}
