:root {
  --bg-1: #fff7c8;
  --bg-2: #c8f5d6;
  --bg-3: #84f0ff;

  --text-dark: #25476e;
  --text-mid: #4f6f93;
  --text-soft: #6a84a5;

  --shadow-soft: 0 14px 40px rgba(37, 71, 110, 0.14);
  --shadow-strong: 0 18px 46px rgba(37, 71, 110, 0.22);

  --panel: rgba(255,255,255,0.38);
  --tile: rgba(255,255,255,0.5);
  --tile-hover: rgba(255,255,255,0.68);
  --input-bg: rgba(255,255,255,0.82);
  --border-soft: rgba(37, 71, 110, 0.12);

  --accent: #1b6ccb;
  --accent-dark: #15539a;
  --success: #2ecc71;
  --warning: #ffc107;
  --danger: #dc3545;
  --overlay: rgba(24, 43, 71, 0.42);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: "Fredoka", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.45), transparent 35%),
    radial-gradient(circle at bottom right, rgba(255,255,255,0.25), transparent 30%),
    linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 48%, var(--bg-3) 100%);
  background-attachment: fixed;
  color: var(--text-dark);
  min-height: 100vh;
  padding: 16px;
}

.page-shell {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.topbar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 16px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-link img {
  width: 120px;
  height: auto;
  display: block;
}

.hero-panel,
.section-panel {
  background: var(--panel);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(4px);
  margin-bottom: 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(27,108,203,0.12);
  color: var(--accent-dark);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 12px;
}

h1 {
  font-size: clamp(2.3rem, 4.8vw, 4.1rem);
  line-height: 0.95;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.hero-copy {
  max-width: 720px;
  font-size: 1.06rem;
  line-height: 1.4;
  color: var(--text-mid);
}

.section-title {
  font-size: 1.45rem;
  line-height: 1.05;
  font-weight: 700;
  margin-bottom: 8px;
}

.section-copy {
  font-size: 0.96rem;
  line-height: 1.35;
  color: var(--text-mid);
  margin-bottom: 14px;
}

.card,
.tile-card {
  background: var(--tile);
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(37, 71, 110, 0.10);
}

.tile-card {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.tile-card:hover,
.tile-card:focus-visible {
  transform: translateY(-3px);
  background: var(--tile-hover);
  box-shadow: 0 16px 30px rgba(37, 71, 110, 0.16);
  outline: none;
}

button,
.button-link {
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 16px;
  background: var(--accent);
  color: white;
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 8px 18px rgba(37, 71, 110, 0.18);
  transition: transform 0.18s ease, background 0.18s ease, opacity 0.18s ease;
  display: inline-block;
}

button:hover,
.button-link:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

input[type="text"],
input[type="email"],
input[type="search"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 16px;
  border: none;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--input-bg);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
  -webkit-appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
  outline: none;
  box-shadow:
    inset 0 1px 3px rgba(0,0,0,0.05),
    0 0 0 3px rgba(27,108,203,0.14);
}

.status {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  font-weight: 700;
  display: none;
  box-shadow: 0 8px 18px rgba(37, 71, 110, 0.08);
}

.status.show {
  display: block;
}

.status.success {
  background: rgba(46, 204, 113, 0.16);
  color: #17653a;
}

.status.error {
  background: rgba(255, 107, 107, 0.16);
  color: #8f2b2b;
}

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

.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.grid-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

table {
  border-collapse: collapse;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255,255,255,0.7);
}

th,
td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid rgba(37,71,110,0.08);
  vertical-align: middle;
}

th {
  background-color: rgba(255,255,255,0.82);
  color: var(--text-dark);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 1000;
}

.modal-overlay.hidden {
  display: none;
}

.modal-card {
  width: 100%;
  max-width: 420px;
  background: rgba(255,255,255,0.96);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow-strong);
  text-align: center;
}

.modal-card h2 {
  margin-bottom: 10px;
  font-size: 1.6rem;
}

.modal-card p {
  color: var(--text-mid);
  line-height: 1.4;
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  .grid-two,
  .grid-three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body {
    padding: 12px;
  }

  .hero-panel,
  .section-panel {
    padding: 18px;
  }

  .actions-row {
    flex-direction: column;
    align-items: stretch;
  }

  button,
  .button-link {
    width: 100%;
  }
}