:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: #090d13;
  color: #f5f7fa;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, #182944 0, transparent 32rem),
    #090d13;
}

a {
  color: #8ec5ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.topbar {
  min-height: 72px;
  padding: 16px 28px;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 12, 18, 0.94);
  border-bottom: 1px solid #273449;
  position: sticky;
  top: 0;
  z-index: 10;
}

.topbar strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
}

.topbar span {
  color: #93a4ba;
  font-size: 0.85rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.page {
  width: min(1400px, calc(100% - 32px));
  margin: 32px auto;
}

.card {
  padding: 24px;
  margin-bottom: 22px;
  background: rgba(18, 25, 36, 0.96);
  border: 1px solid #29394f;
  border-radius: 12px;
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.22);
}

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.stat {
  font-size: 2rem;
  font-weight: 800;
  margin-top: 8px;
}

label {
  display: block;
  margin: 0 0 16px;
  color: #cdd7e5;
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  margin-top: 7px;
  padding: 12px 13px;
  color: #fff;
  background: #0d141e;
  border: 1px solid #3a4d67;
  border-radius: 7px;
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

button,
.button {
  display: inline-block;
  border: 0;
  border-radius: 7px;
  padding: 11px 17px;
  background: #2375d8;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

button:hover,
.button:hover {
  background: #3689ed;
  text-decoration: none;
}

.button.secondary,
button.secondary {
  background: #33445c;
}

.button.danger,
button.danger {
  background: #b83232;
}

.inline-form {
  display: inline;
  margin: 0;
}

.link-button {
  padding: 0;
  background: none;
  color: #8ec5ff;
  font-weight: 400;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 12px;
  border-bottom: 1px solid #2b394c;
  text-align: left;
  vertical-align: top;
}

th {
  color: #aab9cc;
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.notice {
  margin-bottom: 20px;
  padding: 14px 17px;
  border-radius: 7px;
  background: #16365b;
  border: 1px solid #2a65a2;
}

.video {
  width: 100%;
  max-width: 900px;
  background: #000;
  border-radius: 8px;
}

.badge {
  display: inline-block;
  padding: 5px 8px;
  background: #283b53;
  border-radius: 999px;
  font-size: 0.77rem;
  text-transform: uppercase;
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.login {
  width: min(480px, 100%);
  margin: 8vh auto;
}

.help {
  color: #96a7bb;
  font-size: 0.89rem;
}

.price {
  font-size: 1.75rem;
  font-weight: 800;
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  table {
    display: block;
    overflow-x: auto;
  }
}
