:root {
  --ink: #1c1f24;
  --muted: #657080;
  --paper: #f8faf7;
  --panel: #ffffff;
  --line: #dce3dc;
  --green: #3a8f43;
  --green-dark: #246b30;
  --gold: #f1b531;
  --red: #d95d39;
  --blue: #3f7fbf;
  --shadow: 0 18px 45px rgba(28, 31, 36, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(248, 250, 247, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 7px solid #e17896;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--paper) 0 22%, transparent 23%),
    conic-gradient(from 20deg, #f8c6d6, #e17896, #f4a84d, #f8c6d6);
  box-shadow: inset 0 0 0 3px #b85e32;
}

.nav-links {
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a,
.nav-button {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.nav-button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.admin-link {
  color: var(--green-dark);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(56px, 9vw, 104px) clamp(18px, 5vw, 72px) 44px;
  overflow: hidden;
  background: linear-gradient(180deg, #d9eefb 0%, #edf7f0 72%, #d4e9c8 100%);
}

.hero-copy {
  max-width: 720px;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 7.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.hero-text {
  max-width: 610px;
  margin: 24px 0 0;
  color: #36404a;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
}

.hero-actions,
.app-header {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 32px;
}

.primary-action,
.secondary-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.primary-action {
  border: 2px solid var(--green-dark);
  color: #fff;
  background: var(--green);
  box-shadow: 0 5px 0 var(--green-dark);
}

.secondary-action {
  border: 2px solid var(--ink);
  color: var(--ink);
  background: #fff;
}

.hero-art {
  position: relative;
  min-height: 540px;
}

.sun {
  position: absolute;
  width: 98px;
  height: 98px;
  top: 34px;
  right: 8%;
  background: var(--gold);
  box-shadow: 0 0 0 14px rgba(241, 181, 49, 0.18);
}

.floating-block {
  position: absolute;
  width: 86px;
  height: 86px;
  background:
    linear-gradient(#62ad4f 0 28%, #7b4f31 28% 100%);
  border: 5px solid rgba(28, 31, 36, 0.18);
  image-rendering: pixelated;
}

.block-a {
  top: 118px;
  left: 4%;
}

.block-b {
  top: 286px;
  right: 2%;
  transform: scale(0.78);
}

.block-c {
  bottom: 120px;
  left: 20%;
  transform: scale(0.58);
}

.donut-shield {
  position: absolute;
  inset: 150px 16% auto auto;
  width: min(62vw, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, transparent 0 25%, #f8e6c8 26% 38%, transparent 39%),
    conic-gradient(#e17896 0 16%, #f2b14c 16% 32%, #e17896 32% 50%, #9fd36b 50% 68%, #e17896 68% 84%, #69aee4 84% 100%);
  border: 18px solid #8a4e2b;
  box-shadow: var(--shadow);
}

.donut-shield::after {
  content: "";
  position: absolute;
  inset: 18%;
  clip-path: polygon(50% 0, 86% 15%, 78% 73%, 50% 100%, 22% 73%, 14% 15%);
  background: linear-gradient(135deg, #dcebf5, #81b9dc);
  border: 8px solid rgba(28, 31, 36, 0.2);
}

.terrain {
  position: absolute;
  left: -10vw;
  right: -10vw;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 118px;
}

.terrain span {
  background:
    linear-gradient(#55a347 0 28%, #815432 28%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.16) 0 12px, transparent 12px 24px);
  border-top: 5px solid #3f8438;
}

.terrain span:nth-child(even) {
  transform: translateY(22px);
}

.section,
.app-shell {
  padding: 80px clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.coverage-grid,
.plans-grid,
.stats-grid,
.dashboard-grid,
.admin-grid {
  display: grid;
  gap: 18px;
}

.coverage-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plans-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.coverage-item,
.plan-card,
.stat,
.tool-panel,
.modal-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.coverage-item {
  padding: 24px;
}

.plan-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 24px;
}

.plan-card.featured {
  border-color: var(--green);
  box-shadow: 0 18px 45px rgba(58, 143, 67, 0.18);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--green-dark);
  font-size: 2.2rem;
  font-weight: 800;
}

.plan-price span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.plan-specs,
.plan-dashboard-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-specs li,
.plan-dashboard-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
  color: var(--muted);
}

.plan-specs strong,
.plan-dashboard-list strong {
  color: var(--ink);
}

.coverage-preview {
  margin: -4px 0 0;
  border: 1px solid #cfe0cf;
  border-radius: 7px;
  padding: 10px 12px;
  color: var(--green-dark);
  background: #f4fbf2;
  font-weight: 800;
}

.coverage-item p,
.muted,
.list p,
details p {
  color: var(--muted);
  line-height: 1.55;
}

.item-icon {
  width: 44px;
  height: 44px;
  display: inline-block;
  margin-bottom: 18px;
}

.diamond {
  clip-path: polygon(50% 0, 100% 38%, 50% 100%, 0 38%);
  background: linear-gradient(135deg, #8ce6ef, #3275b5);
}

.coin {
  border-radius: 50%;
  background: radial-gradient(circle, #ffe081 0 35%, #d59621 36% 100%);
}

.chat {
  border-radius: 8px;
  background: var(--blue);
  clip-path: polygon(0 0, 100% 0, 100% 74%, 66% 74%, 48% 100%, 48% 74%, 0 74%);
}

.stats-section {
  background: #20362a;
  color: #fff;
}

.stats-section .eyebrow,
.stats-section .section-heading p {
  color: #bde4ab;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat {
  padding: 26px;
  color: var(--ink);
}

.stat span {
  display: block;
  color: var(--green-dark);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
}

.stat p {
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  background: #fff;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(28, 31, 36, 0.5);
}

.modal.is-open {
  display: grid;
}

.modal-panel {
  position: relative;
  width: min(100%, 460px);
  padding: 26px;
}

.close-button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
}

.stacked-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: #3a4350;
  font-size: 0.92rem;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #c9d3ca;
  border-radius: 7px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
}

textarea {
  resize: vertical;
}

.app-shell {
  display: none;
  border-top: 1px solid var(--line);
  background: #eef5ec;
}

.app-shell.is-open {
  display: block;
}

.app-header {
  justify-content: space-between;
  margin-bottom: 22px;
}

.dashboard-grid {
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 0.9fr) minmax(0, 1.25fr);
}

.admin-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr) minmax(260px, 0.8fr);
}

.tool-panel {
  padding: 20px;
}

.list {
  display: grid;
  gap: 12px;
}

.list + h3 {
  margin-top: 28px;
}

.list-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfdfb;
}

.list-card strong {
  display: block;
  margin-bottom: 4px;
}

.meta {
  color: var(--muted);
  font-size: 0.84rem;
}

.status {
  display: inline-flex;
  margin-top: 8px;
  border-radius: 999px;
  padding: 4px 9px;
  color: #fff;
  background: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
}

.status.approved {
  background: var(--green);
}

.status.denied {
  background: var(--red);
}

.claim-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.small-button {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px 10px;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  max-width: min(360px, calc(100vw - 36px));
  display: none;
  border-radius: 8px;
  padding: 14px 16px;
  color: #fff;
  background: var(--ink);
  box-shadow: var(--shadow);
  font-weight: 700;
}

.toast.is-open {
  display: block;
}

@media (max-width: 920px) {
  .hero,
  .coverage-grid,
  .plans-grid,
  .stats-grid,
  .dashboard-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-art {
    order: -1;
    min-height: 360px;
  }

  .donut-shield {
    width: min(72vw, 300px);
    inset: 86px 8% auto auto;
  }

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

@media (max-width: 540px) {
  .nav-links {
    gap: 12px;
  }

  h1 {
    font-size: 3.1rem;
  }

  .section,
  .app-shell {
    padding-block: 58px;
  }
}
