:root {
  --ink: #10212f;
  --muted: #5c6b76;
  --line: #d8e0e5;
  --paper: #ffffff;
  --soft: #eef4f3;
  --navy: #12324a;
  --teal: #0f766e;
  --teal-dark: #0b5d57;
  --gold: #bd9157;
  --shadow: 0 22px 70px rgba(16, 33, 47, 0.14);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f8fbfb;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 5vw;
  background: rgba(248, 251, 251, 0.88);
  border-bottom: 1px solid rgba(216, 224, 229, 0.8);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.hero-actions,
.form-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
  font-size: 0.86rem;
}

.site-nav {
  gap: 28px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100svh - 72px);
  padding: 7vh 5vw 8vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(15, 118, 110, 0.12), transparent 34%),
    linear-gradient(135deg, #fbfdfd 0%, #ecf4f4 100%);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(2.25rem, 4.7vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 18px 0 10px;
  font-size: 1.28rem;
}

.lead {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  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(--teal);
}

.button-primary:hover {
  background: var(--teal-dark);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--line);
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.desk-scene {
  position: absolute;
  inset: 5% -12% 3% 0;
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.58)),
    linear-gradient(45deg, #b98c55 0%, #d6b17a 52%, #f0d7a4 100%);
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}

.desk-scene::before {
  content: "";
  position: absolute;
  inset: 32px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
}

.screen {
  position: absolute;
  right: 9%;
  top: 12%;
  width: 56%;
  aspect-ratio: 1.55;
  padding: 38px;
  background: #10212f;
  border: 14px solid #243849;
  border-radius: 8px;
  box-shadow: 0 24px 45px rgba(16, 33, 47, 0.25);
}

.screen span,
.note span {
  display: block;
  height: 10px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: #dce8ea;
}

.screen span:nth-child(1) {
  width: 80%;
}

.screen span:nth-child(2) {
  width: 58%;
  background: #80cbc4;
}

.screen span:nth-child(3) {
  width: 70%;
}

.paper {
  position: absolute;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 18px 34px rgba(16, 33, 47, 0.12);
}

.paper-one {
  left: 8%;
  top: 16%;
  width: 38%;
  height: 42%;
  transform: rotate(7deg);
}

.paper-two {
  left: 17%;
  bottom: 12%;
  width: 34%;
  height: 32%;
  transform: rotate(-8deg);
}

.pen {
  position: absolute;
  left: 48%;
  bottom: 18%;
  width: 220px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--navy), var(--teal), var(--gold));
  transform: rotate(-24deg);
  box-shadow: 0 12px 20px rgba(16, 33, 47, 0.18);
}

.note {
  position: absolute;
  right: 12%;
  bottom: 9%;
  width: 30%;
  min-height: 150px;
  padding: 26px;
  background: #f7edd6;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(16, 33, 47, 0.14);
}

.note span {
  height: 8px;
  background: rgba(16, 33, 47, 0.2);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.trust-band div {
  display: grid;
  gap: 5px;
  padding: 24px 5vw;
  background: var(--paper);
}

.trust-band strong {
  font-size: 1.02rem;
}

.trust-band span {
  color: var(--muted);
}

.section {
  padding: clamp(70px, 10vw, 130px) 5vw;
}

.section-heading {
  margin-bottom: 34px;
}

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

.service-card {
  min-height: 260px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
  font-weight: 800;
}

.service-card p,
.form-copy p,
.process-list span {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 36px;
  background: var(--navy);
  color: #fff;
}

.split-section .eyebrow,
.split-section span {
  color: #c0d9d7;
}

.process-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  display: grid;
  grid-template-columns: 58px minmax(140px, 0.42fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  counter-increment: process;
}

.process-list li::before {
  content: counter(process, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--navy);
  background: #fff;
  border-radius: 8px;
  font-weight: 900;
}

.process-list strong {
  font-size: 1.08rem;
}

.process-list span {
  max-width: 620px;
}

.pricing-section {
  background: #f8fbfb;
}

.pricing-table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.pricing-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  padding: 20px 18px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.pricing-table thead th {
  color: var(--ink);
  background: #eef4f3;
  font-size: 1rem;
  font-weight: 900;
}

.pricing-table tbody th {
  color: var(--ink);
  background: #fbfdfd;
  font-weight: 850;
}

.pricing-table td {
  color: var(--muted);
  font-weight: 750;
}

.pricing-table tr:hover td,
.pricing-table tr:hover th {
  background: #ecf8f6;
}

.pricing-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.form-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.82fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}

.form-copy {
  position: sticky;
  top: 110px;
}

.form-copy h2 {
  max-width: 520px;
  font-size: clamp(2rem, 3vw, 3.2rem);
  white-space: nowrap;
}

.integrity-note {
  margin-top: 26px;
  padding: 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
}

.request-form {
  padding: clamp(22px, 4vw, 38px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}

.progress-step {
  display: grid;
  place-items: center;
  height: 42px;
  color: var(--muted);
  background: var(--soft);
  border-radius: 8px;
  font-weight: 900;
}

.progress-step.is-active,
.progress-step.is-complete {
  color: #fff;
  background: var(--teal);
}

.form-page {
  display: none;
  min-height: 330px;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-page.is-active {
  display: grid;
  align-content: start;
  gap: 14px;
}

legend {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  font-weight: 850;
  line-height: 1.05;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  min-height: 64px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f6faf9 100%);
  color: var(--ink);
  font-weight: 850;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(16, 33, 47, 0.06);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.choice:hover {
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow: 0 14px 30px rgba(16, 33, 47, 0.1);
  transform: translateY(-1px);
}

.choice:has(input:checked) {
  border-color: var(--teal);
  background: linear-gradient(180deg, #f0fbf9 0%, #dff4f1 100%);
  box-shadow:
    inset 0 0 0 1px var(--teal),
    0 16px 34px rgba(15, 118, 110, 0.14);
}

.choice input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.choice span {
  display: block;
}

.field {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  resize: vertical;
}

select {
  appearance: none;
  padding-right: 44px;
  background:
    linear-gradient(45deg, transparent 50%, var(--teal) 50%) calc(100% - 22px) 52% / 7px 7px no-repeat,
    linear-gradient(135deg, var(--teal) 50%, transparent 50%) calc(100% - 16px) 52% / 7px 7px no-repeat,
    #fff;
  cursor: pointer;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(15, 118, 110, 0.18);
  border-color: var(--teal);
}

.form-error {
  min-height: 24px;
  margin: 8px 0 18px;
  color: #a33b2b;
  font-weight: 750;
}

.form-actions {
  justify-content: space-between;
  gap: 12px;
}

.is-hidden {
  display: none;
}

.summary-dialog {
  width: min(620px, calc(100vw - 28px));
  border: 0;
  border-radius: 8px;
  padding: 30px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.summary-dialog::backdrop {
  background: rgba(16, 33, 47, 0.48);
}

.summary-dialog dl {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 10px 18px;
  margin: 22px 0;
}

.summary-dialog dt {
  color: var(--muted);
  font-weight: 800;
}

.summary-dialog dd {
  margin: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 5vw;
  color: #c8d7d8;
  background: #0c1c28;
}

.footer-links {
  display: flex;
  gap: 18px;
  font-weight: 800;
}

.footer-links a {
  color: #fff;
}

.footer-links a:hover {
  color: #80cbc4;
}

.legal-page {
  min-height: calc(100svh - 154px);
  background: #f8fbfb;
}

.legal-hero {
  padding: clamp(56px, 9vw, 110px) 5vw clamp(28px, 5vw, 58px);
  background:
    radial-gradient(circle at 90% 10%, rgba(15, 118, 110, 0.12), transparent 34%),
    linear-gradient(135deg, #fbfdfd 0%, #ecf4f4 100%);
}

.legal-hero h1 {
  max-width: 880px;
}

.legal-content {
  width: min(920px, calc(100% - 10vw));
  margin: 0 auto;
  padding: clamp(34px, 6vw, 74px) 0 clamp(70px, 8vw, 110px);
}

.legal-content h2 {
  margin: 34px 0 12px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.15;
}

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

.legal-content p {
  color: var(--muted);
}

.legal-content a {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-note {
  margin-top: 34px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
}

@media (max-width: 920px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
    gap: 14px;
    padding-block: 18px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .hero,
  .split-section,
  .form-section {
    grid-template-columns: 1fr;
  }

  .process-list li {
    grid-template-columns: 58px minmax(160px, 0.5fr) minmax(240px, 1fr);
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .form-copy {
    position: static;
  }

  .service-grid,
  .trust-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .section,
  .trust-band div,
  .site-footer {
    padding-inline: 20px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2rem, 10vw, 3.1rem);
    line-height: 1.04;
  }

  .hero-actions,
  .form-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 310px;
  }

  .desk-scene {
    inset: 2% -30% 0 -16%;
  }

  .screen {
    top: 14%;
    right: 10%;
    width: 58%;
    padding: 24px;
  }

  .note {
    width: 36%;
    min-height: 110px;
    padding: 18px;
  }

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

  .process-list li {
    grid-template-columns: 52px 1fr;
    align-items: start;
  }

  .process-list span {
    grid-column: 2;
  }

  .summary-dialog dl {
    grid-template-columns: 1fr;
  }
}
