.allpa-page {
  --allpa-navy: #10152c;
  --allpa-ink: #14192d;
  --allpa-muted: #4c5263;
  --allpa-orange: var(--prime-two, #ff6915);
  --allpa-rust: #a73908;
  --allpa-rule: #dfe2e9;
  background: #fff;
  color: var(--allpa-muted);
  font-size: 17px;
  line-height: 1.7;
}

.allpa-shell { width: min(100% - 56px, 1180px); margin-inline: auto; }
.allpa-page p { margin: 0; line-height: inherit; }
.allpa-page p + p { margin-top: 0.85em; }
.allpa-page h1, .allpa-page h2, .allpa-page h3 {
  color: var(--allpa-ink);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.028em;
}
.allpa-page h2 { font-size: clamp(32px, 3.5vw, 49px); line-height: 1.14; text-wrap: balance; }
.allpa-page h3 { font-size: clamp(21px, 2vw, 26px); line-height: 1.25; }
.allpa-page h2 + p, .allpa-page h3 + p { margin-top: 16px; }
.allpa-page strong { color: var(--allpa-ink); }
.allpa-page :where(a, button, input, textarea, summary):focus-visible {
  outline: 2px solid var(--allpa-rust);
  outline-offset: 4px;
}
.allpa-page :where(main, section)[id] { scroll-margin-top: 92px; }
.allpa-skip { position: fixed; top: 8px; left: 8px; z-index: 20; padding: 10px 16px; background: #fff; color: var(--allpa-ink); transform: translateY(-150%); }
.allpa-skip:focus { transform: none; }

.allpa-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--allpa-navy);
  color: #fff;
  border-bottom: 1px solid #ffffff26;
}
.allpa-header-row { position: relative; min-height: 82px; display: flex; align-items: center; gap: 27px; }
.allpa-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.allpa-brand img { display: block; width: 112px; height: auto; }
.allpa-nav { display: flex; margin-left: auto; align-items: center; gap: clamp(12px, 1.55vw, 25px); }
.allpa-nav a { color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; }
.allpa-nav a:hover { color: #ffbc95; }
.allpa-menu-button { display: none; }
.allpa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 50px;
  max-width: 100%;
  padding: 11px 23px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--allpa-orange);
  color: #161424;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background-color 150ms, color 150ms;
}
.allpa-btn:hover { background: #ff9255; color: #161424; }
.allpa-btn:disabled { opacity: .65; cursor: wait; }
.allpa-nav-cta { min-height: 43px; padding: 9px 18px; flex-shrink: 0; }

.allpa-hero {
  color: #edf1fc;
  background: linear-gradient(90deg, #10152ce8 4%, #10152ccf 39%, #10152c38 75%, #10152c18), url('../images/bg/banner1.webp') center / cover no-repeat, var(--allpa-navy);
  min-height: min(660px, calc(100svh - 82px));
  display: flex;
  align-items: center;
  padding-block: clamp(56px, 6.4vw, 92px);
}
.allpa-hero-content { max-width: 770px; }
.allpa-page .allpa-kicker { font-weight: 700; font-size: 13px; line-height: 1.35; letter-spacing: .12em; text-transform: uppercase; color: var(--allpa-rust); margin-bottom: 14px; }
.allpa-hero .allpa-kicker, .allpa-section-dark .allpa-kicker { color: #ffb689; }
.allpa-hero h1 { color: #fff; font-size: clamp(42px, 5.05vw, 74px); line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
.allpa-hero h1 + p { margin-top: 23px; }
.allpa-hero-content > p:not(.allpa-kicker) { max-width: 59ch; }
.allpa-hero-content > .allpa-hero-lead:not(.allpa-kicker) { font-weight: 700; color: #fff; font-size: clamp(19px, 2vw, 24px); line-height: 1.4; max-width: 43ch; }
.allpa-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 23px; margin-top: 28px; }
.allpa-hero-link { color: #fff; text-decoration: underline; text-underline-offset: 5px; font-weight: 600; font-size: 15px; }
.allpa-hero-link:hover { color: #ffbc95; }
.allpa-hero-link span { margin-left: 3px; }
.allpa-header :where(a, button):focus-visible, .allpa-hero a:focus-visible { outline-color: #ffbc95; }

.allpa-section { padding-block: clamp(60px, 7vw, 104px); }
.allpa-section-warm { background: var(--prime-nine, #fff7f1); }
.allpa-section-cool { background: var(--prime-eleven, #f6faff); }
.allpa-section-dark { background: var(--allpa-navy); color: #e3e8f6; }
.allpa-section-dark h2 { color: #fff; }
.allpa-split { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1fr); align-items: start; gap: clamp(34px, 6vw, 92px); }
.allpa-section-intro { max-width: 750px; margin-bottom: clamp(26px, 4vw, 44px); }
.allpa-section-intro h2 { text-wrap: initial; }
.allpa-panel, .allpa-card, .allpa-form-card { background: #fff; border: 1px solid var(--allpa-rule); border-radius: 12px; padding: clamp(21px, 3.2vw, 38px); }
.allpa-panel { background: #f7f9fe; }
.allpa-panel h3 { font-size: 22px; }
.allpa-checklist { list-style: none; padding: 0; margin: 17px 0; }
.allpa-checklist li { position: relative; padding-left: 24px; margin-bottom: 9px; }
.allpa-checklist li::before { content: ''; position: absolute; top: .55em; left: 2px; height: .48em; width: .28em; border: solid var(--allpa-rust); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.allpa-page .allpa-note { color: var(--allpa-rust); font-weight: 700; }
.allpa-page .allpa-section-dark .allpa-note { color: #ffb689; }
.allpa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.allpa-card { display: flex; flex-direction: column; }
.allpa-index { display: block; color: var(--allpa-rust); font-weight: 700; font-size: 14px; letter-spacing: .08em; margin-bottom: 10px; }
.allpa-card > p:has(+ .allpa-card-note) { padding-bottom: 17px; }
.allpa-card .allpa-card-note { border-top: 1px solid var(--allpa-rule); padding-top: 13px; margin-top: auto; font-size: 15px; line-height: 1.6; }
.allpa-section-cta { margin-top: 28px; }

.allpa-steps { margin: 0; padding: 0; list-style: none; counter-reset: allpa-step; }
.allpa-steps li { position: relative; counter-increment: allpa-step; padding: 0 0 25px 62px; }
.allpa-steps li:last-child { padding-bottom: 0; }
.allpa-steps li::before {
  content: counter(allpa-step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--allpa-rust);
  background: #fff0e7;
  font-size: 14px;
  font-weight: 700;
}
.allpa-steps li:not(:last-child)::after { content: ''; position: absolute; top: 50px; bottom: 8px; left: 20px; width: 1px; background: var(--allpa-rule); }
.allpa-steps h3 + p { margin-top: 7px; }
.allpa-audience { border-top: 3px solid var(--allpa-orange); }
.allpa-page .allpa-modes-title { margin: 34px 0 14px; }
.allpa-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 27px; margin: 0; }
.allpa-modes > div { border-top: 1px solid #cfd5e1; padding-top: 12px; }
.allpa-modes dt { color: var(--allpa-ink); }
.allpa-modes dd { margin-bottom: 0; }

.allpa-faq { border-top: 1px solid var(--allpa-rule); }
.allpa-faq details { border-bottom: 1px solid var(--allpa-rule); }
.allpa-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 17px 2px; list-style: none; cursor: pointer; color: var(--allpa-ink); font-weight: 700; line-height: 1.45; }
.allpa-faq summary::-webkit-details-marker { display: none; }
.allpa-faq summary::after { content: '+'; flex: 0 0 24px; color: var(--allpa-rust); text-align: center; font-size: 25px; font-weight: 400; }
.allpa-faq details[open] summary::after { content: '−'; }
.allpa-faq details p { margin: 0; padding: 0 25px 19px 2px; }

.allpa-form-card form { display: grid; gap: 15px; }
.allpa-field { display: grid; gap: 5px; }
.allpa-field label { color: var(--allpa-ink); font-size: 15px; font-weight: 700; }
.allpa-field label [aria-hidden] { color: var(--allpa-rust); }
.allpa-field .allpa-optional { color: var(--allpa-muted); font-weight: 400; }
.allpa-field input, .allpa-field textarea {
  display: block;
  width: 100%;
  min-height: 47px;
  padding: 10px 12px;
  border: 1px solid #a9afbb;
  border-radius: 5px;
  background: #fff;
  color: var(--allpa-ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
}
.allpa-field textarea { resize: vertical; }
.allpa-field :is(input, textarea)::placeholder { color: #656b79; opacity: 1; }
.allpa-form-card .message-box { max-width: none; line-height: 1.5; }
.allpa-form-card .message-box.success { color: #184f3c; background: #eaf7ef; border-color: #77aa95; }

.allpa-footer { padding-top: 36px; color: var(--allpa-muted); font-size: 15px; }
.allpa-footer-main { display: flex; justify-content: space-between; gap: 26px; flex-wrap: wrap; padding-bottom: 22px; }
.allpa-footer .allpa-brand img { width: 94px; }
.allpa-footer .allpa-brand { margin-bottom: 10px; }
.allpa-footer p + p { margin-top: 3px; }
.allpa-footer nav { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 10px 20px; }
.allpa-footer nav a { color: var(--allpa-ink); font-weight: 600; }
.allpa-footer nav a:hover { text-decoration: underline; }
.allpa-copyright { border-top: 1px solid var(--allpa-rule); padding-block: 15px; }

@media (max-width: 1000px) {
  .allpa-header-row { min-height: 70px; gap: 12px; flex-wrap: wrap; }
  .allpa-brand img { width: 94px; }
  .allpa-menu-button:not([hidden]) { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; min-height: 43px; padding: 7px 11px; color: #fff; background: transparent; border: 1px solid #ffffff66; border-radius: 6px; font-size: 14px; font-weight: 600; }
  .allpa-nav { width: 100%; flex-wrap: wrap; padding-bottom: 12px; gap: 8px 16px; order: 2; }
  .allpa-menu-button:not([hidden]) ~ .allpa-nav { display: none; position: absolute; top: 100%; right: 0; width: min(100%, 350px); background: var(--allpa-navy); padding: 9px 14px; border: 1px solid #ffffff40; border-radius: 0 0 10px 10px; box-shadow: 0 12px 24px #0003; }
  .allpa-menu-button[aria-expanded="true"] ~ .allpa-nav { display: grid; gap: 1px; }
  .allpa-nav a { padding: 7px 5px; }
  .allpa-page :where(main, section)[id] { scroll-margin-top: 77px; }
}

@media (max-width: 720px) {
  .allpa-shell { width: calc(100% - 36px); }
  .allpa-page { font-size: 16px; line-height: 1.65; }
  .allpa-header-row { gap: 8px; }
  .allpa-nav-cta { padding-inline: 11px; font-size: 13px; }
  .allpa-hero { min-height: 0; padding-block: 48px 54px; background-position: 64% center; background-image: linear-gradient(90deg, #10152cf2, #10152cbc), url('../images/bg/banner1.webp'); }
  .allpa-hero h1 { font-size: clamp(38px, 8.8vw, 56px); text-wrap: initial; }
  .allpa-hero-actions { flex-direction: column; align-items: flex-start; gap: 15px; }
  .allpa-split, .allpa-grid, .allpa-modes { grid-template-columns: minmax(0, 1fr); }
  .allpa-section { padding-block: 58px; }
  .allpa-section h2 { text-wrap: initial; }
  .allpa-steps li { padding-left: 54px; }
}

@media (max-width: 370px) {
  .allpa-header .allpa-brand img { width: 80px; }
  .allpa-menu-button:not([hidden]), .allpa-nav-cta { padding-inline: 8px; }
}

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