:root {
  --bg: #F7F7FA;
  --surface: #FFFFFF;
  --surface-soft: #F2F3F7;
  --ink: #111318;
  --muted: #5E6673;
  --faint: #8E95A1;
  --line: rgba(17, 19, 24, .10);
  --line-strong: rgba(17, 19, 24, .16);
  --accent: #4F46E5;
  --accent-soft: rgba(79, 70, 229, .10);
  --shadow: 0 28px 70px -36px rgba(17, 19, 24, .34);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -16%, rgba(79, 70, 229, .12), transparent 34rem),
    linear-gradient(180deg, #FFFFFF 0%, var(--bg) 58%, #F3F4F8 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

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

img {
  display: block;
  max-width: 100%;
}

p,
h1 {
  margin: 0;
}

.topbar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 18px clamp(16px, 4vw, 42px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  font-size: .98rem;
  font-weight: 750;
  color: var(--ink);
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 22px -14px rgba(17, 19, 24, .44);
  flex: none;
}

.brand span {
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: 10px;
}

.nav a {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 520;
  line-height: 1;
  transition: color .16s ease;
}

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

.spacer {
  flex: 1;
}

.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, .72);
  font-size: .9rem;
  font-weight: 700;
  box-shadow: 0 14px 34px -28px rgba(17, 19, 24, .42);
  transition: border-color .16s ease, transform .16s ease, color .16s ease;
}

.ghost:hover {
  border-color: rgba(79, 70, 229, .34);
  color: var(--accent);
  transform: translateY(-1px);
}

.stage {
  flex: 1;
  width: min(100%, 980px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 8px 20px 12px;
  text-align: center;
}

.hero {
  display: grid;
  justify-items: center;
  gap: 15px;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.1rem, 7.1vw, 5.75rem);
  line-height: .93;
  font-weight: 820;
  letter-spacing: 0;
}

.value {
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  line-height: 1.55;
}

.value strong {
  color: var(--ink);
  font-weight: 760;
  box-shadow: inset 0 -.44em 0 var(--accent-soft);
}

.app-card {
  width: min(100%, 520px);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  text-align: left;
}

.field {
  display: grid;
  gap: 9px;
}

.field-label {
  color: var(--faint);
  font-size: .72rem;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.input-shell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
}

.asset-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 11px 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: .86rem;
  font-weight: 760;
  flex: none;
}

.asset-chip img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.input-shell input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 1.04rem;
  font-weight: 720;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  margin-top: 12px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
}

.status-row span {
  color: var(--faint);
  font-size: .78rem;
  font-weight: 720;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.status-row strong {
  color: var(--ink);
  font-size: .96rem;
  font-weight: 760;
  white-space: nowrap;
}

.how {
  display: inline-flex;
  align-items: center;
  margin: 13px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font: inherit;
  font-size: .88rem;
  font-weight: 740;
}

.how:hover {
  color: var(--accent);
}

.monitoring-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.45;
}

.primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  margin-top: 16px;
  border-radius: 16px;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 1.02rem;
  font-weight: 800;
  box-shadow: 0 18px 34px -24px rgba(79, 70, 229, .78);
  transition: background .16s ease, transform .16s ease, box-shadow .16s ease;
}

.primary:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 22px 38px -24px rgba(79, 70, 229, .88);
}

.foot {
  flex: none;
  padding: 14px 20px 22px;
  color: var(--faint);
  text-align: center;
  font-size: .84rem;
  font-weight: 620;
}

@media (max-width: 760px) {
  .topbar {
    gap: 12px;
    padding: 14px 16px;
  }

  .brand span {
    max-width: 42vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav {
    display: none;
  }

  .ghost {
    min-height: 36px;
    padding: 0 14px;
    font-size: .86rem;
  }

  .stage {
    gap: 22px;
    padding: 4px 16px 8px;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(2.6rem, 14vw, 3.9rem);
    line-height: .94;
  }

  .value {
    max-width: 34ch;
    font-size: .98rem;
    line-height: 1.45;
  }

  .app-card {
    padding: 16px;
    border-radius: 20px;
  }

  .input-shell {
    min-height: 58px;
    gap: 9px;
    padding: 9px 10px;
  }

  .asset-chip {
    padding-right: 10px;
  }

  .input-shell input {
    font-size: .95rem;
  }

  .status-row {
    min-height: 50px;
    padding: 0 12px;
  }

  .status-row strong {
    font-size: .9rem;
  }

  .primary {
    min-height: 54px;
    margin-top: 14px;
  }

  .foot {
    padding-bottom: 14px;
  }
}

@media (max-width: 390px) {
  .brand span {
    max-width: 36vw;
  }

  h1 {
    font-size: clamp(2.35rem, 13.2vw, 3.3rem);
  }

  .value {
    font-size: .93rem;
  }

  .input-shell {
    align-items: stretch;
    flex-direction: column;
  }

  .input-shell input {
    min-height: 24px;
  }

  .status-row {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
  }
}
