:root {
  color-scheme: light only;
  --cream-top: #f4f7fb;
  --cream-mid: #e8eef6;
  --cream-deep: #dce6f2;
  --navy-mid: #3d5a80;
  --navy-deep: #1b2a41;
  --accent: #c9a227;
  --text: #1a2433;
  --muted: #4a5568;
  --card: rgba(255, 255, 255, 0.94);
  --stroke: rgba(27, 42, 65, 0.12);
  --shadow: rgba(27, 42, 65, 0.14);
  --gradient: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-deep) 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(--navy-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--navy-deep);
}

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

header.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(244, 247, 251, 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 {
  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: 18ch;
  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;
}

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 {
  color: var(--muted);
  font-size: 0.98rem;
}

.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;
}

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;
}

/* 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(26, 36, 51, 0.08);
  padding: 0.12em 0.4em;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.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;
}
