:root {
  --ink: #101820;
  --muted: #5b6470;
  --line: #d9dedb;
  --paper: #fbfaf7;
  --white: #ffffff;
  --teal: #087b78;
  --teal-dark: #075d5b;
  --sage: #dbe8df;
  --amber: #b46b18;
  --amber-soft: #f2dfc5;
  --red: #9c3d3d;
  --red-soft: #efd7d2;
  --green: #39745b;
  --shadow: 0 18px 50px rgba(16, 24, 32, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
}

svg {
  display: block;
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex: 0 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 32px;
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid rgba(16, 24, 32, 0.1);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
  font-weight: 800;
  font-size: 15px;
}

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

.brand strong {
  font-size: 15px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #39424c;
  font-size: 14px;
}

.nav a,
.topbar-cta,
.button {
  text-decoration: none;
}

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

.topbar-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.topbar-cta,
.button.primary {
  background: var(--teal);
  color: var(--white);
}

.button.secondary {
  color: var(--teal-dark);
  background: var(--sage);
  border-color: #c7d9cf;
}

.button.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(16, 24, 32, 0.16);
}

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

.hero {
  min-height: 84vh;
  display: grid;
  align-items: center;
  background-image:
    linear-gradient(90deg, rgba(251, 250, 247, 0.98) 0%, rgba(251, 250, 247, 0.9) 36%, rgba(251, 250, 247, 0.42) 62%, rgba(251, 250, 247, 0.12) 100%),
    url("./assets/personal-consultant.jpg");
  background-size: cover;
  background-position: center 44%;
  border-bottom: 1px solid var(--line);
}

.hero-inner,
.section,
.footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 670px) 360px;
  gap: 40px;
  align-items: end;
  padding: 86px 0 56px;
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1 {
  margin: 0;
  max-width: 760px;
  font-size: 58px;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.24;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: #2f3942;
  font-size: 19px;
}

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

.hero-panel {
  display: grid;
  gap: 10px;
  margin-bottom: 6px;
}

.hero-stat {
  padding: 16px;
  border: 1px solid rgba(16, 24, 32, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.08);
}

.hero-stat span {
  display: block;
  margin-bottom: 4px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-stat strong {
  font-size: 15px;
}

.section {
  padding: 76px 0;
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.strip-item {
  min-height: 118px;
  padding: 20px;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 26px rgba(16, 24, 32, 0.06);
}

.strip-item:nth-child(2) {
  border-left-color: var(--amber);
}

.strip-item:nth-child(3) {
  border-left-color: var(--red);
}

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

.strip-item span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.personal-section {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 42px;
  align-items: center;
}

.photo-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.photo-frame img,
.story-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.primary-photo {
  min-height: 520px;
}

.primary-photo img {
  aspect-ratio: 4 / 3;
}

.photo-frame figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: grid;
  gap: 3px;
  max-width: calc(100% - 36px);
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 32px rgba(16, 24, 32, 0.16);
}

.photo-frame figcaption strong,
.photo-frame figcaption span {
  display: block;
}

.photo-frame figcaption span {
  color: var(--muted);
  font-size: 13px;
}

.personal-copy > p:not(.eyebrow) {
  color: var(--muted);
}

.personal-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.personal-list div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 3px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.personal-list span {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--sage);
  color: var(--teal-dark);
  font-weight: 900;
}

.personal-list strong {
  align-self: end;
}

.personal-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-head p:not(.eyebrow),
.section > div > p,
.price-card p,
.route-card p,
.timeline p,
.risk-grid p,
.faq p,
.footer p {
  color: var(--muted);
}

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

.route-card,
.price-card,
.risk-grid article,
.timeline article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(16, 24, 32, 0.05);
}

.route-card,
.price-card,
.risk-grid article {
  padding: 24px;
}

.route-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.accent-teal {
  border-top: 5px solid var(--teal);
}

.accent-amber {
  border-top: 5px solid var(--amber);
}

.accent-red {
  border-top: 5px solid var(--red);
}

ul {
  padding-left: 20px;
  margin: 18px 0 0;
}

li + li {
  margin-top: 8px;
}

.route-card a {
  color: var(--teal-dark);
  font-weight: 700;
}

.photo-story {
  padding-top: 32px;
}

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

.story-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(16, 24, 32, 0.06);
}

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

.story-card-body {
  padding: 20px;
}

.story-card-body span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.story-card-body p {
  color: var(--muted);
}

.band {
  background: #eef3ef;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.band.calm {
  background: #f3eee8;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 42px;
  align-items: start;
}

.checker,
.lead-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

label,
fieldset {
  min-width: 0;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfd8d2;
  border-radius: 7px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 16px;
  border: 1px solid #d9dedb;
  border-radius: 8px;
}

legend {
  padding: 0 6px;
  font-weight: 800;
}

.check {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  color: #34404b;
  font-weight: 500;
}

.check input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 3px;
  accent-color: var(--teal);
}

.result-box,
.lead-output {
  display: block;
  min-height: 92px;
  padding: 16px;
  border-radius: 8px;
  background: #f7faf8;
  border: 1px solid #d7e4dc;
  color: #24323c;
  white-space: pre-line;
}

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

.timeline article {
  min-height: 230px;
  padding: 22px;
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: var(--amber-soft);
  color: var(--amber);
  font-weight: 900;
}

.documents {
  align-items: center;
}

.doc-photo,
.lead-photo {
  margin-top: 24px;
}

.doc-photo img {
  aspect-ratio: 16 / 10;
}

.lead-photo img {
  aspect-ratio: 16 / 11;
}

.doc-list {
  display: grid;
  gap: 10px;
}

.doc-list div {
  display: grid;
  gap: 3px;
  padding: 16px 18px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
}

.doc-list span {
  color: var(--muted);
}

.risk-grid article:first-child {
  background: #f5faf7;
}

.risk-grid article:nth-child(2) {
  background: #fff9ef;
}

.risk-grid article:nth-child(3) {
  background: #fff5f3;
}

.price-card {
  display: grid;
  align-content: start;
  min-height: 390px;
}

.price-card .button {
  align-self: end;
  margin-top: 22px;
}

.price-card.featured {
  border-color: var(--teal);
  box-shadow: 0 18px 46px rgba(8, 123, 120, 0.14);
}

.faq {
  max-width: 920px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

details + details {
  margin-top: 10px;
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
}

.lead-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: start;
}

.footer {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  padding-top: 30px;
  padding-bottom: 34px;
  border-top: 1px solid var(--line);
}

.footer strong,
.footer span {
  display: block;
}

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

.footer p {
  margin: 0;
  font-size: 13px;
}

@media (max-width: 980px) {
  .topbar {
    padding: 10px 18px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    background-position: 58% center;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 70px;
  }

  .hero-panel {
    grid-template-columns: repeat(3, 1fr);
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 32px;
  }

  .intro-strip,
  .personal-section,
  .route-grid,
  .price-grid,
  .risk-grid,
  .photo-story-grid,
  .timeline,
  .two-col,
  .lead-section,
  .footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar {
    display: grid;
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .topbar-cta {
    display: none;
  }

  .hero-inner,
  .section,
  .footer {
    width: calc(100% - 36px);
    max-width: 342px;
  }

  .hero {
    background-image:
      linear-gradient(180deg, rgba(251, 250, 247, 0.98) 0%, rgba(251, 250, 247, 0.94) 52%, rgba(251, 250, 247, 0.72) 100%),
      url("./assets/personal-consultant.jpg");
    background-position: 58% center;
  }

  .hero-inner {
    padding: 46px 0 34px;
  }

  .hero-copy,
  .lead {
    max-width: 300px;
  }

  h1 {
    max-width: 300px;
    font-size: 30px;
    line-height: 1.08;
  }

  h2 {
    font-size: 27px;
  }

  h3 {
    font-size: 19px;
  }

  .lead {
    font-size: 16px;
  }

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

  .hero-panel {
    grid-template-columns: 1fr;
    max-width: 300px;
  }

  .section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .checker,
  .lead-form,
  .route-card,
  .price-card,
  .risk-grid article,
  .timeline article {
    padding: 18px;
  }

  .primary-photo {
    min-height: 0;
  }

  .personal-list div {
    grid-template-columns: 1fr;
  }

  .personal-list span {
    grid-row: auto;
  }

  .story-card-body {
    padding: 18px;
  }
}
