:root {
  --v-bg: #f4f1eb;
  --v-paper: #fffdf9;
  --v-ink: #10202a;
  --v-muted: #66737a;
  --v-line: rgba(16, 32, 42, .14);
  --v-navy: #102f3e;
  --v-navy-strong: #0b2531;
  --v-teal: #4f9ca0;
  --v-coral: #d8755b;
  --v-soft: #eaf1ef;
  --v-max: 1240px;
  --v-radius: 22px;
  --v-radius-control: 12px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--v-bg);
  color: var(--v-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }

.v-wrap {
  width: min(calc(100% - 40px), var(--v-max));
  margin-inline: auto;
}

.v-header {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--v-line);
}
.v-brand img { display: block; width: 120px; }
.v-header nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: #526068;
  font-size: 13px;
  font-weight: 700;
}
.v-header nav a:hover,
.v-header nav a:focus-visible { color: var(--v-ink); }
.v-actions { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 800; }
.v-signin {
  padding: 9px 13px;
  border: 1px solid var(--v-line);
  border-radius: 999px;
  background: rgba(255,255,255,.54);
}

.v-hero {
  padding: 64px 0 42px;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  grid-template-areas:
    "copy visual"
    "search search"
    "proof proof";
  gap: 38px 54px;
  align-items: center;
}
.v-hero-copy { grid-area: copy; }
.v-kicker {
  margin: 0 0 13px;
  color: #4f7a80;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.v-kicker--light { color: #9bc0c2; }
.v-hero-copy h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(52px, 6vw, 80px);
  line-height: .97;
  letter-spacing: -.058em;
  font-weight: 800;
}
.v-hero-copy > p:last-child {
  margin: 22px 0 0;
  max-width: 690px;
  color: var(--v-muted);
  font-size: 18px;
  line-height: 1.55;
}

.v-visual {
  grid-area: visual;
  min-height: 420px;
  border-radius: 210px 210px 24px 24px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 18%, rgba(235,184,139,.74), transparent 24%),
    radial-gradient(circle at 30% 34%, rgba(209,231,228,.62), transparent 34%),
    linear-gradient(145deg, #8aaeb0 0%, #c9c0af 52%, #60777a 100%);
  box-shadow: 0 20px 55px rgba(30,51,47,.12);
}
.v-visual::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 44px;
  right: 15%;
  top: 39%;
  border-radius: 70% 18% 70% 18%;
  background: rgba(255,255,255,.88);
  transform: rotate(-10deg) skewX(-16deg);
  box-shadow: -48px 10px 0 -16px rgba(255,255,255,.66);
}
.v-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,28,34,.02), rgba(8,28,34,.38));
  pointer-events: none;
}
.v-route-line {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  top: 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
}
.v-route-line i { height: 1px; background: rgba(255,255,255,.72); position: relative; }
.v-route-line i::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d9efef;
}
.v-visual-caption {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 17px 18px;
  border-radius: 15px;
  background: rgba(255,253,249,.94);
  backdrop-filter: blur(10px);
}
.v-visual-caption strong { display: block; font-size: 16px; }
.v-visual-caption span { display: block; margin-top: 5px; color: #68767d; font-size: 12px; line-height: 1.45; }

.v-search {
  grid-area: search;
  margin: 0;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--v-line);
  border-radius: var(--v-radius);
  box-shadow: 0 20px 52px rgba(25,42,35,.09);
}
.v-search-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 2px 4px 12px;
}
.v-search-intro strong { font-size: 13px; }
.v-search-intro span { color: var(--v-muted); font-size: 11px; }
.v-fields {
  display: grid;
  grid-template-columns: 1.15fr 42px 1.15fr .86fr auto;
  gap: 8px;
  align-items: stretch;
}
.v-field {
  min-width: 0;
  min-height: 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 14px 9px;
  background: #f7f7f3;
  border: 1px solid #e4e4dc;
  border-radius: var(--v-radius-control);
}
.v-field > span {
  color: #78827f;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.v-field input {
  width: 100%;
  min-width: 0;
  margin-top: 3px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--v-ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}
.v-field input[type="date"] {
  min-height: 22px;
  height: 22px;
  appearance: none;
  -webkit-appearance: none;
}
.v-field input::placeholder { color: #8d9592; opacity: 1; }
.v-field:focus-within {
  border-color: rgba(79,156,160,.72);
  box-shadow: 0 0 0 3px rgba(79,156,160,.13);
}
.v-swap {
  align-self: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--v-line);
  background: white;
  color: #2b6669;
  font-size: 18px;
}
.v-swap:hover,
.v-swap:focus-visible { background: var(--v-soft); }
.v-search-btn {
  min-width: 174px;
  min-height: 58px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--v-radius-control);
  background: var(--v-navy);
  color: white;
  font-weight: 900;
}
.v-search-btn:hover,
.v-search-btn:focus-visible { background: var(--v-navy-strong); }
.v-search-btn:disabled { opacity: .66; cursor: wait; }

.v-proofline {
  grid-area: proof;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: #657178;
  font-size: 11px;
}
.v-proofline span::before { content: "•"; color: var(--v-coral); margin-right: 7px; }

.v-decision-band { margin-top: 34px; background: var(--v-navy); color: white; }
.v-decision-grid { padding: 74px 0; display: grid; grid-template-columns: .86fr 1.14fr; gap: 70px; }
.v-decision-grid h2,
.v-editorial h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 60px);
  line-height: .99;
  letter-spacing: -.05em;
}
.v-decision-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.v-decision-cards article {
  min-height: 190px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
}
.v-decision-cards article > span { font-size: 9px; color: #8fbabd; font-weight: 900; }
.v-decision-cards strong { display: block; margin-top: 28px; font-size: 15px; }
.v-decision-cards p { margin: 8px 0 0; color: #b9c7cc; font-size: 11px; line-height: 1.55; }

.v-editorial { padding: 76px 0 80px; }
.v-editorial-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}
.v-editorial-head p:last-child { max-width: 520px; color: var(--v-muted); line-height: 1.6; }
.v-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.v-tool-card {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--v-line);
  border-radius: 16px;
  background: var(--v-paper);
  display: flex;
  flex-direction: column;
}
.v-tool-card small { color: #668087; font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.v-tool-card strong { display: block; margin-top: 22px; font-size: 22px; line-height: 1.18; letter-spacing: -.03em; }
.v-tool-card span { margin-top: auto; color: #5f7076; font-size: 11px; font-weight: 700; }
.v-tool-card:hover,
.v-tool-card:focus-visible { border-color: rgba(79,156,160,.48); transform: translateY(-1px); }

.v-footer { border-top: 1px solid var(--v-line); background: #eeece6; }
.v-footer > .v-wrap {
  min-height: 164px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.v-footer img { width: 108px; }
.v-footer p { margin: 12px 0 0; color: #6f7775; font-size: 11px; }
.v-footer-links { display: flex; gap: 18px; flex-wrap: wrap; color: #596663; font-size: 11px; font-weight: 700; }

:focus-visible { outline: 3px solid rgba(79,156,160,.42); outline-offset: 3px; }

@media (max-width: 1000px) {
  .v-hero { grid-template-columns: 1fr .78fr; gap: 30px; }
  .v-fields { grid-template-columns: 1fr 40px 1fr 1fr; }
  .v-search-btn { grid-column: 1 / -1; min-height: 56px; }
  .v-decision-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 760px) {
  .v-wrap { width: min(calc(100% - 24px), var(--v-max)); }
  .v-header { min-height: 62px; grid-template-columns: 1fr auto; }
  .v-header nav { display: none; }
  .v-actions > a:first-child { display: none; }
  .v-brand img { width: 104px; }
  .v-signin { padding: 8px 12px; }

  .v-hero {
    padding: 24px 0 30px;
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "search"
      "visual"
      "proof";
    gap: 16px;
  }
  .v-kicker { margin-bottom: 10px; font-size: 9px; }
  .v-hero-copy h1 {
    max-width: 620px;
    font-size: clamp(37px, 9.8vw, 43px);
    line-height: .98;
    letter-spacing: -.052em;
  }
  .v-hero-copy > p:last-child {
    margin-top: 14px;
    max-width: 600px;
    font-size: 14px;
    line-height: 1.48;
  }

  .v-search { padding: 10px; border-radius: 18px; box-shadow: 0 14px 36px rgba(25,42,35,.08); }
  .v-search-intro { align-items: flex-start; flex-direction: column; gap: 2px; padding: 1px 3px 10px; }
  .v-search-intro strong { font-size: 12px; }
  .v-search-intro span { font-size: 10px; }
  .v-fields { position: relative; grid-template-columns: 1fr 1fr; gap: 7px; }
  .v-field { min-height: 58px; padding: 9px 12px 8px; }
  .v-field--from { grid-column: 1; }
  .v-field--to { grid-column: 2; }
  .v-field--date { grid-column: 1 / -1; min-height: 58px; }
  .v-field input { font-size: 14px; }
  .v-field input[type="date"] { min-height: 20px; height: 20px; }
  .v-swap {
    position: absolute;
    z-index: 3;
    top: 11px;
    left: 50%;
    width: 34px;
    height: 34px;
    transform: translateX(-50%);
    font-size: 16px;
  }
  .v-search-btn { grid-column: 1 / -1; min-height: 52px; font-size: 14px; }

  .v-visual {
    min-height: 220px;
    border-radius: 112px 112px 18px 18px;
    box-shadow: 0 14px 34px rgba(30,51,47,.10);
  }
  .v-visual::before { width: 116px; height: 30px; right: 14%; }
  .v-route-line { left: 22px; right: 22px; top: 22px; font-size: 9px; }
  .v-visual-caption { left: 18px; right: 18px; bottom: 18px; padding: 14px 15px; border-radius: 13px; }
  .v-visual-caption strong { font-size: 15px; }
  .v-visual-caption span { margin-top: 4px; font-size: 11px; line-height: 1.4; }
  .v-proofline { gap: 7px 14px; font-size: 9.5px; line-height: 1.4; }

  .v-decision-band { margin-top: 18px; }
  .v-decision-grid { padding: 44px 0 46px; gap: 24px; }
  .v-decision-grid h2,
  .v-editorial h2 {
    font-size: clamp(34px, 9.4vw, 40px);
    line-height: 1;
    letter-spacing: -.047em;
  }
  .v-decision-cards { grid-template-columns: 1fr; gap: 9px; }
  .v-decision-cards article { min-height: 0; padding: 16px; border-radius: 14px; }
  .v-decision-cards article > span { font-size: 8px; }
  .v-decision-cards strong { margin-top: 18px; font-size: 15px; }
  .v-decision-cards p { margin-top: 6px; font-size: 10.5px; line-height: 1.48; }

  .v-editorial { padding: 46px 0 52px; }
  .v-editorial-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 20px; }
  .v-editorial-head p:last-child { margin: 0; font-size: 13px; line-height: 1.5; }
  .v-tools { grid-template-columns: 1fr; gap: 9px; }
  .v-tool-card { min-height: 146px; padding: 17px; border-radius: 14px; }
  .v-tool-card small { font-size: 8px; }
  .v-tool-card strong { margin-top: 14px; max-width: 560px; font-size: 19px; line-height: 1.16; }
  .v-tool-card span { font-size: 10px; }

  .v-footer > .v-wrap {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    padding: 28px 0 30px;
  }
  .v-footer img { width: 100px; }
  .v-footer p { margin-top: 10px; }
  .v-footer-links { gap: 12px 16px; font-size: 10px; }
}

@media (max-width: 390px) {
  .v-wrap { width: min(calc(100% - 20px), var(--v-max)); }
  .v-hero-copy h1 { font-size: 36px; }
  .v-search { padding: 9px; }
  .v-field { padding-inline: 10px; }
  .v-tool-card strong { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
