:root {
  color: #20242c;
  background: #f5f3ef;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
}

a {
  color: inherit;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #dedbd3;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 24px;
}

.brand,
.nav-links,
.hero-actions,
.footer div {
  display: flex;
  align-items: center;
}

.brand {
  flex-shrink: 0;
  width: 190px;
  font-weight: 700;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 190px;
  height: auto;
  border-radius: 0;
  object-fit: contain;
}

.nav-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: #4c5564;
  font-size: 17px;
  font-weight: 700;
}

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

.nav-links a:hover,
.footer a:hover {
  color: #1f2f46;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 82px 24px 72px;
}

.hero-single {
  grid-template-columns: minmax(0, 1fr);
}

.page-hero {
  max-width: 900px;
  padding: 64px 0 34px;
}

.hero-content {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #6d4b2c;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  color: #152033;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  color: #182233;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  color: #182233;
  font-size: 21px;
}

p,
li,
label,
input,
textarea,
button {
  font-size: 17px;
}

.hero-text {
  max-width: 720px;
  color: #4b5563;
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: #1f2f46;
  color: #ffffff;
}

.button.secondary {
  background: #ffffff;
  color: #1f2f46;
  border-color: #c9ced6;
}

.hero-panel {
  align-self: end;
  padding: 28px;
  border: 1px solid #d7d1c6;
  border-radius: 8px;
  background: #f8f1e6;
}

.hero-panel strong,
.pricing-box strong {
  display: block;
  color: #1f2f46;
  font-size: 40px;
  line-height: 1;
}

.panel-label,
.pricing-box span {
  margin-bottom: 12px;
  color: #6d4b2c;
  font-weight: 700;
  text-transform: uppercase;
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 24px 44px;
}

.section {
  padding: 58px 0;
  border-bottom: 1px solid #dedbd3;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.cards {
  display: grid;
  gap: 18px;
}

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

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

.card,
.legal-card {
  min-height: 210px;
  padding: 28px;
  border: 1px solid #d9d5cd;
  border-radius: 8px;
  background: #ffffff;
}

.card h2 {
  font-size: 28px;
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: #1f2f46;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.card p,
.legal-card p,
.pricing-band p,
.split p,
.contact-section p {
  color: #4b5563;
}

.pricing-band,
.concept-band,
.split,
.contact-section,
.legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 36px;
  align-items: start;
}

.pricing-box {
  padding: 30px;
  border-radius: 8px;
  background: #1f2f46;
  color: #ffffff;
}

.pricing-box span,
.pricing-box p,
.pricing-box strong {
  color: #ffffff;
}

.steps {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 48px minmax(130px, 220px) 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  border: 1px solid #d9d5cd;
  border-radius: 8px;
  background: #ffffff;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 6px;
  background: #e4d4bf;
  color: #1f2f46;
  font-weight: 700;
}

.steps strong {
  color: #182233;
}

.steps span {
  color: #4b5563;
}

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

.check-list li {
  padding: 12px 14px;
  border-left: 4px solid #1f2f46;
  background: #ffffff;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid #d9d5cd;
  border-radius: 8px;
  background: #ffffff;
}

.candidate-contact-section {
  grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1.35fr);
  gap: 48px;
}

.candidate-form {
  gap: 18px;
  padding: 34px;
}

.candidate-form h2 {
  margin-bottom: 4px;
}

.candidate-form textarea {
  min-height: 170px;
}

.cta-box {
  display: grid;
  align-content: start;
  justify-items: start;
  padding: 24px;
  border: 1px solid #d9d5cd;
  border-radius: 8px;
  background: #ffffff;
}

.legal-content {
  max-width: 820px;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 28px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.detail-list {
  display: grid;
  gap: 10px;
  padding-left: 22px;
  color: #4b5563;
}

label {
  display: grid;
  gap: 6px;
  color: #394150;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid #c9ced6;
  border-radius: 6px;
  padding: 12px 14px;
  color: #20242c;
  font: inherit;
}

textarea {
  resize: vertical;
}

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

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 24px 40px;
  color: #4b5563;
}

.footer div {
  gap: 18px;
}

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

  .nav-links {
    justify-content: flex-start;
  }

  .hero,
  .pricing-band,
  .candidate-contact-section,
  .split,
  .contact-section,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
  }

  .cards.three {
    grid-template-columns: 1fr;
  }

  .cards.two {
    grid-template-columns: 1fr;
  }

  .steps li {
    grid-template-columns: 42px 1fr;
  }

  .steps span {
    grid-column: 2;
  }
}

@media (max-width: 560px) {
  .nav,
  .hero,
  main,
  .footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .button {
    width: 100%;
  }

  .brand,
  .brand-logo {
    width: 152px;
  }

  .hero-panel strong,
  .pricing-box strong {
    font-size: 34px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
