:root {
  --ink: #162127;
  --muted: #587071;
  --paper: #fff8ee;
  --surface: #ffffff;
  --teal: #067f82;
  --teal-dark: #03585a;
  --coral: #ed6a55;
  --yellow: #f3bd4e;
  --green: #496f48;
  --line: rgba(22, 33, 39, 0.16);
  --shadow: 0 20px 60px rgba(22, 33, 39, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

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

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 52px);
  background: rgba(255, 248, 238, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(22, 33, 39, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  background: var(--teal);
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 0.82rem;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.05rem;
}

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

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 30px);
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--teal-dark);
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  padding: clamp(34px, 6vw, 86px) clamp(18px, 4vw, 52px);
  overflow: hidden;
  background: #10282b;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 26, 29, 0.86), rgba(8, 26, 29, 0.46) 48%, rgba(8, 26, 29, 0.06)),
    linear-gradient(0deg, rgba(8, 26, 29, 0.42), rgba(8, 26, 29, 0.04) 45%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 740px;
  color: #fff;
}

.eyebrow,
.label,
.sector {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.5rem, 6.5vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-text {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.04rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  color: #fff;
  background: var(--coral);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stat {
  position: absolute;
  right: clamp(18px, 4vw, 52px);
  bottom: clamp(18px, 4vw, 42px);
  z-index: 1;
  width: min(280px, calc(100% - 36px));
  padding: 18px;
  color: #fff;
  background: rgba(6, 127, 130, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-stat strong,
.hero-stat span {
  display: block;
}

.hero-stat strong {
  font-size: 2.4rem;
  line-height: 1;
}

.hero-stat span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.86);
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 4vw, 52px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  background: #fff;
}

.intro-panel h2,
.section-heading h2,
.estimator-copy h2,
.cta-section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.benefit-list {
  display: grid;
  gap: 16px;
}

.benefit-list article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.benefit-list span {
  color: var(--teal);
  font-weight: 900;
}

.benefit-list h3,
.benefit-list p {
  margin: 0;
}

.benefit-list h3,
.benefit-list p {
  grid-column: 2;
}

.benefit-list p {
  color: var(--muted);
}

.plans-section {
  background: #f7efe5;
}

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

.section-heading p:not(.label) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
}

.billing-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.toggle-option {
  min-width: 104px;
  min-height: 38px;
  border: 0;
  color: var(--muted);
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
}

.toggle-option.active {
  color: #fff;
  background: var(--teal);
}

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

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 430px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(22, 33, 39, 0.08);
}

.plan.featured {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}

.plan-badge {
  align-self: flex-start;
  padding: 6px 10px;
  color: #fff;
  background: var(--green);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}

.plan h3 {
  margin: 0;
  font-size: 2rem;
}

.plan p {
  margin: 8px 0 0;
  color: var(--muted);
}

.price {
  margin: auto 0 0;
}

.price span {
  color: var(--teal-dark);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
}

.price small {
  display: block;
  color: var(--muted);
}

.plan ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.plan li {
  padding-left: 18px;
  border-left: 4px solid var(--yellow);
}

.showcase-section {
  background: #fff;
}

.showcase-grid {
  display: grid;
  gap: 28px;
}

.showcase-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
  min-height: 420px;
  overflow: hidden;
  background: #f9fbf6;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.showcase-card:nth-child(2) {
  background: #eef8f8;
}

.showcase-card:nth-child(3) {
  background: #fff3ec;
}

.showcase-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.showcase-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 54px);
}

.showcase-copy h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  line-height: 1;
}

.showcase-copy p:not(.sector) {
  color: var(--muted);
  font-size: 1.05rem;
}

.showcase-copy dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0 0;
}

.showcase-copy dl div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.showcase-copy dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.showcase-copy dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.estimator-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  background: var(--teal-dark);
  color: #fff;
}

.estimator-copy p:not(.label) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

.estimator {
  display: grid;
  gap: 14px;
  padding: 26px;
  color: var(--ink);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.estimator label,
.lead-form label {
  font-weight: 800;
}

.range-row {
  display: grid;
  grid-template-columns: 1fr 64px;
  align-items: center;
  gap: 14px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--coral);
}

output {
  display: grid;
  place-items: center;
  min-height: 44px;
  color: #fff;
  background: var(--teal);
  border-radius: var(--radius);
  font-weight: 900;
}

select,
input[type="text"],
input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.recommendation {
  margin-top: 12px;
  padding: 20px;
  background: #f7efe5;
  border-radius: var(--radius);
}

.recommendation span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.recommendation strong {
  display: block;
  margin-top: 4px;
  color: var(--teal-dark);
  font-size: 2.4rem;
  line-height: 1;
}

.recommendation p {
  margin: 10px 0 0;
  color: var(--muted);
}

.quote-band {
  background: var(--yellow);
}

.quote-band blockquote {
  max-width: 1060px;
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 5rem);
  font-weight: 900;
  line-height: 1;
}

.quote-band p {
  margin: 22px 0 0;
  font-weight: 800;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 5vw, 70px);
  background: #fff;
}

.cta-section p:not(.label) {
  max-width: 580px;
  color: var(--muted);
}

.lead-form {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 26px;
  background: #f7efe5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.lead-form .button {
  width: 100%;
  margin-top: 6px;
  border: 0;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px clamp(18px, 4vw, 52px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.site-footer p {
  margin: 0;
}

.footer-credit {
  align-self: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  text-align: center;
}

.footer-credit:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 760px;
    align-items: start;
    padding-top: 72px;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(8, 26, 29, 0.92), rgba(8, 26, 29, 0.56) 55%, rgba(8, 26, 29, 0.18)),
      linear-gradient(0deg, rgba(8, 26, 29, 0.42), transparent 36%);
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-stat {
    left: 18px;
    right: auto;
  }

  .intro-grid,
  .estimator-section,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .plan {
    min-height: auto;
  }

  .showcase-card {
    grid-template-columns: 1fr;
  }

  .showcase-card img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 560px) {
  .brand {
    min-width: 0;
  }

  .nav-links {
    gap: 18px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 720px;
  }

  .hero-actions,
  .footer-main {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .benefit-list article {
    grid-template-columns: 1fr;
  }

  .benefit-list h3,
  .benefit-list p {
    grid-column: auto;
  }

  .showcase-copy dl {
    grid-template-columns: 1fr;
  }

  .range-row {
    grid-template-columns: 1fr;
  }
}
