:root {
  --ink: #13201c;
  --muted: #4a5c55;
  --paper: #e8f0eb;
  --paper-2: #d5e4db;
  --accent: #0f7a5a;
  --accent-deep: #0a5240;
  --line: rgba(19, 32, 28, 0.14);
  --warn: #8a5a12;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 10% -10%, #c8e6d8 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #f2e6c9 0%, transparent 45%),
    linear-gradient(180deg, #f4faf6 0%, var(--paper) 40%, #f7f3ea 100%);
  min-height: 100vh;
}

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(
      rgba(19, 32, 28, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(19, 32, 28, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  z-index: 0;
}

.site-top,
.hero,
.catalogue,
.site-foot {
  position: relative;
  z-index: 1;
}

.site-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-top nav {
  display: flex;
  gap: 1.25rem;
}

.site-top a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-top a:hover {
  color: var(--accent-deep);
}

.hero {
  padding: clamp(2rem, 8vh, 5rem) clamp(1.25rem, 4vw, 3rem) clamp(2.5rem, 6vh, 4rem);
  max-width: 920px;
}

.brand-hero {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--accent-deep);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.15rem);
  font-weight: 600;
  line-height: 1.2;
  max-width: 18ch;
}

.lede {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 42ch;
  line-height: 1.5;
}

.cta-row {
  margin-top: 1.5rem;
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: #f5fff9;
  text-decoration: none;
  font-weight: 700;
  padding: 0.85rem 1.35rem;
  border-radius: 4px;
  transition: background 160ms ease, transform 160ms ease;
}

.cta:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}

.catalogue {
  padding: 0 clamp(1.25rem, 4vw, 3rem) 4rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.8rem;
}

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

.filters {
  margin: 1.5rem 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: end;
}

.filters label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.filters input,
.filters select,
.filters button {
  font: inherit;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.filters button {
  background: var(--ink);
  color: #f5fff9;
  font-weight: 700;
  cursor: pointer;
  border-color: var(--ink);
}

.plan-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.plan-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 110px 100px 90px 120px;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 0.15rem;
  border-bottom: 1px solid var(--line);
  animation: rise 420ms ease both;
}

.plan-row:nth-child(odd) {
  background: rgba(255, 255, 255, 0.28);
}

.plan-name {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.plan-provider {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.plan-price small {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.plan-data,
.plan-net,
.plan-link {
  font-size: 0.95rem;
}

.plan-link a {
  color: var(--accent-deep);
  font-weight: 700;
  text-decoration: none;
}

.plan-link a:hover {
  text-decoration: underline;
}

.empty {
  padding: 2rem 0;
  color: var(--muted);
}

.site-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.site-foot a {
  color: var(--accent-deep);
  font-weight: 700;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

  .plan-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem 1rem;
  }

  .plan-name {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .plan-row,
  .cta {
    animation: none;
    transition: none;
  }
}
