/* solteras — тёмный интерфейс «как приложение». Классы не пересекаются с anastasiastaley.com. */
:root {
  --bg: #0e0f14; --surface: #171922; --surface-2: #1f2230; --line: #2a2e3e;
  --text: #f2f3f7; --muted: #9aa0b4; --accent: #ff3d7f; --accent-2: #ff7a59; --ok: #3ddc97; --err: #ff6b6b;
  --r: 18px; --r-sm: 12px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.6; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.75rem, 5vw, 2.6rem); font-weight: 800; }
h2 { font-size: 1.3rem; font-weight: 750; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.tiny { font-size: .72rem; margin-top: 6px; }

.shell { max-width: 760px; margin: 0 auto; padding: 0 16px 96px; }
.appbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 0; background: rgba(14, 15, 20, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 800; font-size: 1.05rem; }
.brand svg { color: var(--accent); fill: var(--accent); stroke: none; width: 1.4em; height: 1.4em; }
.brand:hover { text-decoration: none; }
.appbar-act { display: flex; gap: 8px; }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--accent); color: #fff; font: inherit; font-weight: 650; font-size: .92rem; }
.pill.ghost { background: var(--surface-2); color: var(--text); }
.pill:hover { text-decoration: none; filter: brightness(1.1); }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 15px 22px; border: 0; border-radius: var(--r);
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font: inherit; font-weight: 750; font-size: 1.05rem; cursor: pointer;
  box-shadow: 0 8px 24px rgba(255, 61, 127, .28); }
.cta:hover { text-decoration: none; filter: brightness(1.06); }
.cta svg { fill: #fff; stroke: none; }

.trail { display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--muted); padding: 8px 0 4px; }
.trail a { color: var(--muted); } .trail i { font-style: normal; opacity: .5; }

.hero { padding: 28px 0 8px; }
.hero.small { padding-top: 12px; }
.hero .cta { max-width: 320px; margin-top: 8px; }
.lead { font-size: 1.08rem; color: #d7d9e3; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface-2);
  color: var(--muted); font-size: .85rem; margin-bottom: 14px; }
.chip svg { color: var(--accent); fill: var(--accent); stroke: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip.link { color: var(--text); margin: 0; border: 1px solid var(--line); background: var(--surface); }
.chip.link:hover { border-color: var(--accent); text-decoration: none; }

.block { margin: 32px 0; }
.block-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.block-head h2 { margin: 0; }
.badge { padding: 4px 10px; border-radius: 999px; background: rgba(255, 61, 127, .14); color: var(--accent); font-size: .78rem; font-weight: 700; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin: 28px 0; }
.panel.done { text-align: center; }
.panel.done > svg { width: 48px; height: 48px; color: var(--ok); }

.steps { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border-radius: var(--r); padding: 16px; }
.steps b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); color: var(--accent); flex: none; }
.steps h3 { margin: 4px 0 2px; } .steps p { margin: 0; color: var(--muted); font-size: .93rem; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.tile { display: flex; align-items: center; gap: 8px; padding: 14px 14px; border-radius: var(--r-sm); background: var(--surface); color: var(--text); border: 1px solid transparent; }
.tile:hover { border-color: var(--accent); text-decoration: none; }
.tile-name { font-weight: 650; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile-sub { color: var(--muted); font-size: .8rem; }
.tile svg { color: var(--muted); }
.tile.alt { background: var(--surface-2); }

.profiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.profile { background: var(--surface); border-radius: var(--r); overflow: hidden; display: flex; }
.avatar { width: 108px; flex: none; text-align: center; padding: 8px; display: grid; place-content: center; justify-items: center; gap: 6px; color: var(--muted);
  background: radial-gradient(120% 90% at 30% 20%, #3a2340, #1b1d29 70%); }
.avatar svg { width: 30px; height: 30px; }
.avatar small { font-size: .7rem; line-height: 1.3; }
.profile-body { flex: 1; min-width: 0; }
.profile-body { padding: 14px 16px 16px; }
.profile h3 { margin-bottom: 2px; }
.where, .wants { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .88rem; margin: 0 0 8px; }
.wants { color: var(--accent); margin: 8px 0 0; font-weight: 600; }
.wants svg { fill: var(--accent); stroke: none; }
.about { font-size: .93rem; margin-bottom: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.tags span { padding: 3px 9px; border-radius: 999px; background: var(--surface-2); font-size: .78rem; color: #cfd2de; }

.prose { margin: 32px 0; }
.prose h2 { margin-top: 1.6em; } .prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.2em; } .prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1em 0; padding: 12px 16px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.prose table, .tbl { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1em 0; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }

.towns { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.towns li { padding: 6px 12px; border-radius: 999px; background: var(--surface); font-size: .9rem; }
.towns small { color: var(--muted); margin-left: 4px; }

.faq details { background: var(--surface); border-radius: var(--r-sm); margin-bottom: 8px; }
.faq summary { padding: 14px 16px; cursor: pointer; font-weight: 650; list-style: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 16px 6px; color: #d7d9e3; }

.form { display: grid; gap: 12px; margin-top: 12px; }
.field { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: var(--r-sm); background: var(--bg); border: 1px solid var(--line); color: var(--muted); }
.field:focus-within { border-color: var(--accent); }
.field input { flex: 1; min-width: 0; padding: 14px 0; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 1rem; outline: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.check input { margin-top: 4px; accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { color: var(--err); background: rgba(255, 107, 107, .1); padding: 10px 14px; border-radius: var(--r-sm); }
.ok { display: flex; gap: 10px; color: #c9f5e0; background: rgba(61, 220, 151, .1); padding: 12px 14px; border-radius: var(--r-sm); }
.ok svg { color: var(--ok); margin-top: 4px; }

.narrow { max-width: 560px; margin: 0 auto; }
.legal { max-width: none; }

.bottom { border-top: 1px solid var(--line); margin-top: 40px; padding: 24px 0; font-size: .88rem; }
.bottom .links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 12px; }
.bottom .links a { color: var(--muted); }
.age b { display: inline-block; padding: 1px 7px; border-radius: 6px; background: var(--surface-2); color: var(--accent); margin-right: 6px; }

.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--bg) 60%, rgba(14, 15, 20, 0)); }
.dock .cta { max-width: 520px; margin: 0 auto; display: flex; }
@media (min-width: 900px) {
  .dock { display: none; }
  .shell { padding-bottom: 24px; }
}
