:root {
  color-scheme: light;
  --ink: #29243a;
  --muted: #746f83;
  --purple: #6f4bd8;
  --purple-dark: #5232b2;
  --line: #e9e5f2;
  --surface: #fff;
  --canvas: #f8f7fc;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--canvas); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: radial-gradient(ellipse at 12% 0%, #f0ebff 0, transparent 38rem), var(--canvas); font-size: 16px; line-height: 1.72; }
a { color: var(--purple-dark); text-underline-offset: .18em; }
a:hover { color: var(--purple); }
a:focus-visible, summary:focus-visible { outline: 3px solid #a88df5; outline-offset: 4px; border-radius: 6px; }
.home-shell { width: min(100% - 32px, 760px); min-height: 100svh; margin: 0 auto; display: flex; flex-direction: column; justify-content: center; padding: 56px 0; }
.home-shell--landing { width: min(100% - 32px, 900px); justify-content: flex-start; }
.brand { display: inline-flex; align-self: flex-start; color: var(--purple-dark); font-size: 1.05rem; font-weight: 850; letter-spacing: .16em; text-decoration: none; }
.home-card { margin-top: 26px; padding: clamp(28px, 7vw, 64px); border: 1px solid rgba(228, 222, 243, .9); border-radius: 28px; background: rgba(255, 255, 255, .94); box-shadow: 0 20px 60px rgba(62, 42, 117, .08); }
.home-card--landing { margin-top: 0; }
.home-hero { display: flex; align-items: center; gap: clamp(20px, 4vw, 38px); }
.app-icon { display: block; width: clamp(76px, 14vw, 112px); height: auto; flex: 0 0 auto; border-radius: 32%; box-shadow: 0 12px 28px rgba(62, 42, 117, .16); }
.home-card--landing h1 { margin-top: 9px; }
.home-description { max-width: 700px; margin: 30px 0 0; color: var(--muted); font-size: 1.03rem; }
.home-section { margin-top: 38px; }
.home-section h2, .premium-panel h2 { margin: 0; font-size: 1.45rem; line-height: 1.3; letter-spacing: -.025em; }
.feature-list, .premium-panel ul { margin: 17px 0 0; padding: 0; list-style: none; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.feature-list li { position: relative; padding: 12px 14px 12px 40px; border: 1px solid var(--line); border-radius: 13px; background: #fff; line-height: 1.5; }
.feature-list li::before { position: absolute; left: 15px; top: 50%; width: 9px; height: 9px; transform: translateY(-50%); border-radius: 50%; background: var(--purple); content: ""; }
.premium-panel { margin-top: 34px; padding: clamp(22px, 4vw, 32px); border: 1px solid #e5dcfb; border-radius: 20px; background: linear-gradient(135deg, #faf8ff, #f3efff); }
.premium-panel .eyebrow { display: inline-block; margin-bottom: 5px; }
.premium-panel p { margin: 10px 0 0; color: var(--muted); }
.premium-panel ul { display: flex; flex-wrap: wrap; gap: 9px; }
.premium-panel li { padding: 7px 12px; border: 1px solid #e5dcfb; border-radius: 999px; background: rgba(255, 255, 255, .8); font-size: .92rem; }
.eyebrow { color: var(--purple-dark); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 9px 0 12px; font-size: clamp(2rem, 8vw, 3.35rem); line-height: 1.12; letter-spacing: -.045em; }
.lead { max-width: 38rem; margin: 0; color: var(--muted); font-size: 1.08rem; }
.home-links { display: grid; gap: 12px; margin-top: 32px; }
.home-card--landing .home-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 19px; border: 1px solid var(--line); border-radius: 16px; background: #fff; font-weight: 700; text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.home-link:hover { transform: translateY(-1px); border-color: #c9b9f5; }
.home-note { margin: 24px 0 0; color: var(--muted); font-size: .9rem; }
.home-footer { padding: 24px 4px 0; color: var(--muted); font-size: .86rem; }
.button-link { display: inline-flex; justify-content: center; margin-top: 28px; padding: 13px 20px; border-radius: 999px; color: #fff; background: var(--purple); font-weight: 700; text-decoration: none; }
.button-link:hover { color: #fff; background: var(--purple-dark); }
.not-found { text-align: center; }
.not-found .eyebrow { display: inline-block; padding: 5px 10px; border-radius: 999px; background: #f0ebff; }
.site-header { width: min(100% - 40px, 1120px); margin: 0 auto; padding: 26px 0; display: flex; align-items: center; gap: 30px; }
.document-nav { display: flex; flex: 1; gap: 22px; }
.document-nav a, .site-footer a { color: var(--muted); font-size: .92rem; text-decoration: none; }
.document-nav a[aria-current="page"] { color: var(--purple-dark); font-weight: 750; }
.document-nav a:hover, .site-footer a:hover { color: var(--purple-dark); text-decoration: underline; }
.language-control { margin-left: auto; }
.language-menu { position: relative; }
.language-menu summary { display: flex; min-width: 150px; min-height: 46px; align-items: center; gap: 9px; padding: 9px 13px; border: 1.5px solid #b9a8ed; border-radius: 13px; color: var(--purple-dark); background: #f1edff; box-shadow: 0 3px 10px rgba(62, 42, 117, .08); cursor: pointer; list-style: none; font-size: .92rem; font-weight: 750; transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary::marker { content: ""; }
.language-menu summary::before { content: "🌐"; font-size: 1rem; line-height: 1; }
.language-menu summary::after { margin-left: auto; color: var(--purple-dark); content: "⌄"; font-size: 1rem; line-height: 1; }
.language-menu summary:hover { border-color: var(--purple); background: #e9e2ff; box-shadow: 0 5px 14px rgba(62, 42, 117, .13); }
.language-menu[open] summary { border-color: var(--purple); background: #e9e2ff; }
.language-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; max-height: 360px; overflow: auto; margin: 8px 0 0; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; list-style: none; box-shadow: 0 12px 32px rgba(42, 31, 77, .09); }
.language-list a { display: block; padding: 7px 8px; border-radius: 8px; color: var(--ink); font-size: .86rem; text-decoration: none; white-space: nowrap; }
.language-list a:hover, .language-list a[aria-current="page"] { color: var(--purple-dark); background: #f4f0ff; }
.legal-card { width: min(100% - 40px, 900px); margin: 20px auto 52px; padding: clamp(28px, 6vw, 70px); border: 1px solid rgba(228, 222, 243, .9); border-radius: 28px; background: var(--surface); box-shadow: 0 18px 55px rgba(62, 42, 117, .07); }
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h1 { margin-top: 0; font-size: clamp(2rem, 6vw, 3rem); }
.legal-content h2 { margin: 2.35em 0 .65em; font-size: clamp(1.25rem, 3.5vw, 1.55rem); line-height: 1.3; letter-spacing: -.02em; }
.legal-content h3 { margin: 1.75em 0 .4em; font-size: 1.05rem; line-height: 1.4; }
.legal-content p { margin: .85em 0; }
.legal-content li { padding-left: .25em; margin: .35em 0; }
.legal-content ul { padding-left: 1.35rem; }
.effective-date { margin: -4px 0 28px !important; color: var(--muted); font-size: .9rem; }
.site-footer { width: min(100% - 40px, 1120px); margin: 0 auto; padding: 0 0 34px; color: var(--muted); text-align: center; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; }
.site-footer p { margin: 16px 0 0; font-size: .82rem; }
.footer-support { color: var(--muted); font-size: .92rem; }
.support-form { display: grid; gap: 19px; margin-top: 30px; }
.form-field { display: grid; gap: 7px; }
.form-field label { color: var(--ink); font-size: .94rem; font-weight: 700; }
.form-field input, .form-field textarea { width: 100%; border: 1px solid #dcd6e9; border-radius: 12px; padding: 13px 14px; color: var(--ink); background: #fff; font: inherit; line-height: 1.5; }
.form-field textarea { min-height: 180px; resize: vertical; }
.form-field input:focus-visible, .form-field textarea:focus-visible { outline: 3px solid #a88df5; outline-offset: 2px; border-color: var(--purple); }
.form-note { margin: 0; color: var(--muted); font-size: .9rem; }
.support-submit { justify-self: start; min-width: 150px; border: 0; border-radius: 999px; padding: 13px 23px; color: #fff; background: var(--purple); font: inherit; font-weight: 750; cursor: pointer; }
.support-submit:hover { background: var(--purple-dark); }
.support-submit:focus-visible { outline: 3px solid #a88df5; outline-offset: 3px; }
.skip-link { position: absolute; left: 12px; top: 12px; z-index: 2; padding: 10px 14px; transform: translateY(-160%); border-radius: 8px; color: #fff; background: var(--purple-dark); }
.skip-link:focus { transform: translateY(0); }
@media (max-width: 700px) {
  .home-shell--landing { width: min(100% - 28px, 900px); padding: 32px 0; }
  .feature-list { grid-template-columns: 1fr; }
  .home-card--landing .home-links { grid-template-columns: 1fr; }
  .site-header { width: min(100% - 28px, 900px); flex-wrap: wrap; gap: 14px 18px; padding: 20px 0; }
  .document-nav { order: 3; width: 100%; flex-basis: 100%; gap: 18px; }
  .language-control { margin-left: auto; }
  .language-menu summary { min-width: 120px; }
  .legal-card { width: min(100% - 24px, 900px); margin: 8px auto 32px; padding: 26px 22px; border-radius: 20px; }
  .site-footer { width: min(100% - 28px, 900px); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
@media (max-width: 480px) { body { font-size: 15px; } .home-shell { width: min(100% - 24px, 760px); padding: 28px 0; } .home-shell--landing { width: min(100% - 24px, 900px); padding: 20px 0; } .home-hero { align-items: flex-start; gap: 16px; } .home-card--landing { padding: 24px 20px; } .home-card--landing h1 { font-size: clamp(1.8rem, 8vw, 2.45rem); } .home-description { margin-top: 22px; } .home-card { border-radius: 22px; } }
