:root {
  --terracotta: #C4622D;
  --terracotta-deep: #A14E1F;
  --sage: #8A9E6F;
  --sage-deep: #6F8158;
  --cream: #F2E8D5;
  --sky: #87AABF;
  --ink: #2D2418;
  --ink-light: #5C4F3D;
  --paper: #FBF6EC;
  --paper-warm: #F4EAD3;
  --rule: #E0D4BC;
  --shadow-soft: 0 6px 24px rgba(45, 36, 24, 0.08);
  --shadow-lift: 0 14px 44px rgba(45, 36, 24, 0.18);
  --gradient-warm: linear-gradient(135deg, #F2E8D5 0%, #FBF6EC 60%, #F4DBC2 100%);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
}

/* ============ Top nav ============ */

.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(251, 246, 236, 0.85);
  border-bottom: 1px solid var(--rule);
}

.topnav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brandmark {
  font-family: "Playfair Display", "Georgia", serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--terracotta);
  letter-spacing: 0.2px;
  text-decoration: none;
}

.brandmark .by {
  display: block;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  font-size: 11px;
  color: var(--sage);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: -2px;
}

nav.lang {
  display: flex;
  gap: 4px;
  background: white;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 3px;
}

nav.lang a {
  padding: 6px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
}

nav.lang a:hover { color: var(--terracotta); }

nav.lang a.active {
  background: var(--terracotta);
  color: white;
}

/* ============ Hero ============ */

.hero {
  position: relative;
  background: var(--gradient-warm);
  padding: 60px 24px 80px;
  overflow: hidden;
}

.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
}

.hero::before {
  background: var(--terracotta);
  width: 480px; height: 480px;
  top: -120px; right: -160px;
}

.hero::after {
  background: var(--sky);
  width: 380px; height: 380px;
  bottom: -180px; left: -120px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--terracotta);
  background: rgba(196, 98, 45, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: "Playfair Display", "Georgia", serif;
  font-size: 64px;
  line-height: 1.05;
  font-weight: 900;
  margin: 0 0 18px;
  color: var(--ink);
  letter-spacing: -1px;
}

.hero h1 em {
  font-style: italic;
  color: var(--terracotta);
}

.hero p.lede {
  font-size: 19px;
  color: var(--ink-light);
  max-width: 480px;
  margin: 0 0 32px;
  line-height: 1.55;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 22px;
}

.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-soft);
}

.btn-appstore:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }

.btn-appstore svg { width: 24px; height: 24px; }

.btn-appstore .apl-line { font-size: 11px; opacity: 0.75; line-height: 1; display: block; margin-bottom: 2px; }
.btn-appstore .apl-name { font-size: 17px; font-weight: 800; line-height: 1; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border: 2px solid var(--terracotta);
  color: var(--terracotta);
  text-decoration: none;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
  transition: all 0.2s ease;
}

.btn-secondary:hover { background: var(--terracotta); color: white; }

.hero-trust {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 13px;
  color: var(--ink-light);
  flex-wrap: wrap;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-trust-item svg { width: 16px; height: 16px; color: var(--sage-deep); flex-shrink: 0; }

.hero-screenshot {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9 / 19.5;
  background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
  border-radius: 44px;
  padding: 12px;
  box-shadow: var(--shadow-lift), 0 4px 20px rgba(0,0,0,0.3);
  transform: rotate(-2deg);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
  display: block;
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: #000;
  border-radius: 14px;
  z-index: 2;
}

/* ============ Sections ============ */

section.section {
  display: none;
}
section.section.active {
  display: block;
}

/* Bilingual chrome (topnav + footer) */
.t-fr, .t-en { display: none; }
body[data-lang="fr"] .t-fr { display: inline; }
body[data-lang="en"] .t-en { display: inline; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 14px;
}

h2 {
  font-family: "Playfair Display", "Georgia", serif;
  font-size: 42px;
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 18px;
  color: var(--ink);
  letter-spacing: -0.5px;
}

h2 em { font-style: italic; color: var(--terracotta); }

.section-lede {
  font-size: 18px;
  color: var(--ink-light);
  max-width: 640px;
  margin: 0 0 56px;
}

/* ============ Features ============ */

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

.feature-card {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 28px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(196, 98, 45, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--terracotta);
}

.feature-icon svg { width: 24px; height: 24px; }

.feature-card.sage .feature-icon { background: rgba(138, 158, 111, 0.16); color: var(--sage-deep); }
.feature-card.sky  .feature-icon { background: rgba(135, 170, 191, 0.18); color: #4F7891; }

.feature-card h3 {
  font-family: "Playfair Display", "Georgia", serif;
  font-size: 21px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--ink);
}

.feature-card p {
  font-size: 15px;
  color: var(--ink-light);
  line-height: 1.55;
  margin: 0;
}

/* ============ Pricing ============ */

.pricing {
  background: var(--cream);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.pricing-card {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 24px;
  padding: 42px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--terracotta), var(--sky), var(--sage));
}

.pricing-headline {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}

.pricing-headline .price {
  font-family: "Playfair Display", "Georgia", serif;
  font-size: 56px;
  font-weight: 900;
  color: var(--terracotta);
  line-height: 1;
}

.pricing-headline .for-life {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-light);
  letter-spacing: 0.3px;
}

.pricing-card h3 {
  font-family: "Playfair Display", "Georgia", serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 20px;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--ink);
}

.pricing-list li svg {
  width: 18px;
  height: 18px;
  color: var(--sage-deep);
  flex-shrink: 0;
  margin-top: 2px;
}

.addons {
  border-top: 1px dashed var(--rule);
  padding-top: 22px;
}

.addons h4 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin: 0 0 14px;
}

.addons-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.addon {
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 14px 16px;
}

.addon .addon-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  display: block;
  margin-bottom: 2px;
}

.addon .addon-price {
  font-size: 13px;
  color: var(--terracotta);
  font-weight: 700;
}

.addon .addon-desc {
  display: block;
  font-size: 12px;
  color: var(--ink-light);
  margin-top: 4px;
  line-height: 1.4;
}

/* ============ Pull-quote ============ */

.quote-band {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.quote-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(196, 98, 45, 0.18), transparent 60%);
  pointer-events: none;
}

.quote-band .container {
  position: relative;
  text-align: center;
  padding: 90px 24px;
}

.quote-band blockquote {
  font-family: "Playfair Display", "Georgia", serif;
  font-style: italic;
  font-size: 30px;
  line-height: 1.3;
  font-weight: 500;
  margin: 0 0 22px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: var(--paper);
}

.quote-band cite {
  display: block;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 700;
}

/* ============ FAQ ============ */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

details.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 22px 0;
}

details.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: "Playfair Display", "Georgia", serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0;
}

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

details.faq-item summary::after {
  content: "+";
  font-family: "Nunito", sans-serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--terracotta);
  line-height: 1;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

details.faq-item[open] summary::after {
  transform: rotate(45deg);
}

details.faq-item .faq-answer {
  padding-top: 12px;
  font-size: 16px;
  color: var(--ink-light);
  line-height: 1.6;
}

/* ============ Final CTA ============ */

.final-cta {
  text-align: center;
  background: var(--gradient-warm);
  padding: 96px 24px;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at center, rgba(196, 98, 45, 0.15), transparent 70%);
  pointer-events: none;
}

.final-cta h2 {
  position: relative;
  font-size: 48px;
  margin-bottom: 18px;
}

.final-cta p {
  position: relative;
  color: var(--ink-light);
  max-width: 540px;
  margin: 0 auto 32px;
  font-size: 18px;
}

/* ============ Footer ============ */

footer.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 48px 24px 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.footer-brand {
  font-family: "Playfair Display", "Georgia", serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--paper);
}

.footer-brand .by {
  display: block;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  font-size: 11px;
  color: var(--sage);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--paper);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.footer-links a:hover { opacity: 1; color: var(--cream); }

.footer-base {
  max-width: 1100px;
  margin: 32px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(251, 246, 236, 0.12);
  font-size: 12px;
  color: rgba(251, 246, 236, 0.5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============ Responsive ============ */

@media (max-width: 880px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero p.lede { margin-left: auto; margin-right: auto; }
  .cta-row, .hero-trust { justify-content: center; }
  .hero-eyebrow { margin: 0 auto 18px; }
  .phone-frame { max-width: 280px; margin: 0 auto; }
  .hero h1 { font-size: 48px; }
}

@media (max-width: 600px) {
  .container { padding: 56px 18px; }
  .hero { padding: 40px 18px 60px; }
  .hero h1 { font-size: 38px; }
  .hero p.lede { font-size: 16px; }
  h2 { font-size: 30px; }
  .quote-band blockquote { font-size: 22px; }
  .pricing-card { padding: 28px 22px; }
  .pricing-headline .price { font-size: 44px; }
  .final-cta h2 { font-size: 32px; }
  .topnav-inner { padding: 12px 16px; }
  .brandmark { font-size: 18px; }
  nav.lang a { padding: 5px 11px; font-size: 12px; }
}
