/* SoulDu landing: three colours only, white, black and one blue (the app keeps its old palette until it is renamed). */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/assets/inter-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/assets/inter-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: Inter; font-weight: 800; font-display: swap; src: url(/assets/inter-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/assets/inter-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02AF, U+1E00-1EFF; }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/assets/inter-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02AF, U+1E00-1EFF; }
@font-face { font-family: Inter; font-weight: 800; font-display: swap; src: url(/assets/inter-latin-ext-800-normal.woff2) format('woff2'); unicode-range: U+0100-02AF, U+1E00-1EFF; }

:root {
  --paper: #FFFFFF;
  --surface: #FFFFFF;
  --ink: #111111;
  --muted: #62656B;
  --line: #E2E4E8;
  --accent: #2C66D6;
  --accent-ink: #FFFFFF;
  --soft: #F2F3F5;
  --photo: #C9CDD3;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0F1012;
    --surface: #1A1B1E;
    --ink: #F2F3F5;
    --muted: #9A9DA5;
    --line: #2E3036;
    --accent: #6B9BFF;
    --accent-ink: #0F1012;
    --soft: #222327;
    --photo: #4A4E56;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 Inter, system-ui, sans-serif; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top { display: flex; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.logo { font-weight: 800; font-size: 30px; letter-spacing: -.05em; text-decoration: none; margin-right: auto; }
.logo span, .ours h3 span { color: var(--accent); }
.langs { display: flex; gap: 4px; }
.langs a { font-weight: 600; font-size: 14px; text-decoration: none; color: var(--muted); padding: 6px 8px; border-radius: 8px; }
.langs a[aria-current="page"] { color: var(--ink); background: var(--soft); }

/* Buttons */
.btn { display: inline-block; border: 0; cursor: pointer; background: var(--accent); color: var(--accent-ink); font: 800 18px/1 Inter, sans-serif; letter-spacing: -.01em; padding: 18px 28px; border-radius: 999px; text-decoration: none; text-align: center; }
.btn:hover { filter: brightness(1.05); }
.btn:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-small { font-size: 15px; padding: 11px 18px; }

/* Hero */
.hero { display: grid; gap: 40px; padding-top: 32px; padding-bottom: 72px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; background: var(--surface); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; }
.flag { display: inline-flex; flex-direction: column; width: 24px; height: 16px; border-radius: 3px; overflow: hidden; }
.flag i { flex: 1; }
.flag i:nth-child(1) { background: #FDB913; }
.flag i:nth-child(2) { background: #006A44; }
.flag i:nth-child(3) { background: #C1272D; }
h1 { font-weight: 800; font-size: clamp(44px, 9vw, 84px); line-height: .98; letter-spacing: -.045em; margin: 22px 0 20px; }
.lead { color: var(--muted); font-size: 19px; max-width: 34em; margin-bottom: 28px; }
.limited { margin-top: 14px; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }

/* Product card */
.hero-art { display: flex; justify-content: center; }
.card { width: min(340px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 14px 14px 22px; box-shadow: 0 24px 60px rgba(17, 17, 17, .10); transform: rotate(2deg); }
.photo { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; background: var(--photo); overflow: hidden; }
.photo i:nth-child(1) { position: absolute; left: 50%; top: 22%; width: 34%; height: 30%; margin-left: -17%; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.photo i:nth-child(2) { position: absolute; left: 50%; top: 58%; width: 72%; height: 60%; margin-left: -36%; border-radius: 50% 50% 0 0; background: rgba(255, 255, 255, .24); }
.photo b { position: absolute; top: 8px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .9); width: calc(50% - 12px); left: 8px; }
.photo b + b { left: auto; right: 8px; background: rgba(255, 255, 255, .45); }
.card-name { font-weight: 800; font-size: 22px; letter-spacing: -.02em; margin-top: 14px; }
.card-bio { color: var(--muted); font-size: 15px; line-height: 1.4; }
.card-label { font-weight: 600; font-size: 13px; margin-top: 16px; }
.card-score { font-weight: 800; font-size: 34px; text-align: center; line-height: 1.1; }
.slider { display: flex; gap: 5px; margin-top: 8px; }
.slider i { flex: 1; height: 8px; border-radius: 4px; background: var(--line); }
.slider i.on { background: var(--accent); }

/* Sections */
section h2, footer h2 { font-weight: 800; font-size: clamp(30px, 5vw, 44px); letter-spacing: -.035em; line-height: 1.05; margin-bottom: 26px; }
.how, .why { padding-top: 40px; padding-bottom: 56px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.steps span { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; background: var(--ink); color: var(--paper); font-weight: 800; font-size: 15px; }
.steps h3 { font-weight: 800; font-size: 20px; letter-spacing: -.02em; margin: 14px 0 6px; }
.steps p { color: var(--muted); font-size: 16px; }

.compare { display: grid; gap: 14px; }
.side { border-radius: 22px; padding: 24px; border: 1px solid var(--line); background: var(--surface); }
.side h3 { font-weight: 800; font-size: 22px; letter-spacing: -.03em; margin-bottom: 16px; }
.side ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.side li { padding-left: 30px; position: relative; font-weight: 600; }
.others li::before { content: ''; position: absolute; left: 4px; top: .5em; width: 14px; height: 2px; background: var(--muted); box-shadow: 0 0 0 0 transparent; transform: rotate(45deg); }
.others li::after { content: ''; position: absolute; left: 4px; top: .5em; width: 14px; height: 2px; background: var(--muted); transform: rotate(-45deg); }
.others li { color: var(--muted); }
.ours li::before { content: ''; position: absolute; left: 3px; top: .2em; width: 8px; height: 14px; border: solid var(--accent); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.pile { position: relative; height: 210px; overflow: hidden; border-radius: 14px; background: var(--paper); padding: 8px; }
.count { position: absolute; right: 10px; top: 10px; z-index: 1; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 18px; padding: 4px 12px; border-radius: 999px; }
.count small { font-size: 13px; font-weight: 600; }
.row { display: flex; align-items: center; gap: 10px; padding: 7px 4px; border-bottom: 1px solid var(--line); }
.row i { width: 30px; height: 30px; border-radius: 50%; flex: none; }
.row b { display: block; height: 8px; width: 40%; border-radius: 4px; background: var(--line); }
.row span { display: block; height: 7px; width: 65%; margin-top: 5px; border-radius: 4px; background: var(--soft); }
.row div { flex: 1; }
.row:nth-child(n+5) { opacity: .5; }
.row i { background: var(--photo); }
.one { display: flex; align-items: center; gap: 14px; height: 210px; justify-content: center; flex-direction: column; border-radius: 14px; background: var(--soft); }
.one i { width: 72px; height: 72px; border-radius: 50%; background: var(--photo); }
.one div { text-align: center; }
.one b { display: block; font-size: 18px; }
.one span { display: inline-block; margin-top: 8px; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 18px 18px 18px 6px; font-size: 15px; }

/* Form */
.join { padding-top: 40px; padding-bottom: 72px; max-width: 640px; }
form { display: grid; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
label { font-weight: 600; font-size: 15px; }
input[type="email"], select { width: 100%; font: 400 17px Inter, sans-serif; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 14px; margin-bottom: 8px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 15px; color: var(--muted); margin: 6px 0 4px; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
#captcha:empty { display: none; }
#status { min-height: 1.5em; font-weight: 600; }
#status.ok { color: #2E7D4F; }
#status.err { color: var(--accent); }
form .btn { width: 100%; margin-top: 6px; }

footer { padding-top: 24px; padding-bottom: 48px; border-top: 1px solid var(--line); color: var(--muted); }
footer h2 { font-size: 22px; color: var(--ink); margin-bottom: 10px; }
footer p { max-width: 46em; font-size: 15px; }
footer .small { margin-top: 14px; font-size: 13px; }
.legal { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; font-size: 15px; }
.legal a { color: var(--ink); }

/* Legal pages */
.doc { max-width: 760px; padding-top: 24px; padding-bottom: 64px; }
.doc h1 { font-size: clamp(36px, 7vw, 56px); margin: 8px 0 22px; }
.doc h2 { font-weight: 800; font-size: 24px; letter-spacing: -.02em; line-height: 1.2; margin: 36px 0 10px; }
.doc h3 { font-weight: 800; font-size: 18px; margin: 22px 0 6px; }
.doc p, .doc ul { margin: 0 0 12px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--accent); overflow-wrap: anywhere; }
.doc .small { margin-top: 36px; font-size: 14px; color: var(--muted); }

@media (min-width: 820px) {
  .hero { grid-template-columns: 1.25fr 1fr; padding-top: 56px; padding-bottom: 96px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .compare { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
