:root {
  color-scheme: light;
  --background: #fcf6ef;
  --surface: #fffdf9;
  --surface-soft: #f6eef8;
  --text: #352d38;
  --muted: #706775;
  --accent: #82619c;
  --accent-dark: #634579;
  --border: #e9dfe4;
  --shadow: 0 16px 40px rgba(75, 54, 76, 0.09);
  --page-width: 1060px;
  --reading-width: 800px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background-color: var(--background);
  background-image: radial-gradient(rgba(91, 70, 94, 0.075) 0.65px, transparent 0.75px);
  background-size: 15px 15px;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: var(--accent-dark); }

a:focus-visible,
button:focus-visible {
  outline: 3px solid #cdb8dc;
  outline-offset: 3px;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 253, 249, 0.92);
}

.header-inner,
.page-shell {
  width: min(calc(100% - 2rem), var(--page-width));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-size: 1.14rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.8rem;
  box-shadow: 0 8px 18px rgba(99, 69, 121, 0.2);
  object-fit: cover;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
}

.locale-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.locale-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #e3d4eb;
  border-radius: 999px;
  color: var(--accent-dark);
  background: var(--surface);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.locale-link[aria-current="true"] { color: #fff; border-color: var(--accent); background: var(--accent); }

.site-nav a {
  padding: 0.5rem 0.7rem;
  border-radius: 0.6rem;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--accent-dark); background: var(--surface-soft); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
  padding: clamp(3.5rem, 9vw, 7rem) 0;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.035em; }

h1 { max-width: 650px; margin: 0; font-size: clamp(2.65rem, 6vw, 4.75rem); }

.hero-copy { max-width: 560px; margin: 1.2rem 0 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.28rem); }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.05rem;
  border: 1px solid var(--accent);
  border-radius: 0.8rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.button:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.button--quiet { background: transparent; color: var(--accent-dark); }
.button--quiet:hover { background: var(--surface-soft); color: var(--accent-dark); }

.hero-art { position: relative; padding: 0.8rem 0.8rem 1.8rem; }
.hero-art img { display: block; width: 100%; border: 1px solid var(--border); border-radius: 2rem; box-shadow: var(--shadow); }
.app-screen-placeholder { position: absolute; right: 0; bottom: 0; display: grid; width: 10.5rem; min-height: 13.5rem; place-content: center; gap: 0.35rem; padding: 1rem; border: 1px dashed #a98bbd; border-radius: 1.55rem; background: #fffdf9; color: var(--accent-dark); font-size: 0.8rem; font-weight: 750; text-align: center; box-shadow: 0 12px 28px rgba(75, 54, 76, 0.12); }
.app-screen-placeholder small { color: var(--muted); font-size: 0.68rem; font-weight: 600; }

.section { padding: clamp(3.25rem, 8vw, 5.5rem) 0; border-top: 1px solid var(--border); }
.section-heading { max-width: 620px; margin-bottom: 2rem; }
.section-heading h2, .feature-intro h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); }
.section-heading p, .feature-intro p { margin: 0.8rem 0 0; color: var(--muted); }

.benefit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.card { padding: 1.5rem; border: 1px solid var(--border); border-radius: 1.25rem; background: var(--surface); box-shadow: var(--shadow); }
.card h3 { margin: 0; font-size: 1.2rem; }
.card p { margin: 0.65rem 0 0; color: var(--muted); }

.feature-panel { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1.5rem; align-items: center; padding: clamp(1.5rem, 5vw, 3.2rem); border-radius: 1.5rem; background: var(--surface-soft); }
.feature-intro p { max-width: 470px; }
.feature-detail { padding: 1.25rem; border-radius: 1rem; background: var(--surface); color: var(--muted); }
.feature-detail p { margin: 0; }

.privacy-note { max-width: 720px; padding: 1.5rem; border-left: 4px solid var(--accent); border-radius: 0 1rem 1rem 0; background: var(--surface); }
.privacy-note p { margin: 0.7rem 0 0; color: var(--muted); }
.text-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; font-weight: 700; }

.final-cta { padding-bottom: clamp(4rem, 10vw, 7rem); text-align: center; }
.final-cta h2 { max-width: 650px; margin: 0 auto; font-size: clamp(2.25rem, 5vw, 3.8rem); }
.final-cta p { max-width: 560px; margin: 1rem auto 0; color: var(--muted); }
.final-cta .actions { justify-content: center; }

.reading-page { width: min(calc(100% - 2rem), var(--reading-width)); margin: 0 auto; padding: clamp(3rem, 8vw, 5.5rem) 0; }
.reading-page h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
.reading-page > p { max-width: 680px; color: var(--muted); font-size: 1.1rem; }
.support-contact { margin: 2rem 0 2.8rem; }
.faq { border-top: 1px solid var(--border); }
.faq-item { padding: 1.45rem 0; border-bottom: 1px solid var(--border); }
.faq-item h2 { margin: 0; font-size: 1.25rem; }
.faq-item p { margin: 0.65rem 0 0; color: var(--muted); }

.site-footer { border-top: 1px solid var(--border); background: #f8f0e8; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; width: min(calc(100% - 2rem), var(--page-width)); margin: 0 auto; padding: 1.8rem 0; color: var(--muted); font-size: 0.92rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; }
.footer-links a { color: var(--muted); }
.copyright { margin: 0; }

@media (max-width: 680px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: 1rem 0; }
  .site-nav { justify-content: flex-start; }
  .header-actions { align-items: flex-start; flex-direction: column; gap: 0.55rem; }
  .hero, .feature-panel { grid-template-columns: 1fr; }
  .hero { padding-top: 3.5rem; }
  .hero-art { max-width: 470px; margin: 0 auto; }
  .app-screen-placeholder { width: 8.4rem; min-height: 10.8rem; }
  .benefit-grid { grid-template-columns: 1fr; }
}
