:root {
  color-scheme: light;
  --ink: #15213c;
  --subtle: #7b8498;
  --bg: #0c1730;
  --accent: #5867ec;
  --accent2: #2aace4;
  --edge: #e4e8f0;
  --field: #f7f9fd;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--bg); }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 0;
  overflow: hidden;
  background: radial-gradient(ellipse 56% 60% at 4% 92%, rgba(49, 57, 167, .30), transparent 75%),
    radial-gradient(ellipse 42% 50% at 74% 0%, rgba(32, 70, 131, .30), transparent 75%),
    #0c1730;
}
.page-shell::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.021) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.021) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.6), transparent 92%);
  pointer-events: none;
}
.topbar, .hero-layout, .footer { width: min(100% - 96px, 1210px); margin-inline: auto; }
.topbar { display:flex; align-items:center; justify-content:space-between; padding-top: 35px; padding-bottom: 26px; }
.brand { display:flex; align-items:center; gap:11px; color:#f8f9ff; text-decoration:none; font-size: 21px; font-weight: 480; letter-spacing:-.8px; }
.brand strong { font-weight: 790; }
.brand-symbol { width: 36px; height:36px; background:#5365f6; border-radius: 11px; display: flex; justify-content:center; align-items:center; gap:3px; box-shadow: 0 6px 22px rgba(56,70,255,.3); }
.brand-symbol span { width: 4px; height: 13px; border-radius: 4px; background: #fff; transform: rotate(30deg); }
.brand-symbol span:first-child { height: 8px; opacity: .65; margin-top: 6px; }
.brand-symbol span:last-child { height: 19px; opacity: .85; margin-bottom: 5px; }
.topbar-note { font-size: 12px; font-weight: 580; letter-spacing: .2px; color: #9aaacc; display: inline-flex; align-items:center; gap:8px; }
.topbar-dot { display:inline-block; width:7px; height:7px; background:#56d7ba; border-radius: 50%; box-shadow: 0 0 0 5px rgba(86,215,186,.085); }
.hero-layout { display:grid; grid-template-columns:minmax(0, 1fr) minmax(430px, 515px); align-items:center; gap:clamp(35px, 6vw, 90px); flex:1; padding-top: 26px; padding-bottom: 30px; }
.hero-copy { position:relative; align-self:stretch; min-height: 600px; padding: 72px 0 50px; display:flex; flex-direction:column; }
.mini-label { color:#9aabde; font-size: 11px; font-weight:740; letter-spacing: 2.4px; display:flex; align-items:center; gap:12px; }
.mini-label-star { color:#84c5fc; font-size:23px; line-height: 1; }
.hero-copy h1 { font-size: clamp(50px, 5.15vw, 74px); max-width: 650px; color: #f8faff; line-height:1.08; letter-spacing:-3.85px; font-weight: 770; margin: 22px 0 22px; }
.gradient-text { background:linear-gradient(100deg, #88b7ff 5%, #bcacff 45%, #79eadf 100%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero-description { max-width:470px; font-size:17px; line-height:1.65; color: #abb9d3; margin:0; font-weight:400; }
.benefits { display:grid; gap:24px; margin-top:44px; }
.benefit { display:flex; gap:16px; align-items:center; }
.benefit-icon { width:44px; height:44px; flex:none; display:grid; place-items:center; border:1px solid rgba(126,160,217,.22); background:rgba(255,255,255,.041); border-radius:15px; color: #9db8f2; }
.benefit-icon svg { width:22px; height:22px; }
.benefit strong { color:#f4f6fe; font-size:14px; font-weight:690; display:block; margin-bottom:5px; }
.benefit small { color:#8495b7; font-size:13px; }
.bottom-illustration { position:relative; margin-top: auto; padding-top:60px; }
.orb { position:absolute; border-radius:50%; pointer-events:none; filter:blur(1px); }
.orb-one { width:160px; height:160px; bottom:44px; left:-115px; border:1px solid rgba(126,164,255,.1); }
.orb-two { width:215px; height:215px; bottom:14px; left:-142px; border:1px solid rgba(126,164,255,.07); }
.decor-line { display:flex; gap:12px; align-items:center; font-size:9px; letter-spacing:2.1px; font-weight:700; color:#6d7ea0; white-space:nowrap; }
.decor-asterisk { color: #8faaff; font-size:20px; }
.decor-arrow { color:#879cc5; font-size:18px; }
.form-card { min-width:0; width: 100%; background:#fff; border:1px solid rgba(255,255,255,.8); box-shadow:0 25px 75px rgba(2,8,28,.23), 0 1px 2px rgba(0,0,0,.06); border-radius:29px; padding:34px 36px 25px; align-self:center; }
.form-card-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:23px; }
.card-kicker { color:#525fcf; font-size:11px; font-weight:800; letter-spacing:2px; display:inline-flex; gap:10px; align-items:center; }
.pulse-dot { height:8px; width:8px; border-radius:50%; background:#596cef; box-shadow:0 0 0 5px rgba(91,108,239,.1); }
.step-number { color:#b6becb; font-size:11px; font-weight:760; letter-spacing:1.5px; }
.form-card h2 { font-size:32px; letter-spacing:-1.35px; font-weight:770; line-height:1.17; margin:0; color:#18233b; }
.form-subtitle { color:#8892a4; font-size:14px; line-height:1.6; margin:9px 0 27px; }
.field-group { margin-bottom:17px; min-width:0; }
.field-grid { display:grid; grid-template-columns:minmax(0, 1.65fr) minmax(0, 1fr); gap:14px; }
.field-label { color:#34415d; font-size:12px; font-weight:740; line-height:1.4; display:block; margin-bottom:9px; }
.text-field { width:100%; height:49px; border:1px solid #e5e9f2; outline:none; background:#f8faff; border-radius:12px; color:#1e2b45; padding:0 14px; font-size:14px; font-weight:520; transition: border-color .18s, box-shadow .18s, background .18s; }
.text-field::placeholder { color:#aeb7c7; font-weight:410; }
.text-field:hover { border-color:#d0d8e6; }
.text-field:focus { background:#fff; border-color:#6678f2; box-shadow:0 0 0 4px rgba(103,115,235,.12); }
.text-field.is-invalid { border-color:#e28b8b; box-shadow:0 0 0 3px rgba(221,60,67,.08); }
.age-field input { -moz-appearance:textfield; appearance:textfield; }
.age-field input::-webkit-inner-spin-button, .age-field input::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
.channel-group { margin-bottom:16px; }
.channel-switch { display:flex; gap:9px; margin-bottom:12px; }
.channel-option { flex:1; min-width:0; cursor:pointer; }
.channel-option input { position:absolute; opacity:0; width:1px; height:1px; }
.channel-label { background:#f7f9fd; border:1px solid #e5e9f2; height:44px; display:flex; justify-content:center; align-items:center; border-radius:11px; gap:8px; color:#68758a; font-size:13px; font-weight:690; transition: all .2s; }
.channel-label svg { width:18px; height:18px; }
.channel-option input:checked + .channel-label { background:#eef0ff; border-color:#b4beff; color:#4d5cca; box-shadow:inset 0 0 0 1px rgba(99,105,232,.06); }
.channel-option input:focus-visible + .channel-label { outline:3px solid rgba(99,105,232,.35); outline-offset:2px; }
.contact-input { margin-top:0; }
.field-hint { color:#96a0b0; font-size:11px; display:block; margin-top:7px; line-height:1.3; }
.honeypot { position:absolute !important; left:-10000px !important; top:auto !important; width:1px; height:1px; overflow:hidden; opacity:0; }
.consent-row { display:flex; align-items:flex-start; gap:10px; color:#8b95a7; font-size:11px; line-height:1.55; margin:17px 0 18px; cursor:pointer; }
.consent-row input { width:16px; height:16px; flex:none; margin:1px 0 0; accent-color:#5b67eb; cursor:pointer; }
.consent-row a { color:#4b5bc2; font-weight:670; text-decoration:underline; text-underline-offset:2px; }
.form-error { margin:0 0 13px; padding:12px 13px; background:#fff3f3; border:1px solid #f3d0d1; color:#bc4047; border-radius:10px; font-size:12px; line-height:1.5; }
.primary-button { width:100%; min-height:54px; border:0; border-radius:13px; color:#fff; background:linear-gradient(103deg,#5b63e8, #646bfa 60%, #6578ed); display:flex; align-items:center; justify-content:center; gap:13px; font-size:15px; font-weight:740; letter-spacing:.05px; box-shadow:0 9px 19px rgba(97,103,230,.19); transition: transform .2s, box-shadow .2s, filter .2s; }
.primary-button svg { width:19px; height:19px; transition: transform .2s; }
.primary-button:hover:not(:disabled) { box-shadow:0 13px 26px rgba(97,103,230,.26); transform:translateY(-1px); }
.primary-button:hover:not(:disabled) svg { transform:translateX(3px); }
.primary-button:focus-visible, .manager-button:focus-visible { outline:3px solid #97a9ff; outline-offset:3px; }
.primary-button:disabled { cursor:wait; filter:saturate(.6); opacity:.82; }
.safety-note { margin:15px 0 0; display:flex; align-items:center; justify-content:center; gap:6px; color:#a4adbc; font-size:11px; }
.safety-note svg { height:14px; width:14px; }
.footer { display:flex; justify-content:space-between; align-items:center; padding:18px 0 26px; color:#657591; font-size:11px; }
.footer a { text-decoration:none; color:#8999b5; }
.footer a:hover { color:#c6cff3; }
.success-panel { padding:36px 0 16px; text-align:center; min-height:560px; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.success-check { height:96px; width:96px; border-radius:30px; background:linear-gradient(145deg,#ecfdf6,#d4f8eb); color:#25a582; display:grid; place-items:center; margin-bottom:26px; transform:rotate(-5deg); }
.success-check svg { height:48px; width:48px; transform:rotate(5deg); }
.success-overline { color:#2ea98f; font-size:11px; font-weight:810; letter-spacing:2px; }
.success-panel h2 { margin:13px 0 14px; font-size:36px; letter-spacing:-1.5px; }
.success-panel h2 span { color:#6473e8; }
.success-panel > p { color:#7d899d; font-size:15px; line-height:1.65; max-width:355px; margin:0 auto 19px; }
.success-id { color:#96a0b1; font-size:12px; margin:0 0 31px; }
.success-id strong { color:#64718a; letter-spacing:1px; }
.manager-button { background:linear-gradient(110deg,#5e6de9,#4c57d7); width:100%; padding:15px 17px; min-height:71px; color:#fff; text-decoration:none; display:flex; align-items:center; justify-content:center; gap:12px; border-radius:15px; font-size:15px; font-weight:770; box-shadow: 0 11px 25px rgba(86,99,221,.25); transition:transform .2s, box-shadow .2s; }
.manager-button > svg { height:23px; width:23px; flex:none; }
.manager-button .manager-arrow { height:19px; width:19px; }
.manager-button:hover { transform:translateY(-2px); box-shadow:0 15px 30px rgba(86,99,221,.33); }
.success-hint { font-size:11px; color:#9da8b7; margin-top:12px; }

/* Simple standalone setup / privacy pages */
.setup-body { display:flex; min-height:100vh; padding:28px 20px; align-items:center; justify-content:center; background: radial-gradient(ellipse at 50% 0, #1c3157, #0c1730 70%); }
.setup-card { width:min(100%, 540px); padding:37px; border-radius:24px; background:white; box-shadow: 0 20px 80px rgba(0,0,0,.22); }
.setup-card h1 { color:#19243c; font-size:30px; line-height:1.18; letter-spacing:-1.1px; margin:13px 0 18px; }
.setup-card h2 { color:#23304c; font-size:16px; margin:23px 0 7px; }
.setup-card p { color:#718096; line-height:1.65; font-size:14px; }
.setup-card code { background:#f2f4ff; color:#4c57af; border-radius:4px; padding:2px 5px; }
.setup-card .eyebrow { color:#555fd6; font-size:11px; font-weight:800; letter-spacing:2px; text-transform:uppercase; }
.setup-card .field-label { margin:22px 0 9px; }
.setup-card .primary-button { margin-top:13px; }
.setup-card .setup-muted { color:#98a2b2; font-size:12px; }
.setup-note { font-size:13px; line-height:1.6; border-radius:12px; padding:13px 15px; margin:18px 0; }
.setup-note.good { color:#237957; background:#edfdf4; }
.setup-note.bad { color:#a53f49; background:#fff0f0; }
.setup-back { text-decoration:none; display:inline-block; color:#515fc6; font-size:13px; font-weight:650; margin-top:8px; }
.privacy-card { max-width:720px; }

@media (max-width: 1050px) {
  .topbar, .hero-layout, .footer { width:min(100% - 56px, 1040px); }
  .hero-layout { grid-template-columns:minmax(0,1fr) minmax(400px, 470px); gap:35px; }
  .hero-copy h1 { font-size: clamp(46px, 5.1vw, 65px); letter-spacing:-3px; }
  .form-card { padding-inline:28px; }
}
@media (max-width: 800px) {
  .topbar, .hero-layout, .footer { width:min(100% - 40px, 560px); }
  .topbar { padding:23px 0 8px; }
  .hero-layout { display:flex; flex-direction:column; align-items:stretch; gap:22px; padding:10px 0 38px; }
  .hero-copy { min-height:unset; align-self:unset; padding:25px 4px 0; }
  .hero-copy h1 { font-size:clamp(37px, 6vw, 49px); line-height:1.13; letter-spacing:-2.35px; margin:16px 0 12px; }
  .hero-description { font-size:14px; line-height:1.6; max-width:440px; }
  .mini-label { font-size:10px; }
  .benefits, .bottom-illustration { display:none; }
  .form-card { align-self:stretch; border-radius:22px; padding:28px 27px 24px; }
  .footer { padding-top:0; }
}
@media (max-width: 460px) {
  .topbar, .hero-layout, .footer { width:calc(100% - 32px); }
  .topbar { padding-top:18px; }
  .brand { font-size:19px; }
  .brand-symbol { height:33px; width:33px; }
  .topbar-note { font-size:10px; }
  .hero-layout { gap:22px; padding-top:6px; }
  .hero-copy { padding:21px 5px 0; }
  .hero-copy h1 { font-size: 37px; line-height:1.1; letter-spacing:-2px; }
  .hero-description { font-size:13px; line-height:1.5; }
  .form-card { padding:24px 20px 22px; }
  .form-card-top { margin-bottom:17px; }
  .form-card h2 { font-size:28px; }
  .form-subtitle { font-size:13px; margin-bottom:22px; }
  .field-grid { gap:10px; }
  .field-group { margin-bottom:16px; }
  .field-label { font-size:12px; margin-bottom:8px; }
  .text-field { height:48px; }
  .channel-label { font-size:12px; gap:6px; }
  .success-panel { min-height:485px; padding:15px 0; }
  .success-panel h2 { font-size:30px; }
  .manager-button { font-size:14px; padding:12px 10px; gap:8px; }
  .manager-button > svg { width:19px; height:19px; }
  .footer { font-size:10px; }
  .setup-card { padding:25px 21px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { transition-duration:0.01ms !important; animation-duration:0.01ms !important; }
}

.required-note { margin:-11px 0 18px; color:#96a0b0; font-size:11px; }
.required-label::after { content:" *"; color:#d95267; font-weight:800; }

/* Language selection, accessible and readable on narrow phones. */
.topbar-actions { display:flex; gap:21px; align-items:center; justify-content:flex-end; }
.language-switch { display:flex; align-items:center; padding:4px; gap:3px; background:rgba(255,255,255,.07); border:1px solid rgba(172,190,236,.2); border-radius:12px; }
.language-button { padding:8px 10px; border:0; border-radius:8px; background:transparent; color:#b4c0df; font-size:11px; line-height:1.2; font-weight:690; white-space:nowrap; transition:background .18s, color .18s; }
.language-button:hover { background:rgba(255,255,255,.1); color:white; }
.language-button.active { background:#edf0ff; color:#26377d; box-shadow:0 2px 8px rgba(6,12,39,.16); }
.language-button:focus-visible { outline:2px solid #91a4ff; outline-offset:2px; }
.language-switch-light { display:flex; width:max-content; margin-bottom:20px; background:#eff2fb; border-color:#e5e9f5; }
.language-switch-light .language-button { color:#596884; }
.language-switch-light .language-button.active { background:#5665e4; color:white; }
html[lang="ka"] .hero-copy h1 { letter-spacing:-1.9px; font-family:"Noto Sans Georgian",Inter,ui-sans-serif,system-ui,sans-serif; font-size:clamp(39px,4.15vw,61px); line-height:1.25; }
html[lang="ka"] .form-card h2 { font-family:"Noto Sans Georgian",system-ui,sans-serif; letter-spacing:-.85px; line-height:1.3; font-size:29px; }
html[lang="ka"] .field-label { font-size:12px; }
html[lang="ka"] .mini-label,html[lang="ka"] .decor-line { letter-spacing:1.05px; }
html[lang="ka"] .primary-button,html[lang="ka"] .manager-button { font-size:14px; }
html[lang="ka"] .success-panel h2 { line-height:1.4; letter-spacing:-1px; }
@media (max-width:1100px) { .topbar-actions { gap:12px; } .topbar-note { display:none; } }
@media (max-width:800px) {
  .topbar { align-items:flex-start; gap:10px; }
  .language-switch { margin-top:0; }
  html[lang="ka"] .hero-copy h1 { font-size:clamp(32px,5.8vw,45px); line-height:1.3; }
}
@media (max-width:530px) {
  .topbar { flex-wrap:wrap; gap:12px; }
  .topbar-actions { flex:1; min-width:100%; justify-content:flex-start; }
  .language-switch { width:100%; justify-content:space-around; }
  .language-button { flex:1; font-size:12px; min-height:34px; padding:7px 9px; }
  html[lang="ka"] .hero-copy h1 { font-size:33px; }
  html[lang="ka"] .form-card h2 { font-size:25px; }
  html[lang="ka"] .form-subtitle { font-size:12px; }
  html[lang="ka"] .manager-button { font-size:12px; }
}

/* Slightly larger, higher-contrast captions and labels for mobile visitors. */
@media (max-width: 530px) {
  .form-subtitle { color:#6b7891; font-size:13.5px; }
  .required-note { color:#737f96; font-size:12px; }
  .field-label { font-size:12.5px; }
  .field-hint { color:#78859a; font-size:12px; line-height:1.45; }
  .consent-row { color:#67758d; font-size:12px; line-height:1.55; }
  .text-field::placeholder { color:#9ca9bc; }
}
