@font-face {
  font-family: "M PLUS 1p";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/MPLUS1p-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "M PLUS 1p";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/MPLUS1p-Bold.ttf") format("truetype");
}

:root {
  --forest: #16261e;
  --forest-2: #20352a;
  --paper: #f3f0e9;
  --white: #fff;
  --ink: #222722;
  --muted: #687069;
  --line: #d8d5cc;
  --accent: #ad8a45;
  --accent-hover: #c09b50;
  --accent-text: #171a17;
  --card-line: #d8d5cc;
  --soft: #f3f0e9;
  --hero: linear-gradient(135deg, #16261e 0%, #1d3026 72%, #26372d 100%);
  --hero-card: #20352a;
  --hero-muted: #d2d9d4;
  --footer: #101a15;
  --footer-muted: #9da8a0;
  --max: 1200px;
  --shadow: 0 16px 44px rgba(17, 28, 22, .12);
  color: var(--ink);
  background: var(--soft);
  font-family: "M PLUS 1p", Arial, sans-serif;
}

body[data-landing="contract"] {
  --ink: #1c2430;
  --muted: #5b6472;
  --line: #dbe3f2;
  --accent: #3768c0;
  --accent-hover: #4a7ed4;
  --accent-text: #fff;
  --card-line: #dbe3f2;
  --soft: #f4f7fc;
  --hero: linear-gradient(135deg, #0f2450 0%, #173a75 65%, #2054a0 100%);
  --hero-card: #1c3d78;
  --hero-muted: #d3ddf3;
  --footer: #0a1a38;
  --footer-muted: #8fa2c8;
  --shadow: 0 16px 44px rgba(10, 20, 45, .18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

picture {
  display: block;
}

a {
  color: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 64px;
  background: rgba(22, 38, 30, .97);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(12px);
}

body[data-landing="contract"] .site-header {
  background: rgba(20, 40, 80, .97);
  border-bottom-color: rgba(255, 255, 255, .12);
}

.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
}

.brand {
  flex: none;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  white-space: nowrap;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 28px);
}

.site-nav a {
  color: #d8dfda;
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
}

body[data-landing="contract"] .site-nav a {
  color: #c9d6ef;
}

.site-nav a:hover {
  color: #fff;
}

body[data-landing="family"] .nav-benefits {
  display: none;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 19px;
  border: 1px solid var(--accent);
  border-radius: 7px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
}

.btn-header {
  flex: none;
  min-height: 36px;
  padding: 7px 13px;
  border-color: #766a4e;
  background: transparent;
  color: #fff;
  font-size: 13px;
  white-space: nowrap;
}

body[data-landing="contract"] .btn-header {
  border-color: #5478b8;
}

.btn-header:hover {
  border-color: #a58d5d;
  background: rgba(255, 255, 255, .08);
}

body[data-landing="contract"] .btn-header:hover {
  border-color: #7fa0e0;
  background: rgba(255, 255, 255, .1);
}

.hero {
  padding: clamp(34px, 6vw, 54px) 0 clamp(38px, 6vw, 58px);
  background: var(--hero);
  color: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(28px, 6vw, 92px);
  align-items: start;
}

.hero-copy {
  min-width: 0;
  max-width: 680px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.04em;
  text-wrap: balance;
}

body[data-landing="contract"] .hero h1 {
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.06;
  letter-spacing: -.03em;
}

.hero-lead {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--hero-muted);
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.55;
}

.hero-money {
  margin-top: clamp(22px, 4vw, 31px);
}

.hero-money-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-block: 1px solid rgba(255, 255, 255, .17);
  background: rgba(255, 255, 255, .17);
}

.hero-money-grid .money-card {
  min-width: 0;
  padding: 13px 14px 15px;
  border: 0;
  border-radius: 0;
  background: var(--hero-card);
  color: #fff;
  box-shadow: none;
}

.hero-money-grid .money-label {
  display: block;
  color: #aeb9b1;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

body[data-landing="contract"] .hero-money-grid .money-label {
  color: #a9bce6;
}

.hero-money-grid strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: clamp(14px, 1.4vw, 20px);
  line-height: 1.2;
  white-space: nowrap;
}

.hero-money-grid .money-note,
.hero-money-grid .claim-meta {
  display: none;
}

.hero-cta {
  width: min(100%, 340px);
  margin-top: 24px;
}

.hero-form-card {
  width: 100%;
  scroll-margin-top: 78px;
  align-self: start;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero-form-card h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.hero-form-card > p {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.hero-form-card form {
  display: grid;
  gap: 8px;
}

.hero-form-card label {
  color: #434a44;
  font-size: 13px;
  font-weight: 700;
}

body[data-landing="contract"] .hero-form-card label {
  color: #3a4250;
}

.hero-form-card input[type="text"],
.hero-form-card select {
  width: 100%;
  height: 43px;
  padding: 9px 11px;
  border: 1px solid #c9ccc7;
  border-radius: 6px;
  outline: none;
  background: #fff;
  color: var(--ink);
}

body[data-landing="contract"] .hero-form-card input[type="text"],
body[data-landing="contract"] .hero-form-card select {
  border-color: #c7cede;
}

.hero-form-card input[type="text"]:focus,
.hero-form-card select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}

.hero-form-card .btn {
  width: 100%;
  margin-top: 5px;
}

.form-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 5px 0;
}

.hero-form-card .check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

.check input {
  width: 16px;
  height: 16px;
  flex: none;
  margin: 1px 0 0;
  accent-color: var(--accent);
}

.section {
  padding: clamp(44px, 7vw, 70px) 0;
  scroll-margin-top: 64px;
}

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

.kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(27px, 3.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -.03em;
}

.section-heading > p:not(.kicker) {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.benefits-section {
  background: var(--soft);
}

.roles-section {
  background: var(--soft);
}

body[data-landing="contract"] .roles-section,
body[data-landing="contract"] .faq-section {
  background: #fff;
}

.money-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.money-grid .money-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--card-line);
  border-radius: 9px;
  background: #fff;
}

.money-grid .money-card-featured {
  background: #0f2450;
  color: #fff;
}

.money-grid .money-label {
  display: block;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.money-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.2;
  white-space: nowrap;
}

.money-grid .money-note {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.money-grid .money-card-featured .money-label,
.money-grid .money-card-featured .money-note,
.money-grid .money-card-featured .claim-meta {
  color: #b7c8eb;
}

.claim-meta {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.role-group {
  margin-top: 36px;
}

.role-group + .role-group {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.carousel-heading,
.section-topline {
  margin-bottom: 16px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.carousel-heading h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -.02em;
}

.carousel-controls {
  flex: none;
  display: flex;
  gap: 8px;
}

.carousel-controls button {
  width: 37px;
  height: 37px;
  border: 1px solid #b9bdb8;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}

body[data-landing="contract"] .carousel-controls button {
  border-color: #bcc9df;
}

.carousel-controls button:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.carousel {
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.role-carousel,
.condition-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(258px, 30vw, 368px);
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  padding: 2px 0 8px;
}

.role-card,
.condition-card {
  min-width: 0;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid var(--card-line);
  border-radius: 9px;
  background: #fff;
}

.role-card {
  display: flex;
  flex-direction: column;
}

.role-card picture,
.condition-card picture {
  height: 180px;
  background: #d8ddd8;
}

body[data-landing="contract"] .role-card picture,
body[data-landing="contract"] .condition-card picture {
  background: #dbe3f2;
}

.role-body {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 19px;
}

.role-category {
  display: none;
}

.role-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -.02em;
}

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

.role-details {
  margin: 15px 0 19px;
  border-top: 1px solid color-mix(in srgb, var(--line) 75%, #fff);
}

.role-details div {
  padding: 9px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, #fff);
}

.role-details dt {
  color: #747a74;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.role-details dd {
  margin: 3px 0 0;
  font-size: 13px;
  line-height: 1.42;
}

.card-link {
  margin-top: auto;
  padding: 10px 12px;
  border: 1px solid #8f9891;
  border-radius: 5px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

body[data-landing="contract"] .card-link {
  border-color: #aabbd8;
}

.card-link:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, #fff);
  color: var(--accent);
}

.conditions-section {
  background: #fff;
}

.condition-card > div {
  padding: 19px;
}

.condition-card span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.condition-card h3 {
  margin: 8px 0;
  font-size: 20px;
  line-height: 1.2;
}

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

.proof-section {
  background: #fff;
}

.proof-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
}

.proof-copy {
  padding: clamp(24px, 4vw, 44px);
}

.proof-label {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.proof-card h2 {
  margin: 9px 0 16px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.12;
}

.proof-card blockquote {
  margin: 0;
  color: var(--muted);
}

.proof-list {
  padding-left: 20px;
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
}

.btn-inline {
  margin-top: 12px;
}

.faq-section {
  background: var(--soft);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(380px, 2fr);
  gap: 40px;
  align-items: start;
}
.faq-content {
  min-width: 0;
}


.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 16px 30px 16px 0;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  color: var(--accent);
  font-size: 22px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 30px 16px 0;
  color: var(--muted);
}

.source-details {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.source-details summary {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.source-details summary::-webkit-details-marker {
  display: none;
}

.source-details summary::before {
  content: "+";
  color: var(--accent);
  font-size: 18px;
  font-weight: 400;
}

.source-details[open] summary::before {
  content: "−";
}

.sources {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
  padding-left: 20px;
}

.sources li {
  padding-left: 4px;
}

.source-claim,
.sources .claim-meta {
  display: block;
}

.foot {
  padding: 24px 0;
  background: var(--footer);
  color: var(--footer-muted);
  font-size: 12px;
}

.foot p {
  margin: 4px 0;
}

@media (min-width: 621px) {
  .role-group:not(:has(.role-card:nth-child(4))) .carousel-controls {
    visibility: hidden;
  }
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .btn-header {
    margin-left: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero h1,
  body[data-landing="contract"] .hero h1 {
    font-size: clamp(38px, 8vw, 56px);
  }

  .hero-form-card {
    max-width: 620px;
    justify-self: center;
  }

  .faq-layout,
  .proof-card {
    grid-template-columns: 1fr;
  }

  .proof-card picture {
    height: 320px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .wrap {
    width: min(var(--max), calc(100% - 30px));
  }

  .brand {
    font-size: 13px;
  }

  .btn-header {
    min-height: 36px;
    padding: 7px 11px;
    font-size: 12px;
  }

  .hero {
    padding: 30px 0 38px;
  }

  .hero h1,
  body[data-landing="contract"] .hero h1 {
    font-size: clamp(34px, 10.1vw, 42px);
  }

  .hero-lead {
    margin-top: 17px;
    font-size: 16px;
  }

  .hero-money {
    margin-top: 23px;
  }

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

  .hero-money-grid .money-card {
    min-height: 76px;
    padding: 10px 8px;
  }

  .hero-money-grid .money-label {
    font-size: 9px;
  }

  .hero-money-grid strong {
    font-size: 10px;
    line-height: 1.25;
  }

  .hero-cta {
    width: 100%;
    margin-top: 22px;
  }

  .hero-form-card {
    padding: 21px 18px;
  }

  .hero-form-card h2 {
    font-size: 24px;
  }

  .section {
    padding: 47px 0;
  }

  .section-heading h2 {
    font-size: 33px;
  }

  .section-heading > p:not(.kicker) {
    font-size: 15px;
  }

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

  .role-group {
    margin-top: 31px;
  }

  .role-group + .role-group {
    margin-top: 39px;
    padding-top: 30px;
  }

  .carousel-heading {
    align-items: center;
  }

  .carousel-heading h3 {
    max-width: 210px;
    font-size: 19px;
  }

  .role-carousel,
  .condition-carousel {
    grid-auto-columns: min(84vw, 320px);
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 380px) {
  .brand {
    max-width: 125px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero h1,
  body[data-landing="contract"] .hero h1 {
    font-size: 33px;
  }
}

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

/* Claude Design full-page structures */
.brand {
  max-width: 520px;
  line-height: 1.25;
  white-space: normal;
}

body[data-landing="family"] .hero-money-grid {
  grid-template-columns: repeat(2, minmax(140px, 1fr));
}

.benefit-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.benefit-card {
  padding: 22px;
  border: 1px solid var(--card-line);
  border-radius: 9px;
  background: #fff;
}

.benefit-card > span {
  display: block;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.benefit-card h3 {
  margin: 8px 0;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -.01em;
}

.benefit-card p {
  margin: 0;
  color: #4a5262;
  font-size: 14px;
}

.benefit-card p + p {
  margin-top: 14px;
}

.benefit-card-dark {
  border-color: #0f2450;
  background: #0f2450;
  color: #fff;
}

.benefit-card-dark > span {
  color: #9fb6e6;
}

.benefit-card-dark p {
  color: #c9d6ef;
}

.contract-role-carousel {
  margin-top: 32px;
}

.role-card-simple .role-body {
  height: auto;
}

.role-card-simple h3 {
  margin-top: 0;
}

@media (max-width: 900px) {
  .brand {
    max-width: min(64vw, 420px);
    font-size: 11px;
  }
}

@media (max-width: 620px) {
  .brand {
    max-width: calc(100% - 132px);
    font-size: 9.5px;
  }

  body[data-landing="family"] .hero-money-grid strong {
    font-size: 13px;
  }

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

@media (max-width: 380px) {
  .brand {
    max-width: calc(100% - 125px);
    overflow: visible;
    text-overflow: clip;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.carousel-heading .sr-only + .carousel-controls {
  margin-left: auto;
}

/* Contract patriotic visual layer */
body[data-landing="contract"] {
  --flag-blue: #0b4f9c;
  --flag-red: #c9142f;
  --flag-navy: #0a2857;
  --muted: #4c5768;
}

body[data-landing="contract"] .site-header {
  position: sticky;
  background: rgba(255, 255, 255, .97);
  border-bottom: 0;
  box-shadow: 0 8px 28px rgba(10, 40, 87, .11);
}

body[data-landing="contract"] .site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, #fff 0 33.333%, var(--flag-blue) 33.333% 66.666%, var(--flag-red) 66.666%);
}

body[data-landing="contract"] .brand {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding-left: 64px;
  background: url("/static/media/real/web/contract-center-logo.webp") left center / 54px 54px no-repeat;
  color: var(--flag-navy);
  letter-spacing: .045em;
}

body[data-landing="contract"] .site-nav a {
  color: #31527d;
  font-weight: 700;
}

body[data-landing="contract"] .site-nav a:hover {
  color: var(--flag-red);
}

body[data-landing="contract"] .btn {
  position: relative;
  border: 2px solid #fff;
  background: linear-gradient(112deg, #fff 0 5%, #1b66b3 19% 70%, #c9142f 94% 100%);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 24, 62, .7);
  box-shadow:
    0 0 0 1px rgba(11, 79, 156, .9),
    0 8px 22px rgba(11, 79, 156, .24),
    0 3px 9px rgba(201, 20, 47, .14);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

body[data-landing="contract"] .btn:hover {
  border-color: #fff;
  background: linear-gradient(112deg, #fff 0 5%, #2475c8 19% 70%, #db1938 94% 100%);
  box-shadow:
    0 0 0 1px rgba(11, 79, 156, 1),
    0 12px 28px rgba(11, 79, 156, .3),
    0 4px 12px rgba(201, 20, 47, .2);
  filter: saturate(1.06);
  transform: translateY(-1px);
}

body[data-landing="contract"] .btn:focus-visible {
  outline: 3px solid rgba(201, 20, 47, .38);
  outline-offset: 3px;
}

body[data-landing="contract"] .btn-header {
  color: #fff;
}

body[data-landing="contract"] .hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(6, 26, 63, .97) 0%, rgba(9, 42, 91, .94) 43%, rgba(15, 62, 125, .78) 73%, rgba(7, 34, 79, .86) 100%),
    url("/static/media/real/web/contract-hero-patriotic.webp") center 42% / cover no-repeat;
}

body[data-landing="contract"] .hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .95) 0 33.333%, #246eb8 33.333% 66.666%, #d5223f 66.666%);
}

body[data-landing="contract"] .hero-grid {
  position: relative;
  z-index: 1;
}

body[data-landing="contract"] .hero h1 {
  text-shadow: 0 3px 18px rgba(0, 17, 49, .3);
}

body[data-landing="contract"] .hero-lead {
  color: #e3ebfa;
}

body[data-landing="contract"] .hero-money-grid {
  gap: 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
}

body[data-landing="contract"] .hero-money-grid .money-card {
  min-height: 98px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-top: 4px solid #fff;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(37, 91, 164, .94), rgba(20, 57, 117, .96));
  box-shadow: 0 13px 32px rgba(1, 17, 49, .26), inset 0 1px 0 rgba(255, 255, 255, .14);
}

body[data-landing="contract"] .hero-money-grid .money-card:nth-child(2) {
  border-top-color: #4b91db;
}

body[data-landing="contract"] .hero-money-grid .money-card:nth-child(3) {
  border-top-color: #e02a44;
}

body[data-landing="contract"] .hero-money-grid .money-label {
  color: #d8e5fa;
  font-weight: 700;
}

body[data-landing="contract"] .hero-money-grid strong {
  margin-top: 7px;
  font-size: clamp(16px, 1.5vw, 21px);
  text-shadow: 0 2px 8px rgba(0, 15, 42, .36);
}

body[data-landing="contract"] .hero-form-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(30, 91, 164, .34);
  background-color: #fff;
  background-image: url("/static/media/real/web/contract-coat-arms.webp");
  background-position: center 88%;
  background-repeat: no-repeat;
  background-size: 88% auto;
  box-shadow:
    0 26px 68px rgba(3, 20, 54, .28),
    0 0 0 4px rgba(255, 255, 255, .1);
}

body[data-landing="contract"] .hero-form-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #fff 0 33.333%, var(--flag-blue) 33.333% 66.666%, var(--flag-red) 66.666%);
}

body[data-landing="contract"] .hero-form-card input[type="text"],
body[data-landing="contract"] .hero-form-card select {
  border-color: #b7c5db;
  background-color: rgba(255, 255, 255, .94);
  box-shadow: 0 3px 10px rgba(13, 47, 93, .05);
}

body[data-landing="contract"] .hero-form-card > p {
  color: #4d5868;
  font-size: 15px;
}

body[data-landing="contract"] .hero-form-card label {
  color: #27364b;
  font-size: 13.5px;
}

body[data-landing="contract"] .hero-form-card .check {
  color: #4c5768;
  font-size: 12.5px;
}

body[data-landing="contract"] .section {
  padding-block: clamp(58px, 8vw, 88px);
}

body[data-landing="contract"] .benefits-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #f7f9fd, #eef3fa);
}

body[data-landing="contract"] .benefits-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("/static/media/real/web/contract-family-pattern.jpg") center / 560px auto repeat;
  opacity: .24;
  -webkit-mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, .28) 48%, #000);
  mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, .28) 48%, #000);
}

body[data-landing="contract"] .benefit-grid {
  gap: 22px;
  margin-top: 38px;
}

body[data-landing="contract"] .benefit-card {
  padding: 27px;
  border-color: rgba(27, 78, 144, .16);
  border-top: 3px solid rgba(11, 79, 156, .68);
  border-radius: 13px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 16px 38px rgba(13, 47, 93, .09);
}

body[data-landing="contract"] .benefit-card:nth-child(3n + 2) {
  border-top-color: rgba(255, 255, 255, .96);
}

body[data-landing="contract"] .benefit-card:nth-child(3n) {
  border-top-color: rgba(201, 20, 47, .72);
}

body[data-landing="contract"] .benefit-card-dark {
  border-color: #173f79;
  border-top-color: #d5223f;
  background: linear-gradient(145deg, #102b5b, #0a2149);
  box-shadow: 0 18px 42px rgba(7, 30, 69, .2);
}

body[data-landing="contract"] .benefit-card > span {
  font-size: 11.5px;
}

body[data-landing="contract"] .benefit-card h3 {
  font-size: 20px;
  line-height: 1.28;
}

body[data-landing="contract"] .benefit-card p {
  color: #3e495a;
  font-size: 15px;
  line-height: 1.62;
}

body[data-landing="contract"] .benefit-card-dark p {
  color: #e1e9f7;
}

body[data-landing="contract"] .roles-section {
  background: linear-gradient(180deg, #fff, #f8fafd);
}

body[data-landing="contract"] .role-card {
  border-color: rgba(25, 75, 139, .16);
  border-radius: 13px;
  box-shadow: 0 15px 36px rgba(13, 47, 93, .11);
}

body[data-landing="contract"] .role-card picture {
  border-bottom: 3px solid;
  border-image: linear-gradient(90deg, #fff 0 33.333%, var(--flag-blue) 33.333% 66.666%, var(--flag-red) 66.666%) 1;
}

body[data-landing="contract"] .role-body {
  padding: 24px;
}

body[data-landing="contract"] .role-card p {
  color: #445063;
  font-size: 15px;
  line-height: 1.58;
}

body[data-landing="contract"] .faq-section {
  background: #fff;
}

body[data-landing="contract"] .faq-list {
  display: grid;
  gap: 12px;
  border-top: 0;
}

body[data-landing="contract"] .faq-list details {
  padding-inline: 20px;
  border: 1px solid rgba(25, 75, 139, .13);
  border-left: 3px solid var(--flag-blue);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(13, 47, 93, .07);
}

body[data-landing="contract"] .faq-list details:nth-child(3n) {
  border-left-color: var(--flag-red);
}

body[data-landing="contract"] .faq-list details p {
  color: #465265;
  font-size: 15px;
  line-height: 1.62;
}

body[data-landing="contract"] .foot {
  color: #bfcae0;
}

@media (max-width: 900px) {
  body[data-landing="contract"] .hero {
    background:
      linear-gradient(90deg, rgba(6, 26, 63, .97), rgba(10, 43, 92, .91)),
      url("/static/media/real/web/contract-hero-patriotic.webp") 62% center / cover no-repeat;
  }
}

@media (max-width: 620px) {
  body[data-landing="contract"] .brand {
    width: auto;
    min-width: 0;
    min-height: 58px;
    flex: 1 1 auto;
    padding-left: 54px;
    background-size: 48px 48px;
    font-size: 9px;
    line-height: 1.18;
  }

  body[data-landing="contract"] .hero-money-grid {
    gap: 6px;
  }

  body[data-landing="contract"] .hero-money-grid .money-card {
    min-height: 86px;
    padding: 10px 8px;
    border-top-width: 3px;
  }

  body[data-landing="contract"] .hero-money-grid .money-label {
    font-size: 9.5px;
    line-height: 1.25;
  }

  body[data-landing="contract"] .hero-money-grid strong {
    font-size: 12px;
    line-height: 1.25;
    white-space: normal;
  }

  body[data-landing="contract"] .benefits-section::before {
    background-size: 410px auto;
    opacity: .2;
  }

  body[data-landing="contract"] .benefit-grid {
    gap: 17px;
    margin-top: 30px;
  }

  body[data-landing="contract"] .benefit-card,
  body[data-landing="contract"] .role-body {
    padding: 22px;
  }
}

/* Family visual layer: green editorial refresh */
body[data-landing="family"] {
  --forest-3: #2c4a39;
  --moss: #3f6b52;
  --gold: #c9a25a;
  --gold-deep: #9d7a37;
  --accent: #b8903f;
  --accent-hover: #c99e4c;
  --ink: #1b221d;
  --muted: #5d675f;
  --soft: #f4f2ec;
  --line: #d9d7ce;
  --card-line: rgba(22, 38, 30, .11);
  --shadow: 0 22px 56px rgba(8, 18, 12, .16);
  --hero: linear-gradient(128deg, #12211a 0%, #1a2e24 46%, #23392d 100%);
  --hero-card: #22392d;
  --hero-muted: #d9e1db;
}

body[data-landing="family"] .site-header {
  background: rgba(17, 30, 23, .96);
  border-bottom: 0;
  box-shadow: 0 10px 30px rgba(6, 14, 10, .22);
}

body[data-landing="family"] .site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(201, 162, 90, 0) 0%, var(--gold) 28%, var(--gold) 72%, rgba(201, 162, 90, 0) 100%);
  opacity: .85;
}

body[data-landing="family"] .brand {
  letter-spacing: .07em;
}

body[data-landing="family"] .site-nav a {
  color: #d3dcd6;
  font-weight: 700;
}

body[data-landing="family"] .site-nav a:hover {
  color: var(--gold);
}

body[data-landing="family"] .btn {
  position: relative;
  border: 1px solid #8a6b2f;
  border-radius: 9px;
  background: linear-gradient(180deg, #d1ab5f 0%, #b8903f 100%);
  color: #14190f;
  letter-spacing: .01em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .34),
    0 1px 0 rgba(0, 0, 0, .06),
    0 10px 24px rgba(155, 118, 48, .28);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

body[data-landing="family"] .btn:hover {
  border-color: #7f6128;
  background: linear-gradient(180deg, #dbb66b 0%, #c39a48 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .4),
    0 1px 0 rgba(0, 0, 0, .06),
    0 14px 30px rgba(155, 118, 48, .34);
  transform: translateY(-1px);
}

body[data-landing="family"] .btn:focus-visible {
  outline: 3px solid rgba(201, 162, 90, .45);
  outline-offset: 3px;
}

body[data-landing="family"] .btn-header {
  border: 1px solid rgba(201, 162, 90, .7);
  background: rgba(255, 255, 255, .04);
  color: #fff;
  box-shadow: none;
}

body[data-landing="family"] .btn-header:hover {
  border-color: var(--gold);
  background: rgba(201, 162, 90, .16);
  box-shadow: none;
}

body[data-landing="family"] .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(40px, 6.5vw, 66px) 0 clamp(46px, 7vw, 72px);
}

body[data-landing="family"] .hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("/static/media/real/web/family-hero-team.jpg") right 62% / auto 118% no-repeat;
  opacity: .28;
  filter: grayscale(.55) contrast(1.05);
  mix-blend-mode: luminosity;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 41%, rgba(0, 0, 0, .55) 64%, #000 86%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 41%, rgba(0, 0, 0, .55) 64%, #000 86%);
}

body[data-landing="family"] .hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(60% 70% at 8% 12%, rgba(63, 107, 82, .42), rgba(63, 107, 82, 0) 70%),
    radial-gradient(48% 60% at 92% 100%, rgba(201, 162, 90, .13), rgba(201, 162, 90, 0) 70%);
  pointer-events: none;
}

body[data-landing="family"] .hero-grid {
  position: relative;
  z-index: 1;
  align-items: center;
}

body[data-landing="family"] .hero h1 {
  text-shadow: 0 4px 22px rgba(4, 12, 8, .35);
}

body[data-landing="family"] .hero-lead {
  color: #dfe6e1;
}

body[data-landing="family"] .hero-money {
  margin-top: clamp(26px, 4.4vw, 36px);
}

body[data-landing="family"] .hero-money-grid {
  gap: 12px;
  border: 0;
  background: transparent;
}

body[data-landing="family"] .hero-money-grid .money-card {
  position: relative;
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 20px 19px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-top: 3px solid var(--gold);
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(48, 78, 61, .92) 0%, rgba(30, 51, 40, .96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    0 16px 36px rgba(4, 12, 8, .32);
  backdrop-filter: blur(6px);
}

body[data-landing="family"] .hero-money-grid .money-card:nth-child(2n) {
  border-top-color: #e2c078;
}

body[data-landing="family"] .hero-money-grid .money-label {
  color: #c4d0c8;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .07em;
}

body[data-landing="family"] .hero-money-grid strong {
  margin-top: 8px;
  font-size: clamp(20px, 1.85vw, 27px);
  letter-spacing: -.02em;
  text-shadow: 0 2px 10px rgba(4, 12, 8, .35);
}

body[data-landing="family"] .hero-form-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 16px;
  background: #fff;
  box-shadow:
    0 34px 80px rgba(3, 10, 6, .42),
    0 0 0 6px rgba(255, 255, 255, .06);
}

body[data-landing="family"] .hero-form-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold) 50%, var(--gold-deep));
}

body[data-landing="family"] .hero-form-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -70px;
  bottom: -84px;
  width: 260px;
  height: 260px;
  background: url("/static/media/real/web/contract-center-logo.webp") center / contain no-repeat;
  opacity: .08;
  filter: grayscale(1) sepia(1) hue-rotate(90deg) saturate(.7);
  mix-blend-mode: multiply;
  pointer-events: none;
}

body[data-landing="family"] .hero-form-card > * {
  position: relative;
  z-index: 1;
}

body[data-landing="family"] .hero-form-card h2 {
  font-size: 26px;
  color: #14201a;
}

body[data-landing="family"] .hero-form-card > p {
  margin: 9px 0 20px;
  color: #5d675f;
  font-size: 15px;
}

body[data-landing="family"] .hero-form-card form {
  gap: 9px;
}

body[data-landing="family"] .hero-form-card label {
  color: #2d3830;
  font-size: 13.5px;
}

body[data-landing="family"] .hero-form-card input[type="text"],
body[data-landing="family"] .hero-form-card select {
  height: 46px;
  padding: 10px 13px;
  border-color: #cfd4cd;
  border-radius: 9px;
  background-color: #fbfbf8;
  box-shadow: inset 0 1px 2px rgba(17, 28, 22, .05);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

body[data-landing="family"] .hero-form-card input[type="text"]:hover,
body[data-landing="family"] .hero-form-card select:hover {
  border-color: #b8c0b8;
}

body[data-landing="family"] .hero-form-card input[type="text"]:focus,
body[data-landing="family"] .hero-form-card select:focus {
  border-color: var(--gold-deep);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(201, 162, 90, .2);
}

body[data-landing="family"] .hero-form-card .check {
  margin: 2px 0;
  color: #5d675f;
  font-size: 12.5px;
}

body[data-landing="family"] .hero-form-card .btn {
  min-height: 50px;
  margin-top: 8px;
  font-size: 16px;
}

body[data-landing="family"] .section {
  padding-block: clamp(58px, 8vw, 92px);
}

body[data-landing="family"] .section-heading h2 {
  color: #14201a;
}

body[data-landing="family"] .section-heading > p:not(.kicker) {
  margin-top: 16px;
  color: #56605a;
  font-size: 17px;
  line-height: 1.6;
}

body[data-landing="family"] .roles-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #f6f4ee 0%, #f1efe8 100%);
}

body[data-landing="family"] .roles-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("/static/media/real/web/family-pattern.jpg") center top / 900px auto repeat;
  opacity: .26;
  filter: sepia(1) hue-rotate(88deg) saturate(.55);
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .3) 40%, rgba(0, 0, 0, .75));
  mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .3) 40%, rgba(0, 0, 0, .75));
  pointer-events: none;
}

body[data-landing="family"] .roles-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -120px;
  bottom: -160px;
  width: 520px;
  height: 520px;
  background: url("/static/media/real/web/contract-center-logo.webp") center / contain no-repeat;
  opacity: .07;
  filter: grayscale(1) sepia(1) hue-rotate(90deg) saturate(.7);
  mix-blend-mode: multiply;
  pointer-events: none;
}

body[data-landing="family"] .role-group {
  margin-top: 40px;
}

body[data-landing="family"] .role-group + .role-group {
  margin-top: 52px;
  padding-top: 40px;
  border-top-color: rgba(22, 38, 30, .12);
}

body[data-landing="family"] .carousel-heading {
  margin-bottom: 20px;
}

body[data-landing="family"] .carousel-heading h3 {
  font-size: 23px;
  color: #14201a;
}

body[data-landing="family"] .carousel-controls button {
  width: 40px;
  height: 40px;
  border-color: rgba(22, 38, 30, .18);
  border-radius: 9px;
  background: #fff;
  color: var(--forest-2);
  box-shadow: 0 4px 12px rgba(17, 28, 22, .08);
  transition: border-color .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}

body[data-landing="family"] .carousel-controls button:hover {
  border-color: var(--forest-2);
  background: var(--forest-2);
  color: #fff;
  box-shadow: 0 8px 18px rgba(17, 28, 22, .18);
}

body[data-landing="family"] .role-carousel {
  gap: 20px;
  padding: 6px 0 22px;
}

body[data-landing="family"] .role-card {
  border-color: rgba(22, 38, 30, .1);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(17, 28, 22, .1);
  transition: transform .2s ease, box-shadow .2s ease;
}

body[data-landing="family"] .role-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(17, 28, 22, .16);
}

body[data-landing="family"] .role-card picture {
  position: relative;
  height: 192px;
  background: #cfd7d0;
}

body[data-landing="family"] .role-card picture::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--forest-2), var(--moss) 55%, var(--gold));
}

body[data-landing="family"] .role-body {
  padding: 24px 24px 26px;
}

body[data-landing="family"] .role-card h3 {
  margin-bottom: 9px;
  font-size: 21px;
  color: #14201a;
}

body[data-landing="family"] .role-card p {
  color: #525c55;
  font-size: 15px;
  line-height: 1.58;
}

body[data-landing="family"] .role-details {
  margin: 18px 0 22px;
  border-top-color: rgba(22, 38, 30, .1);
}

body[data-landing="family"] .role-details div {
  padding: 11px 0;
  border-bottom-color: rgba(22, 38, 30, .1);
}

body[data-landing="family"] .role-details dt {
  color: #6b7a6f;
  font-size: 11px;
  letter-spacing: .07em;
}

body[data-landing="family"] .role-details dd {
  color: #3f4943;
  font-size: 14px;
  line-height: 1.5;
}

body[data-landing="family"] .role-details div:last-child {
  border-bottom: 0;
}

body[data-landing="family"] .role-details dt + dd {
  margin-top: 4px;
  color: var(--forest);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
}

body[data-landing="family"] .card-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border: 1.5px solid var(--forest-2);
  border-radius: 9px;
  color: var(--forest);
  font-size: 15px;
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease, border-color .15s ease;
}

body[data-landing="family"] .card-link:hover {
  border-color: var(--forest);
  background: var(--forest-2);
  color: #fff;
  box-shadow: 0 10px 22px rgba(17, 28, 22, .22);
}

body[data-landing="family"] .faq-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #fff;
}

body[data-landing="family"] .faq-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -140px;
  bottom: -190px;
  width: 560px;
  height: 560px;
  background: url("/static/media/real/web/contract-center-logo.webp") center / contain no-repeat;
  opacity: .07;
  filter: grayscale(1) sepia(1) hue-rotate(90deg) saturate(.7);
  mix-blend-mode: multiply;
  pointer-events: none;
}

body[data-landing="family"] .faq-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(55% 60% at 100% 0%, rgba(201, 162, 90, .1), rgba(201, 162, 90, 0) 70%);
  pointer-events: none;
}

body[data-landing="family"] .faq-list {
  display: grid;
  gap: 12px;
  border-top: 0;
}

body[data-landing="family"] .faq-list details {
  padding-inline: 22px;
  border: 1px solid rgba(22, 38, 30, .11);
  border-left: 3px solid var(--forest-2);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(17, 28, 22, .07);
  transition: box-shadow .15s ease, border-color .15s ease;
}

body[data-landing="family"] .faq-list details:hover,
body[data-landing="family"] .faq-list details[open] {
  border-left-color: var(--gold-deep);
  box-shadow: 0 16px 36px rgba(17, 28, 22, .11);
}

body[data-landing="family"] .faq-list summary {
  padding: 18px 40px 18px 0;
  font-size: 16.5px;
  color: #14201a;
}

body[data-landing="family"] .faq-list summary::after {
  right: 0;
  top: 13px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(201, 162, 90, .16);
  color: var(--gold-deep);
  font-size: 19px;
  line-height: 1;
}

body[data-landing="family"] .faq-list details p {
  padding: 0 40px 20px 0;
  color: #4c564f;
  font-size: 15.5px;
  line-height: 1.62;
}

body[data-landing="family"] .foot {
  padding: 30px 0;
  border-top: 1px solid rgba(201, 162, 90, .22);
  color: #a9b4ac;
  font-size: 12.5px;
}

@media (max-width: 900px) {
  body[data-landing="family"] .hero::before {
    background-position: right 40%;
    background-size: auto 92%;
    opacity: .2;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 8%, rgba(0, 0, 0, .6) 32%, #000 60%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 8%, rgba(0, 0, 0, .6) 32%, #000 60%);
  }

  body[data-landing="family"] .hero-grid {
    gap: 36px;
  }
}

@media (max-width: 620px) {
  body[data-landing="family"] .hero {
    padding: 36px 0 44px;
  }

  body[data-landing="family"] .hero::before {
    background-position: 78% 34%;
    background-size: auto 78%;
    opacity: .16;
  }

  body[data-landing="family"] .hero-money-grid {
    gap: 9px;
  }

  body[data-landing="family"] .hero-money-grid .money-card {
    min-height: 92px;
    padding: 13px 13px 14px;
    border-top-width: 3px;
  }

  body[data-landing="family"] .hero-money-grid .money-label {
    font-size: 10px;
    line-height: 1.3;
  }

  body[data-landing="family"] .hero-money-grid strong {
    margin-top: 6px;
    font-size: 16.5px;
  }

  body[data-landing="family"] .hero-form-card {
    padding: 24px 20px 22px;
    border-radius: 14px;
  }

  body[data-landing="family"] .hero-form-card::after {
    right: -90px;
    bottom: -100px;
    width: 230px;
    height: 230px;
  }

  body[data-landing="family"] .section {
    padding-block: 54px;
  }

  body[data-landing="family"] .section-heading > p:not(.kicker) {
    font-size: 15.5px;
  }

  body[data-landing="family"] .role-group {
    margin-top: 32px;
  }

  body[data-landing="family"] .role-group + .role-group {
    margin-top: 44px;
    padding-top: 34px;
  }

  body[data-landing="family"] .carousel-heading h3 {
    font-size: 20px;
  }

  body[data-landing="family"] .role-carousel {
    gap: 14px;
  }

  body[data-landing="family"] .role-body {
    padding: 20px 20px 22px;
  }

  body[data-landing="family"] .roles-section::after {
    width: 360px;
    height: 360px;
    right: -120px;
    bottom: -120px;
  }

  body[data-landing="family"] .faq-section::before {
    width: 380px;
    height: 380px;
    left: -130px;
    bottom: -140px;
  }

  body[data-landing="family"] .faq-list details {
    padding-inline: 18px;
  }

  body[data-landing="family"] .faq-list summary {
    padding: 16px 38px 16px 0;
    font-size: 15.5px;
  }
}

/* Telegram funnel and quick lead */
.telegram-band {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 7vw, 72px) 0;
}

.telegram-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.telegram-inner h2 {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.12;
  letter-spacing: -.03em;
}

.telegram-inner > div > p:last-child {
  max-width: 720px;
  margin: 12px 0 0;
}

.telegram-inner .btn {
  min-width: 240px;
}

body[data-landing="contract"] .telegram-band {
  border-top: 4px solid;
  border-image: linear-gradient(90deg, #fff 0 33.333%, var(--flag-blue) 33.333% 66.666%, var(--flag-red) 66.666%) 1;
  background: linear-gradient(135deg, #0b2551, #123c78);
  color: #fff;
}

body[data-landing="contract"] .telegram-band .kicker,
body[data-landing="contract"] .telegram-inner > div > p:last-child {
  color: #dce7f8;
}

body[data-landing="family"] .telegram-band {
  border-top: 1px solid rgba(201, 162, 90, .65);
  background: linear-gradient(135deg, #13281d, #244332);
  color: #fff;
}

body[data-landing="family"] .telegram-band .kicker {
  color: #d6b76f;
}

body[data-landing="family"] .telegram-inner > div > p:last-child {
  color: #d9e2dc;
}

body.quick-lead-open {
  overflow: hidden;
}

.quick-lead-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(6, 18, 36, .68);
  backdrop-filter: blur(7px);
}

.quick-lead-overlay[hidden] {
  display: none;
}

.quick-lead-card {
  position: relative;
  width: min(100%, 500px);
  overflow: hidden;
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid rgba(36, 61, 92, .16);
  border-radius: 18px;
  background: #fff;
  color: #1c2430;
  box-shadow: 0 30px 90px rgba(0, 13, 35, .34);
  animation: quick-lead-in .22s ease-out both;
}

.quick-lead-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
}

body[data-landing="contract"] .quick-lead-card::before {
  background: linear-gradient(90deg, #fff 0 33.333%, var(--flag-blue) 33.333% 66.666%, var(--flag-red) 66.666%);
}

body[data-landing="family"] .quick-lead-card::before {
  background: linear-gradient(90deg, #8f6b2f, #e3c477, #8f6b2f);
}

.quick-lead-close {
  position: absolute;
  top: 12px;
  right: 13px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #edf1f6;
  color: #344154;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.quick-lead-card .kicker {
  margin-right: 42px;
}

.quick-lead-card h2 {
  max-width: 420px;
  margin: 0 38px 22px 0;
  font-size: clamp(25px, 3.3vw, 34px);
  line-height: 1.14;
  letter-spacing: -.025em;
}

.quick-lead-card form {
  display: grid;
  gap: 11px;
}

.quick-lead-card label {
  color: #2e3949;
  font-size: 14px;
  font-weight: 700;
}

.quick-lead-card input[type="text"] {
  width: 100%;
  height: 50px;
  padding: 11px 13px;
  border: 1px solid #b8c2cf;
  border-radius: 8px;
  outline: none;
  background: #fff;
  color: #1c2430;
}

.quick-lead-card input[type="text"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent);
}

.quick-lead-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 2px;
  color: #4c5768;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.4;
}

.quick-lead-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: none;
  margin: 1px 0 0;
  accent-color: var(--accent);
}

.quick-lead-card .btn {
  width: 100%;
  min-height: 50px;
  margin-top: 3px;
}

@keyframes quick-lead-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 620px) {
  .telegram-inner {
    grid-template-columns: 1fr;
  }

  .telegram-inner .btn {
    width: 100%;
    min-width: 0;
  }

  .quick-lead-overlay {
    align-items: end;
    padding: 12px;
  }

  .quick-lead-card {
    padding: 28px 20px 21px;
    border-radius: 16px;
  }

  .quick-lead-card h2 {
    margin-right: 24px;
    font-size: 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quick-lead-card {
    animation: none;
  }
}
