:root {
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --paper: #ffffff;
  --mist: #f1f5f9;
  --steel: #1e293b;
  --accent: #0ea5e9;
  --accent-deep: #0284c7;
  --ok: #059669;
  --ok-bg: #ecfdf5;
  --bad: #dc2626;
  --bad-bg: #fef2f2;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #0b1220 0%, #111827 42%, #0f172a 100%);
}

.shell {
  width: min(1100px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 1.25rem 0 2rem;
}

.nav {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.logo {
  font-family: "Syne", sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  text-decoration: none;
  text-transform: lowercase;
}

.nav__tag {
  margin: 0;
  font-size: 0.82rem;
  color: #94a3b8;
}

.layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.intro {
  padding: 1.4rem 1.25rem;
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.22), transparent 42%),
    linear-gradient(160deg, #172033, #0f172a 70%);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #e2e8f0;
}

.eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7dd3fc;
}

.intro h1 {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #fff;
}

.intro__text {
  margin: 0.85rem 0 0;
  max-width: 34rem;
  color: #cbd5e1;
  line-height: 1.55;
}

.intro__points {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.intro__points li {
  position: relative;
  padding-left: 1.1rem;
  color: #e2e8f0;
  font-size: 0.92rem;
}

.intro__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--accent);
}

.panel {
  padding: 1.35rem 1.2rem 1.45rem;
  border-radius: 1.25rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.panel h2 {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.panel__lead {
  margin: 0.35rem 0 1.1rem;
  color: var(--muted);
  line-height: 1.45;
}

.field {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 0.8rem;
}

.field span {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field input {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--mist);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input:focus {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}

.btn {
  width: 100%;
  min-height: 2.95rem;
  margin-top: 0.35rem;
  border: 0;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.28);
}

.btn:hover {
  filter: brightness(1.05);
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.1rem;
  color: #64748b;
  font-size: 0.8rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 0.75rem;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  max-height: min(88dvh, 640px);
  overflow: auto;
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.16), transparent 45%),
    linear-gradient(165deg, #172033, #0f172a 72%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 1.2rem;
  box-shadow: 0 30px 70px rgba(2, 6, 23, 0.55);
  color: #e2e8f0;
  animation: rise 0.22s ease;
}

.modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.15rem;
  height: 2.15rem;
  border: 0;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
  color: #e2e8f0;
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.modal__close:hover {
  background: rgba(148, 163, 184, 0.28);
}

.modal__body {
  padding: 1.3rem 1.2rem 1.4rem;
  padding-right: 2.9rem;
}

.modal__brand {
  margin: 0 0 0.75rem;
  font-family: "Syne", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  text-transform: lowercase;
}

.modal__title {
  margin: 0 0 0.75rem;
  font-family: "Syne", sans-serif;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: #fff;
}

.status {
  margin: 0 0 0.95rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

.status--ok {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.28);
}

.status--bad {
  background: rgba(220, 38, 38, 0.14);
  color: #fca5a5;
  border: 1px solid rgba(248, 113, 113, 0.35);
}

.modal__note {
  margin: 0;
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.5;
}

.specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.specs li {
  display: grid;
  grid-template-columns: 7.4rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: start;
  padding: 0.55rem 0.65rem;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.specs span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7dd3fc;
  padding-top: 0.15rem;
}

.specs strong {
  font-size: 0.95rem;
  color: #f8fafc;
  line-height: 1.35;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 900px) {
  .shell {
    padding: 2rem 0 2.5rem;
  }

  .layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.15rem;
    align-items: stretch;
  }

  .intro,
  .panel {
    min-height: 520px;
  }

  .intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 1.75rem;
  }

  .panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 1.75rem;
  }
}

@media (max-width: 520px) {
  .shell {
    width: min(100% - 1rem, 1100px);
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .foot {
    flex-direction: column;
  }

  .specs li {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}
