:root {
  --bg: #eef7ff;
  --surface: #ffffff;
  --surface-soft: #f6fbff;
  --text: #15233a;
  --muted: #617188;
  --line: #dbe7f3;
  --primary: #1478ff;
  --primary-dark: #075bd1;
  --accent: #ff8a1f;
  --accent-dark: #e66c00;
  --shadow: 0 18px 48px rgba(20, 81, 145, .14);
  --radius: 8px;
  --header: 72px;
  --bottom: 72px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 0;
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  padding-bottom: 0;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

img,
video,
svg {
  max-width: 100%;
  display: block;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link:focus {
  width: auto;
  height: auto;
  top: 10px;
  left: 10px;
  clip: auto;
  z-index: 2000;
  padding: 10px 14px;
  color: #fff;
  background: var(--primary);
  border-radius: var(--radius);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--header);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(219, 231, 243, .82);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  font-weight: 800;
  color: var(--text);
}

.brand__logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand__text {
  white-space: nowrap;
  font-size: 19px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.desktop-nav a {
  padding: 10px 12px;
  color: #40516a;
  font-size: 15px;
  border-radius: var(--radius);
  transition: color .18s ease, background .18s ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--primary);
  background: #edf5ff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #263b57;
  background: transparent;
  border: 0;
  border-radius: 50%;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  color: var(--primary);
  background: #edf5ff;
}

.icon-button:active {
  transform: scale(.96);
}

.header-cta,
.drawer-primary,
.btn,
.inline-search button,
.search-form button {
  min-height: 46px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.header-cta {
  padding: 0 18px;
  color: #fff;
  background: var(--accent);
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--accent-dark);
}

.mobile-only {
  display: none;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header));
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 138, 31, .18), transparent 28%),
    linear-gradient(135deg, #f7fbff 0%, #e4f3ff 48%, #f8fbff 100%);
}

.hero__bg {
  position: absolute;
  inset: auto -10% -28% -10%;
  height: 42%;
  background: linear-gradient(90deg, rgba(20, 120, 255, .12), rgba(255, 138, 31, .13));
  transform: skewY(-4deg);
}

.hero__inner {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 58px;
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 86px);
  line-height: .98;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 460px;
  margin: 20px 0 28px;
  color: #42546d;
  font-size: clamp(17px, 2vw, 21px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  min-width: 132px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.btn-primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 14px 28px rgba(255, 138, 31, .24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  color: var(--primary);
  background: #fff;
  border: 1px solid #cfe3fb;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: #edf5ff;
  transform: translateY(-1px);
}

.video-stage {
  position: relative;
}

.hero-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0d1b2f;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.video-stage__caption {
  width: calc(100% - 28px);
  margin: -24px auto 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  color: #243650;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(219, 231, 243, .9);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(20, 81, 145, .12);
}

.video-stage__caption span {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.feature-strip,
.guide-section,
.article-section,
.final-cta,
.content-page,
.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.feature-strip {
  margin-top: -30px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.feature-item {
  min-height: 118px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid rgba(219, 231, 243, .88);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(20, 81, 145, .08);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.feature-item:hover,
.feature-item:focus-visible {
  transform: translateY(-3px);
  border-color: #a8cffd;
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: #edf5ff;
  border-radius: var(--radius);
}

.feature-item strong,
.feature-item em {
  display: block;
}

.feature-item strong {
  font-size: 17px;
}

.feature-item em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.guide-section,
.article-section {
  padding: 78px 0 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.section-heading h2,
.final-cta h2,
.page-hero h1,
.content-head h1,
.empty-state h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.step {
  min-height: 178px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step span {
  display: inline-block;
  color: var(--primary);
  font-weight: 900;
  font-size: 14px;
}

.step h3 {
  margin: 18px 0 8px;
  font-size: 22px;
}

.step p,
.article-card p,
.page-hero p,
.empty-state p,
.site-footer p,
.qr-card p {
  margin: 0;
  color: var(--muted);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

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

.article-card {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.article-card__body,
.article-card h2,
.article-card h3,
.article-card p {
  min-width: 0;
  overflow-wrap: anywhere;
}

.article-card:hover,
.article-card:focus-within {
  transform: translateY(-3px);
  border-color: #a8cffd;
  box-shadow: var(--shadow);
}

.article-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dceaf8;
}

.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.article-card:hover .article-card__media img {
  transform: scale(1.04);
}

.article-card__body {
  padding: 18px;
}

.article-card__body span,
.content-meta {
  color: #7a8aa0;
  font-size: 13px;
}

.article-card h2,
.article-card h3 {
  margin: 8px 0 8px;
  font-size: 19px;
  line-height: 1.35;
}

.final-cta {
  margin-top: 78px;
  margin-bottom: 52px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, #ffffff, #e9f5ff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-hero {
  padding: 56px 0 24px;
}

.article-list-head,
.category-tabs,
.article-page-title {
  width: min(1160px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.article-list-head {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.back-home-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #263b57;
  font-size: 16px;
  font-weight: 800;
}

.back-home-link svg {
  width: 20px;
  height: 20px;
}

.hot-search {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #708096;
  font-size: 15px;
}

.hot-search a {
  color: #2379ff;
  font-weight: 800;
}

.category-tabs {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.category-tabs a {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  color: #34455f;
  background: #fff;
  border: 1px solid rgba(210, 224, 241, .9);
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(32, 73, 126, .07);
  font-weight: 800;
}

.category-tabs a:hover,
.category-tabs a:focus-visible {
  color: #fff;
  background: #2379ff;
  border-color: #2379ff;
}

.article-page-title {
  padding-top: 34px;
}

.article-page-title h1 {
  margin: 6px 0 6px;
  font-size: 44px;
  line-height: 1.15;
}

.page-section {
  padding-top: 26px;
}

.list-page-section {
  width: min(1160px, calc(100% - 48px));
}

.list-article-grid .article-card {
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(32, 73, 126, .08);
}

.list-article-grid .article-card__body p {
  margin-top: 10px;
}

.search-hero {
  padding-top: 34px;
}

.search-hero p {
  max-width: 620px;
}

.search-page-form {
  margin-top: 20px;
}

.search-list-head .hot-search {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.search-tabs {
  margin-top: 16px;
}

.search-result-section {
  width: min(1160px, calc(100% - 48px));
}

.search-result-grid .article-card {
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(32, 73, 126, .08);
}

.article-card mark,
.article-card em,
.article-card span[style*="color:red"] {
  color: #156fe8 !important;
  background: rgba(35, 121, 255, .1);
  border-radius: 5px;
  font-style: normal;
  font-weight: 900;
  padding: 0 3px;
}

.search-empty[hidden] {
  display: none;
}

.search-empty {
  margin-top: 16px;
  padding: 34px;
  text-align: left;
  background: #fff;
  border: 1px solid rgba(210, 224, 241, .9);
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(32, 73, 126, .08);
}

.search-empty h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

.search-empty .btn {
  margin-top: 18px;
}

.content-page {
  max-width: 860px;
  padding: 56px 0 0;
}

.content-head {
  margin-bottom: 28px;
}

.article-detail {
  max-width: 980px;
}

.content-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #2f6fd6;
  font-weight: 800;
}

.content-back svg,
.content-meta svg {
  width: 18px;
  height: 18px;
}

.content-head h1 {
  margin-bottom: 12px;
}

.content-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
}

.content-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.content-summary {
  margin-top: 18px;
  max-width: 760px;
  color: #53657c;
  font-size: 17px;
  line-height: 1.8;
}

.content-cover {
  margin: 24px 0 0;
  overflow: hidden;
  background: #e6f0fb;
  border: 1px solid rgba(210, 224, 241, .9);
  border-radius: 14px;
}

.content-cover img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.content-body-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
  gap: 22px;
}

.content-body {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.content-body img {
  height: auto;
  margin: 16px auto;
  border-radius: var(--radius);
}

.content-body p {
  margin: 0 0 1em;
}

.content-body h2,
.content-body h3 {
  margin: 1.4em 0 .65em;
  color: #14243d;
  line-height: 1.35;
}

.content-action {
  position: sticky;
  top: calc(var(--header) + 18px);
  padding: 22px;
  background: linear-gradient(135deg, #ffffff, #ebf6ff);
  border: 1px solid rgba(210, 224, 241, .95);
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(32, 73, 126, .08);
}

.content-action h2 {
  margin: 6px 0 10px;
  font-size: 24px;
  line-height: 1.25;
}

.content-action p:not(.eyebrow) {
  margin: 0 0 18px;
  color: #62738a;
}

.content-nav {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.content-nav a {
  min-width: 0;
  padding: 16px;
  display: grid;
  gap: 4px;
  color: #20344f;
  background: #fff;
  border: 1px solid rgba(210, 224, 241, .95);
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(32, 73, 126, .06);
}

.content-nav span {
  color: #74849a;
  font-size: 13px;
}

.single-page {
  width: min(1160px, calc(100% - 48px));
  max-width: none;
  padding-top: 34px;
}

.single-head {
  max-width: 780px;
  margin-bottom: 24px;
}

.single-head .content-summary {
  margin-top: 12px;
}

.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  gap: 22px;
}

.single-layout--clean {
  display: block;
}

.single-main {
  min-width: 0;
}

.single-body {
  line-height: 1.85;
}

.single-panel,
.single-action-card,
.single-quick-links {
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(210, 224, 241, .95);
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(32, 73, 126, .08);
}

.single-panel {
  margin-top: 16px;
  padding: 24px;
}

.single-panel h2,
.single-action-card h2,
.single-quick-links h2 {
  margin: 6px 0 10px;
  color: #14243d;
  line-height: 1.3;
}

.single-panel h2 {
  font-size: 24px;
}

.single-panel p {
  color: #607086;
  line-height: 1.75;
}

.single-contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  gap: 20px;
}

.single-copy-row {
  padding: 18px;
  display: grid;
  gap: 10px;
  background: linear-gradient(135deg, #eff9f2, #ffffff);
  border: 1px solid rgba(189, 226, 199, .9);
  border-radius: 12px;
}

.single-copy-row span {
  color: #64758b;
  font-size: 13px;
}

.single-copy-row strong {
  color: #14243d;
  font-size: 22px;
  letter-spacing: .02em;
}

.contact-clean-panel {
  display: flex;
  justify-content: center;
}

.contact-clean-card {
  position: relative;
  width: min(400px, 100%);
  min-height: 278px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text);
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(210, 224, 241, .95);
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(32, 73, 126, .08);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.contact-clean-card:hover,
.contact-clean-card:focus-visible {
  transform: translateY(-3px);
  border-color: #a8cffd;
  box-shadow: 0 22px 44px rgba(32, 73, 126, .14);
  outline: 0;
}

.contact-clean-icon {
  width: 68px;
  height: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #20c45a, #11a64a);
  border-radius: 18px;
  box-shadow: 0 14px 26px rgba(17, 166, 74, .22);
}

.contact-clean-icon svg {
  width: 34px;
  height: 34px;
  stroke-width: 2.2;
}

.contact-clean-card h2 {
  margin: 8px 0 8px;
  color: #14243d;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: .02em;
}

.contact-clean-card p {
  margin: 0;
  color: #617188;
}

.copy-toast {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 2200;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  color: #fff;
  background: rgba(40, 167, 69, .95);
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
  font-size: 16px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -60%);
  transition: opacity .24s ease, transform .24s ease;
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.copy-toast.is-leaving {
  opacity: 0;
  transform: translate(-50%, -40%);
}

.copy-toast--below-card {
  position: absolute;
  left: 50%;
  top: auto;
  bottom: 24px;
  width: auto;
  max-width: calc(100% - 32px);
  margin: 0 auto;
  justify-content: center;
  white-space: nowrap;
  transform: translate(-50%, 8px);
}

.copy-toast--below-card.is-visible {
  transform: translate(-50%, 0);
}

.copy-toast--below-card.is-leaving {
  transform: translate(-50%, 8px);
}

.copy-toast svg {
  width: 18px;
  height: 18px;
}

.single-step-list,
.single-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.single-step-list div,
.single-feature-grid div {
  min-width: 0;
  padding: 18px;
  background: #f7fbff;
  border: 1px solid rgba(210, 224, 241, .85);
  border-radius: 12px;
}

.single-step-list span {
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #2f8cff, #1d5bd7);
  border-radius: 999px;
  font-weight: 900;
}

.single-step-list strong,
.single-feature-grid strong {
  display: block;
  color: #17243a;
  font-size: 17px;
  line-height: 1.35;
}

.single-step-list p,
.single-feature-grid p {
  margin: 8px 0 0;
  font-size: 14px;
}

.single-action-card {
  position: sticky;
  top: calc(var(--header) + 18px);
  padding: 22px;
  background: linear-gradient(135deg, #ffffff, #edf6ff);
}

.single-action-card h2 {
  font-size: 24px;
}

.single-action-card p:not(.eyebrow) {
  margin: 0 0 16px;
  color: #617189;
  line-height: 1.7;
}

.single-action-card .btn,
.single-copy-row .btn {
  width: 100%;
}

.single-action-card .btn + .btn,
.single-copy-row .btn + .btn {
  margin-top: 2px;
}

.single-quick-links {
  width: min(1160px, calc(100% - 48px));
  margin: 30px auto 0;
  padding: 22px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}

.single-quick-links h2 {
  margin-bottom: 0;
  font-size: 22px;
}

.single-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.single-link-grid a {
  min-height: 48px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #20344f;
  background: #f7fbff;
  border: 1px solid rgba(210, 224, 241, .9);
  border-radius: 12px;
  font-weight: 800;
  text-align: center;
}

.single-link-grid a:hover,
.single-link-grid a:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, #2f8cff, #1d5bd7);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(31, 94, 219, .18);
}

.related-section {
  padding-top: 48px;
}

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

.inline-search,
.search-form {
  display: flex;
  gap: 10px;
}

.inline-search {
  max-width: 620px;
  margin-top: 22px;
}

.inline-search input,
.search-form input {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
}

.inline-search input:focus,
.search-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(20, 120, 255, .12);
}

.inline-search button,
.search-form button {
  min-width: 92px;
  padding: 0 18px;
  color: #fff;
  background: var(--primary);
}

.empty-state {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-empty {
  margin-top: 56px;
}

.empty-state .btn {
  margin-top: 22px;
}

.pager {
  margin: 32px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.pager a,
.pager span {
  min-width: 42px;
  min-height: 42px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.site-footer {
  margin-top: 46px;
  padding: 22px 0;
  color: #5d6c80;
  background: rgba(255, 255, 255, .78);
  border-top: 1px solid rgba(203, 219, 238, .88);
}

.site-footer__inner {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: inline-flex;
  color: #17243a;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
}

.footer-main {
  min-width: 0;
}

.site-footer p {
  max-width: 460px;
  margin: 4px 0 0;
  color: #6a788c;
  font-size: 13px;
  line-height: 1.5;
}

.footer-links {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
}

.footer-links a {
  color: #34455f;
  white-space: nowrap;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--primary);
}

.footer-legal {
  flex: 0 0 auto;
  display: grid;
  justify-items: end;
  gap: 4px;
  color: #75849a;
  font-size: 13px;
  line-height: 1.45;
}

.footer-legal a {
  color: #5e718c;
}

.bottom-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 850;
  height: calc(var(--bottom) + env(safe-area-inset-bottom, 0px));
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.bottom-cta a,
.bottom-cta button {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 800;
}

.bottom-cta__home {
  color: var(--primary);
  background: #edf5ff;
}

.bottom-cta__primary {
  color: #fff;
  background: linear-gradient(135deg, #2f8cff, #1d5bd7);
}

.mobile-drawer,
.search-layer,
.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  pointer-events: none;
}

.mobile-drawer.is-open,
.search-layer.is-open,
.qr-modal.is-open {
  pointer-events: auto;
}

.drawer-scrim,
.search-layer__scrim,
.qr-modal__scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(10, 27, 48, .52);
  border: 0;
  opacity: 0;
  transition: opacity .22s ease;
}

.is-open .drawer-scrim,
.is-open .search-layer__scrim,
.is-open .qr-modal__scrim {
  opacity: 1;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(86vw, 360px);
  height: 100%;
  padding: 18px;
  background: #fff;
  transform: translateX(100%);
  transition: transform .24s ease;
}

.is-open .drawer-panel {
  transform: translateX(0);
}

.drawer-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
  font-size: 19px;
}

.drawer-nav {
  display: grid;
  gap: 4px;
  margin: 24px 0;
}

.drawer-nav a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  color: #2c3f58;
  border-radius: var(--radius);
}

.drawer-nav a:hover,
.drawer-nav a:focus-visible {
  background: #edf5ff;
  color: var(--primary);
}

.drawer-primary {
  width: 100%;
  color: #fff;
  background: var(--accent);
}

.search-panel,
.qr-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(620px, calc(100% - 32px));
  transform: translate(-50%, calc(-50% + 18px)) scale(.98);
  opacity: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: opacity .22s ease, transform .22s ease;
}

.is-open .search-panel,
.is-open .qr-card {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.search-panel {
  padding: 20px;
}

.search-panel__top {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
}

.qr-card {
  max-width: 420px;
  padding: 40px;
  text-align: center;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .24);
}

.qr-card__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f6f8fb;
}

.qr-card__close:hover,
.qr-card__close:focus-visible {
  color: #ff3b30;
  background: rgba(255, 59, 48, .1);
  transform: rotate(90deg);
}

.qr-card h2 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.25;
  color: #1f2937;
}

.qr-subtitle {
  margin-bottom: 30px;
  font-size: 15px;
}

.qr-image {
  width: 240px;
  height: 240px;
  margin: 0 auto 25px;
  padding: 15px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid #f6f8fb;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}

.qr-image img,
.qr-image canvas {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-tips {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(20, 120, 255, .1), rgba(20, 120, 255, .05));
  border-radius: 12px;
  font-size: 14px;
}

.qr-tips svg {
  width: 18px;
  height: 18px;
}

.qr-copy {
  width: 100%;
  display: grid;
  gap: 12px;
}

.qr-copy strong {
  padding: 12px;
  color: #123057;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 18px;
}

.qr-copy button {
  min-height: 44px;
  color: #fff;
  background: var(--primary);
  border: 0;
  border-radius: var(--radius);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .42s ease, transform .42s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1023px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .mobile-only {
    display: inline-flex;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    padding: 34px 0 52px;
  }

  .hero__copy {
    text-align: left;
  }

  .feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: -20px;
  }

  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .footer-legal {
    justify-items: start;
  }
}

@media (max-width: 767px) {
  :root {
    --header: 64px;
  }

  .site-header__inner,
  .hero__inner,
  .feature-strip,
  .guide-section,
  .article-section,
  .final-cta,
  .content-page,
  .page-hero,
  .article-list-head,
  .category-tabs,
  .article-page-title,
  .site-footer__inner {
    width: min(100% - 24px, 1180px);
  }

  .brand__text {
    font-size: 18px;
  }

  .brand__logo {
    width: 32px;
    height: 32px;
  }

  .hero__inner {
    padding-top: 28px;
    gap: 24px;
  }

  .hero h1 {
    font-size: clamp(42px, 15vw, 58px);
  }

  .hero__lead {
    margin: 14px 0 20px;
    font-size: 17px;
  }

  .hero__actions .btn {
    flex: 1 1 140px;
  }

  .video-stage__caption {
    width: 100%;
    margin-top: 10px;
    align-items: flex-start;
    flex-direction: column;
  }

  .feature-strip {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .feature-item {
    min-height: 136px;
    padding: 14px;
    align-items: flex-start;
    flex-direction: column;
  }

  .feature-icon {
    width: 42px;
    height: 42px;
  }

  .guide-section,
  .article-section {
    padding-top: 56px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .steps,
  .article-grid,
  .article-grid.compact {
    grid-template-columns: 1fr;
  }

  .step {
    min-height: 0;
  }

  .final-cta {
    padding: 24px;
    align-items: stretch;
    flex-direction: column;
  }

  .content-body {
    padding: 20px;
  }

  .inline-search,
  .search-form {
    flex-direction: column;
  }

  .inline-search button,
  .search-form button {
    width: 100%;
  }

  .bottom-cta {
    display: none;
  }

  .site-footer {
    margin-top: 46px;
    padding: 22px 0 calc(22px + env(safe-area-inset-bottom, 0px));
  }

  .footer-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
  }

  .footer-links a {
    white-space: normal;
  }

  .site-footer p {
    max-width: none;
  }
}

@media (max-width: 390px) {
  .feature-strip {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

/* Homepage alignment with the reference site */
body {
  background: #eef5ff;
}

.site-header {
  position: sticky;
  top: 0;
  height: 96px;
  background: #fff;
  border-bottom: 0;
  box-shadow: 0 10px 30px rgba(38, 88, 150, .04);
  backdrop-filter: none;
}

.site-header__inner {
  width: min(1160px, calc(100% - 48px));
}

.brand {
  gap: 12px;
}

.brand__symbol {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #27a8ff, #1676ee);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(25, 118, 238, .2);
}

.brand__symbol svg {
  width: 31px;
  height: 31px;
  stroke-width: 3;
}

.brand__text {
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: 0;
}

.desktop-nav {
  display: none;
}

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

.site-header [data-menu-open] {
  display: none;
}

.site-header .icon-button {
  width: 50px;
  height: 50px;
  color: #4a5666;
  background: #f6f9fd;
}

.site-header .icon-button svg {
  width: 27px;
  height: 27px;
  stroke-width: 2.4;
}

.site-header .icon-button:hover,
.site-header .icon-button:focus-visible {
  color: #1d74ff;
  background: #edf5ff;
}

.video-hero {
  width: min(1160px, calc(100% - 48px));
  margin: 18px auto 0;
}

.video-shell {
  position: relative;
  overflow: hidden;
  background: #050914;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 20px 44px rgba(33, 72, 126, .16);
}

.video-shell.reveal,
.home-title.reveal,
.core-feature-section .feature-item.reveal,
.article-heading.reveal,
.final-cta.reveal,
.article-grid--home .article-card.reveal,
.list-article-grid .article-card.reveal {
  opacity: 1;
  transform: none;
}

.video-shell .hero-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #050914;
  border-radius: 18px;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: #fff;
  text-align: center;
  background: linear-gradient(180deg, rgba(5, 9, 20, .04) 0%, rgba(5, 9, 20, .18) 48%, rgba(5, 9, 20, .24) 100%);
  pointer-events: none;
  transition: opacity .18s ease, visibility .18s ease;
}

.video-play {
  width: 82px;
  height: 82px;
  padding: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(35, 46, 68, .72);
  border: 2px solid rgba(255, 255, 255, .32);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .24);
  pointer-events: auto;
  transition: opacity .18s ease, background .18s ease, transform .18s ease;
}

.video-play svg {
  width: 36px;
  height: 36px;
  margin-left: 4px;
  fill: currentColor;
  stroke: none;
}

.video-play:hover,
.video-play:focus-visible {
  background: rgba(20, 120, 255, .86);
  transform: scale(1.04);
}

.video-overlay__title {
  margin-top: 58px;
  color: #fff;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 900;
  text-shadow: 0 3px 16px rgba(0, 0, 0, .48);
}

.video-overlay__desc {
  margin-top: 14px;
  color: rgba(255, 255, 255, .82);
  font-size: 17px;
  line-height: 1.5;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}

.video-shell.is-playing .video-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.core-feature-section {
  width: min(1160px, calc(100% - 48px));
  margin: 34px auto 0;
}

.home-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.home-title::before {
  content: "";
  width: 5px;
  height: 24px;
  flex: 0 0 auto;
  background: #2379ff;
  border-radius: 99px;
}

.home-title h1 {
  margin: 0;
  color: #243144;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0;
}

.core-feature-section .feature-strip {
  width: 100%;
  margin: 20px 0 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.core-feature-section .feature-item {
  min-height: 194px;
  padding: 30px 26px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(210, 224, 241, .88);
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(32, 73, 126, .1);
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transform: translateY(0);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease;
}

.core-feature-section .feature-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #2379ff, #ff8a1f);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s ease;
}

.core-feature-section .feature-item:hover,
.core-feature-section .feature-item:focus-visible {
  border-color: rgba(35, 121, 255, .32);
  box-shadow: 0 24px 52px rgba(32, 73, 126, .18);
  transform: translateY(-8px);
}

.core-feature-section .feature-item:hover::before,
.core-feature-section .feature-item:focus-visible::before {
  transform: scaleX(1);
}

.core-feature-section .feature-item--primary {
  color: #fff;
  background: linear-gradient(135deg, #2c83ff 0%, #0a56dc 100%);
  border-color: transparent;
  box-shadow: 0 18px 36px rgba(28, 111, 236, .26);
}

.core-feature-section .feature-icon {
  width: 70px;
  height: 70px;
  flex: 0 0 auto;
  color: #1f76f8;
  background: #eef5ff;
  border-radius: 18px;
  transition: transform .48s ease, background .24s ease, color .24s ease;
  transform-style: preserve-3d;
}

.core-feature-section .feature-icon svg {
  width: 32px;
  height: 32px;
}

.core-feature-section .feature-item--primary .feature-icon {
  color: #fff;
  background: rgba(255, 255, 255, .2);
}

.core-feature-section .feature-item:hover .feature-icon,
.core-feature-section .feature-item:focus-visible .feature-icon {
  background: rgba(35, 121, 255, .1);
  transform: rotateY(360deg);
}

.core-feature-section .feature-item--primary:hover .feature-icon,
.core-feature-section .feature-item--primary:focus-visible .feature-icon {
  background: rgba(255, 255, 255, .24);
}

.core-feature-section .feature-item strong {
  display: block;
  font-size: 22px;
  line-height: 1.25;
}

.core-feature-section .feature-item em {
  max-width: 260px;
  margin: 12px auto 0;
  color: #6c7b90;
  font-size: 16px;
  line-height: 1.7;
}

.core-feature-section .feature-item--primary em {
  color: rgba(255, 255, 255, .84);
}

.article-section {
  padding-top: 46px;
}

.article-heading {
  align-items: center;
  margin-bottom: 20px;
}

.article-heading h2 {
  margin: 0;
  color: #243144;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0;
}

.section-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2d73df;
  font-size: 15px;
  font-weight: 700;
}

.article-grid--home {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-grid--home .article-card {
  min-height: 128px;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(210, 224, 241, .88);
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(32, 73, 126, .1);
}

.article-grid--home .article-card__media {
  aspect-ratio: 1.34 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: #eef5ff;
}

.article-grid--home .article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-grid--home .article-card__body {
  padding: 0;
}

.article-grid--home .article-card h3 {
  margin: 0;
  color: #243144;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 800;
}

.article-card__meta {
  margin-top: 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: #66758a;
  font-size: 14px;
}

.article-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.article-card__meta svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

@media (max-width: 1023px) {
  .site-header {
    height: 86px;
  }

  .site-header__inner,
  .video-hero,
  .core-feature-section {
    width: min(100% - 36px, 760px);
  }

  .brand__symbol {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .brand__symbol svg {
    width: 29px;
    height: 29px;
  }

  .brand__text {
    font-size: 22px;
  }

  .site-header .icon-button {
    width: 48px;
    height: 48px;
  }

  .site-header [data-menu-open] {
    display: none;
  }

  .core-feature-section .feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-grid--home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  :root {
    --header: 72px;
  }

  .site-header {
    height: 72px;
  }

  .site-header__inner,
  .video-hero,
  .core-feature-section {
    width: calc(100% - 24px);
  }

  .brand {
    gap: 9px;
  }

  .brand__symbol {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }

  .brand__symbol svg {
    width: 26px;
    height: 26px;
  }

  .brand__text {
    max-width: calc(100vw - 156px);
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 20px;
  }

  .site-header .icon-button {
    width: 44px;
    height: 44px;
  }

  .site-header .icon-button svg {
    width: 24px;
    height: 24px;
  }

  .video-hero {
    margin-top: 16px;
  }

  .video-shell,
  .video-shell .hero-video {
    border-radius: 14px;
  }

  .video-overlay {
    padding: 18px;
  }

  .video-play {
    width: 72px;
    height: 72px;
  }

  .video-play svg {
    width: 32px;
    height: 32px;
  }

  .video-overlay__title {
    margin-top: 44px;
    font-size: 24px;
  }

  .video-overlay__desc {
    margin-top: 8px;
    font-size: 15px;
  }

  .core-feature-section {
    margin-top: 28px;
  }

  .home-title h1 {
    font-size: 22px;
  }

  .home-title::before {
    height: 22px;
  }

  .core-feature-section .feature-strip {
    gap: 12px;
    grid-template-columns: 1fr;
  }

  .core-feature-section .feature-item {
    width: 100%;
    min-width: 0;
    min-height: 142px;
    padding: 16px;
  }

  .core-feature-section .feature-icon {
    width: 46px;
    height: 46px;
  }

  .core-feature-section .feature-item strong {
    font-size: 17px;
  }

  .article-section {
    padding-top: 40px;
  }

  .article-list-head {
    width: calc(100% - 48px);
    max-width: 1180px;
    padding-top: 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .category-tabs {
    width: calc(100% - 48px);
    max-width: 1180px;
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: stretch;
  }

  .category-tabs a {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 0 13px;
    max-width: 100%;
    border-radius: 10px;
    font-size: 14px;
    white-space: normal;
    justify-content: center;
    text-align: center;
  }

  .article-page-title {
    width: calc(100% - 48px);
    max-width: 1180px;
    padding-top: 26px;
  }

  .article-page-title h1 {
    font-size: 30px;
  }

  .list-page-section {
    width: calc(100% - 48px);
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
  }

  .article-heading {
    align-items: flex-start;
    flex-direction: row;
    gap: 12px;
  }

  .article-heading h2 {
    font-size: 22px;
  }

  .section-more {
    white-space: nowrap;
    font-size: 14px;
  }

  .article-grid--home {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .list-article-grid {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    grid-template-columns: 1fr;
  }

  .list-article-grid .article-card {
    width: 100%;
    max-width: 100%;
  }

  .list-article-grid .article-card__media,
  .list-article-grid .article-card__media img {
    width: 100%;
    max-width: 100%;
  }

  .list-article-grid .article-card__body {
    width: 100%;
    max-width: 100%;
    padding: 16px 14px;
  }

  .list-article-grid .article-card h2,
  .list-article-grid .article-card p {
    max-width: 100%;
    display: block;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .article-grid--home .article-card {
    min-height: 116px;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .article-grid--home .article-card__media {
    width: 100%;
    aspect-ratio: 16 / 7.5;
  }

  .article-grid--home .article-card h3 {
    font-size: 16px;
  }

  .article-card__meta {
    margin-top: 8px;
    gap: 10px;
    font-size: 13px;
  }
}

@media (max-width: 390px) {
  .core-feature-section .feature-strip {
    grid-template-columns: 1fr;
  }

  .brand__text {
    font-size: 18px;
  }
}

/* Mobile homepage parity with the reference site */
@media (max-width: 767px) {
  body {
    padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  }

  .article-detail {
    width: calc(100% - 24px);
    max-width: none;
    padding-top: 34px;
  }

  .content-head {
    margin-bottom: 20px;
  }

  .content-back {
    margin-bottom: 14px;
    font-size: 15px;
  }

  .content-head h1 {
    font-size: 28px;
    line-height: 1.25;
  }

  .content-summary {
    font-size: 16px;
    line-height: 1.75;
  }

  .content-cover {
    margin-top: 18px;
    border-radius: 12px;
  }

  .content-cover img {
    aspect-ratio: 16 / 8.6;
  }

  .content-body-wrap {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .content-body {
    padding: 20px;
    font-size: 16px;
    line-height: 1.8;
  }

  .content-action {
    position: static;
    padding: 20px;
  }

  .content-action h2 {
    font-size: 22px;
  }

  .content-nav {
    grid-template-columns: 1fr;
  }

  .single-page {
    width: calc(100% - 24px);
    padding-top: 24px;
  }

  .single-head {
    margin-bottom: 18px;
  }

  .single-layout,
  .single-contact-panel,
  .single-step-list,
  .single-feature-grid,
  .single-quick-links {
    grid-template-columns: 1fr;
  }

  .single-panel {
    padding: 18px;
  }

  .single-panel h2,
  .single-action-card h2,
  .single-quick-links h2 {
    font-size: 21px;
  }

  .single-copy-row {
    padding: 14px;
  }

  .contact-clean-card {
    padding: 20px;
  }

  .contact-clean-card h2 {
    font-size: 26px;
  }

  .single-step-list,
  .single-feature-grid {
    gap: 10px;
  }

  .single-action-card {
    position: static;
    padding: 18px;
  }

  .single-quick-links {
    width: calc(100% - 24px);
    margin-top: 24px;
    padding: 18px;
    gap: 16px;
  }

  .single-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .single-link-grid a {
    min-height: 46px;
    font-size: 14px;
  }

  .related-section {
    width: calc(100% - 24px);
    padding-top: 40px;
  }

  .header-actions [data-search-open] {
    display: none;
  }

  .site-header [data-menu-open] {
    display: inline-flex;
  }

  .core-feature-section {
    margin-top: 30px;
  }

  .core-feature-section .feature-strip {
    width: 100%;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .core-feature-section .feature-item {
    min-height: 92px;
    padding: 10px 6px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(32, 73, 126, .10);
  }

  .core-feature-section .feature-item:hover,
  .core-feature-section .feature-item:focus-visible {
    box-shadow: 0 12px 28px rgba(32, 73, 126, .10);
    transform: none;
  }

  .core-feature-section .feature-item:hover .feature-icon,
  .core-feature-section .feature-item:focus-visible .feature-icon {
    transform: none;
  }

  .core-feature-section .feature-item::before {
    display: none;
  }

  .core-feature-section .feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .core-feature-section .feature-item strong {
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .core-feature-section .feature-item em {
    display: none;
  }

  .article-section {
    padding-top: 36px;
  }

  .article-grid--home {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .article-grid--home .article-card {
    min-height: 112px;
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 14px;
  }

  .article-grid--home .article-card__media {
    width: 118px;
    aspect-ratio: 1.45 / 1;
    border-radius: 8px;
  }

  .article-grid--home .article-card h3 {
    font-size: 17px;
    line-height: 1.35;
  }

  .article-card__meta {
    margin-top: 9px;
    gap: 14px;
    font-size: 13px;
  }

  .bottom-cta {
    display: grid;
    height: calc(82px + env(safe-area-inset-bottom, 0px));
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.55fr);
    gap: 12px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 -12px 30px rgba(22, 62, 116, .12);
  }

  .site-footer {
    margin-top: 34px;
    padding: 18px 0 14px;
  }

  .site-footer__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 8px 16px;
  }

  .site-footer p {
    max-width: none;
    font-size: 12px;
    line-height: 1.45;
  }

  .footer-links {
    justify-content: end;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 12px;
  }

  .footer-legal {
    grid-column: 1 / -1;
    justify-items: start;
    gap: 2px;
    font-size: 12px;
  }

  .bottom-cta a,
  .bottom-cta button {
    min-height: 54px;
    border-radius: 18px;
    font-size: 17px;
  }

  .bottom-cta svg {
    display: none;
  }

  .bottom-cta__home {
    color: #2a3242;
    background: #fff;
    box-shadow: 0 10px 24px rgba(32, 73, 126, .08);
  }

  .bottom-cta__primary {
    background: linear-gradient(135deg, #2f8cff, #1f5edb);
    box-shadow: 0 12px 24px rgba(31, 94, 219, .24);
  }
}

@media (max-width: 390px) {
  .core-feature-section .feature-strip {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    grid-template-columns: repeat(4, 86px);
    gap: 8px;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .core-feature-section .feature-strip::-webkit-scrollbar {
    display: none;
  }

  .core-feature-section .feature-item {
    width: 86px;
  }

  .core-feature-section .feature-item strong {
    font-size: 13px;
  }

  .article-grid--home .article-card {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 12px;
  }

  .article-grid--home .article-card__media {
    width: 104px;
  }

  .article-grid--home .article-card h3 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow-wrap: anywhere;
  }

  .bottom-cta {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.65fr);
    padding-left: 12px;
    padding-right: 12px;
  }

  .bottom-cta a,
  .bottom-cta button {
    font-size: 14px;
    white-space: nowrap;
  }
}

@media (max-width: 767px) {
  .article-grid--home .article-card:nth-child(n+4) {
    display: none;
  }

  .site-footer {
    margin-top: 22px;
    padding: 12px 0 10px;
  }

  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
  }

  .footer-brand {
    font-size: 16px;
  }

  .site-footer p {
    max-width: 210px;
    font-size: 11px;
    line-height: 1.35;
  }

  .footer-links {
    max-width: 156px;
    justify-content: flex-end;
    gap: 4px 10px;
    line-height: 1.35;
    font-size: 11px;
  }

  .footer-legal {
    gap: 0;
    font-size: 11px;
    line-height: 1.35;
  }

  .bottom-cta {
    height: calc(78px + env(safe-area-inset-bottom, 0px));
    padding-top: 10px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }

  .single-page {
    width: calc(100% - 24px);
    max-width: none;
    padding-top: 24px;
  }

  .single-layout,
  .single-contact-panel,
  .single-step-list,
  .single-feature-grid,
  .single-quick-links {
    grid-template-columns: 1fr;
  }

  .single-main,
  .single-body,
  .single-panel,
  .single-action-card {
    min-width: 0;
    max-width: 100%;
  }

  .single-body p,
  .single-panel p,
  .single-action-card p {
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .single-body {
    padding: 18px;
  }

  .single-panel,
  .single-action-card {
    padding: 18px;
  }

  .single-quick-links {
    width: calc(100% - 24px);
    max-width: none;
  }
}
