:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #e8eefc;
  background: #07111f;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  color: #e8eefc;
  background:
    radial-gradient(circle at top, rgba(23, 52, 92, 0.98), rgba(7, 17, 31, 1) 55%),
    #07111f;
}

.shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0;
}

.card {
  background: rgba(9, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
  border-radius: 26px;
  padding: clamp(22px, 3vw, 34px);
  margin-bottom: 24px;
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  background:
    radial-gradient(circle at top center, rgba(30, 64, 115, 0.42), rgba(7, 20, 35, 0.98) 65%),
    #071423;
}

.hero-content {
  width: 100%;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 22px;
  color: #6ea3ff;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.18em;
  font-size: clamp(0.78rem, 1.6vw, 1rem);
  text-align: center;
}

.hero-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(10px, 1.4vw, 18px);
  width: 100%;
  max-width: 100%;
  margin: 0 auto 18px;
  text-align: center;
}

.hero-title {
  margin: 0;
  padding: 0;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.045em;
  white-space: nowrap;
  color: #ffffff;
  font-size: clamp(34px, 5.2vw, 74px);
}

.hero-candle-logo {
  width: clamp(56px, 6vw, 94px);
  height: clamp(56px, 6vw, 94px);
  object-fit: contain;
  flex: 0 0 auto;
  display: block;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  mix-blend-mode: normal;
}

.hero-subtitle {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  color: #b6c4d9;
  line-height: 1.6;
  font-size: clamp(15px, 1.5vw, 18px);
}

/* TYPOGRAPHY */
h1,
h2 {
  margin: 0 0 12px;
}

h2 {
  font-size: 1.35rem;
}

.muted {
  color: #b6c4d9;
  line-height: 1.6;
}

.small {
  font-size: 0.92rem;
}

/* GRID / FORM */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: #cfe0f8;
  font-weight: 600;
}

input {
  width: 100%;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(2, 6, 23, 0.42);
  color: #e8eefc;
  outline: none;
}

input::placeholder {
  color: rgba(203, 213, 225, 0.62);
}

input:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.14);
}

/* BUTTONS */
button {
  margin-top: 18px;
  border: 0;
  color: #06101f;
  background: #60a5fa;
  padding: 13px 18px;
  font-weight: 800;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

button.secondary {
  margin-top: 0;
  background: transparent;
  color: #e8eefc;
  border: 1px solid rgba(148, 163, 184, 0.35);
  white-space: nowrap;
}

button:hover {
  transform: translateY(-1px);
}

button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* GENERAL */
.hidden {
  display: none;
}

.msg {
  min-height: 20px;
  color: #93c5fd;
}

.error {
  color: #fca5a5;
}

.success {
  color: #86efac;
}

/* CLEAN STATUS BOXES */
.clean-status {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.status-card {
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 16px;
  padding: 16px;
  background: rgba(2, 6, 23, 0.35);
}

.status-label {
  font-size: 14px;
  color: #93a4bd;
  margin-bottom: 8px;
}

.status-value {
  font-size: 20px;
  font-weight: 900;
  color: #e8eefc;
  word-break: break-word;
}

.status-value.good {
  color: #39ff88;
}

.status-value.bad {
  color: #ff6b6b;
}

/* ACCOUNT LIST */
.list {
  display: grid;
  gap: 10px;
}

.item {
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.5);
}

.account-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.account-metrics div {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  padding: 10px;
  background: rgba(2, 6, 23, 0.35);
}

.account-metrics span {
  display: block;
  color: #93a4bd;
  font-size: 0.82rem;
  margin-bottom: 4px;
}

.account-metrics strong {
  color: #e8eefc;
  font-size: 0.95rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.actions button {
  margin-top: 0;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .shell {
    width: min(100% - 24px, 1080px);
    padding: 24px 0;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero .secondary {
    justify-self: center;
  }

  .hero-title {
    font-size: clamp(28px, 5vw, 54px);
  }

  .hero-candle-logo {
    width: clamp(52px, 6vw, 82px);
    height: clamp(52px, 6vw, 82px);
  }

  .clean-status {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .clean-status {
    grid-template-columns: 1fr;
  }

  .account-metrics {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(24px, 4.6vw, 42px);
  }

  .hero-candle-logo {
    width: clamp(46px, 5vw, 72px);
    height: clamp(46px, 5vw, 72px);
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 20px, 1080px);
    padding: 20px 0;
  }

  .card {
    border-radius: 22px;
    padding: 22px;
  }

  .hero-title-row {
    gap: 8px;
  }

  .hero-title {
    font-size: clamp(21px, 5.6vw, 34px);
    letter-spacing: -0.04em;
  }

  .hero-candle-logo {
    width: clamp(42px, 5.7vw, 62px);
    height: clamp(42px, 5.7vw, 62px);
  }

  .hero-subtitle {
    font-size: 15px;
    line-height: 1.5;
  }
}

@media (max-width: 390px) {
  .hero-title {
    font-size: clamp(18px, 5.2vw, 28px);
  }

  .hero-candle-logo {
    width: 38px;
    height: 38px;
  }
}

.hint {
  display: block;
  margin-top: -2px;
  color: #93a4bd;
  font-size: 0.82rem;
  line-height: 1.35;
}
EOFcat >> web/style.css <<'EOF'

.hint {
  display: block;
  margin-top: -2px;
  color: #93a4bd;
  font-size: 0.82rem;
  line-height: 1.35;
}
EOFcat >> web/style.css <<'EOF'

.hint {
  display: block;
  margin-top: -2px;
  color: #93a4bd;
  font-size: 0.82rem;
  line-height: 1.35;
}
