@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Newsreader:ital,wght@0,400;0,500;0,700;1,400&display=swap');

/* ─── Design Tokens ──────────────────────────────────── */
:root {
  --c-bg:               #f9f9fa;
  --c-surface:          #ffffff;
  --c-surface-low:      #f3f3f4;
  --c-surface-container:#ebebec;
  --c-primary:          #361f1a;
  --c-primary-mid:      #4e342e;
  --c-secondary:        #7c4a3e;
  --c-cream:            #f9ede9;
  --c-cream-deep:       #f9e4dc;
  --c-text:             #1a1c1d;
  --c-muted:            #52433f;
  --c-outline:          #9e8e8a;
  --c-border:           rgba(212, 195, 191, 0.18);

  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-sans:  'Manrope', system-ui, -apple-system, sans-serif;

  --radius-sm:   4px;
  --radius-md:   6px;
  --radius-lg:   8px;
  --radius-xl:   12px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(26, 28, 29, 0.04);
  --shadow-md: 0 4px 16px rgba(26, 28, 29, 0.05);
  --shadow-lg: 0 8px 32px rgba(26, 28, 29, 0.06);

  --max-width: 1100px;
  --nav-height: 64px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Typography ─────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.375rem; }

p { color: var(--c-muted); }

a {
  color: var(--c-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--c-primary); }

/* ─── Layout ─────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Navigation ─────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(249, 249, 250, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--c-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo:hover { color: var(--c-primary); }

.nav-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--c-primary); }
.nav-links a.active { color: var(--c-primary); }

.nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 20px;
  background: var(--c-primary);
  color: #f9ede9 !important;
  border-radius: var(--radius-full);
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--c-primary-mid) !important;
  color: #f9ede9 !important;
  transform: translateY(-1px);
}

/* ─── Hero ───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(140deg, #2a1510 0%, #361f1a 35%, #4e342e 70%, #7c4a3e 100%);
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 25% 60%, rgba(249, 237, 233, 0.07) 0%, transparent 55%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--c-bg));
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e4beb2;
  background: rgba(249, 237, 233, 0.1);
  border: 1px solid rgba(228, 190, 178, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero h1 {
  color: #f9ede9;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(249, 237, 233, 0.68);
  margin-bottom: 40px;
  max-width: 460px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(249, 237, 233, 0.09);
  border: 1px solid rgba(249, 237, 233, 0.22);
  border-radius: var(--radius-lg);
  color: #f9ede9;
  transition: background 0.2s, transform 0.15s, border-color 0.2s;
  backdrop-filter: blur(8px);
}
.btn-store:hover {
  background: rgba(249, 237, 233, 0.16);
  border-color: rgba(249, 237, 233, 0.35);
  color: #f9ede9;
  transform: translateY(-2px);
}

.btn-store-icon { width: 26px; height: 26px; flex-shrink: 0; fill: #f9ede9; }

.btn-store-text { display: flex; flex-direction: column; line-height: 1.25; }
.btn-store-label { font-size: 0.625rem; letter-spacing: 0.06em; opacity: 0.7; }
.btn-store-name  { font-size: 0.9375rem; font-weight: 600; }

/* Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-visual::before {
  content: '';
  position: absolute;
  width: 340px;
  height: 440px;
  background: radial-gradient(ellipse, rgba(124, 74, 62, 0.35) 0%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.phone-mockup {
  width: 255px;
  height: 510px;
  background: #0a0908;
  border-radius: 44px;
  border: 7px solid #252220;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 16px 32px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: #0a0908;
  border-radius: 13px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #1d1b1a 0%, #211f1e 45%, #2b2a28 100%);
  border-radius: 37px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 36px;
  gap: 14px;
  position: relative;
}

.phone-app-icon {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: linear-gradient(145deg, #4e342e, #361f1a);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-app-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #e6e1df;
  text-align: center;
}

.phone-app-tagline {
  font-size: 0.6875rem;
  color: rgba(230, 225, 223, 0.4);
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.phone-screen-divider {
  width: 40px;
  height: 1px;
  background: rgba(230, 225, 223, 0.12);
  margin: 4px 0;
}

.phone-mini-stats {
  display: flex;
  gap: 20px;
}

.phone-stat {
  text-align: center;
}

.phone-stat-value {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: #c9c6c4;
  line-height: 1;
}

.phone-stat-label {
  font-size: 0.5625rem;
  color: rgba(230, 225, 223, 0.35);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}

.phone-home-indicator {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: rgba(230, 225, 223, 0.2);
  border-radius: 2px;
}

/* ─── Section Base ───────────────────────────────────── */
.section {
  padding: 96px 0;
}

.section-alt  { background: var(--c-surface); }
.section-dark { background: var(--c-primary); }
.section-cream { background: var(--c-cream); }
.section-low  { background: var(--c-surface-low); }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-secondary);
  margin-bottom: 14px;
}

.section-header h2 { margin-bottom: 16px; }

.section-header p {
  font-size: 1.0625rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── Feature Cards ──────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--c-surface);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
}

.feature-card h3 {
  color: var(--c-primary);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ─── Highlight (Dark) Section ───────────────────────── */
.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.highlight-visual {
  display: flex;
  justify-content: center;
}

.highlight-icon-box {
  width: 260px;
  height: 260px;
  background: rgba(249, 237, 233, 0.07);
  border: 1px solid rgba(249, 237, 233, 0.1);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-icon-box svg {
  width: 160px;
  height: 160px;
}

.highlight-content h2 {
  color: #f9ede9;
  margin-bottom: 20px;
}

.highlight-content p {
  color: rgba(249, 237, 233, 0.65);
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 32px;
}

.highlight-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 6px 14px;
  background: rgba(249, 237, 233, 0.08);
  border: 1px solid rgba(249, 237, 233, 0.18);
  border-radius: var(--radius-full);
  color: #e4beb2;
}

/* ─── CTA Section ────────────────────────────────────── */
.cta-section {
  text-align: center;
  padding: 100px 0;
}

.cta-section h2 { margin-bottom: 16px; }

.cta-section p {
  font-size: 1.0625rem;
  max-width: 460px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--c-primary);
  color: #f9ede9;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover {
  background: var(--c-primary-mid);
  color: #f9ede9;
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--c-primary);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(54, 31, 26, 0.25);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.btn-outline:hover {
  border-color: var(--c-primary);
  background: rgba(54, 31, 26, 0.04);
  color: var(--c-primary);
  transform: translateY(-2px);
}

/* ─── Footer ─────────────────────────────────────────── */
.footer {
  background: #141312;
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(205, 197, 194, 0.55);
  margin-top: 14px;
  line-height: 1.7;
  max-width: 240px;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 500;
  color: #e6e1df;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.footer-logo:hover { color: #e6e1df; }

.footer-logo img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(205, 197, 194, 0.35);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col a {
  font-size: 0.9rem;
  color: rgba(205, 197, 194, 0.6);
  transition: color 0.2s;
}
.footer-col a:hover { color: #e6e1df; }

.footer-bottom {
  border-top: 1px solid rgba(205, 197, 194, 0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p,
.footer-bottom a {
  font-size: 0.8125rem;
  color: rgba(205, 197, 194, 0.35);
}
.footer-bottom a:hover { color: rgba(205, 197, 194, 0.7); }

/* ─── Page Header (inner pages) ─────────────────────── */
.page-header {
  padding: calc(var(--nav-height) + 64px) 0 64px;
  background: linear-gradient(140deg, #2a1510 0%, #361f1a 50%, #4e342e 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 60%, rgba(249, 237, 233, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.page-header > * { position: relative; z-index: 1; }

.page-header h1 {
  color: #f9ede9;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 12px;
}

.page-header p {
  color: rgba(249, 237, 233, 0.6);
  font-size: 1rem;
}

.page-header .container { position: relative; z-index: 1; }

/* ─── Legal Content ──────────────────────────────────── */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}

.legal-intro {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-muted);
  padding: 24px 28px;
  background: var(--c-cream);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--c-secondary);
  margin-bottom: 48px;
}

.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--c-primary);
  margin: 52px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--c-border);
}

.legal-content h2:first-of-type { margin-top: 0; }

.legal-content p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--c-muted);
  margin-bottom: 16px;
}

.legal-content ul, .legal-content ol {
  margin: 0 0 16px 24px;
}

.legal-content li {
  font-size: 0.9375rem;
  color: var(--c-muted);
  line-height: 1.8;
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--c-secondary);
  text-decoration: underline;
  text-decoration-color: rgba(124, 74, 62, 0.3);
}
.legal-content a:hover {
  color: var(--c-primary);
  text-decoration-color: rgba(54, 31, 26, 0.4);
}

.legal-content strong { color: var(--c-text); font-weight: 600; }

/* ─── FAQ Page ───────────────────────────────────────── */
.faq-layout {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}

.faq-category { margin-bottom: 52px; }

.faq-category-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-secondary);
  margin-bottom: 4px;
  display: block;
}

.faq-category-heading {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--c-primary);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-border);
}

.faq-item {
  border-bottom: 1px solid var(--c-border);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  color: var(--c-primary);
  transition: color 0.2s;
}
.faq-question:hover { color: var(--c-secondary); }

.faq-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--c-outline);
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.32s ease, padding 0.32s ease;
}

.faq-item.open .faq-answer { max-height: 600px; }

.faq-answer-inner {
  padding-bottom: 20px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--c-muted);
}

.faq-answer-inner a {
  color: var(--c-secondary);
  text-decoration: underline;
  text-decoration-color: rgba(124, 74, 62, 0.3);
}

/* ─── Support Page ───────────────────────────────────── */
.support-layout {
  max-width: 900px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}

.support-intro {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 56px;
}

.support-intro h2 {
  font-size: 1.75rem;
  color: var(--c-primary);
  margin-bottom: 12px;
}

.support-intro p {
  font-size: 1rem;
  line-height: 1.7;
}

.support-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

.support-card {
  background: var(--c-surface);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.support-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.support-card-icon {
  width: 56px;
  height: 56px;
  background: var(--c-cream);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.support-card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--c-secondary);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.support-card h3 {
  font-size: 1.25rem;
  color: var(--c-primary);
  margin-bottom: 10px;
}

.support-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.support-card .btn-primary {
  font-size: 0.875rem;
  padding: 10px 22px;
}

.support-faq-teaser {
  background: var(--c-cream);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.support-faq-teaser h3 {
  font-size: 1.25rem;
  color: var(--c-primary);
  margin-bottom: 8px;
}

.support-faq-teaser p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .hero-sub { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-visual { order: -1; }

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

  .highlight-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .highlight-pills { justify-content: center; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }

  .support-faq-teaser { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
  .support-cards  { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; }

  .nav-links { display: none; }
  .section { padding: 64px 0; }

  .phone-mockup { width: 210px; height: 420px; border-radius: 38px; }

  .footer-bottom { flex-direction: column; text-align: center; }
}
