:root {
  --color-blue: #012056;
  --color-orange: #eb6909;
  --color-ink: #14213d;
  --color-muted: #667085;
  --color-line: #e7eaf0;
  --color-soft: #f6f8fb;
  --color-sage: #dbe7df;
  --color-white: #ffffff;
  --shadow-soft: 0 24px 70px rgba(1, 32, 86, 0.14);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px clamp(20px, 5vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(231, 234, 240, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--color-blue);
  text-decoration: none;
}

.brand img {
  width: clamp(168px, 20vw, 220px);
  height: auto;
  max-height: 74px;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.text-link {
  color: var(--color-blue);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.text-link:focus-visible {
  outline: 3px solid rgba(235, 105, 9, 0.36);
  outline-offset: 3px;
}

.button-primary {
  color: var(--color-white);
  background: var(--color-orange);
  box-shadow: 0 12px 28px rgba(235, 105, 9, 0.28);
}

.button-primary:hover {
  background: #d95f08;
}

.button-outline {
  color: var(--color-blue);
  background: var(--color-white);
  border-color: rgba(1, 32, 86, 0.18);
}

.button-outline:hover {
  border-color: rgba(235, 105, 9, 0.46);
  box-shadow: 0 12px 28px rgba(1, 32, 86, 0.1);
}

.button-small {
  min-height: 40px;
  padding-inline: 18px;
  font-size: 0.92rem;
}

.hero {
  position: relative;
  min-height: clamp(560px, calc(100svh - 120px), 700px);
  overflow: hidden;
  background: var(--color-blue);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  transform: scale(1.01);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(1, 32, 86, 0.96) 0%, rgba(1, 32, 86, 0.82) 38%, rgba(1, 32, 86, 0.36) 69%, rgba(1, 32, 86, 0.1) 100%),
    linear-gradient(0deg, rgba(1, 32, 86, 0.26), rgba(1, 32, 86, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: clamp(560px, calc(100svh - 120px), 700px);
  max-width: var(--max-width);
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 92px) clamp(20px, 5vw, 56px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--color-orange);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--color-white);
  font-size: clamp(2.45rem, 5.2vw, 4.55rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.intro-strip {
  display: grid;
  max-width: var(--max-width);
  margin: -38px auto 0;
  padding: 0 clamp(20px, 5vw, 56px);
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  z-index: 2;
}

.intro-strip div {
  padding: 24px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-soft);
}

.intro-strip div:first-child {
  border-radius: 8px 0 0 8px;
}

.intro-strip div:last-child {
  border-radius: 0 8px 8px 0;
}

.intro-strip strong,
.intro-strip span {
  display: block;
}

.intro-strip strong {
  color: var(--color-blue);
  font-size: 1rem;
}

.intro-strip span {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(76px, 10vw, 120px) clamp(20px, 5vw, 56px);
}

.section-copy,
.section-heading {
  max-width: 680px;
}

.section h2,
.closing-cta h2 {
  margin: 0;
  color: var(--color-blue);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section p,
.closing-cta p {
  color: var(--color-muted);
  font-size: 1.04rem;
}

.form-section {
  display: grid;
  align-items: start;
  gap: clamp(34px, 6vw, 72px);
  grid-template-columns: 0.8fr 1.2fr;
}

.valuation-form {
  padding: clamp(24px, 4vw, 38px);
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--color-blue);
  font-size: 0.93rem;
  font-weight: 800;
}

.full-width {
  grid-column: 1 / -1;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd6e1;
  border-radius: 6px;
  color: var(--color-ink);
  background: var(--color-white);
}

input,
select {
  min-height: 48px;
  padding: 0 14px;
}

textarea {
  min-height: 116px;
  padding: 14px;
  resize: vertical;
}

input.is-invalid,
select.is-invalid {
  border-color: #b42318;
  background: #fff8f7;
}

.error-message {
  display: none;
  color: #b42318;
  font-size: 0.82rem;
  font-weight: 700;
}

.is-invalid + .error-message {
  display: block;
}

.submit-button {
  width: 100%;
  margin-top: 22px;
}

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

.success-message {
  display: none;
  margin-top: 18px;
  padding: 16px 18px;
  color: #0f5132;
  background: #e7f4ed;
  border: 1px solid #b7dec9;
  border-radius: 6px;
  font-weight: 800;
}

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

.error-alert {
  display: none;
  margin-top: 18px;
  padding: 16px 18px;
  color: #842029;
  background: #fff1f0;
  border: 1px solid #f3b8b4;
  border-radius: 6px;
  font-weight: 800;
}

.error-alert.is-visible {
  display: block;
}

.reasons-section {
  max-width: none;
  background: var(--color-soft);
}

.reasons-section > * {
  max-width: var(--max-width);
  margin-inline: auto;
}

.reason-grid {
  display: grid;
  margin-top: 34px;
  gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.reason-card {
  min-height: 178px;
  padding: 22px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 8px;
}

.reason-card span {
  color: var(--color-orange);
  font-size: 0.82rem;
  font-weight: 850;
}

.reason-card h3 {
  margin: 36px 0 0;
  color: var(--color-blue);
  font-size: 1.08rem;
  line-height: 1.28;
}

.approach-section {
  padding-bottom: clamp(58px, 8vw, 100px);
}

.timeline {
  display: grid;
  margin: 42px 0 0;
  padding: 0;
  gap: 14px;
  counter-reset: step;
  list-style: none;
}

.timeline li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: center;
  min-height: 70px;
  padding: 16px 20px;
  background: linear-gradient(90deg, rgba(219, 231, 223, 0.58), rgba(255, 255, 255, 0));
  border: 1px solid var(--color-line);
  border-radius: 8px;
}

.timeline li::before {
  content: counter(step, decimal-leading-zero);
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--color-white);
  background: var(--color-blue);
  border-radius: 50%;
  font-weight: 850;
}

.timeline span {
  color: var(--color-blue);
  font-size: 1.08rem;
  font-weight: 850;
}

.trust-section {
  max-width: none;
  background: var(--color-blue);
}

.trust-section > * {
  max-width: var(--max-width);
  margin-inline: auto;
}

.trust-section h2 {
  color: var(--color-white);
}

.trust-section p {
  color: rgba(255, 255, 255, 0.76);
}

.trust-layout {
  display: grid;
  gap: 24px;
  margin-top: 38px;
  grid-template-columns: 1.1fr 0.9fr;
}

.team-panel {
  display: grid;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.team-panel img {
  width: 100%;
  height: clamp(260px, 34vw, 420px);
  object-fit: cover;
}

.team-panel div {
  padding: 24px;
}

.team-panel h3,
.trust-cards strong {
  color: var(--color-white);
}

.team-panel h3 {
  margin: 0;
  font-size: 1.35rem;
}

.trust-cards {
  display: grid;
  gap: 16px;
}

.trust-cards article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.trust-cards strong {
  display: block;
  font-size: 1.08rem;
}

.funda-review-card strong {
  margin-top: 8px;
  color: var(--color-orange);
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  line-height: 0.95;
}

.review-source,
.source-note {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  font-weight: 800;
}

.review-source {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.source-note {
  margin-top: 14px;
}

.trust-cards a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--color-white);
  font-weight: 850;
  text-decoration-color: rgba(235, 105, 9, 0.7);
  text-underline-offset: 4px;
}

.trust-cards p,
.team-panel p {
  margin-bottom: 0;
}

.compass-section {
  padding-top: clamp(64px, 8vw, 96px);
  padding-bottom: clamp(64px, 8vw, 96px);
}

.compass-card {
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(28px, 5vw, 48px);
  grid-template-columns: 1.15fr 0.85fr;
  background:
    linear-gradient(135deg, rgba(1, 32, 86, 0.05) 0%, #ffffff 46%, rgba(235, 105, 9, 0.08) 100%),
    var(--color-white);
  border: 1px solid rgba(1, 32, 86, 0.12);
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(1, 32, 86, 0.16);
}

.compass-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: var(--color-orange);
}

.compass-copy {
  position: relative;
  z-index: 1;
}

.compass-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding: 10px 14px 10px 10px;
  color: var(--color-blue);
  background: var(--color-white);
  border: 1px solid rgba(1, 32, 86, 0.1);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(1, 32, 86, 0.08);
  font-size: 1.02rem;
  font-weight: 850;
}

.compass-logo svg {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  fill: var(--color-orange);
}

.compass-card h2 {
  margin: 0;
  color: var(--color-blue);
  font-size: clamp(1.8rem, 3.3vw, 2.9rem);
  line-height: 1.06;
}

.compass-card p:not(.eyebrow) {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--color-muted);
  font-size: 1.04rem;
}

.compass-panel {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 4vw, 34px);
  color: var(--color-white);
  background: var(--color-blue);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(1, 32, 86, 0.22);
}

.compass-label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  color: var(--color-white);
  background: rgba(235, 105, 9, 0.95);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.compass-panel strong {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.compass-panel p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
}

.compass-actions {
  display: grid;
  margin-top: 24px;
  gap: 12px;
  justify-items: stretch;
}

.compass-panel .button-outline {
  color: var(--color-white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
}

.compass-panel .button-outline:hover {
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

.seo-section {
  display: grid;
  gap: 34px;
}

.seo-content {
  display: grid;
  gap: 18px;
  max-width: 900px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.seo-content p {
  margin: 0;
}

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

.faq-list article {
  padding: 24px;
  background: var(--color-soft);
  border: 1px solid var(--color-line);
  border-radius: 8px;
}

.faq-list h3 {
  margin: 0 0 12px;
  color: var(--color-blue);
  font-size: 1.08rem;
  line-height: 1.28;
}

.faq-list p {
  margin: 0;
  font-size: 0.98rem;
}

.closing-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(70px, 9vw, 112px) clamp(20px, 5vw, 56px);
}

.closing-cta div {
  max-width: 720px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 56px);
  color: rgba(255, 255, 255, 0.74);
  background: #061733;
  font-size: 0.94rem;
}

.site-footer a {
  color: var(--color-white);
  font-weight: 800;
  text-decoration-color: rgba(235, 105, 9, 0.72);
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  .hero {
    min-height: 660px;
  }

  .hero-content {
    min-height: 660px;
  }

  .hero-image {
    transform: scale(1.01);
  }

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

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(1, 32, 86, 0.96) 0%, rgba(1, 32, 86, 0.78) 58%, rgba(1, 32, 86, 0.34) 100%),
      linear-gradient(0deg, rgba(1, 32, 86, 0.32), rgba(1, 32, 86, 0));
  }

  .intro-strip,
  .form-section,
  .trust-layout,
  .compass-card,
  .seo-content,
  .closing-cta {
    grid-template-columns: 1fr;
  }

  .intro-strip {
    margin-top: 0;
    padding-top: 24px;
    gap: 12px;
  }

  .intro-strip div,
  .intro-strip div:first-child,
  .intro-strip div:last-child {
    border-radius: 8px;
  }

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

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

  .closing-cta {
    display: grid;
  }
}

@media (max-width: 700px) {
  .site-header {
    position: static;
    align-items: flex-start;
  }

  .text-link {
    display: none;
  }

  .header-actions {
    gap: 10px;
  }

  .hero,
  .hero-content {
    min-height: 650px;
  }

  .hero-image {
    transform: scale(1.01);
  }

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

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(1, 32, 86, 0.92) 0%, rgba(1, 32, 86, 0.84) 52%, rgba(1, 32, 86, 0.62) 100%),
      linear-gradient(90deg, rgba(1, 32, 86, 0.72), rgba(1, 32, 86, 0.2));
  }

  .hero-content {
    justify-content: flex-end;
    padding-bottom: 50px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 4rem);
  }

  .hero-actions,
  .hero-actions .button,
  .compass-actions .button,
  .closing-cta .button {
    width: 100%;
  }

  .form-grid,
  .reason-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .valuation-form {
    padding: 22px;
  }

  .reason-card {
    min-height: 132px;
  }

  .reason-card h3 {
    margin-top: 22px;
  }

  .timeline li {
    grid-template-columns: 54px 1fr;
    padding: 14px;
  }

  .timeline span {
    font-size: 1rem;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .brand img {
    width: 148px;
    max-height: 64px;
  }

  .button-small {
    min-width: 0;
    padding-inline: 14px;
  }

  .hero,
  .hero-content {
    min-height: 620px;
  }
}
