:root {
  color-scheme: light only;
  --cream-top: #fafaf6;
  --cream-mid: #f4f4f0;
  --cream-deep: #e8f0ee;
  --sage: #8fb090;
  --teal: #82b9b4;
  --text: #2c3834;
  --muted: #5a6a65;
  --card: rgba(255, 255, 255, 0.92);
  --stroke: rgba(44, 56, 52, 0.1);
  --shadow: rgba(46, 90, 82, 0.12);
  --gradient: linear-gradient(135deg, var(--sage) 0%, var(--teal) 100%);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light only;
}

body {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(165deg, var(--cream-top) 0%, var(--cream-mid) 45%, var(--cream-deep) 100%);
  min-height: 100vh;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #5a9a94;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header (similar to multiverseai layout) */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(250, 250, 246, 0.92);
  border-bottom: 1px solid var(--stroke);
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  font-family: "Outfit", "DM Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

nav.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
}

nav.site-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}

nav.site-nav a:hover {
  color: var(--text);
}

nav.site-nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 24px var(--shadow);
}

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

.btn-ghost {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  border: 1.5px solid var(--stroke);
}

.btn-ghost:hover {
  background: #fff;
}

/* Hero */
.hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3.5rem, 9vw, 5.5rem);
  text-align: center;
}

.hero-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: "Outfit", "DM Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2.1rem, 5.5vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 16ch;
  margin: 0 auto 1.25rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.hero-note {
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 32rem;
  margin: 0 auto;
}

.app-store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.25rem;
}

/* Sections */
section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

section h2 {
  font-family: "Outfit", "DM Sans", system-ui, sans-serif;
  font-size: clamp(1.65rem, 3.5vw, 2.1rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--card);
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--stroke);
  box-shadow: 0 12px 36px var(--shadow);
}

.card h3 {
  font-family: "Outfit", "DM Sans", system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

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

.card ul {
  margin-top: 0.75rem;
  padding-left: 1.2rem;
}

.card li {
  margin-bottom: 0.45rem;
}

.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--gradient);
  padding: 0.28rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 0.65rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 820px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.panel {
  background: var(--card);
  border-radius: 1.25rem;
  padding: 2rem;
  border: 1px solid var(--stroke);
  box-shadow: 0 12px 36px var(--shadow);
}

.panel h3 {
  font-family: "Outfit", "DM Sans", system-ui, sans-serif;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.panel-accent {
  background: linear-gradient(145deg, #fff 0%, rgba(130, 185, 180, 0.18) 100%);
}

.disclaimer {
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 1rem 2.5rem;
  border-top: 1px solid var(--stroke);
}

/* Privacy page */
.page-hero {
  text-align: center;
  padding: 2.5rem 0 2rem;
}

.page-hero h1 {
  font-family: "Outfit", "DM Sans", system-ui, sans-serif;
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-hero .lead {
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto;
}

.policy {
  max-width: 42rem;
  margin: 0 auto;
}

.policy h2 {
  text-align: left;
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 0.65rem;
}

.policy p,
.policy li {
  margin-bottom: 0.85rem;
  color: var(--muted);
}

.policy ul {
  padding-left: 1.2rem;
}

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

.policy code {
  font-size: 0.9em;
  background: rgba(44, 56, 52, 0.07);
  padding: 0.12em 0.4em;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  margin-top: 0.75rem;
}

footer a {
  color: var(--text);
  font-weight: 500;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
