:root {
  --bg: #f4f7fb;
  --bg-2: #e9f0fa;
  --panel: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: #dbe3ef;
  --brand: #0f766e;
  --brand-2: #155e75;
  --brand-soft: #dff7f3;
  --danger: #b91c1c;
  --ok: #047857;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, #d2e7ff 0%, transparent 35%),
    radial-gradient(circle at 90% 12%, #d8f5ee 0%, transparent 32%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 32%, var(--bg) 100%);
}

.container {
  max-width: 1040px;
  margin: 28px auto 36px;
  padding: 18px;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.top-nav a {
  text-decoration: none;
  color: #0b4f7a;
  border: 1px solid #bcd4ee;
  background: #f2f8ff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
}

.top-nav a:hover {
  background: #e8f3ff;
}

.hero {
  margin-bottom: 14px;
}

.eyebrow {
  margin: 0;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--brand-2);
  font-size: 12px;
  font-weight: 700;
}

h1 {
  margin: 8px 0 10px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.1;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  max-width: 700px;
}

.spot-banner {
  margin-top: 14px;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  border: 1px solid #bcd4ee;
  border-radius: 12px;
  background: #f2f8ff;
  padding: 8px 12px;
}

.spot-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #335173;
  font-weight: 700;
}

.spot-value {
  font-size: 24px;
  font-weight: 800;
  color: #0b4f7a;
}

.panel {
  margin-top: 16px;
  padding: 18px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  height: 26px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-2);
  font-size: 12px;
  font-weight: 700;
}

h2 {
  margin: 0;
  font-size: 18px;
}

.row {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

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

.action-row {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

.primary-action {
  min-width: 360px;
  max-width: 100%;
  padding: 14px 22px;
  font-size: 18px;
  border-radius: 18px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

input,
select,
button {
  border-radius: 10px;
  border: 1px solid #c2d2e8;
  background: #fbfdff;
  color: var(--text);
  padding: 11px 12px;
  font-size: 14px;
}

input:focus,
select:focus,
button:focus {
  outline: 2px solid #8dd4cd;
  outline-offset: 1px;
}

button {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(21, 94, 117, 0.28);
}

.hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.status {
  margin: 10px 0 0;
  min-height: 20px;
  font-size: 13px;
  color: var(--muted);
}

.inline-check {
  flex-direction: row;
  align-items: center;
  gap: 9px;
  margin-top: 25px;
}

.inline-check input {
  width: 17px;
  height: 17px;
}

.metric {
  font-size: clamp(34px, 5vw, 46px);
  font-weight: 800;
  color: var(--brand-2);
  line-height: 1;
}

.result-subtext {
  margin-top: 4px;
  color: var(--muted);
}

.details {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}

.detail-pill {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  background: #f8fbff;
  color: #1e293b;
  font-size: 13px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
  background: #fff;
  border-radius: 10px;
}

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

th {
  color: #334155;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: #f5f9ff;
}

tr:hover td {
  background: #fbfeff;
}

.ok {
  color: var(--ok);
  font-weight: 700;
}

.intro-copy p {
  margin: 6px 0;
  line-height: 1.5;
}

.site-footer {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer a {
  color: #0b4f7a;
}

.static-page {
  max-width: 860px;
}

.static-page h1 {
  margin-top: 8px;
}

.static-page h2 {
  margin-top: 16px;
  margin-bottom: 6px;
}

.static-page p,
.static-page li {
  line-height: 1.55;
  color: #1f2937;
}

.static-page ul {
  padding-left: 20px;
}

@media (max-width: 780px) {
  .container {
    padding: 12px;
    margin-top: 12px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .row {
    flex-direction: column;
  }

  .action-row {
    margin-top: 18px;
  }

  .primary-action {
    width: 100%;
    min-width: 0;
  }

  .inline-check {
    margin-top: 0;
  }
}
