:root {
  --blue: #0787ff;
  --navy: #07175f;
  --ink: #151936;
  --muted: #6e7394;
  --line: #e3e8f6;
  --bg: #f4f9ff;
  --card: rgba(255, 255, 255, .9);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at top right, #dff3ff, transparent 34%), linear-gradient(180deg, #fff, var(--bg));
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: var(--blue);
  text-decoration: none;
}

.page {
  min-height: 100vh;
  padding: 34px clamp(18px, 4vw, 58px);
}

.shell {
  max-width: 1120px;
  margin: 0 auto;
}

.topbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 46px;
}

.brand {
  align-items: center;
  color: var(--navy);
  display: flex;
  font-size: 24px;
  font-weight: 900;
  gap: 10px;
}

.brand-mark {
  color: var(--blue);
  font-size: 34px;
  letter-spacing: -8px;
  line-height: 1;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 800;
}

.hero {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
}

.hero h1,
.legal h1,
.admin h1 {
  color: var(--navy);
  font-size: clamp(42px, 7vw, 82px);
  letter-spacing: 0;
  line-height: .94;
  margin: 0 0 22px;
}

.hero p,
.legal p,
.legal li {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.panel,
.card,
.form-card,
.table-card {
  background: var(--card);
  border: 1px solid rgba(190, 207, 232, .72);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(18, 58, 122, .12);
}

.panel {
  padding: 30px;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.feature {
  align-items: center;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-radius: 22px;
  display: flex;
  gap: 14px;
  padding: 15px 17px;
}

.feature-icon {
  align-items: center;
  background: #edf7ff;
  border-radius: 18px;
  color: var(--blue);
  display: grid;
  font-size: 24px;
  height: 52px;
  place-items: center;
  width: 52px;
}

.button,
button {
  background: var(--blue);
  border: 0;
  border-radius: 999px;
  color: white;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 900;
  justify-content: center;
  padding: 15px 24px;
}

.button.secondary {
  background: white;
  border: 1px solid var(--line);
  color: var(--navy);
}

.legal,
.admin {
  max-width: 920px;
}

.legal h2,
.admin h2 {
  color: var(--navy);
  margin-top: 34px;
}

.form-card,
.table-card {
  margin-top: 22px;
  padding: 24px;
}

label {
  color: var(--navy);
  display: block;
  font-weight: 800;
  margin: 12px 0 6px;
}

input,
textarea,
select {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
  width: 100%;
}

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

td,
th {
  border-bottom: 1px solid var(--line);
  padding: 13px 10px;
  text-align: left;
}

th {
  color: var(--navy);
  font-size: 14px;
}

.notice {
  background: #eaf7ff;
  border: 1px solid #c6e8ff;
  border-radius: 16px;
  color: var(--navy);
  margin: 14px 0;
  padding: 14px 16px;
}

.error {
  background: #fff1f1;
  border-color: #ffd2d2;
  color: #8c1f1f;
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }
}
