/* Quick public forms: same glass look as Quick Team. Georgian letters fall back to Mark GEO. */
@font-face { font-family: 'Mark GEO'; src: url('/fonts/MarkGEO-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Mark GEO'; src: url('/fonts/MarkGEO-Medium.ttf') format('truetype'); font-weight: 500 700; font-style: normal; font-display: swap; }

:root {
  --ink: #0F1115; --sub: #5B6070; --faint: #8A8F9C; --base: #F3F4F7;
  --glass: rgba(255,255,255,.58); --glass-line: rgba(255,255,255,.88); --hair: rgba(15,17,21,.08);
  --blue: #2B3FE0; --bad: #9F1239; --bad-bg: #FFE4E6;
  --font: 'Inter Tight', 'Mark GEO', Inter, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--base); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; min-height: 100vh; padding: 40px 20px 96px; overflow-x: hidden; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* soft colour fields behind the glass */
.sky { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.sky i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.sky i:nth-child(1) { width: 640px; height: 640px; background: #A9B8FF; left: -160px; top: -220px; }
.sky i:nth-child(2) { width: 560px; height: 560px; background: #9EE6D3; right: -180px; top: 260px; }
.sky i:nth-child(3) { width: 540px; height: 540px; background: #FFD3B8; left: 30%; bottom: -320px; }

.container { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }

/* header */
.header { padding: 0 6px; margin-bottom: 28px; }
.header img { height: 24px; width: auto; display: block; }
.lang-switch { display: inline-flex; gap: 2px; padding: 4px; margin: 28px 0 22px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.lang-switch a { font-size: 13px; font-weight: 600; text-decoration: none; color: var(--sub); padding: 6px 14px; border-radius: 999px; }
.lang-switch a:hover { color: var(--ink); background: rgba(255,255,255,.7); }
.lang-switch a.is-active { background: var(--ink); color: #fff; }
.header-kicker { font-size: 14px; font-weight: 500; color: var(--sub); margin-bottom: 6px; }
.header-title { font-size: clamp(36px, 7vw, 56px); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; margin-bottom: 12px; }
.header-hint { font-size: 15px; color: var(--sub); }

/* question cards */
.card { background: var(--glass); -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4); border: 1px solid var(--glass-line); border-radius: 24px; box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 30px 60px -30px rgba(30,40,90,.25); padding: 28px; margin-bottom: 16px; }
.q-badge { display: inline-block; font-size: 12px; font-weight: 600; color: var(--sub); background: rgba(255,255,255,.75); border: 1px solid var(--hair); border-radius: 999px; padding: 3px 10px; margin-bottom: 14px; }
.q-text { font-size: clamp(19px, 2.6vw, 23px); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; text-wrap: balance; margin-bottom: 6px; }
.q-hint { font-size: 14px; color: var(--sub); margin-bottom: 20px; }

/* 1-10 scale */
.rating-wrap { display: flex; flex-direction: column; gap: 8px; }
.rating-row { display: flex; gap: 6px; flex-wrap: wrap; }
.rating-btn { width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--hair); background: rgba(255,255,255,.72); color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; display: grid; place-items: center; user-select: none; transition: background-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease; }
.rating-btn:hover { background: #fff; box-shadow: 0 6px 16px -8px rgba(30,40,90,.35); }
.rating-btn.selected { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 20px -10px rgba(15,17,21,.6); }
.rating-btn.na-btn { width: auto; padding: 0 16px; border-radius: 999px; font-size: 13px; white-space: nowrap; }
.rating-btn.na-btn.selected { background: var(--sub); border-color: var(--sub); }
.rating-labels { display: flex; justify-content: space-between; font-size: 12px; font-weight: 500; color: var(--faint); max-width: 494px; }

/* sub-questions */
.sub-row { padding: 20px 0; border-top: 1px solid var(--hair); }
.sub-row:first-of-type { border-top: 0; padding-top: 4px; }
.sub-row:last-of-type { padding-bottom: 0; }
.sub-label { font-size: 16px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 2px; }
.sub-hint { font-size: 14px; color: var(--sub); margin-bottom: 12px; line-height: 1.45; }

/* yes / no */
.radio-group { display: flex; gap: 8px; flex-wrap: wrap; }
.radio-option { position: relative; display: flex; align-items: center; justify-content: center; cursor: pointer; min-width: 96px; padding: 11px 24px; border: 1px solid var(--hair); border-radius: 999px; background: rgba(255,255,255,.72); transition: background-color .15s ease, color .15s ease; user-select: none; }
.radio-option:hover { background: #fff; }
.radio-option:focus-within { outline: 2px solid var(--blue); outline-offset: 3px; }
.radio-option input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio-option.checked { background: var(--ink); border-color: var(--ink); color: #fff; }
.radio-text { font-size: 15px; font-weight: 600; }

.conditional { display: none; }
.conditional.visible { display: block; }

/* text answers */
.textarea-wrap + .textarea-wrap { margin-top: 22px; }
.textarea-label { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 10px; }
input[type="text"], textarea { width: 100%; background: rgba(255,255,255,.78); border: 1px solid var(--hair); border-radius: 14px; color: var(--ink); font: inherit; font-size: 16px; padding: 13px 15px; transition: border-color .15s ease, background-color .15s ease; }
input[type="text"]:focus, textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(43,63,224,.12); }
textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: var(--faint); }

/* send */
.submit-wrap { margin-top: 24px; padding: 0 4px; }
.submit-btn { background: var(--ink); color: #fff; font: inherit; font-size: 16px; font-weight: 600; border: 0; border-radius: 999px; padding: 15px 32px; cursor: pointer; box-shadow: 0 14px 28px -14px rgba(15,17,21,.7); transition: background-color .2s ease, transform .2s ease; }
.submit-btn:hover { background: var(--blue); transform: translateY(-1px); }
.submit-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.error-msg { display: none; margin-top: 16px; padding: 13px 16px; border-radius: 14px; background: var(--bad-bg); color: var(--bad); font-size: 14px; font-weight: 500; }

/* thank you */
.success-screen { display: none; text-align: left; }
.success-screen .card-inner { background: var(--glass); -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4); border: 1px solid var(--glass-line); border-radius: 28px; box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 30px 60px -30px rgba(30,40,90,.25); padding: 48px 32px; }
.success-kicker { font-size: 14px; font-weight: 500; color: var(--sub); margin-bottom: 8px; }
.success-screen h2 { font-size: clamp(36px, 7vw, 56px); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; margin-bottom: 12px; }
.success-screen p { font-size: 17px; color: var(--sub); max-width: 30em; }

@media (max-width: 520px) {
  body { padding: 28px 12px 72px; }
  .card { padding: 22px 18px; border-radius: 22px; }
  .rating-btn { width: 40px; height: 40px; border-radius: 12px; font-size: 14px; }
  .rating-row { gap: 5px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
