/* Plant Pay — marketing site */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1B2A4A;
  --navy-mid: #243659;
  --navy-soft: #2d4575;
  --gold: #C9A227;
  --gold-bright: #E4BC3A;
  --gold-soft: #F0D080;
  --cream: #F8F7F3;
  --paper: #F4F2EC;
  --white: #ffffff;
  --ink: #1A1A18;
  --muted: #5F5E5A;
  --line: #D8D6CE;
  --success: #157a45;
  --shadow: 0 24px 48px rgba(27, 42, 74, 0.12);
  --shadow-sm: 0 8px 24px rgba(27, 42, 74, 0.08);
  --radius: 16px;
  --radius-lg: 24px;
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --max: 1120px;
  --header-h: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 12px 20px;
  font-weight: 700;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 247, 243, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.site-logo__mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--gold-soft);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}

.site-nav a:hover {
  background: rgba(27, 42, 74, 0.06);
}

.site-nav a[aria-current="page"] {
  background: rgba(201, 162, 39, 0.2);
  color: var(--navy);
}

.site-nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.site-nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
}

.site-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-lang-select {
  font: inherit;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--text);
  max-width: 8.5rem;
}

@media (max-width: 960px) {
  .site-nav__toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 4px;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { width: 100%; border-radius: 12px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
}

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

.btn--primary {
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 100%);
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.35);
}
.btn--primary:hover {
  box-shadow: 0 6px 22px rgba(201, 162, 39, 0.45);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(27, 42, 74, 0.2);
}
.btn--ghost:hover {
  background: rgba(27, 42, 74, 0.05);
}

.btn--dark {
  background: var(--navy);
  color: var(--white);
}
.btn--dark:hover {
  background: var(--navy-mid);
}

/* Layout */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section--tight { padding: clamp(3rem, 5vw, 4rem) 0; }

.section--cream { background: var(--cream); }
.section--navy {
  background: linear-gradient(165deg, var(--navy) 0%, #121d33 100%);
  color: #e8ecf5;
}
.section--navy .section-kicker { color: var(--gold-soft); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy .muted { color: rgba(232, 236, 245, 0.75); }

.section-kicker {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.35rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }

.lead {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 52ch;
}

.muted { color: var(--muted); }
small { font-size: 0.875rem; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem);
  background:
    radial-gradient(ellipse 80% 60% at 70% -10%, rgba(201, 162, 39, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 50%, rgba(27, 42, 74, 0.06) 0%, transparent 50%),
    var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27, 42, 74, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 42, 74, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

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

.hero__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.hero__card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.hero__stat {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}
.hero__stat:last-child { border-bottom: none; }
.hero__stat strong { color: var(--navy); }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Cards & grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(201, 162, 39, 0.2) 0%, rgba(27, 42, 74, 0.08) 100%);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 16px;
}

/* Problem / success columns */
.split-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}
@media (max-width: 768px) {
  .split-story { grid-template-columns: 1fr; }
}

.story-box {
  border-radius: var(--radius);
  padding: 28px;
}
.story-box--fail {
  background: rgba(180, 60, 60, 0.06);
  border: 1px solid rgba(180, 60, 60, 0.15);
}
.story-box--win {
  background: rgba(21, 122, 69, 0.08);
  border: 1px solid rgba(21, 122, 69, 0.2);
}

.story-box h3 { font-size: 1.2rem; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
}

.step {
  position: relative;
  padding: 24px;
  padding-top: 48px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.step__num {
  position: absolute;
  top: 16px;
  left: 24px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.8rem;
  display: grid;
  place-items: center;
}

/* Case study */
.case {
  border-left: 4px solid var(--gold);
  padding-left: 24px;
  margin-bottom: 40px;
}
.case:last-child { margin-bottom: 0; }
.case__label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

/* Pricing */
.price-card {
  text-align: center;
  padding: 36px 28px;
  position: relative;
}
.price-card--featured {
  border: 2px solid var(--gold);
  box-shadow: var(--shadow);
}
.price-card__amount {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 600;
  color: var(--navy);
}
.price-card__cycle { font-size: 1rem; color: var(--muted); }

.list-check {
  list-style: none;
  text-align: left;
  margin-top: 24px;
}
.list-check li {
  padding: 8px 0 8px 32px;
  position: relative;
  font-size: 0.95rem;
}
.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 800;
}

/* Forms */
.form {
  max-width: 520px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: 8px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.25);
}

.form-note {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 16px;
}

.alert-success {
  display: none;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(21, 122, 69, 0.12);
  border: 1px solid rgba(21, 122, 69, 0.3);
  color: var(--navy);
  margin-top: 24px;
}
.alert-success.is-visible { display: block; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #c5cde0;
  padding: 56px 0 32px;
  margin-top: 0;
}

.site-footer a {
  color: var(--gold-soft);
  text-decoration: none;
}
.site-footer a:hover { text-decoration: underline; }

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}
@media (max-width: 860px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

.site-footer__brand {
  font-weight: 800;
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 12px;
}

.site-footer__col h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-soft);
  margin-bottom: 16px;
}

.site-footer__col ul { list-style: none; }
.site-footer__col li { margin-bottom: 10px; }

.site-footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}

/* Utilities */
.text-center { text-align: center; }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 40px; }
.mb-lg { margin-bottom: 40px; }
.max-65ch { max-width: 65ch; }
.mx-auto { margin-left: auto; margin-right: auto; }

.cta-band {
  text-align: center;
  padding: clamp(3rem, 6vw, 4.5rem) 24px;
}
.cta-band p {
  max-width: 42ch;
  margin: 16px auto 28px;
  opacity: 0.9;
}

/* Page hero (inner pages) */
.page-hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 12px; }
