:root {
  color-scheme: light dark;
  --ink: #101322;
  --muted: #646a7d;
  --line: rgba(72, 82, 130, 0.16);
  --surface: rgba(255, 255, 255, 0.78);
  --accent: #4b56e6;
  --accent-2: #14a8cc;
  --shadow: 0 24px 70px rgba(31, 42, 105, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.68;
  background:
    radial-gradient(circle at 15% 0%, rgba(91, 118, 255, 0.18), transparent 36rem),
    radial-gradient(circle at 90% 18%, rgba(25, 201, 220, 0.14), transparent 30rem),
    #f7f8fc;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px max(22px, calc((100vw - 1080px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(248, 249, 253, 0.82);
  backdrop-filter: blur(22px) saturate(160%);
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 760; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 5px 14px rgba(39, 67, 185, 0.24); }
.nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; font-size: 14px; }
.nav-links a { color: var(--muted); }

.wrap { width: min(100% - 36px, 960px); margin: 0 auto; }
.hero { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; padding: 82px 0 68px; }
.hero-icon { width: min(280px, 70vw); justify-self: center; border-radius: 28%; box-shadow: var(--shadow); }
.eyebrow { color: var(--accent); font-weight: 740; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
h1 { margin: 8px 0 18px; font-size: clamp(42px, 7vw, 72px); line-height: 1.02; letter-spacing: -.045em; }
.lead { max-width: 660px; color: var(--muted); font-size: clamp(18px, 2vw, 22px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 11px 17px; border-radius: 14px; font-weight: 700; }
.button.primary { color: white; background: linear-gradient(135deg, var(--accent), #6574ff); box-shadow: 0 10px 28px rgba(72, 82, 230, .28); }
.button.secondary { color: var(--ink); border: 1px solid var(--line); background: var(--surface); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 70px; }
.card, .policy {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 16px 45px rgba(35, 47, 105, .08);
  backdrop-filter: blur(18px);
}
.card { padding: 24px; }
.card h2 { margin: 4px 0 8px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); }

.page-header { padding: 66px 0 30px; }
.page-header h1 { font-size: clamp(38px, 6vw, 58px); }
.page-header p { color: var(--muted); max-width: 720px; }
.language-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.language-links a, .language-links span { padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
.language-links span { background: rgba(75, 86, 230, .12); color: var(--accent); font-weight: 700; }

.policy { padding: clamp(24px, 5vw, 54px); margin-bottom: 70px; }
.policy h2 { margin-top: 34px; line-height: 1.3; }
.policy h2:first-child { margin-top: 0; }
.policy li { margin: 7px 0; }
.policy .notice { padding: 16px 18px; border-left: 4px solid var(--accent); border-radius: 12px; background: rgba(75, 86, 230, .08); }

footer { padding: 28px 0 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 52px; text-align: center; }
  .hero-icon { grid-row: 1; width: 170px; }
  .lead { margin-inline: auto; }
  .actions { justify-content: center; }
  .grid { grid-template-columns: 1fr; }
  .site-nav { align-items: flex-start; }
}

@media (prefers-color-scheme: dark) {
  :root { --ink: #f5f6ff; --muted: #b5bad0; --line: rgba(190, 199, 255, .16); --surface: rgba(20, 23, 39, .78); }
  body { background: radial-gradient(circle at 15% 0%, rgba(83, 103, 236, .24), transparent 36rem), #0d0f19; }
  .site-nav { background: rgba(13, 15, 25, .82); }
}

/* Marketing homepage */
.marketing-page { color: #15182b; background: #f7f7fb; line-height: 1.5; overflow-x: hidden; }
.marketing-page::before { content: ""; position: fixed; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(circle at 77% 7%, rgba(172, 190, 255, .3), transparent 24rem), radial-gradient(circle at 4% 28%, rgba(228, 219, 255, .5), transparent 29rem); }
.marketing-nav { width: min(1180px, calc(100% - 48px)); height: 86px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.marketing-brand { display: inline-flex; align-items: center; gap: 10px; color: #17192b; font-size: 17px; font-weight: 750; letter-spacing: -.025em; }
.marketing-brand:hover { text-decoration: none; }
.marketing-brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 7px 18px rgba(60, 77, 176, .22); }
.marketing-nav nav { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 560; }
.marketing-nav nav > a { color: #565b71; }
.marketing-nav nav > a:hover { color: #17192b; text-decoration: none; }
.marketing-nav .nav-store-link { padding: 9px 14px; border: 1px solid #d9dbea; border-radius: 10px; color: #191c31; background: rgba(255,255,255,.65); }
.marketing-hero { position: relative; isolation: isolate; width: min(1120px, calc(100% - 48px)); min-height: 650px; margin: 18px auto 0; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 62px; }
.marketing-copy { position: relative; z-index: 2; padding: 68px 0; }
.marketing-kicker { margin: 0 0 17px; color: #555bd8; font-size: 12px; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.marketing-hero h1, .marketing-section h2, .marketing-closing h2 { margin: 0; color: #131525; font-size: clamp(48px, 6.5vw, 78px); font-weight: 700; letter-spacing: -.065em; line-height: .98; }
.marketing-lead { max-width: 545px; margin: 27px 0 0; color: #61667d; font-size: 19px; line-height: 1.65; }
.marketing-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 34px; }
.marketing-button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 48px; padding: 0 18px; border-radius: 13px; font-size: 14px; font-weight: 720; transition: transform .2s ease, box-shadow .2s ease; }
.marketing-button:hover { text-decoration: none; transform: translateY(-2px); }
.marketing-button.primary { color: white; background: #20234a; box-shadow: 0 14px 30px rgba(27, 31, 83, .22); }
.marketing-button.primary:hover { color: white; box-shadow: 0 18px 36px rgba(27, 31, 83, .28); }
.marketing-button.quiet { color: #272a42; border: 1px solid #dde0eb; background: rgba(255,255,255,.58); }
.marketing-note { margin: 16px 0 0; color: #969aaa; font-size: 12px; }
.marketing-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); }
.orb-one { width: 280px; height: 280px; top: 8%; right: 8%; background: rgba(183, 198, 255, .42); }
.orb-two { width: 170px; height: 170px; bottom: 7%; left: 37%; background: rgba(239, 211, 255, .34); }
.memory-window { position: relative; width: min(100%, 464px); justify-self: end; padding: 20px; border: 1px solid rgba(255,255,255,.85); border-radius: 28px; color: #25283b; background: rgba(255,255,255,.75); box-shadow: 0 35px 80px rgba(57, 63, 120, .20); backdrop-filter: blur(22px); transform: rotate(2.5deg); }
.window-top { display: flex; align-items: center; gap: 5px; padding: 0 2px 18px; border-bottom: 1px solid #e7e8f0; }
.window-top span { width: 7px; height: 7px; border-radius: 50%; background: #dadce7; }.window-top p { margin: 0 auto; transform: translateX(-10px); font-size: 12px; font-weight: 700; }
.window-date { margin: 19px 0 12px; color: #9296a8; font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.window-entry { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 17px; }.window-entry strong { font-size: 14px; }.window-entry p { margin: 4px 0 0; color: #777d91; font-size: 12px; line-height: 1.45; }
.entry-main { background: #f0efff; }.entry-icon { display: grid; place-items: center; flex: 0 0 31px; width: 31px; height: 31px; border-radius: 10px; color: #665de5; background: #ddd9ff; }.entry-small { margin-top: 7px; background: #f7f7fa; }.entry-photo { flex: 0 0 31px; width: 31px; height: 31px; border-radius: 10px; background: linear-gradient(145deg, #b8bdcd, #e6c7b7 48%, #8e9fc6); }
.window-search { margin-top: 20px; padding: 12px 14px; border: 1px solid #e4e5ee; border-radius: 13px; color: #71778c; background: #fff; font-size: 12px; }.window-search span { margin-right: 8px; color: #484fcb; font-size: 18px; vertical-align: -1px; }
.window-answer { margin-top: 10px; padding: 14px; border-radius: 14px; color: #3b3d56; background: linear-gradient(120deg, #ecedff, #f8efff); }.window-answer span { color: #5a60d5; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }.window-answer p { margin: 5px 0 0; font-size: 12px; line-height: 1.45; }
.marketing-proof { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 22px 0 56px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #6f7487; font-size: 13px; font-weight: 620; }.marketing-proof p { margin: 0; }.marketing-proof span { width: 4px; height: 4px; border-radius: 50%; background: #a9adbb; }
.marketing-section { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 106px 0; }.section-intro { max-width: 710px; }.marketing-section h2 { font-size: clamp(38px, 4.7vw, 59px); }.section-intro > p:last-child { max-width: 610px; margin: 22px 0 0; color: #676c80; font-size: 18px; line-height: 1.65; }
.workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; margin-top: 51px; }.workflow-grid article { min-height: 235px; padding: 26px; border: 1px solid #e4e5ed; border-radius: 20px; background: rgba(255,255,255,.64); }.step-number { margin: 0 0 44px; color: #666bda; font-size: 12px; font-weight: 760; letter-spacing: .08em; }.workflow-grid h3 { margin: 0; font-size: 19px; letter-spacing: -.035em; }.workflow-grid article > p:last-child { margin: 9px 0 0; color: #71768a; font-size: 14px; line-height: 1.6; }
.privacy-section { padding-top: 18px; }.privacy-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; padding: 61px; border-radius: 27px; color: white; background: #25274d; box-shadow: 0 27px 65px rgba(34,38,85,.17); }.privacy-card h2 { color: white; font-size: clamp(35px, 4vw, 53px); }.privacy-card .marketing-kicker { color: #bdc3ff; }.privacy-copy { align-self: end; }.privacy-copy p { margin: 0; color: #d5d7e8; font-size: 16px; line-height: 1.7; }.privacy-copy a { display: inline-flex; gap: 8px; margin-top: 24px; color: white; font-size: 14px; font-weight: 720; }
.marketing-closing { width: min(820px, calc(100% - 48px)); margin: 0 auto; padding: 140px 0 146px; text-align: center; }.marketing-closing h2 { font-size: clamp(39px, 5.4vw, 64px); }.marketing-closing .marketing-button { margin-top: 31px; }
.marketing-footer { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 25px 0 42px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-top: 1px solid #e0e1e9; color: #898da0; font-size: 12px; }.marketing-footer .marketing-brand { font-size: 14px; }.marketing-footer .marketing-brand img { width: 26px; height: 26px; border-radius: 8px; }.marketing-footer div { display: flex; gap: 19px; }.marketing-footer a { color: #64697b; }.marketing-footer p { justify-self: end; margin: 0; }
@media (max-width: 760px) { .marketing-nav { width: min(100% - 32px, 600px); height: 72px; }.marketing-nav nav > a:not(.nav-store-link) { display: none; }.marketing-nav nav { gap: 0; }.marketing-hero { width: min(100% - 36px, 600px); grid-template-columns: 1fr; min-height: 0; gap: 7px; }.marketing-copy { padding: 54px 0 20px; text-align: center; }.marketing-hero h1 { font-size: clamp(49px, 14vw, 66px); }.marketing-lead { margin-inline: auto; font-size: 17px; }.marketing-actions { justify-content: center; }.memory-window { width: min(92%, 420px); justify-self: center; margin: 23px 0 52px; transform: rotate(1.4deg); }.marketing-proof { padding: 0 0 46px; gap: 9px; font-size: 10px; }.marketing-section { width: min(100% - 36px, 600px); padding: 72px 0; }.workflow-grid { grid-template-columns: 1fr; margin-top: 32px; }.workflow-grid article { min-height: 0; }.step-number { margin-bottom: 26px; }.privacy-card { grid-template-columns: 1fr; gap: 30px; padding: 35px 28px; }.marketing-closing { padding: 92px 0; }.marketing-footer { width: min(100% - 36px, 600px); grid-template-columns: 1fr auto; gap: 20px; }.marketing-footer p { grid-column: 1 / -1; justify-self: start; }.marketing-footer div { justify-self: end; } }
