:root {
  --ink: #112524;
  --muted: #52615e;
  --paper: #f7f8f5;
  --white: #ffffff;
  --teal: #0b6f6b;
  --teal-dark: #073d3b;
  --mint: #d7efe7;
  --amber: #f3b34d;
  --coral: #df6548;
  --line: rgba(17, 37, 36, 0.14);
  --shadow: 0 20px 60px rgba(17, 37, 36, 0.14);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 72px;
  margin: 0;
  padding: 4px max(16px, calc((100vw - var(--max)) / 2));
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(17, 37, 36, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: auto;
  height: 58px;
  max-height: calc(72px - 8px);
  max-width: min(275px, 48vw);
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 6px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--mint);
  outline: none;
}

.site-nav .nav-cta {
  color: var(--white);
  background: var(--teal-dark);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 7px;
  background: var(--teal-dark);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background-image: url("assets/easy-pay-websites-hero.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 28, 28, 0.9) 0%, rgba(4, 28, 28, 0.76) 38%, rgba(4, 28, 28, 0.22) 75%),
    linear-gradient(0deg, rgba(4, 28, 28, 0.55) 0%, rgba(4, 28, 28, 0) 35%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 130px 0 72px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 7vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions,
.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 850;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  color: var(--teal-dark);
  background: var(--amber);
  box-shadow: 0 16px 35px rgba(243, 179, 77, 0.25);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ffc46b;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 12px;
  max-width: 520px;
  margin: 34px 0 0;
}

.hero-proof div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.hero-proof dt {
  font-size: 1.1rem;
  font-weight: 900;
}

.hero-proof dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.trust-strip span {
  display: grid;
  min-height: 76px;
  place-items: center;
  padding: 18px;
  background: var(--white);
  color: var(--teal-dark);
  font-weight: 850;
  text-align: center;
}

.section {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 92px 0;
}

.band {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100vw - var(--max)) / 2));
  padding-right: max(16px, calc((100vw - var(--max)) / 2));
  background: var(--white);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 40px;
}

.section-heading.compact {
  max-width: 840px;
}

.section-heading p:not(.section-kicker),
.intro-copy,
.outcomes p,
.price-copy,
.ownership-box p,
.contact-copy p,
.site-footer p {
  color: var(--muted);
}

.split,
.outcomes,
.contact-section,
.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 48px;
  align-items: start;
}

.intro-copy {
  font-size: 1.1rem;
}

.steps,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.steps article,
.feature-grid article,
.price-card,
.brief-card,
.ownership-box,
.lead-form,
.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.steps article {
  padding: 24px;
  min-height: 250px;
}

.steps span {
  display: inline-flex;
  margin-bottom: 40px;
  color: var(--coral);
  font-weight: 950;
}

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

.feature-grid article {
  padding: 26px;
  box-shadow: 0 12px 40px rgba(17, 37, 36, 0.05);
}

.feature-grid p,
.steps p,
.faq p {
  color: var(--muted);
  margin-bottom: 0;
}

.outcomes {
  align-items: center;
}

.outcome-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.outcome-list li {
  padding: 18px 18px 18px 48px;
  border-left: 4px solid var(--teal);
  background: var(--white);
  box-shadow: 0 10px 32px rgba(17, 37, 36, 0.06);
}

.pricing-layout {
  align-items: stretch;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.price-card,
.ownership-box,
.pricing-note {
  padding: 30px;
}

.price-card {
  display: flex;
  flex-direction: column;
  border-color: rgba(11, 111, 107, 0.34);
  box-shadow: var(--shadow);
}

.featured-price {
  border-width: 2px;
  transform: translateY(-8px);
}

.price-label {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 7px 10px;
  border-radius: 6px;
  color: var(--teal-dark);
  background: var(--mint);
  font-weight: 900;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.package-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
  margin-bottom: 16px;
  color: var(--teal-dark);
  font-size: clamp(1.95rem, 3.2vw, 3.05rem);
  font-weight: 950;
  line-height: 1;
}

.package-price span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: clamp(0.82rem, 1.2vw, 1rem);
  font-weight: 850;
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 28px;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px var(--mint);
}

.price-card .button {
  width: 100%;
  margin-top: auto;
}

.ownership-box {
  background: var(--teal-dark);
  color: var(--white);
}

.ownership-box p {
  color: rgba(255, 255, 255, 0.78);
}

.pricing-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 40px rgba(17, 37, 36, 0.05);
}

.pricing-note p {
  color: var(--muted);
}

.sector-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sector-list span,
.contact-points span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 6px;
  color: var(--teal-dark);
  background: var(--mint);
  font-weight: 850;
}

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

.faq details {
  padding: 0;
}

.faq summary {
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 900;
}

.faq details p {
  padding: 0 24px 24px;
}

.contact-section {
  display: block;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto 64px;
  padding: 72px 0 0;
  color: var(--ink);
}

.contact-copy {
  max-width: 820px;
  margin-bottom: 34px;
}

.contact-copy h2 {
  color: var(--teal-dark);
}

.contact-copy p {
  color: var(--muted);
  font-size: 1.12rem;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.brief-card {
  display: flex;
  flex-direction: column;
  padding: 34px;
  color: var(--white);
  background: linear-gradient(135deg, rgba(7, 61, 59, 0.98), rgba(11, 111, 107, 0.94));
  box-shadow: var(--shadow);
}

.brief-card h3 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.brief-card p:not(.price-label) {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
}

.brief-card ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 28px;
  padding: 0;
  list-style: none;
}

.brief-card li {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.brief-card .button-primary {
  margin-top: auto;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 34px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-actions .button-primary {
  width: 100%;
  min-height: 56px;
  margin-top: auto;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.lead-form label {
  display: grid;
  gap: 7px;
  font-weight: 850;
}

.required-label::after {
  content: " *";
  color: #c72c2c;
  font-weight: 950;
}

.brief-form label,
.brief-form fieldset {
  font-weight: 850;
}

.lead-form input,
.lead-form textarea,
.brief-form input,
.brief-form textarea,
.brief-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfcfa;
  font: inherit;
}

.lead-form input:focus,
.lead-form textarea:focus,
.brief-form input:focus,
.brief-form textarea:focus,
.brief-form select:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(11, 111, 107, 0.14);
}

.lead-form textarea,
.brief-form textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-note-error {
  color: #c72c2c;
  font-weight: 850;
}

.form-note-success {
  color: var(--teal-dark);
  font-weight: 850;
}

.button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.field-error > span:first-child,
.field-error.consent span {
  color: #9f1f1f;
}

.field-error input,
.field-error textarea,
.field-error select {
  border-color: #c72c2c;
  background: #fff8f8;
  box-shadow: 0 0 0 3px rgba(199, 44, 44, 0.12);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 38px 0 48px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  width: fit-content;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: start;
  font-weight: 850;
}

.footer-parent {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.footer-parent a {
  color: var(--teal-dark);
  font-weight: 900;
}

.brief-page {
  background: #eef3ef;
}

.brief-nav {
  margin-left: auto;
}

.brief-shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 132px 0 72px;
}

.brief-intro {
  max-width: 860px;
  margin-bottom: 34px;
}

.brief-intro h1 {
  color: var(--teal-dark);
  font-size: clamp(2.5rem, 5vw, 4.6rem);
}

.brief-intro p:not(.section-kicker) {
  color: var(--muted);
  font-size: 1.15rem;
}

.brief-form {
  display: grid;
  gap: 18px;
}

.form-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 36px rgba(17, 37, 36, 0.06);
}

.form-panel h2 {
  margin-bottom: 24px;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-grid label,
.option-group {
  display: grid;
  gap: 8px;
}

.form-grid .full,
.option-group.full {
  grid-column: 1 / -1;
}

.option-group {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.option-group legend {
  padding: 0 8px;
}

.option-group label,
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-grid .consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.option-group input,
.consent input {
  width: auto;
  flex: 0 0 auto;
  margin-top: 0.35em;
}

.consent span {
  flex: 1 1 0;
  min-width: 0;
}

.brief-submit {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 26px;
  border-radius: 8px;
  background: var(--teal-dark);
}

.brief-submit .form-note {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 940px) {
  .site-header {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    padding: 10px;
    color: var(--white);
    background: rgba(7, 61, 59, 0.98);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 13px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.12);
  }

  .site-nav .nav-cta {
    color: var(--teal-dark);
    background: var(--white);
  }

  .brief-nav {
    position: static;
    display: flex;
    width: auto;
    padding: 0;
    color: var(--ink);
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  .brief-nav .nav-cta {
    color: var(--white);
    background: var(--teal-dark);
  }

  .hero {
    min-height: 90vh;
  }

  .trust-strip,
  .steps,
  .feature-grid,
  .split,
  .outcomes,
  .package-grid,
  .pricing-layout,
  .contact-actions {
    grid-template-columns: 1fr;
  }

  .featured-price {
    transform: none;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .contact-section {
    padding-top: 56px;
  }

  .form-grid,
  .option-group {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .brand-logo {
    height: 50px;
    max-height: calc(72px - 8px);
    max-width: 210px;
  }

  .hero-content {
    padding-top: 118px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 28, 28, 0.92), rgba(4, 28, 28, 0.7)),
      linear-gradient(0deg, rgba(4, 28, 28, 0.62), rgba(4, 28, 28, 0.08));
  }

  .hero-proof,
  .steps,
  .feature-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .band {
    padding-left: 16px;
    padding-right: 16px;
  }

  .contact-section {
    width: calc(100% - 24px);
    padding-top: 44px;
  }

  .brief-card,
  .lead-form {
    padding: 22px;
  }

  .site-footer {
    display: grid;
  }

  .brief-shell {
    padding-top: 112px;
  }

  .form-panel,
  .brief-submit {
    padding: 20px;
  }
}
