:root {
  --ink: #10241f;
  --ink-soft: #3a4f48;
  --muted: #6b7c74;
  --paper: #f3f6f2;
  --paper-2: #e7eee8;
  --surface: #ffffff;
  --teal: #0f5c52;
  --teal-deep: #0a3d37;
  --lime: #c8e86a;
  --lime-hot: #d9f28a;
  --line: rgba(16, 36, 31, 0.12);
  --shadow: 0 18px 50px rgba(16, 36, 31, 0.08);
  --font-display: "Syne", "Arial Narrow", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --radius: 18px;
  --max: 1120px;
  --header-h: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(200, 232, 106, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(15, 92, 82, 0.12), transparent 50%),
    linear-gradient(180deg, #f7faf6 0%, var(--paper) 40%, #eef3ee 100%);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: white;
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(243, 246, 242, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(243, 246, 242, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand span {
  color: var(--teal);
}

.nav {
  display: none;
  align-items: center;
  gap: 1.4rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  border-radius: 12px;
  padding: 0.9rem 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--teal);
  color: #f7fff0;
}

.btn-primary:hover {
  background: var(--teal-deep);
  color: #f7fff0;
}

.btn-lime {
  background: var(--lime);
  color: var(--ink);
}

.btn-lime:hover {
  background: var(--lime-hot);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost-light {
  background: transparent;
  color: #f4f8f3;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-full {
  width: 100%;
}

.header-cta {
  display: inline-flex;
  padding: 0.7rem 0.95rem;
  font-size: 0.88rem;
}

.header-cta .cta-short {
  display: inline;
}

.header-cta .cta-full {
  display: none;
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }

  .header-cta {
    padding: 0.9rem 1.25rem;
    font-size: inherit;
  }

  .header-cta .cta-short {
    display: none;
  }

  .header-cta .cta-full {
    display: inline;
  }
}

/* Hero — height accounts for sticky header so copy fits in first viewport */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 28, 24, 0.25) 0%, rgba(8, 28, 24, 0.45) 35%, rgba(8, 28, 24, 0.88) 100%),
    linear-gradient(90deg, rgba(8, 40, 35, 0.72) 0%, rgba(8, 40, 35, 0.28) 48%, rgba(8, 40, 35, 0.08) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 4.5rem 0 2.75rem;
  color: #f7fbf4;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 9vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  margin: 0 0 1rem;
  color: #ffffff;
  animation: riseIn 0.7s ease both;
}

.hero-brand span {
  color: var(--lime);
}

.hero h1 {
  max-width: 14ch;
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: #ffffff;
  animation: riseIn 0.7s ease both 0.08s;
}

.hero-lead {
  max-width: 36ch;
  margin: 0 0 1.75rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(247, 251, 244, 0.92);
  animation: riseIn 0.7s ease both 0.14s;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: riseIn 0.7s ease both 0.2s;
}

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

@keyframes heroDrift {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-tight {
  padding: 3.5rem 0;
}

.section-label {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-intro {
  max-width: 46ch;
  margin: 0 0 2rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Problem */
.problem {
  background: var(--teal-deep);
  color: #eef6ef;
}

.problem .section-label {
  color: var(--lime);
}

.problem .section-intro {
  color: rgba(238, 246, 239, 0.88);
}

.stat span {
  color: rgba(238, 246, 239, 0.82);
  font-size: 0.98rem;
}

/* Situations */
.situations-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 860px) {
  .situations-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.situation {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.situation h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.situation p {
  margin: 0;
  color: var(--ink-soft);
}

/* Steps */
.steps {
  background: linear-gradient(180deg, transparent, rgba(15, 92, 82, 0.05) 20%, transparent 80%);
}

.steps-list {
  display: grid;
  gap: 0;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 0.85rem 1rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
  counter-increment: step;
  align-items: start;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  color: var(--teal);
  line-height: 1.2;
}

.step-body {
  min-width: 0;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.step p {
  margin: 0;
  color: var(--ink-soft);
}

.step-feel {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.step-feel strong {
  color: var(--teal);
  font-weight: 700;
}

@media (min-width: 800px) {
  .step {
    grid-template-columns: 4.5rem minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 1.5rem;
  }

  .step-feel {
    grid-column: auto;
    padding-top: 0.15rem;
  }
}

/* Tariffs */
.tariffs-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .tariffs-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.tariff {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.6rem 0;
  border-top: 2px solid var(--ink);
}

.tariff.featured {
  border-top-color: var(--teal);
}

.tariff-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.tariff-tag {
  margin: 0;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.95rem;
}

.tariff-who {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.tariff ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  flex: 1;
}

.tariff li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.tariff li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 1px;
  background: var(--lime);
}

.tariff-result {
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink);
}

/* Compare */
.compare {
  background: var(--paper-2);
}

.compare-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .compare-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.compare-item h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.compare-item p {
  margin: 0;
  color: var(--ink-soft);
}

/* CTA / Form */
.cta {
  background:
    radial-gradient(700px 320px at 90% 10%, rgba(200, 232, 106, 0.25), transparent 60%),
    linear-gradient(160deg, #12362f 0%, #0a3d37 55%, #0f5c52 100%);
  color: #f3f8f2;
}

.cta .section-label {
  color: var(--lime);
}

.cta-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .cta-layout {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
    gap: 3rem;
  }
}

.cta h2 {
  color: #f3f8f2;
}

.cta .section-intro {
  color: rgba(243, 248, 242, 0.78);
}

.cta-points {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.cta-points li {
  padding-left: 1.1rem;
  position: relative;
  color: rgba(243, 248, 242, 0.86);
}

.cta-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--lime);
}

.lead-form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 1.4rem;
  backdrop-filter: blur(8px);
}

.lead-form h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.lead-form > p {
  margin: 0 0 1.2rem;
  color: rgba(243, 248, 242, 0.75);
  font-size: 0.98rem;
}

.field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.field label {
  font-size: 0.86rem;
  color: rgba(243, 248, 242, 0.75);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 10px;
  padding: 0.85rem 0.95rem;
  outline: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--lime);
}

.field select option {
  color: var(--ink);
}

.form-note {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  color: rgba(243, 248, 242, 0.65);
}

.form-note a {
  color: var(--lime);
}

.form-success {
  display: none;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(200, 232, 106, 0.16);
  border: 1px solid rgba(200, 232, 106, 0.35);
  color: var(--lime-hot);
  margin-bottom: 1rem;
}

.form-success.is-visible {
  display: block;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.5rem;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--teal);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0 0 1.2rem;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--line);
  background: #ebf0ea;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.footer-brand span {
  color: var(--teal);
}

.footer-grid h4 {
  margin: 0 0 0.7rem;
  color: var(--ink);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.footer-grid a {
  text-decoration: none;
}

.footer-grid a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* Legal pages */
.legal-page {
  padding: 3rem 0 4rem;
}

.legal-page h1 {
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 2rem 0 0.6rem;
}

.legal-page p,
.legal-page li {
  color: var(--ink-soft);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
