:root {
  color-scheme: dark;
  --ink: #fbf7ff;
  --muted: #cfc3d4;
  --purple: #8a2be2;
  --purple-2: #b14dff;
  --amber: #ffb64a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: #0d0710; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; color: var(--ink); overflow-x: hidden; }

.bg { position: fixed; inset: -24px; z-index: -2; background: #0d0710 url('assets/bg-16x9.webp') center / cover no-repeat; filter: blur(5px) saturate(115%); transform: translateZ(0); }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 50% 45%, rgba(10,5,14,.35), rgba(10,5,14,.72) 75%),
              linear-gradient(180deg, rgba(10,5,14,.55), rgba(10,5,14,.25) 40%, rgba(10,5,14,.6)); }
@media (max-aspect-ratio: 1/1) { .bg { background-image: url('assets/bg-9x16.webp'); } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }

.page { width: min(640px, calc(100% - 32px)); margin: 0 auto; padding: 56px 0 32px; display: flex; flex-direction: column; align-items: center; }

.hero { text-align: center; display: flex; flex-direction: column; align-items: center; }
.logo { width: 150px; height: 150px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, #a63df2, #e05cff, #ffb64a, #ff8a3d, #a63df2); box-shadow: 0 0 40px rgba(177,77,255,.35), 0 0 70px rgba(255,170,70,.12); }
.logo img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

h1 { margin: 30px 0 0; display: flex; flex-direction: column; align-items: center; gap: 12px; line-height: 1; text-shadow: 0 4px 30px rgba(0,0,0,.5); }
.h1-main { font-size: clamp(44px, 9vw, 72px); font-weight: 800; letter-spacing: .14em; padding-left: .14em; text-transform: uppercase; }
.h1-sub { font-size: clamp(16px, 3.4vw, 22px); font-weight: 600; letter-spacing: .32em; padding-left: .32em; text-transform: uppercase; background: linear-gradient(90deg, #d38bff, #ffb64a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tagline { display: flex; align-items: center; gap: 22px; margin: 22px 0 0; font-size: clamp(19px, 3.6vw, 28px); font-weight: 300; letter-spacing: .06em; white-space: nowrap; }
.tl-line { display: block; width: clamp(28px, 9vw, 90px); height: 2px; background: linear-gradient(90deg, transparent, #b14dff); }
.tl-line--amber { background: linear-gradient(90deg, #ffb64a, transparent); }
.sub { margin: 26px 0 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.heart { width: 34px; height: 34px; margin-top: 16px; fill: none; stroke: url(#hg); stroke-width: 1.6; filter: drop-shadow(0 0 8px rgba(193,92,255,.6)); }

.card { position: relative; width: 100%; margin-top: 28px; padding: 34px 44px 26px; border-radius: 24px;
  background: linear-gradient(150deg, rgba(40,20,50,.62), rgba(22,13,24,.58) 55%, rgba(50,30,18,.55));
  backdrop-filter: blur(18px) saturate(130%); -webkit-backdrop-filter: blur(18px) saturate(130%);
  box-shadow: 0 30px 90px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.07); }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: linear-gradient(135deg, rgba(177,77,255,.9), rgba(177,77,255,.25) 40%, rgba(255,182,74,.3) 60%, rgba(255,182,74,.9));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }

.type-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 30px; }
.type-option { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 66px; padding: 10px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(10,6,12,.35); color: #fff; font: inherit; font-size: 18px; cursor: pointer; transition: background .2s, border-color .2s, box-shadow .2s; }
.type-option:hover { border-color: rgba(255,255,255,.28); }
.type-option.is-active { border-color: rgba(193,92,255,.6); background: linear-gradient(110deg, #6f1fc7, #9b3be0 70%, #7a2ad0); box-shadow: 0 8px 28px rgba(138,43,226,.35), inset 0 1px 0 rgba(255,255,255,.18); }
.type-option[data-type="suggestion"].is-active { border-color: rgba(255,182,74,.6); background: linear-gradient(110deg, #9a4b12, #d4801f 70%, #a85618); box-shadow: 0 8px 28px rgba(230,130,40,.3), inset 0 1px 0 rgba(255,255,255,.18); }
.ti { width: 30px; height: 30px; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ti--purple { stroke: #e0b0ff; }
.ti--amber { stroke: #ffc266; }
.type-option.is-active .ti { stroke: #fff; }

.field { position: relative; }
.field-icon { position: absolute; left: 24px; top: 22px; width: 26px; height: 26px; fill: none; stroke: #cdbfd4; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
textarea { display: block; width: 100%; min-height: 170px; resize: vertical; padding: 22px 22px 34px 66px; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; outline: none; background: rgba(8,5,10,.45); color: #fff; font: inherit; font-size: 17px; line-height: 1.55; transition: border-color .2s, box-shadow .2s; }
textarea::placeholder { color: #a99cae; }
textarea:focus { border-color: rgba(193,92,255,.7); box-shadow: 0 0 0 3px rgba(166,61,242,.18); }
.counter { position: absolute; right: 20px; bottom: 10px; color: #8f8094; font-size: 12px; font-variant-numeric: tabular-nums; pointer-events: none; }

.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.submit { display: flex; align-items: center; justify-content: center; gap: 16px; width: 100%; min-height: 72px; margin-top: 30px; border: 0; border-radius: 20px; background: linear-gradient(90deg, #7a1fe0 0%, #a63df2 35%, #e0803a 75%, #ffb64a 100%); color: #fff; font: inherit; font-size: 21px; font-weight: 700; cursor: pointer; box-shadow: 0 12px 36px rgba(138,43,226,.35), inset 0 1px 0 rgba(255,255,255,.25); transition: transform .18s, filter .18s; }
.submit svg { width: 30px; height: 30px; fill: #fff; }
.submit svg .cut { fill: none; stroke: #9b3be0; stroke-width: 1.6; stroke-linecap: round; }
.submit:hover { transform: translateY(-2px); filter: brightness(1.08); }
.submit:active { transform: none; }
.submit:disabled { opacity: .65; cursor: wait; transform: none; }
.type-option:focus-visible, .submit:focus-visible { outline: 2px solid #d390ff; outline-offset: 3px; }

.privacy { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 22px 0 0; color: #b3a6b8; font-size: 14px; text-align: center; }
.privacy svg { flex: 0 0 auto; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.form-status { margin-top: 18px; padding: 13px 16px; border: 1px solid rgba(123,216,167,.3); border-radius: 12px; background: rgba(39,112,76,.2); color: #c9f6dd; font-size: 14px; line-height: 1.5; text-align: center; }
.form-status.is-error { border-color: rgba(255,139,139,.3); background: rgba(139,43,55,.22); color: #ffd6d6; }

.footer { margin-top: 36px; color: rgba(255,255,255,.4); font-size: 12px; letter-spacing: .08em; }

@media (max-width: 560px) {
  .page { padding-top: 36px; }
  .logo { width: 120px; height: 120px; }
  h1 { margin-top: 24px; gap: 10px; }
  .h1-sub { letter-spacing: .2em; padding-left: .2em; }
  .tagline { gap: 12px; margin-top: 16px; }
  .sub { font-size: 15px; margin-top: 18px; }
  .card { padding: 22px 16px 18px; border-radius: 20px; }
  .type-switch { gap: 10px; margin-bottom: 18px; }
  .type-option { min-height: 54px; gap: 8px; font-size: 15px; padding: 8px 10px; }
  .ti { width: 24px; height: 24px; }
  .field-icon { left: 16px; top: 17px; width: 22px; height: 22px; }
  textarea { min-height: 150px; padding: 16px 14px 30px 48px; font-size: 16px; border-radius: 14px; }
  .submit { min-height: 60px; margin-top: 20px; font-size: 18px; border-radius: 16px; }
  .submit svg { width: 24px; height: 24px; }
  .privacy { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { * { transition-duration: .01ms !important; } }
