:root {
  --card-max-width: 620px;
  --page-gutter: 16px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  display: flow-root;
  margin: 0;
  background: radial-gradient(circle at 12% 18%, rgba(126,202,143,.75), transparent 32%), radial-gradient(circle at 86% 80%, rgba(83,185,106,.5), transparent 34%), radial-gradient(circle at 72% 8%, rgba(169,220,181,.8), transparent 30%), linear-gradient(135deg, #f4fbf6 0%, #d4edda 50%, #a9dcb5 100%);
}
.page { min-height: 100vh; padding: 12px var(--page-gutter); display: flex; justify-content: center; align-items: center; overflow: hidden; color: #1f2937; font-family: Poppins, sans-serif; }
.card { width: 100%; max-width: var(--card-max-width); padding: 16px clamp(18px, 4vw, 40px); background: #fff; border-radius: 28px; box-shadow: 0 30px 80px rgba(15,63,26,.16); display: flex; flex-direction: column; align-items: center; text-align: center; }
.logo { width: 190px; max-width: 100%; height: 72px; display: block; }
h1 { margin: 20px 0 0; font-size: 28px; line-height: 1.5; font-weight: 600; color: #212121; }
.subtitle { margin: 2px 0 0; font-size: 14px; line-height: 1.43; color: #0062c3; }
.intro { margin: 12px 0 0; font-size: 14px; line-height: 1.43; color: #616161; }
.panel { width: 100%; border-radius: 18px; background: #f8f8f8; padding: 20px clamp(16px, 4vw, 32px); text-align: left; }
.signup-panel { margin: 20px 0; }
.signup-panel h2 { margin: 0 0 16px; text-align: center; font-size: 18px; line-height: 1.22; font-weight: 500; color: #424242; }
form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
label { color: #424242; font-size: 14px; line-height: 20px; font-weight: 500; }
.tta-input { width: 100%; min-width: 0; height: 44px; padding: 0 16px; border: 1px solid #e0e0e0; border-radius: 8px; background: #fff; color: #424242; font: 400 14px/24px Poppins, sans-serif; transition: border-color .15s ease, box-shadow .15s ease; }
.tta-input::placeholder { color: #bdbdbd; opacity: 1; }
.tta-input:hover { border-color: #757575; }
.tta-input:focus { outline: none; border-color: #0073e6; box-shadow: 0 0 0 1px #0073e6; }
.select-wrap { position: relative; }
.select-wrap::after { content: ''; position: absolute; right: 18px; top: 15px; width: 9px; height: 9px; border-right: 2px solid #757575; border-bottom: 2px solid #757575; transform: rotate(45deg); pointer-events: none; }
select.tta-input { appearance: none; padding-right: 44px; cursor: pointer; }
select.tta-input:invalid { color: #bdbdbd; }
select.tta-input option { color: #424242; }
.tta-btn { margin-top: 8px; min-height: 48px; padding: 8px 12px; border: 0; border-radius: 12px; background: #0073e6; color: #fff; font: 500 18px/26px Poppins, sans-serif; cursor: pointer; transition: background-color .15s ease; }
.tta-btn:hover { background: #0067cf; }
.tta-btn:active { background: #0062c3; }
.tta-btn:disabled { opacity: .7; cursor: wait; }
.tta-btn:focus-visible, .tta-outline:focus-visible { outline: 2px solid #0073e6; outline-offset: 2px; }
#form-error { margin: 0; color: #b02c2c; font-size: 14px; }
.success-panel { margin: 40px 0; padding-top: 32px; }
.success-content { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 0 0 8px; }
.success-art { position: relative; width: 96px; height: 96px; margin-bottom: 4px; }
.halo-outer { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(126,202,143,.35) 0%, rgba(212,237,218,.5) 55%, rgba(233,246,236,0) 72%); }
.halo-inner { position: absolute; inset: 12px; border-radius: 50%; border: 1px solid #a9dcb5; background: #fff; }
.tta-badge { position: absolute; inset: 20px; border-radius: 50%; background: linear-gradient(135deg,#53b96a,#1e7d34); box-shadow: 0 8px 18px rgba(30,125,52,.28); display: flex; align-items: center; justify-content: center; animation: pop .55s cubic-bezier(.2,.9,.3,1.2) both .1s; }
.tta-halo { animation: halo .6s ease-out both; }
.tta-dot { position: absolute; animation: dot .5s ease-out both .35s; }
.dot-one { left: 2px; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: #0073e6; }
.dot-two { right: 0; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: #53b96a; }
.dot-three { right: 6px; bottom: 16px; width: 8px; height: 8px; border-radius: 2px; background: #99c7f5; }
.dot-four { left: 10px; bottom: 10px; width: 5px; height: 5px; border-radius: 50%; background: #7eca8f; }
.success-content h2 { margin: 0; font-size: 22px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; color: #1e7d34; }
.success-content p { margin: 0; max-width: 440px; font-size: 14px; line-height: 1.6; color: #616161; }
.tta-outline { margin-top: 8px; min-height: 44px; padding: 0 20px; border: 1px solid #0073e6; border-radius: 8px; background: #fff; color: #0073e6; font: 500 16px/22px Poppins, sans-serif; cursor: pointer; transition: background-color .15s ease; }
.tta-outline:hover { background: #f2f8fe; }
.copyright { margin: 0; color: #71717a; font: 13px Inter, system-ui, sans-serif; }
.cookie-notice {
  --cookie-notice-bottom: max(12px, env(safe-area-inset-bottom, 0px));
  position: sticky;
  bottom: var(--cookie-notice-bottom);
  z-index: 1;
  width: calc(100% - 2 * var(--page-gutter));
  max-width: var(--card-max-width);
  margin-block-end: var(--cookie-notice-bottom);
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px 15px 12px 24px;
  border: 1px solid #d4edda;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15,63,26,.16);
  color: #616161;
  font: 400 13px/20px Poppins, sans-serif;
}
.cookie-notice h2 { margin: 0; color: #212121; font-size: inherit; font-weight: 600; }
.cookie-notice p { margin: 0; }
.cookie-notice-button {
  min-height: 36px;
  padding: 6px 14px;
  border: 0;
  border-radius: 8px;
  background: #0073e6;
  color: #fff;
  font: 500 13px/20px Poppins, sans-serif;
  white-space: nowrap;
  cursor: pointer;
}
.cookie-notice-button:hover { background: #0067cf; }
.cookie-notice-button:focus-visible { outline: 2px solid #0073e6; outline-offset: 2px; }
@media (max-width: 600px) {
  .cookie-notice {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 8px 10px;
    padding-inline: 16px;
  }
  .cookie-notice-icon { margin-top: 2px; }
  .cookie-notice-button { grid-column: 2; justify-self: end; min-height: 44px; }
}
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@keyframes halo { 0% { transform: scale(.7); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes dot { 0% { transform: translateY(6px) scale(.4); opacity: 0; } 100% { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .tta-badge, .tta-halo, .tta-dot { animation: none; } }
@media (max-width: 480px) { .intro br { display: none; } .tta-btn { font-size: 16px; } }
