:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f5f7f8;
  background: #080c10;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
.landing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 72px 24px 90px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 36%, #16222b, #0d141b 44%, #080c10 85%);
}
.atmosphere { position: absolute; z-index: -2; inset: 0; overflow: hidden; pointer-events: none; }
.atmosphere::before {
  content: "";
  position: absolute;
  inset: -15%;
  background:
    radial-gradient(ellipse at 17% 25%, #57c5a83d 0%, #2a8b8220 18%, transparent 42%),
    radial-gradient(ellipse at 82% 66%, #638fd448 0%, #30538b20 22%, transparent 46%),
    radial-gradient(ellipse at 51% 35%, #9ce6dc16, transparent 30%);
  filter: blur(35px);
}
.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./atmosphere.svg?v=automation-1") center / cover no-repeat;
  opacity: .8;
}
.landing::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.4' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
  opacity: .035;
  pointer-events: none;
}
.landing::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, transparent 25%, #05080b50 80%, #05080b90);
  pointer-events: none;
}
.app-icon {
  display: block;
  width: clamp(168px, 18vw, 218px);
  height: auto;
  filter: drop-shadow(0 0 42px #b0e5dd0c);
}
h1 {
  margin: 38px 0 44px;
  max-width: 1100px;
  font-size: clamp(40px, 6.5vw, 86px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -.055em;
  text-wrap: balance;
  color: #eff5f7;
  background: linear-gradient(170deg, #fff 20%, #e9f0f2 60%, #a3b8c2);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 58px;
  padding: 10px 12px 10px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.015em;
  text-decoration: none;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.button-label { position: relative; }
.button-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 19px;
  line-height: 1;
  transition: background .2s, border-color .2s;
}
.button svg { width: 17px; height: 17px; flex: none; transition: transform .2s; }
.actions .button { min-width: 228px; justify-content: space-between; }
.primary {
  color: #17213d;
  background: linear-gradient(165deg, #dfe7ff, #b9caff);
  border-color: #e2eaff80;
  box-shadow: inset 0 1px 0 #fff9, inset 0 -1px 0 #7895cb4d, 0 2px 4px #0003, 0 8px 32px #8eaaff19;
}
.primary .button-icon { background: #172c5910; border-color: #172c590d; }
.primary:hover {
  background: linear-gradient(165deg, #f1f4ff, #ccd9ff);
  border-color: #f2f5ff;
  box-shadow: inset 0 1px 0 #fffb, 0 3px 8px #0003, 0 8px 40px #8eaaff2e;
}
.primary:hover .button-icon { background: #172c591a; border-color: #172c591a; }
.secondary {
  color: #eeeae2;
  background: linear-gradient(165deg, #ffffff0d, #ffffff03);
  border-color: #a9c5d33d;
  box-shadow: inset 0 1px 0 #ffffff0f, 0 2px 4px #0002;
  backdrop-filter: blur(12px);
}
.secondary .button-icon { background: #e0edf208; border-color: #e0edf20a; color: #b5c7d0; }
.secondary:hover { background: #a2c4dc15; border-color: #b4d2df73; box-shadow: inset 0 1px 0 #ffffff14, 0 6px 24px #0002; }
.secondary:hover .button-icon { background: #e0edf212; border-color: #e0edf21a; color: #eef7fa; }
.button:hover svg { transform: translateX(2px); }
.download-action:hover svg { transform: translateY(2px); }
.button:active { box-shadow: inset 0 2px 6px #0003; }
.button:active .button-icon { background: #00000012; }
.audience-actions { display: flex; align-items: center; gap: 12px; }
.actions .audience-actions .button { min-width: 228px; }
.download-action {
  position: absolute;
  z-index: 2;
  top: 32px;
  right: 36px;
  min-height: 44px;
  padding: 10px 15px;
  gap: 15px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  color: #d2dde4;
  border-color: #a9c5d32b;
  background: #a3c4d508;
  box-shadow: inset 0 1px 0 #ffffff08;
}
.download-action .button-icon { width: 18px; height: 18px; border: 0; border-radius: 0; background: transparent; color: #b6c7d1; }
.download-action:hover { background: #a3c4d512; border-color: #a9c5d34f; }
.download-action:hover .button-icon { background: transparent; border: 0; color: #e8f1f7; }
:focus-visible { outline: 2px solid #c0efdd; outline-offset: 5px; }
dialog {
  width: min(540px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  padding: 36px;
  border: 1px solid #b2d4d333;
  border-radius: 22px;
  color: #f5f7f8;
  background: radial-gradient(ellipse at 0 0, #27443f35, transparent 65%), linear-gradient(145deg, #18242b, #10171e 70%);
  box-shadow: inset 0 1px 0 #ffffff10, 0 0 0 1px #0004, 0 24px 80px #0008, 0 56px 160px #0006;
  scrollbar-width: thin;
  scrollbar-color: #35504e transparent;
}
#personal { width: min(480px, calc(100% - 32px)); }
dialog::backdrop { background: #05080dad; backdrop-filter: blur(18px); }
body:has(dialog[open]) { overflow: hidden; }
.close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #ffffff0a;
  border-radius: 11px;
  color: #99aeb6;
  background: #ffffff04;
  font-size: 25px;
  font-weight: 300;
  transition: background .2s, color .2s, border-color .2s;
}
.close:hover { background: #ffffff0c; border-color: #ffffff1f; color: #fff; }
.close:active { background: #0002; }
.modal-header { padding-right: 10px; }
.modal-identity { display: flex; align-items: center; gap: 11px; padding-right: 40px; }
.modal-identity img { display: block; width: 21px; height: 25px; opacity: .85; }
.modal-label { color: #b6d8cb; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
h2 { margin: 24px 0 12px; font-size: 32px; line-height: 1.15; font-weight: 500; letter-spacing: -.04em; }
dialog p { color: #a1b0b9; font-size: 14px; line-height: 1.65; }
.modal-header p { margin: 0; max-width: 400px; }
form { display: grid; gap: 20px; margin-top: 28px; padding-top: 26px; border-top: 1px solid #b7d4dc14; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
label { display: grid; gap: 9px; color: #ccd8de; font-size: 12px; font-weight: 550; }
input, textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 13px 14px;
  border: 1px solid #9bbec12b;
  border-radius: 10px;
  color: #f5f7f8;
  background: #080e146e;
  font-size: 16px;
  box-shadow: inset 0 2px 4px #0002, 0 1px 0 #ffffff04;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
input:hover, textarea:hover { border-color: #b3d4d147; background: #080e1499; }
input:focus-visible, textarea:focus-visible {
  border-color: #a2ddc799;
  outline: none;
  background: #0a141a;
  box-shadow: 0 0 0 3px #b0eacf12, inset 0 2px 4px #0002;
}
textarea { min-height: 104px; resize: vertical; line-height: 1.5; }
dialog .form-note { margin: 0; color: #899ca7; font-size: 11px; }
.submit { width: 100%; justify-content: space-between; min-height: 56px; }
dialog .form-status { margin: 0; padding: 14px; border: 1px solid #c0efdd25; border-radius: 10px; background: #c0efdd08; color: #c0efdd; }
#business[data-state="loading"] { min-height: 400px; }
#business[data-state="booking"] { display: flex; flex-direction: column; width: min(960px, calc(100% - 32px)); height: min(900px, calc(100svh - 32px)); padding: 28px; }
#business[data-state="booking"] .modal-header { flex: none; }
#business[data-state="booking"] h2 { margin-top: 18px; }
.profile-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; min-height: 220px; margin-top: 22px; outline: none; }
.profile-loading p { margin: 0; color: #d2dff0; font-size: 15px; font-weight: 500; letter-spacing: .015em; }
.profile-spinner { position: relative; width: 58px; height: 58px; border: 1px solid #b9caff1a; border-radius: 50%; box-shadow: 0 0 36px #b9caff0c; }
.profile-spinner::before { content: ""; position: absolute; inset: -1px; border: 2px solid transparent; border-top-color: #c1d2ff; border-right-color: #c1d2ff55; border-radius: inherit; }
.profile-spinner span { position: absolute; inset: 12px; border: 1px solid #b9caff20; border-bottom-color: #b9caff88; border-radius: inherit; }
.loading-dots { display: inline-flex; width: 18px; }
.loading-dots i { font-style: normal; }
.business-booking { display: flex; flex-direction: column; flex: 1; min-height: 0; margin-top: 24px; outline: none; }
.booking-frame { display: block; flex: 1; min-height: 0; width: 100%; height: 0; border: 1px solid #b2d4d31f; border-radius: 14px; background: #10171e; }
dialog .booking-fallback { flex: none; margin: 16px 0 0; text-align: center; font-size: 12px; }
.booking-fallback a { color: #b9caff; text-decoration: none; }
.booking-fallback a:hover { color: #e1e9ff; text-decoration: underline; }
@media (prefers-reduced-motion: no-preference) {
  .profile-spinner::before { animation: profile-spin 1.2s linear infinite; }
  .profile-spinner span { animation: profile-spin 2s linear infinite reverse; }
  .loading-dots i { animation: profile-dot 1.4s ease-in-out infinite; }
  .loading-dots i:nth-child(2) { animation-delay: .2s; }
  .loading-dots i:nth-child(3) { animation-delay: .4s; }
  @keyframes profile-spin { to { transform: rotate(360deg); } }
  @keyframes profile-dot { 0%, 80%, 100% { opacity: .2; } 40% { opacity: 1; } }
  .atmosphere::before { animation: ambient-drift 28s ease-in-out infinite alternate; }
  .app-icon { animation: reveal .8s ease-out both; }
  h1 { animation: reveal .8s .1s ease-out both; }
  .actions { animation: reveal .8s .2s ease-out both; }
  dialog[open] { animation: modal-enter .24s cubic-bezier(.2, .7, .2, 1) both; }
  dialog[open]::backdrop { animation: reveal .2s ease-out both; }
  @keyframes modal-enter { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: none; } }
  @keyframes ambient-drift { from { transform: translate(-2%, -1%) rotate(-3deg); } to { transform: translate(2%, 2%) rotate(3deg); } }
  @keyframes reveal { from { opacity: 0; } to { opacity: 1; } }
}
@media (max-width: 600px) {
  .landing { padding: 96px 24px 56px; }
  .app-icon { width: 168px; }
  h1 { max-width: 400px; margin: 34px 0 36px; font-size: clamp(36px, 9vw, 52px); letter-spacing: -.045em; }
  .actions { width: 100%; max-width: 310px; flex-direction: column; gap: 12px; }
  .actions .button { width: 100%; }
  .audience-actions { width: 100%; flex-direction: column; align-items: stretch; }
  .download-action { top: 20px; right: 20px; }
  .atmosphere::after { background-size: auto 100%; opacity: .55; }
  dialog { padding: 28px 24px 24px; border-radius: 18px; }
  .close { top: 14px; right: 14px; }
  .form-row { grid-template-columns: 1fr; gap: 20px; }
  #business[data-state="booking"] { padding: 26px 18px 20px; }
  h2 { margin-top: 22px; font-size: 29px; }
  form { margin-top: 24px; padding-top: 22px; }
}
@media (max-height: 650px) and (min-width: 601px) {
  .landing { padding: 40px 24px; }
  .app-icon { width: 128px; }
  h1 { margin-top: 24px; margin-bottom: 30px; }
}
@media (prefers-reduced-motion: reduce) { .button, .button-icon, .button svg, .close, input, textarea { transition: none; } .button:hover svg { transform: none; } }
@media (forced-colors: active) { h1 { background: none; -webkit-text-fill-color: currentColor; } .atmosphere { display: none; } input:focus-visible, textarea:focus-visible { outline: 2px solid Highlight; } }
