/* IRL web — aligns with iOS Theme.swift (cream canvas, forest accent, editorial type) */
:root {
  --paper: #ffffff;
  --paper-warm: #faf9f6;
  --ink: #1d1b18;
  --muted: #787065;
  --muted-soft: #ded6ca;
  --hairline: #ece6dc;
  --accent: #235044;
  --accent-soft: rgba(35, 80, 68, 0.1);
  --peach-soft: rgba(224, 137, 113, 0.18);
  --mint-soft: rgba(220, 232, 218, 0.55);
  --shadow: 0 24px 60px rgba(29, 27, 24, 0.06);
  --radius-xl: 24px;
  --radius-card: 20px;
  --nav-h: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  background-image:
    radial-gradient(120% 90% at 100% -10%, var(--peach-soft), transparent 45%),
    radial-gradient(90% 70% at -10% 20%, var(--mint-soft), transparent 50%),
    linear-gradient(180deg, var(--paper-warm) 0%, var(--paper) 40%);
  -webkit-font-smoothing: antialiased;
  letter-spacing: normal;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  opacity: 0.88;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-h);
  padding: 0 clamp(18px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid var(--hairline);
  backdrop-filter: blur(12px);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: normal;
}

/* App Store / Xcode: App Icon set → ios-marketing 1024×1024 PNG (shown with iOS-shaped rounding on web). */
.brand-link img {
  width: 40px;
  height: 40px;
  border-radius: 22.37%;
  object-fit: cover;
  box-shadow:
    0 2px 10px rgba(29, 27, 24, 0.12),
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.35);
}

.brand-name {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem 1rem;
  font-size: 0.84375rem;
  font-weight: 600;
  letter-spacing: 0.035em;
}

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

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

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.25rem) clamp(18px, 4vw, 28px) 5rem;
}

.hero {
  text-align: center;
  padding: clamp(0.5rem, 3vw, 1.25rem) 0 0.25rem;
}

.hero .logo-big {
  width: clamp(96px, 24vw, 128px);
  height: clamp(96px, 24vw, 128px);
  margin: 0 auto 1.25rem;
  border-radius: 22.37%;
  display: block;
  object-fit: cover;
  box-shadow:
    0 8px 28px rgba(29, 27, 24, 0.12),
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.35);
}

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

h1,
h2,
h3 {
  font-family: "Source Serif 4", Georgia, serif;
}

h1 {
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.22;
}

h2 {
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.32;
}

h3 {
  font-weight: 600;
  letter-spacing: -0.008em;
  line-height: 1.38;
}

h1 {
  font-size: clamp(2.375rem, 7vw, 3.375rem);
  margin: 0 0 1.15rem;
}

h2 {
  font-size: 1.5625rem;
  margin: 2.65rem 0 0.9rem;
}

h3 {
  font-size: 1.1875rem;
  margin: 1.75rem 0 0.62rem;
}

.lede {
  font-size: 1.0625rem;
  color: var(--ink);
  margin: 0 0 1.25rem;
  line-height: 1.72;
  text-wrap: balance;
}

.card {
  margin-top: 2rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}

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

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.5rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 999px;
}

.status-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.9;
}

.contact-block {
  margin-top: 2rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.9);
}

.contact-block p {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
}

.footer-site {
  margin-top: auto;
  padding: 1.75rem clamp(18px, 4vw, 40px) 2.5rem;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.5);
}

.footer-site nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  margin-bottom: 0.85rem;
}

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

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

/* Legal / long-form pages */
h1.page-title {
  font-size: clamp(2.125rem, 4.8vw, 2.75rem);
  line-height: 1.24;
  margin-bottom: 0.35rem;
}

.last-updated {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 1.85rem;
}

.prose p {
  margin: 0 0 1rem;
  line-height: 1.68;
}

.prose ul,
.prose ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.prose li {
  margin-bottom: 0.52rem;
  line-height: 1.62;
}

.prose h2:first-of-type {
  margin-top: 1.75rem;
}

.prose strong {
  font-weight: 600;
}

/* Scannable summary on Privacy (App Review–friendly) */
.plain-summary {
  margin: 1.5rem 0 2.25rem;
  padding: 1.35rem 1.4rem 1.25rem;
  background: rgba(35, 80, 68, 0.07);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

.plain-summary-title {
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.plain-summary-lede {
  margin: 0 0 0.85rem;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.55;
}

.plain-summary ul {
  margin: 0;
  padding-left: 1.2rem;
}

.plain-summary li {
  margin-bottom: 0.55rem;
  line-height: 1.62;
}

.plain-summary li:last-child {
  margin-bottom: 0;
}

.terms-safety-lead {
  margin: 0 0 1.15rem;
  padding: 1.1rem 1.25rem;
  background: rgba(35, 80, 68, 0.07);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  line-height: 1.65;
}

@media (max-width: 680px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }
}
