:root {
  color-scheme: light;
  --ink: #20182e;
  --muted: #6b6477;
  --line: #e9e4ef;
  --surface: #fff;
  --wash: #f8f5fc;
  --purple: #7756d8;
  --purple-dark: #4a328d;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { background: var(--wash); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--wash); line-height: 1.65; }
a { color: inherit; }
.site-shell { max-width: 1160px; margin: 0 auto; padding: 0 30px; }
.topbar { min-height: 84px; display: flex; align-items: center; gap: 30px; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 1.15rem; letter-spacing: -.04em; font-weight: 750; text-decoration: none; }
.topbar nav { margin-inline-start: auto; display: flex; gap: 25px; }
.topbar nav a, footer a { text-decoration: none; }
.topbar nav a { color: var(--muted); font-size: .92rem; }
.topbar nav a:hover, footer a:hover { color: var(--purple); }
.language-label select { max-width: 185px; padding: 9px 30px 9px 12px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: #fff; font: inherit; font-size: .85rem; }
.hero { min-height: 430px; display: grid; grid-template-columns: 1fr 260px; align-items: center; gap: 60px; padding: 74px clamp(8px, 5vw, 64px) 74px; background: radial-gradient(circle at 78% 40%, rgba(202, 186, 255, .72), transparent 27%), linear-gradient(120deg, #f1eaff 0%, #f9f6ff 56%, #efe8ff 100%); border-radius: 0 0 34px 34px; }
.hero-copy { max-width: 660px; }
.eyebrow { margin: 0 0 12px; color: var(--purple-dark); font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(3.1rem, 7vw, 5.7rem); line-height: 1; letter-spacing: -.075em; }
.tagline { margin: 18px 0 8px; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.25; font-weight: 650; letter-spacing: -.035em; }
.lede { max-width: 670px; margin: 10px 0 0; color: var(--muted); font-size: 1.1rem; }
.app-icon { display: block; width: min(100%, 226px); aspect-ratio: 1; margin: 0 auto; border-radius: 28%; box-shadow: 0 24px 70px rgba(57, 34, 114, .22); }
.support-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 27px; padding: 11px 16px; border-radius: 12px; color: #fff; background: var(--purple); text-decoration: none; font-weight: 650; box-shadow: 0 8px 22px rgba(119, 86, 216, .2); }
.support-link:hover { background: var(--purple-dark); }
.features-section { padding: 74px 0 65px; }
.features-section h2 { margin: 0 0 28px; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.045em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature { min-height: 225px; padding: 25px 23px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 8px 25px rgba(55, 37, 87, .035); }
.feature-icon { display: inline-grid; width: 42px; height: 42px; place-items: center; margin-bottom: 20px; border-radius: 13px; color: var(--purple-dark); background: #f0eaff; font-size: 1.5rem; }
.feature h3, .content-page h2 { margin: 0 0 8px; font-size: 1.17rem; letter-spacing: -.02em; }
.feature p, .content-page section p, .faq p, .contact-card p { margin: 0; color: var(--muted); }
.privacy-note { display: flex; align-items: center; gap: 18px; margin: 5px 0 70px; padding: 22px 24px; border: 1px solid #dfd5f6; border-radius: 18px; background: #f1ebff; }
.privacy-note h2 { margin: 0 0 3px; font-size: 1.05rem; }
.privacy-note p { margin: 0; color: #5f5671; }
.privacy-mark { display: grid; flex: 0 0 42px; height: 42px; place-items: center; border-radius: 50%; color: #fff; background: var(--purple); font-size: 1.3rem; }
.privacy-note > a { margin-inline-start: auto; color: var(--purple-dark); text-decoration: none; font-size: 1.3rem; }
.content-page { max-width: 790px; min-height: 64vh; margin: 0 auto; padding: 68px 0 82px; }
.content-page h1 { margin: 0; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; letter-spacing: -.05em; }
.content-page .lede { margin: 14px 0 38px; }
.content-page h2 { margin: 34px 0 14px; font-size: 1.35rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 19px 36px 19px 0; cursor: pointer; list-style: none; font-weight: 650; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; inset-inline-end: 4px; top: 16px; color: var(--purple); font-size: 1.35rem; font-weight: 400; }
.faq[open] summary::after { content: "−"; }
.faq p { padding: 0 30px 20px 0; }
.contact-card { margin-top: 36px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.contact-card h2 { margin: 0 0 8px; }
.contact-card a { color: var(--purple-dark); font-weight: 650; }
.privacy-page .lede { margin-bottom: 12px; }
.updated { margin: 0 0 30px; color: #858091; font-size: .9rem; }
.privacy-page section { padding-top: 4px; }
.privacy-page section h2 { margin: 26px 0 7px; }
footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 24px; padding: 27px 0 32px; border-top: 1px solid var(--line); color: #817a8e; font-size: .87rem; }
footer span { color: #9a94a4; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
html[dir="rtl"] .hero { text-align: right; }
html[dir="rtl"] .faq summary { padding-right: 0; padding-left: 36px; }
html[dir="rtl"] .faq p { padding-right: 0; padding-left: 30px; }
@media (max-width: 760px) {
  .site-shell { padding: 0 18px; }
  .topbar { min-height: 70px; gap: 12px; flex-wrap: wrap; padding: 12px 0; }
  .topbar nav { order: 3; width: 100%; justify-content: space-between; gap: 12px; }
  .language-label { margin-inline-start: auto; }
  .language-label select { max-width: 155px; }
  .hero { grid-template-columns: 1fr 110px; gap: 14px; min-height: 350px; padding: 54px 22px; border-radius: 0 0 25px 25px; }
  .hero h1 { font-size: clamp(2.8rem, 13vw, 4.3rem); }
  .tagline { font-size: 1.35rem; }
  .lede { font-size: 1rem; }
  .app-icon { width: min(100%, 112px); border-radius: 25%; }
  .features-section { padding: 54px 0 44px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
  .privacy-note { margin-bottom: 48px; padding: 18px; }
  .content-page { padding: 50px 0 60px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
