:root {
  --canvas: #f7f8fa;
  --surface: #ffffff;
  --surface-soft: #f3f5f9;
  --surface-strong: #edf3ff;
  --ink: #10131a;
  --muted: #6d6d72;
  --soft: #95959b;
  --line: #e1e5ed;
  --line-strong: #d3d9e4;
  --accent: #2878ff;
  --accent-soft: #edf3ff;
  --green: #16845b;
  --green-soft: #e7f5ef;
  --lime: #c9d8ff;
  --amber: #b9791c;
  --amber-soft: #fff3d7;
  --red: #d94a62;
  --red-soft: #ffe9ed;
  --shadow-sm: 0 8px 24px rgba(16, 19, 26, 0.06);
  --shadow-md: 0 22px 70px rgba(16, 19, 26, 0.12);
  --shadow-lg: 0 40px 120px rgba(16, 19, 26, 0.24);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root[data-theme="dark"] {
  --canvas: #0f1218;
  --surface: #151a23;
  --surface-soft: #1b2230;
  --surface-strong: #202a3d;
  --ink: #ffffff;
  --muted: #aab4c7;
  --soft: #717d92;
  --line: rgba(201, 216, 255, 0.13);
  --line-strong: rgba(201, 216, 255, 0.22);
  --accent: #6d9cff;
  --accent-soft: #1b2948;
  --green: #5bc79b;
  --green-soft: #18362e;
  --lime: #c9d8ff;
  --amber: #e5b25d;
  --amber-soft: #3a2c18;
  --red: #ff7187;
  --red-soft: #441f28;
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.16);
  --shadow-md: 0 24px 70px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 42px 120px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 0%, rgba(201, 216, 255, 0.22), transparent 27%),
    var(--canvas);
  color: var(--ink);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

button,
a {
  transition: 160ms ease;
}

a {
  color: inherit;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

.topbar {
  position: relative;
  z-index: 40;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(22px) saturate(150%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 820;
  letter-spacing: -0.035em;
}

.brand-mark,
.agent-avatar,
.message-avatar,
.modal-mark,
.thread-icon {
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 216, 255, 0.2);
  background:
    radial-gradient(circle at 76% 18%, rgba(117, 160, 255, 0.68), transparent 30%),
    linear-gradient(145deg, #10131a, #172a65);
  color: #fff;
  font-weight: 900;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.22), 0 7px 18px rgba(16, 19, 26, 0.14);
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.brand-mark svg,
.agent-avatar svg,
.message-avatar svg,
.thread-icon svg {
  width: 56%;
  height: 56%;
}

.brand b {
  padding: 4px 7px;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.runtime-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 88%, var(--accent-soft));
  color: var(--muted);
  font-size: 11px;
  font-weight: 720;
}

.runtime-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px var(--amber-soft);
}

.runtime-pill.live i {
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  font-size: 17px;
}

.icon-button:hover,
.account-button:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.account-button {
  min-width: 116px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  font-size: 12px;
  font-weight: 780;
}

.account-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--soft);
}

.account-button.verified .account-dot {
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}

.app-shell {
  height: calc(100dvh - 72px);
  min-height: 0;
  display: grid;
  grid-template-columns: 274px minmax(0, 1fr);
  overflow: hidden;
}

.sidebar {
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 20px 16px 16px;
  overflow: auto;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 15% 105%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 34%),
    var(--surface);
  color: var(--ink);
}

.new-chat-button {
  width: 100%;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 820;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.24), 0 8px 22px rgba(40, 120, 255, 0.2);
}

.new-chat-button span {
  font-size: 19px;
  font-weight: 450;
  line-height: 1;
}

.new-chat-button:hover {
  transform: translateY(-1px);
  border-color: var(--ink);
  background: var(--ink);
}

.new-chat-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.sidebar-head {
  display: flex;
  align-items: center;
  min-height: 40px;
  margin-top: 16px;
  padding: 0 8px;
  color: var(--soft);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.thread-list {
  display: grid;
  gap: 5px;
}

.thread {
  width: 100%;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.thread:hover {
  background: var(--surface-soft);
}

.thread.active {
  border-color: color-mix(in srgb, var(--accent) 28%, var(--line));
  background: var(--accent-soft);
}

.thread-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 10px;
}

.thread > span:nth-child(2) {
  min-width: 0;
}

.thread b,
.thread small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.thread b {
  font-size: 12px;
  font-weight: 720;
}

.thread small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.thread time {
  display: none;
}

.sidebar-spacer {
  flex: 1;
  min-height: 30px;
}

.credit-card {
  padding: 17px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0, rgba(201, 216, 255, 0.62), transparent 42%),
    linear-gradient(145deg, var(--surface), var(--surface-soft));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.88), var(--shadow-sm);
}

.credit-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.credit-card > div button {
  width: 22px;
  height: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
}

.credit-card strong {
  display: block;
  margin-top: 14px;
  color: var(--ink);
  font-size: 31px;
  font-weight: 780;
  letter-spacing: -0.055em;
}

.credit-card small {
  display: block;
  margin: 5px 0 15px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.credit-card .secondary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.side-nav {
  margin-top: 10px;
}

.side-nav a {
  display: flex;
  justify-content: space-between;
  padding: 10px 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 680;
}

.side-nav a:hover {
  color: var(--accent);
}

.skeleton {
  background: linear-gradient(90deg, var(--surface-soft), var(--accent-soft), var(--surface-soft));
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}

.thread-skeleton {
  height: 55px;
  border-radius: 12px;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

.conversation {
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 0%, rgba(201, 216, 255, 0.3), transparent 29%),
    var(--canvas);
}

.conversation-head {
  flex: 0 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 28px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: blur(20px) saturate(140%);
}

.conversation-head > div:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
}

.agent-avatar {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.22), 0 10px 22px rgba(16, 19, 26, 0.16);
}

.conversation-head h1 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.conversation-head p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.conversation-head p i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.conversation-tools {
  display: flex;
  align-items: center;
  gap: 9px;
}

.conversation-tools label {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px 0 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  color: var(--soft);
  font-size: 10px;
  font-weight: 740;
}

.conversation-tools select {
  height: 28px;
  max-width: 130px;
  padding: 0 23px 0 8px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  font-weight: 780;
}

.policy-open {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  color: var(--ink);
}

.shield-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}

.data-banner {
  flex: 0 0 auto;
  padding: 8px 16px;
  border-bottom: 1px solid color-mix(in srgb, var(--amber) 16%, var(--line));
  background: color-mix(in srgb, var(--amber-soft) 76%, var(--surface));
  color: var(--amber);
  font-size: 10px;
  font-weight: 740;
  letter-spacing: 0.02em;
  text-align: center;
}

.messages {
  min-height: 0;
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 30px max(28px, calc((100% - 900px) / 2));
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
  touch-action: pan-y;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

.messages::-webkit-scrollbar,
.sidebar::-webkit-scrollbar,
.policy-panel::-webkit-scrollbar,
.modal::-webkit-scrollbar {
  width: 9px;
}

.messages::-webkit-scrollbar-track,
.sidebar::-webkit-scrollbar-track,
.policy-panel::-webkit-scrollbar-track,
.modal::-webkit-scrollbar-track {
  background: transparent;
}

.messages::-webkit-scrollbar-thumb,
.sidebar::-webkit-scrollbar-thumb,
.policy-panel::-webkit-scrollbar-thumb,
.modal::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: var(--line-strong);
  background-clip: padding-box;
}

.message {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
}

.message-avatar {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 10px;
  font-size: 10px;
}

.message .bubble {
  max-width: min(800px, 92%);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
}

.message .bubble > p {
  white-space: pre-wrap;
}

.user-message {
  justify-content: flex-end;
}

.user-message .bubble {
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 16px 16px 4px 16px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.agent-message .bubble {
  min-width: 0;
}

.welcome-message {
  width: min(840px, 100%);
  display: block;
  margin: clamp(28px, 7vh, 76px) auto 24px;
}

.welcome-message > .message-avatar {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  border-radius: 16px;
  font-size: 15px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.22), 0 14px 34px rgba(16, 19, 26, 0.18);
}

.welcome-message .bubble {
  max-width: 100%;
}

.welcome-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.welcome-kicker::before {
  content: "";
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.welcome-message h2 {
  max-width: 660px;
  margin-top: 12px;
  font-size: clamp(38px, 4.8vw, 62px);
  font-weight: 780;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.welcome-message .bubble > p {
  max-width: 680px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.welcome-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.welcome-signals span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  color: var(--muted);
  font-size: 10px;
  font-weight: 740;
}

.welcome-signals span::before {
  content: "•";
  margin-right: 6px;
  color: var(--accent);
}

.quick-prompts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.quick-prompts button {
  min-height: 92px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  color: var(--ink);
  text-align: left;
  box-shadow: 0 8px 28px rgba(16, 19, 26, 0.04);
}

.quick-prompts button:hover {
  border-color: color-mix(in srgb, var(--accent) 38%, var(--line));
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.quick-prompts b,
.quick-prompts small {
  display: block;
}

.quick-prompts b {
  font-size: 12px;
  font-weight: 800;
}

.quick-prompts small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.message-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
  color: var(--soft);
  font-size: 9px;
}

.message-meta span {
  padding: 4px 7px;
  border-radius: 6px;
  background: var(--surface-soft);
}

.typing {
  display: flex;
  gap: 5px;
  padding-top: 8px;
}

.typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--soft);
  animation: bounce 1s infinite;
}

.typing i:nth-child(2) {
  animation-delay: 0.15s;
}

.typing i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes bounce {
  50% {
    transform: translateY(-4px);
  }
}

.strategy-stack {
  display: grid;
  gap: 11px;
  margin-top: 18px;
}

.strategy-card {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 17px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.strategy-card[open] {
  box-shadow: var(--shadow-md);
}

.strategy-card summary {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 18px;
  cursor: pointer;
}

.strategy-card summary::-webkit-details-marker {
  display: none;
}

.candidate-label {
  color: var(--accent);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.strategy-card h2 {
  margin-top: 4px;
  font-size: 21px;
  letter-spacing: -0.045em;
}

.strategy-title-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
}

.risk-pill {
  height: 28px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}

.risk-pill.medium {
  background: var(--amber-soft);
  color: var(--amber);
}

.risk-pill.high,
.risk-pill.very-high {
  background: var(--red-soft);
  color: var(--red);
}

.strategy-body {
  padding: 0 18px 18px;
  border-top: 1px solid var(--line);
}

.range-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
}

.range-edge span,
.range-current span {
  display: block;
  color: var(--soft);
  font-size: 9px;
  text-transform: uppercase;
}

.range-edge b,
.range-current b {
  display: block;
  margin-top: 3px;
  font-size: 13px;
}

.range-edge:last-child {
  text-align: right;
}

.range-current {
  padding: 7px 11px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
  text-align: center;
}

.range-current b {
  color: var(--accent);
}

.range-bar {
  position: relative;
  height: 6px;
  margin: -2px 0 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--accent) 35%, var(--accent) 65%, var(--green));
}

.range-bar::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
  transform: translate(-50%, -50%);
}

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.strategy-grid div {
  padding: 12px;
  border-right: 1px solid var(--line);
}

.strategy-grid div:last-child {
  border: 0;
}

.strategy-grid span,
.strategy-grid b {
  display: block;
}

.strategy-grid span {
  color: var(--soft);
  font-size: 9px;
  text-transform: uppercase;
}

.strategy-grid b {
  margin-top: 4px;
  font-size: 12px;
}

.risk-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.risk-flags span {
  padding: 5px 7px;
  border-radius: 7px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 9px;
}

.strategy-disclaimer {
  margin-top: 11px;
  color: var(--soft);
  font-size: 9px;
}

.strategy-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}

.response-feedback {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--soft);
  font-size: 10px;
}

.response-feedback button {
  min-width: 30px;
  height: 29px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-size: 10px;
}

.response-feedback button.selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.composer-wrap {
  flex: 0 0 auto;
  padding: 14px max(28px, calc((100% - 900px) / 2)) 16px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  backdrop-filter: blur(20px) saturate(140%);
}

.composer {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 9px 9px 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 17px;
  background: var(--surface);
  box-shadow: 0 16px 44px rgba(16, 19, 26, 0.08);
}

.composer:focus-within {
  border-color: color-mix(in srgb, var(--accent) 56%, var(--line));
  box-shadow: 0 0 0 4px var(--accent-soft), 0 16px 44px rgba(16, 19, 26, 0.08);
}

.composer textarea {
  width: 100%;
  max-height: 140px;
  resize: none;
  padding: 10px 2px 8px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  line-height: 1.5;
}

.composer textarea::placeholder {
  color: var(--soft);
}

.composer button {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.24), 0 9px 22px rgba(40, 120, 255, 0.22);
}

.composer button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.composer button:disabled {
  cursor: not-allowed;
  opacity: 0.34;
}

.composer svg {
  width: 19px;
}

.composer-wrap > p {
  margin-top: 8px;
  color: var(--soft);
  font-size: 10px;
  text-align: center;
}

.policy-panel {
  position: fixed;
  z-index: 55;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(410px, 94vw);
  min-height: 0;
  padding: 24px;
  overflow: auto;
  border-left: 1px solid var(--line);
  background: var(--surface);
  box-shadow: -36px 0 100px rgba(8, 13, 7, 0.18);
  transform: translateX(104%);
  transition: transform 220ms ease;
}

.policy-panel.open {
  transform: none;
}

.policy-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.policy-title span,
.section-label {
  color: var(--soft);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.policy-title h2 {
  margin-top: 6px;
  font-size: 23px;
  letter-spacing: -0.045em;
}

.policy-title-actions {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.safe-pill {
  height: 26px !important;
  display: flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green) !important;
  font-size: 8px !important;
}

.safe-pill.danger {
  background: var(--red-soft);
  color: var(--red) !important;
}

.policy-title-actions button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface-soft);
}

.mode-switch {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.mode {
  display: grid;
  grid-template-columns: 17px 1fr;
  gap: 10px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  text-align: left;
}

.mode:hover {
  border-color: var(--line-strong);
}

.mode.active {
  border-color: color-mix(in srgb, var(--accent) 52%, var(--line));
  background: var(--accent-soft);
}

.mode-radio {
  position: relative;
  width: 15px;
  height: 15px;
  margin-top: 2px;
  border: 1px solid var(--soft);
  border-radius: 50%;
}

.mode.active .mode-radio {
  border-color: var(--accent);
}

.mode.active .mode-radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--accent);
}

.mode b,
.mode small {
  display: block;
}

.mode b {
  font-size: 12px;
}

.mode small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.mode-copy {
  margin-top: 14px;
  padding: 13px;
  border-radius: 11px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.limits {
  margin-top: 20px;
}

.limits > label,
.two-fields label {
  display: block;
  margin-top: 12px;
}

.limits label > span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.input-wrap {
  height: 40px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.input-wrap i {
  padding: 0 9px;
  color: var(--soft);
  font-size: 10px;
  font-style: normal;
}

.input-wrap input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 11px;
}

.input-wrap.suffix input {
  padding-left: 10px;
}

.two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.limits select {
  width: 100%;
  height: 40px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font-size: 10px;
}

.scope-list {
  display: grid;
  gap: 7px;
  margin-top: 15px;
}

.scope-list label {
  display: flex;
  gap: 9px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.scope-list input {
  margin-top: 2px;
  accent-color: var(--accent);
}

.scope-list b,
.scope-list small {
  display: block;
}

.scope-list b {
  font-size: 10px;
}

.scope-list small {
  margin-top: 2px;
  color: var(--soft);
  font-size: 9px;
}

.risk-box {
  margin-top: 15px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--red) 30%, var(--line));
  border-radius: 12px;
  background: var(--red-soft);
}

.risk-box > div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 10px;
}

.risk-box > div span {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
}

.risk-box > p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.risk-check {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  font-size: 10px;
}

.phrase {
  display: block;
  margin-top: 11px;
}

.phrase > span {
  display: block;
  margin-bottom: 6px;
  font-size: 9px;
}

.phrase input {
  width: 100%;
  height: 37px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  font: 700 9px ui-monospace, monospace;
}

.paper-lock {
  margin: 16px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-soft);
}

.paper-lock span,
.paper-lock b {
  font-size: 9px;
  text-transform: uppercase;
}

.paper-lock b {
  float: right;
  color: var(--amber);
}

.paper-lock p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 9px;
}

.policy-foot {
  margin-top: 11px;
  color: var(--soft);
  font-size: 9px;
  line-height: 1.5;
}

.primary,
.secondary,
.pause {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 800;
}

.primary {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
}

.secondary {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--muted);
}

.pause {
  border: 1px solid color-mix(in srgb, var(--red) 35%, var(--line));
  background: var(--red-soft);
  color: var(--red);
}

.pause span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--red);
}

.full {
  width: 100%;
}

.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(40, 120, 255, 0.2);
}

.policy-panel > .pause {
  margin-top: 7px;
}

.feedback-fab {
  position: fixed;
  right: 20px;
  bottom: 19px;
  z-index: 30;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.feedback-fab:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.feedback-fab svg {
  width: 16px;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(16, 19, 26, 0.58);
  backdrop-filter: blur(14px);
}

.modal {
  position: relative;
  width: min(510px, 100%);
  max-height: min(820px, 92vh);
  overflow: auto;
  padding: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--muted);
}

.modal-mark {
  width: 45px;
  height: 45px;
  border-radius: 14px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.22), 0 12px 28px rgba(16, 19, 26, 0.16);
}

.modal h2 {
  margin-top: 18px;
  font-size: 28px;
  letter-spacing: -0.05em;
}

.modal h3 {
  margin-top: 22px;
  font-size: 12px;
}

.modal > p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.modal > label {
  display: block;
  margin-top: 17px;
}

.modal > label > span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

.modal textarea,
.handle-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-soft);
}

.modal textarea {
  padding: 11px;
  outline: 0;
  resize: vertical;
  font-size: 11px;
}

.handle-input {
  height: 44px;
  display: flex;
  align-items: center;
}

.handle-input i {
  padding-left: 12px;
  color: var(--soft);
  font-style: normal;
}

.handle-input input {
  width: 100%;
  height: 100%;
  padding: 0 10px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 12px;
}

.modal .full {
  margin-top: 10px;
}

.account-summary {
  margin-top: 18px;
}

.account-user {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
}

.account-user span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 900;
}

.account-user b,
.account-user small {
  display: block;
}

.account-user b {
  font-size: 12px;
}

.account-user small {
  margin-top: 3px;
  color: var(--muted);
  font: 9px ui-monospace, monospace;
}

.terminal-box {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.terminal-box > div {
  display: flex;
  justify-content: space-between;
}

.terminal-box span {
  color: var(--muted);
  font-size: 10px;
}

.terminal-box b {
  font-size: 10px;
}

.terminal-box p {
  margin-top: 7px;
  color: var(--soft);
  font-size: 10px;
  line-height: 1.55;
}

.terminal-result {
  margin-top: 11px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-soft);
}

.terminal-result strong,
.terminal-result code,
.terminal-result small,
.terminal-result > span {
  display: block;
}

.terminal-result > span {
  margin-top: 9px;
  color: var(--muted);
  font-size: 9px;
}

.terminal-result > span:first-child {
  margin-top: 0;
}

.terminal-result strong {
  margin-top: 3px;
  color: var(--accent);
  font: 850 19px ui-monospace, monospace;
}

.terminal-result code {
  margin-top: 9px;
  padding: 9px;
  border-radius: 8px;
  background: var(--surface-strong);
  font-size: 9px;
  word-break: break-all;
}

.terminal-result small {
  margin-top: 7px;
  color: var(--soft);
  font-size: 9px;
}

.terminal-result label {
  display: block;
  margin-top: 11px;
}

.terminal-result label span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 9px;
}

.terminal-result input {
  width: 100%;
  height: 39px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  font: 10px ui-monospace, monospace;
}

.credit-balance-large {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--lime) 30%, transparent), transparent 45%),
    var(--surface-soft);
}

.credit-balance-large span {
  color: var(--muted);
  font-size: 10px;
}

.credit-balance-large strong {
  font-size: 31px;
  letter-spacing: -0.05em;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.pricing-grid div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.pricing-grid span,
.pricing-grid b {
  display: block;
}

.pricing-grid span {
  color: var(--soft);
  font-size: 9px;
}

.pricing-grid b {
  margin-top: 4px;
  font-size: 11px;
}

.deposit-builder {
  margin-top: 18px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
}

.deposit-builder h3 {
  margin-top: 0;
}

.deposit-builder label > span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 9px;
}

.deposit-builder select {
  width: 100%;
  height: 40px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  font-size: 10px;
}

.credit-ledger {
  max-height: 190px;
  overflow: auto;
  margin-top: 10px;
}

.ledger-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
}

.ledger-row span {
  color: var(--muted);
}

.ledger-row b.positive {
  color: var(--green);
}

.ledger-row b.negative {
  color: var(--red);
}

.modal-foot {
  font-size: 9px !important;
  text-align: center;
}

.feedback-modal {
  width: min(620px, 100%);
}

.feedback-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.feedback-categories button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

.feedback-categories button.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.context-consent {
  display: flex !important;
  gap: 9px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.context-consent input {
  accent-color: var(--accent);
}

.context-consent span {
  margin: 0 !important;
}

.context-consent b,
.context-consent small {
  display: block;
}

.context-consent small {
  margin-top: 3px;
  color: var(--soft);
  font-size: 9px;
}

.feedback-meta {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  color: var(--soft);
  font-size: 9px;
}

.feedback-receipt {
  margin-top: 15px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--green) 30%, var(--line));
  border-radius: 11px;
  background: var(--green-soft);
}

.feedback-receipt span,
.feedback-receipt strong {
  display: block;
}

.feedback-receipt span {
  color: var(--green);
  font-size: 9px;
  text-transform: uppercase;
}

.feedback-receipt strong {
  margin-top: 5px;
  font: 850 16px ui-monospace, monospace;
}

.feedback-receipt p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
}

.toast {
  position: fixed;
  z-index: 90;
  bottom: 22px;
  left: 50%;
  max-width: min(440px, calc(100% - 40px));
  padding: 12px 15px;
  border-radius: 11px;
  background: #10131a;
  color: #fff;
  font-size: 11px;
  font-weight: 720;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 900px) {
  .app-shell {
    grid-template-columns: 224px minmax(0, 1fr);
  }

  .sidebar {
    padding-inline: 12px;
  }

  .messages,
  .composer-wrap {
    padding-inline: 22px;
  }

  .welcome-message h2 {
    font-size: 46px;
  }

  .quick-prompts {
    grid-template-columns: 1fr;
  }

  .quick-prompts button {
    min-height: 70px;
  }
}

@media (max-width: 700px) {
  .topbar {
    height: 60px;
    padding: 0 12px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand b,
  .runtime-pill,
  .sidebar {
    display: none;
  }

  .app-shell {
    height: calc(100dvh - 60px);
    display: block;
  }

  .conversation {
    height: 100%;
  }

  .account-button {
    min-width: 0;
    max-width: 132px;
  }

  .account-button span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .conversation-head {
    min-height: 64px;
    padding: 10px 13px;
  }

  .agent-avatar {
    width: 38px;
    height: 38px;
  }

  .conversation-head h1 {
    font-size: 13px;
  }

  .conversation-head p {
    max-width: 190px;
    overflow: hidden;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .conversation-tools label {
    display: none;
  }

  .policy-open {
    min-height: 36px;
    padding-inline: 11px;
    font-size: 10px;
  }

  .data-banner {
    font-size: 9px;
  }

  .messages {
    padding: 22px 13px;
  }

  .welcome-message {
    margin-top: 20px;
  }

  .welcome-message > .message-avatar {
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
  }

  .welcome-message h2 {
    font-size: 39px;
  }

  .welcome-message .bubble > p {
    margin-top: 16px;
    font-size: 13px;
  }

  .welcome-signals {
    gap: 5px;
  }

  .welcome-signals span {
    font-size: 9px;
  }

  .quick-prompts {
    margin-top: 20px;
  }

  .message .bubble {
    max-width: 96%;
  }

  .composer-wrap {
    padding: 9px 10px 11px;
  }

  .composer {
    border-radius: 15px;
  }

  .composer textarea {
    font-size: 13px;
  }

  .composer-wrap > p {
    font-size: 9px;
  }

  .strategy-grid {
    grid-template-columns: 1fr 1fr;
  }

  .strategy-grid div:nth-child(2) {
    border-right: 0;
  }

  .strategy-grid div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .strategy-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .feedback-fab {
    right: 12px;
    bottom: 78px;
    width: 40px;
    padding: 0;
    justify-content: center;
  }

  .feedback-fab span {
    display: none;
  }

  .overlay {
    align-items: end;
    padding: 0;
  }

  .modal {
    width: 100%;
    max-height: 91vh;
    padding: 24px 20px;
    border-radius: 24px 24px 0 0;
  }

  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 420px) {
  .brand > span:nth-child(2) {
    display: none;
  }

  .welcome-message h2 {
    font-size: 35px;
  }

  .welcome-signals span:last-child {
    display: none;
  }

  .two-fields,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .strategy-card summary {
    padding: 14px;
  }

  .strategy-body {
    padding: 0 14px 14px;
  }

  .strategy-grid {
    grid-template-columns: 1fr;
  }

  .strategy-grid div {
    border-right: 0;
    border-bottom: 1px solid var(--line) !important;
  }

  .strategy-grid div:last-child {
    border-bottom: 0 !important;
  }
}

@media (max-height: 800px) and (min-width: 701px) {
  .welcome-message {
    margin: 22px auto 14px;
  }

  .welcome-message > .message-avatar {
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    border-radius: 14px;
  }

  .welcome-message h2 {
    max-width: 660px;
    font-size: clamp(36px, 4.2vw, 52px);
  }

  .welcome-message .bubble > p {
    max-width: 610px;
    margin-top: 13px;
    font-size: 13px;
    line-height: 1.55;
  }

  .welcome-signals {
    margin-top: 11px;
  }

  .quick-prompts {
    margin-top: 14px;
  }

  .quick-prompts button {
    min-height: 68px;
    padding: 12px 14px;
  }
}
body.coming-soon-active {
  min-height: 100dvh;
  overflow: auto;
  background: #f4f7ff;
  color: #11141b;
}

body.coming-soon-active > :not(.coming-soon):not(script) {
  display: none !important;
}

.coming-soon {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(45, 116, 255, .15), transparent 31%),
    radial-gradient(circle at 18% 88%, rgba(79, 134, 255, .08), transparent 28%),
    linear-gradient(145deg, #fbfcff 0%, #f5f8ff 53%, #eef4ff 100%);
}

.coming-soon::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .48;
  background-image: linear-gradient(rgba(57, 93, 166, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(57, 93, 166, .055) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .8), transparent 80%);
}

.coming-soon-nav {
  position: relative;
  z-index: 4;
  display: flex;
  width: min(1180px, calc(100% - 48px));
  height: 84px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

.coming-soon-brand,
.coming-soon-back,
.coming-soon-actions a {
  text-decoration: none;
}

.coming-soon-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #11141b;
  font-size: 16px;
  font-weight: 760;
  letter-spacing: -.02em;
}

.coming-soon-brand b {
  padding: 3px 6px;
  border: 1px solid rgba(45, 116, 255, .18);
  border-radius: 5px;
  background: rgba(45, 116, 255, .07);
  color: #2d74ff;
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.coming-soon-mark,
.coming-soon-preview-mark {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #1d2d4f, #071021);
  color: #fff;
  box-shadow: 0 10px 25px rgba(17, 45, 101, .18);
  font-weight: 760;
}

.coming-soon-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 14px;
}

.coming-soon-back {
  display: inline-flex;
  min-height: 42px;
  padding: 0 15px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(31, 52, 94, .13);
  border-radius: 11px;
  background: rgba(255, 255, 255, .72);
  color: #313a4d;
  box-shadow: 0 10px 30px rgba(38, 69, 129, .06);
  font-size: 12px;
  font-weight: 680;
  backdrop-filter: blur(12px);
}

.coming-soon-main {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(1180px, calc(100% - 48px));
  min-height: calc(100dvh - 84px);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
  padding: 48px 0 96px;
}

.coming-soon-copy {
  max-width: 690px;
}

.coming-soon-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #2d74ff;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.coming-soon-kicker i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #2d74ff;
  box-shadow: 0 0 0 5px rgba(45, 116, 255, .1);
}

.coming-soon-copy h1 {
  max-width: 690px;
  margin: 24px 0 22px;
  color: #0d1119;
  font-size: clamp(52px, 6.3vw, 88px);
  font-weight: 780;
  letter-spacing: -.067em;
  line-height: .96;
}

.coming-soon-copy > p {
  max-width: 620px;
  margin: 0;
  color: #5c6474;
  font-size: 16px;
  line-height: 1.72;
}

.coming-soon-actions {
  display: flex;
  gap: 10px;
  margin-top: 34px;
}

.coming-soon-actions a {
  display: inline-flex;
  min-height: 50px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 720;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.coming-soon-actions a:hover {
  transform: translateY(-2px);
}

.coming-soon-primary {
  background: #2d74ff;
  color: #fff;
  box-shadow: 0 14px 34px rgba(45, 116, 255, .25);
}

.coming-soon-secondary {
  border: 1px solid rgba(31, 52, 94, .14);
  background: rgba(255, 255, 255, .74);
  color: #242b38;
  box-shadow: 0 10px 30px rgba(38, 69, 129, .05);
}

.coming-soon-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 27px;
  color: #7b8495;
  font-size: 10px;
  font-weight: 680;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.coming-soon-meta span {
  position: relative;
}

.coming-soon-meta span + span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -12px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #b3bccb;
}

.coming-soon-stage {
  position: relative;
  display: grid;
  min-height: 570px;
  place-items: center;
  perspective: 1200px;
}

.coming-soon-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(45, 116, 255, .18);
  filter: blur(80px);
}

.coming-soon-preview {
  position: relative;
  z-index: 2;
  width: min(100%, 470px);
  padding: 20px;
  border: 1px solid rgba(43, 81, 153, .14);
  border-radius: 25px;
  background: rgba(255, 255, 255, .83);
  box-shadow: 0 44px 100px rgba(31, 67, 137, .18), inset 0 1px rgba(255, 255, 255, .86);
  transform: rotateY(-6deg) rotateX(2deg);
  backdrop-filter: blur(24px);
}

.coming-soon-preview header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(43, 81, 153, .1);
}

.coming-soon-preview-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 14px;
}

.coming-soon-preview header div {
  display: grid;
  gap: 2px;
}

.coming-soon-preview header b {
  color: #141925;
  font-size: 13px;
}

.coming-soon-preview header small {
  color: #858ea0;
  font-size: 9px;
}

.coming-soon-preview header em {
  margin-left: auto;
  padding: 6px 8px;
  border: 1px solid rgba(45, 116, 255, .13);
  border-radius: 999px;
  background: rgba(45, 116, 255, .07);
  color: #2d74ff;
  font-size: 8px;
  font-style: normal;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.coming-soon-question {
  margin-top: 20px;
  padding: 17px;
  border: 1px solid rgba(43, 81, 153, .1);
  border-radius: 15px;
  background: rgba(245, 248, 255, .86);
}

.coming-soon-question span {
  color: #8790a1;
  font-size: 8px;
  font-weight: 740;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.coming-soon-question p {
  margin: 7px 0 0;
  color: #242a37;
  font-size: 13px;
  font-weight: 630;
  line-height: 1.55;
}

.coming-soon-tags {
  display: flex;
  gap: 7px;
  margin-top: 12px;
}

.coming-soon-tags span {
  padding: 6px 8px;
  border: 1px solid rgba(43, 81, 153, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
  color: #677083;
  font-size: 8px;
  font-weight: 690;
}

.coming-soon-response {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(43, 81, 153, .08);
  border-radius: 16px;
  background: #fff;
}

.coming-soon-response div {
  display: grid;
  gap: 7px;
}

.coming-soon-response i {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e9eef8, #f4f6fb);
}

.coming-soon-response div:first-child i:nth-child(1) { width: 88%; }
.coming-soon-response div:first-child i:nth-child(2) { width: 72%; }
.coming-soon-response div:first-child i:nth-child(3) { width: 56%; }
.coming-soon-response div:last-child i:nth-child(1) { width: 80%; }
.coming-soon-response div:last-child i:nth-child(2) { width: 47%; }

.coming-soon-preview footer {
  display: flex;
  margin-top: 18px;
  align-items: center;
  justify-content: space-between;
  color: #768093;
  font-size: 8px;
  font-style: normal;
  font-weight: 680;
}

.coming-soon-preview footer span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.coming-soon-preview footer i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f1b24b;
  box-shadow: 0 0 0 4px rgba(241, 178, 75, .11);
}

.coming-soon-preview footer b {
  color: #2d74ff;
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.coming-soon-orbit {
  position: absolute;
  border: 1px solid rgba(45, 116, 255, .13);
  border-radius: 50%;
}

.orbit-one { width: 510px; height: 510px; }
.orbit-two { width: 650px; height: 650px; opacity: .55; }

@media (max-width: 900px) {
  .coming-soon-main {
    grid-template-columns: 1fr;
    gap: 56px;
    padding-top: 60px;
  }

  .coming-soon-copy {
    max-width: 760px;
  }

  .coming-soon-copy h1 {
    max-width: 760px;
  }

  .coming-soon-stage {
    min-height: 480px;
  }
}

@media (max-width: 560px) {
  .coming-soon-nav,
  .coming-soon-main {
    width: min(100% - 32px, 1180px);
  }

  .coming-soon-nav {
    height: 72px;
  }

  .coming-soon-brand > span:nth-child(2) {
    display: none;
  }

  .coming-soon-back {
    min-height: 39px;
    padding: 0 12px;
    font-size: 10px;
  }

  .coming-soon-main {
    min-height: calc(100dvh - 72px);
    padding: 52px 0 72px;
  }

  .coming-soon-copy h1 {
    margin-top: 20px;
    font-size: clamp(43px, 13vw, 62px);
  }

  .coming-soon-copy > p {
    font-size: 14px;
  }

  .coming-soon-actions {
    display: grid;
  }

  .coming-soon-actions a {
    width: 100%;
  }

  .coming-soon-meta {
    gap: 8px 16px;
  }

  .coming-soon-stage {
    min-height: 390px;
  }

  .coming-soon-preview {
    padding: 15px;
    border-radius: 20px;
    transform: none;
  }

  .coming-soon-preview header em {
    display: none;
  }

  .coming-soon-tags {
    flex-wrap: wrap;
  }

  .orbit-one { width: 390px; height: 390px; }
  .orbit-two { width: 500px; height: 500px; }
}
