:root {
  --bg: #f5f1e8;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --ink: #0d2230;
  --muted: #5d6d79;
  --accent: #0f8b8d;
  --accent-strong: #045e6a;
  --accent-warm: #f1a44b;
  --border: rgba(13, 34, 48, 0.12);
  --shadow: 0 18px 40px rgba(13, 34, 48, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(15, 139, 141, 0.18), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(241, 164, 75, 0.2), transparent 28%),
    linear-gradient(180deg, #f8f3ea 0%, #eef4f2 55%, #f5f1e8 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 34, 48, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 34, 48, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100vw - 2rem));
  margin: 0 auto;
}

.site-shell {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(245, 241, 232, 0.78);
  border-bottom: 1px solid rgba(13, 34, 48, 0.06);
}

.site-shell__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}

.wordmark__mark {
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.wordmark__tag {
  color: var(--muted);
  font-size: 0.88rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a.is-active,
.site-nav a:hover {
  background: rgba(15, 139, 141, 0.1);
  color: var(--accent-strong);
}

.site-nav__compare {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: white !important;
  box-shadow: var(--shadow);
}

.page {
  padding: 2.5rem 0 4rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  margin-bottom: 2rem;
}

.hero__panel,
.card,
.panel,
.callout,
.table-wrap,
.notice {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero__panel {
  padding: 2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 139, 141, 0.1);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.card h3,
.article h1,
.article h2 {
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
}

.hero h1,
.article h1 {
  margin: 0.9rem 0;
  font-size: clamp(2.5rem, 5vw, 4.35rem);
  line-height: 0.95;
}

.hero p,
.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero__actions,
.card__actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.button,
button,
input,
select,
textarea {
  font: inherit;
}

.button,
button[type="submit"],
button[type="button"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button--primary,
button[type="submit"] {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: white;
  box-shadow: var(--shadow);
}

.button--secondary {
  background: rgba(13, 34, 48, 0.07);
  color: var(--ink);
}

.button:hover,
button:hover {
  transform: translateY(-1px);
}

.stat-grid,
.card-grid,
.metric-grid {
  display: grid;
  gap: 1rem;
}

.stat-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-top: 1.4rem;
}

.stat {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(13, 34, 48, 0.06);
}

.stat strong {
  display: block;
  font-size: 1.8rem;
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  padding: 1.2rem;
}

.card h3 {
  margin: 0.65rem 0 0.55rem;
  font-size: 1.25rem;
}

.card p,
.panel p,
.notice p,
.article p,
.article li {
  color: var(--muted);
  line-height: 1.7;
}

.chip-row,
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(13, 34, 48, 0.07);
  color: var(--ink);
  font-size: 0.86rem;
}

.measure {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}

.measure div {
  padding: 0.7rem 0.8rem;
  background: rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(13, 34, 48, 0.06);
}

.measure dt {
  margin: 0 0 0.25rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.measure dd {
  margin: 0;
  font-weight: 700;
}

.panel,
.callout,
.notice,
.table-wrap {
  padding: 1.2rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin: 2rem 0 1rem;
}

.section-heading h2,
.article h2 {
  margin: 0;
  font-size: 1.7rem;
}

.section-heading p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

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

label {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.82rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(13, 34, 48, 0.12);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}

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

th,
td {
  padding: 0.85rem 0.8rem;
  text-align: left;
  border-bottom: 1px solid rgba(13, 34, 48, 0.08);
  vertical-align: top;
}

th {
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
  font-size: 0.92rem;
}

.footer {
  padding: 2.6rem 0;
  color: var(--muted);
}

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

.footer a {
  color: inherit;
}

.empty-state {
  padding: 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed rgba(13, 34, 48, 0.14);
  color: var(--muted);
}

.article {
  width: min(860px, calc(100vw - 2rem));
  margin: 0 auto;
  padding: 2rem;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.article ul {
  padding-left: 1.2rem;
}

.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.reveal {
  animation: riseIn 0.45s ease both;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 640px) {
  .site-shell__inner,
  .section-heading,
  .pagination {
    flex-direction: column;
    align-items: stretch;
  }

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

  .hero__panel,
  .article,
  .card,
  .panel,
  .callout,
  .table-wrap,
  .notice {
    padding: 1rem;
  }
}
