:root {
  --bg: #f6f9fc;
  --bg-soft: #eef5fb;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --surface-muted: #f8fbff;
  --border: #dce7f4;
  --border-strong: #c7d9ee;
  --text: #10233d;
  --muted: #62748a;
  --accent: #c71e1e;
  --accent-2: #ea3a3b;
  --accent-3: #35c6a6;
  --accent-soft: rgba(36, 107, 255, 0.1);
  --shadow: 0 24px 70px rgba(19, 42, 79, 0.08);
  --shadow-soft: 0 12px 30px rgba(19, 42, 79, 0.05);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

*::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: radial-gradient(
      circle at top left,
      rgba(103, 156, 255, 0.14),
      transparent 24%
    ),
    radial-gradient(
      circle at top right,
      rgba(53, 198, 166, 0.12),
      transparent 20%
    ),
    linear-gradient(180deg, #fbfdff 0%, #f5f9ff 42%, #f7fbff 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
}

body::before {
  top: -180px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(83, 126, 255, 0.14),
    transparent 68%
  );
  filter: blur(12px);
}

body::after {
  left: -140px;
  bottom: -140px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(53, 198, 166, 0.12),
    transparent 72%
  );
  filter: blur(14px);
}

::selection {
  background: rgba(36, 107, 255, 0.16);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

main,
footer {
  position: relative;
  z-index: 1;
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 36px 0;
  position: relative;
}

.section-header {
  display: grid;
  gap: 16px;
  max-width: 850px;
  margin-bottom: 42px;
}

.section-header.centered {
  margin-inline: auto;
  justify-items: center;
  text-align: center;
}
.brand img {
  max-width: 200px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(36, 107, 255, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-soft);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h3 {
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.lead {
  max-width: 850px;
  color: #44566f;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.85;
}

#contact .lead {
  font-size: 16px;
  color: var(--muted);
}

.muted {
  color: var(--muted);
  line-height: 1.85;
}

.nav-shell {
  position: sticky;
  top: 18px;
  z-index: 100;
  padding-top: 18px;
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  display: flex;
  justify-content: stretch;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 22px;
  width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(220, 231, 244, 0.92);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 35px rgba(19, 42, 79, 0.06);
  backdrop-filter: blur(18px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: 0 18px 44px rgba(19, 42, 79, 0.09);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: linear-gradient(135deg, #3e7cff, #7fa7ff);
  box-shadow: 0 16px 30px rgba(36, 107, 255, 0.22);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
}

.brand-mark::before {
  width: 18px;
  height: 4px;
  top: 12px;
  left: 12px;
  transform: rotate(-28deg);
}

.brand-mark::after {
  width: 10px;
  height: 10px;
  right: 9px;
  bottom: 9px;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-text span {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #4d617b;
  font-size: 14px;
  font-weight: 500;
  flex: 1;
  min-width: 0;
}

.nav-links a {
  position: relative;
  transition: color 0.24s ease;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: transform 0.24s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  /* border: 1px solid rgba(36, 107, 255, 0.32); */
  background: linear-gradient(135deg, #c71d1e, #ea3a3b);
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 12px 26px rgba(36, 107, 255, 0.24);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.nav-phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(36, 107, 255, 0.28);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.24s ease, box-shadow 0.24s ease,
    border-color 0.24s ease, background 0.24s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #c71d1e, #ea3a3b);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(36, 107, 255, 0.22);
}

.button-primary:hover {
  box-shadow: 0 20px 40px rgba(36, 107, 255, 0.26);
}

.button-secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

.hero {
  padding: 88px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}

.hero-copy {
  display: grid;
  gap: 28px;
  max-width: 920px;
  justify-items: center;
  text-align: center;
}

.hero-copy p {
  max-width: 910px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  margin-top: 10px;
}

.mini-stat {
  padding: 20px;
  border-radius: 22px;
}

.mini-stat strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 30px;
  font-weight: 700;
}

.mini-stat span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.glass-panel {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(220, 231, 244, 0.95);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.84),
    rgba(250, 252, 255, 0.8)
  );
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.method-layout,
.proof-grid,
.process-grid,
.about-showcase,
.contact-grid,
.contact-assurance,
.metric-row {
  display: grid;
  gap: 22px;
}

.method-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
}

.method-featured,
.method-list,
.proof-card,
.process-card,
.cta-block,
.form-card {
  padding: 30px;
}

.method-featured {
  display: grid;
  gap: 18px;
}

.method-ring {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 1;
  margin-top: 12px;
  justify-self: center;
  border-radius: 50%;
  background: conic-gradient(
    from 120deg,
    rgba(36, 107, 255, 0.9),
    rgba(91, 140, 255, 0.6),
    rgba(53, 198, 166, 0.62),
    rgba(36, 107, 255, 0.9)
  );
  padding: 1px;
  box-shadow: 0 22px 44px rgba(36, 107, 255, 0.12);
}

.method-ring::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff, #f6faff);
}

.method-ring::after {
  content: "技术增长闭环";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.method-list {
  display: grid;
  gap: 16px;
}

.method-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(223, 233, 245, 0.95);
  background: rgba(248, 251, 255, 0.85);
  transition: transform 0.26s ease, border-color 0.26s ease,
    box-shadow 0.26s ease;
}

.method-item:hover,
.proof-card:hover,
.process-card:hover {
  transform: translateY(-4px);
  border-color: rgba(151, 182, 233, 0.95);
  box-shadow: 0 20px 45px rgba(19, 42, 79, 0.08);
}

.method-item strong {
  display: block;
  margin-bottom: 8px;
}

.method-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(36, 107, 255, 0.12),
    rgba(91, 140, 255, 0.08)
  );
  color: var(--accent);
  font-weight: 700;
}

.proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-card {
  display: grid;
  gap: 18px;
}

.proof-card.featured {
  background: linear-gradient(
    180deg,
    rgba(239, 245, 255, 0.92),
    rgba(255, 255, 255, 0.84)
  );
  border-color: rgba(180, 202, 239, 0.95);
}

.proof-list {
  display: grid;
  gap: 14px;
}

.proof-list div {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(225, 234, 245, 0.95);
  background: rgba(248, 251, 255, 0.92);
}

.card-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(36, 107, 255, 0.12);
  background: rgba(36, 107, 255, 0.08);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card-chip.alt {
  border-color: rgba(53, 198, 166, 0.16);
  background: rgba(53, 198, 166, 0.09);
  color: #139579;
}

.card-desc {
  color: #4e6178;
  line-height: 1.85;
}

.case-methodology {
  color: #6a7d93;
  font-size: 13px;
  line-height: 1.75;
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(36, 107, 255, 0.04);
  border: 1px dashed rgba(36, 107, 255, 0.15);
}

.case-anonymy-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  max-width: min(100%, 720px);
  margin: 0 auto 20px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(53, 198, 166, 0.08);
  border: 1px solid rgba(53, 198, 166, 0.18);
  color: #2a665d;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.case-anonymy-notice span {
  font-size: 15px;
}

.metric-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
}

.metric-pill {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(223, 233, 245, 0.95);
  background: rgba(255, 255, 255, 0.82);
}

.metric-pill strong {
  font-size: 22px;
  line-height: 1;
  color: var(--accent);
}

.metric-pill span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.hero-intent {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.hero-intent li {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(214, 226, 240, 0.95);
  background: rgba(255, 255, 255, 0.74);
  color: #4e647d;
  font-size: 13px;
  box-shadow: var(--shadow-soft);
}

.case-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  padding: 8px;
  margin-inline: auto;
  margin-bottom: 28px;
  border: 1px solid rgba(220, 231, 244, 0.95);
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.82),
    rgba(243, 248, 255, 0.84)
  );
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.case-tab {
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.24s ease, background 0.24s ease, color 0.24s ease,
    border-color 0.24s ease, box-shadow 0.24s ease;
}

.case-tab:hover {
  transform: translateY(-1px);
  border-color: rgba(198, 214, 239, 0.96);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
}

.case-tab.active {
  border-color: rgba(36, 107, 255, 0.12);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(36, 107, 255, 0.24);
}

.case-tab:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(36, 107, 255, 0.14);
}

.case-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.26s ease, border-color 0.26s ease,
    box-shadow 0.26s ease;
}

.case-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(36, 107, 255, 0),
    rgba(36, 107, 255, 0.34),
    rgba(53, 198, 166, 0.26),
    rgba(36, 107, 255, 0)
  );
  opacity: 0.9;
  z-index: 1;
  pointer-events: none;
}

.case-card.hidden {
  display: none;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(151, 182, 233, 0.95);
  box-shadow: 0 20px 45px rgba(19, 42, 79, 0.08);
}

.case-cover {
  min-height: 200px;
  padding: 22px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background-size: 120% 120%;
  transition: transform 0.32s ease, background-position 0.32s ease;
}

.case-cover::before,
.case-cover::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.case-cover::before {
  top: -38px;
  right: -28px;
  width: 150px;
  height: 150px;
}

.case-cover::after {
  left: -22px;
  bottom: -22px;
  width: 96px;
  height: 96px;
}

.case-cover-1 {
  background: linear-gradient(135deg, #183d97, #c71e1e 56%, #78b1ff);
}

.case-cover-2 {
  background: linear-gradient(135deg, #1f4d8a, #4b84e8 56%, #8ec4ff);
}

.case-cover-3 {
  background: linear-gradient(135deg, #314ca2, #5b8cff 56%, #97b7ff);
}

.case-cover-4 {
  background: linear-gradient(135deg, #0f5e78, #1f90b2 56%, #67d2d6);
}

.case-cover-5 {
  background: linear-gradient(135deg, #1f5fb4, #3f88ef 56%, #8fc5ff);
}

.case-cover-6 {
  background: linear-gradient(135deg, #145f8e, #4c8fe0 56%, #9ad0ff);
}

.case-cover-7 {
  background: linear-gradient(135deg, #3e4eb2, #6a6ff0 56%, #a7b0ff);
}

.case-cover-8 {
  background: linear-gradient(135deg, #14687f, #1da5c2 56%, #73ddd6);
}

.case-cover-9 {
  background: linear-gradient(135deg, #214d9a, #307cde 56%, #78c4ff);
}

.case-cover-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.case-cover-tag {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.14);
  font-size: 12px;
}

.case-cover-brand {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.case-cover-copy {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.75;
}

.case-body {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.case-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.case-badge {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(36, 107, 255, 0.1);
  background: rgba(36, 107, 255, 0.08);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.case-card:hover .case-cover {
  transform: scale(1.02);
  background-position: center top;
}

.frontier-shell {
  display: grid;
  gap: 30px;
}

.frontier-headline {
  display: grid;
  gap: 10px;
  max-width: 910px;
}

.frontier-headline span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.frontier-headline h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.frontier-headline p {
  color: var(--muted);
  line-height: 1.85;
}

.frontier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.frontier-status {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.frontier-status:empty {
  display: none;
}

.frontier-card {
  border-radius: 22px;
  border: 1px solid rgba(223, 233, 245, 0.95);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.26s ease, border-color 0.26s ease,
    box-shadow 0.26s ease;
}

.frontier-card:hover {
  transform: translateY(-4px);
  border-color: rgba(151, 182, 233, 0.95);
  box-shadow: 0 20px 45px rgba(19, 42, 79, 0.08);
}

.frontier-cover {
  min-height: 210px;
  padding: 14px;
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid rgba(223, 233, 245, 0.95);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.frontier-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(16, 35, 61, 0.12),
    rgba(16, 35, 61, 0.36)
  );
  pointer-events: none;
}

.frontier-tag {
  position: relative;
  z-index: 1;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.frontier-cover-1 {
  background-image: linear-gradient(
      135deg,
      rgba(24, 61, 151, 0.74),
      rgba(36, 107, 255, 0.55)
    ),
    radial-gradient(
      circle at 28% 28%,
      rgba(255, 255, 255, 0.24),
      transparent 58%
    );
}

.frontier-cover-2 {
  background-image: linear-gradient(
      135deg,
      rgba(31, 77, 138, 0.74),
      rgba(76, 143, 224, 0.6)
    ),
    radial-gradient(
      circle at 70% 22%,
      rgba(255, 255, 255, 0.22),
      transparent 56%
    );
}

.frontier-cover-3 {
  background-image: linear-gradient(
      135deg,
      rgba(49, 76, 162, 0.76),
      rgba(29, 165, 194, 0.58)
    ),
    radial-gradient(
      circle at 78% 24%,
      rgba(255, 255, 255, 0.2),
      transparent 58%
    );
}

.frontier-body {
  display: grid;
  gap: 14px;
  padding: 18px 18px 20px;
}

.frontier-date {
  color: #7a8ca4;
  font-size: 13px;
  line-height: 1;
}

.frontier-body h3 {
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.frontier-body p {
  color: #4e6178;
  line-height: 1.8;
}

.frontier-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-weight: 700;
  width: fit-content;
  cursor: pointer;
}

.frontier-link:hover {
  color: #1b57d0;
}

.article-modal {
  position: fixed;
  inset: 0;
  z-index: 245;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(11, 20, 37, 0.58);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.article-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.article-modal-dialog {
  width: min(100%, 920px);
  max-height: calc(100vh - 56px);
  overflow: auto;
  border-radius: 30px;
  border: 1px solid rgba(218, 230, 244, 0.95);
  background: linear-gradient(
    180deg,
    rgba(248, 251, 255, 0.98),
    rgba(255, 255, 255, 0.99)
  );
  box-shadow: 0 32px 90px rgba(10, 24, 50, 0.22);
}

.article-modal-dialog::-webkit-scrollbar {
  width: 8px;
}

.article-modal-dialog::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(98, 116, 138, 0.28);
}

.article-modal-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 30px 20px;
  background: linear-gradient(
    180deg,
    rgba(248, 251, 255, 0.99),
    rgba(248, 251, 255, 0.92)
  );
  border-bottom: 1px solid rgba(223, 233, 245, 0.95);
  backdrop-filter: blur(16px);
}

.article-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-modal-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(36, 107, 255, 0.14);
  background: rgba(255, 255, 255, 0.96);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.article-modal-close {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid rgba(223, 233, 245, 0.95);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.24s ease, border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.article-modal-close:hover {
  transform: translateY(-2px);
  border-color: rgba(151, 182, 233, 0.95);
  box-shadow: var(--shadow-soft);
}

.article-modal-content {
  display: grid;
  gap: 22px;
  padding: 12px 30px 30px;
}

.article-modal-content h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.article-modal-summary {
  color: #44566f;
  font-size: 17px;
  line-height: 1.9;
}

.article-modal-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.article-modal-highlight {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(36, 107, 255, 0.08);
  color: #1e4da5;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.article-modal-body {
  display: grid;
  gap: 24px;
}

.article-section {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(223, 233, 245, 0.95);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.article-section h3 {
  font-size: 24px;
  line-height: 1.35;
}

.article-section p {
  color: #465b74;
  line-height: 1.9;
}

.article-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-points li {
  position: relative;
  padding-left: 18px;
  color: #44566f;
  line-height: 1.8;
}

.article-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.article-modal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
}

.article-modal-footer .button {
  min-width: 156px;
}

.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(8, 18, 36, 0.42);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.privacy-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.privacy-modal-dialog {
  position: relative;
  width: min(100%, 860px);
  max-height: calc(100vh - 56px);
  overflow: auto;
  padding: 36px 32px;
  border-radius: 34px;
  border: 1px solid rgba(221, 232, 245, 0.9);
  background: linear-gradient(
    180deg,
    rgba(248, 251, 255, 0.98),
    rgba(255, 255, 255, 0.99)
  );
  box-shadow: 0 32px 90px rgba(10, 24, 50, 0.22);
}

.privacy-modal-dialog::-webkit-scrollbar {
  width: 8px;
}

.privacy-modal-dialog::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(98, 116, 138, 0.28);
}

.privacy-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(221, 232, 245, 0.9);
  background: rgba(255, 255, 255, 0.92);
  color: #4e6178;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.18s ease, color 0.18s ease,
    transform 0.18s ease;
}

.privacy-modal-close:hover {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 1);
  color: #10233d;
}

.privacy-modal-body {
  line-height: 1.9;
  color: #4e6178;
}

.privacy-modal-body h1 {
  font-size: clamp(24px, 3.5vw, 32px);
  color: var(--text);
  margin: 0 0 24px;
  line-height: 1.3;
}

.privacy-modal-body h2 {
  font-size: 20px;
  color: var(--text);
  margin: 28px 0 14px;
  line-height: 1.4;
}

.privacy-modal-body p {
  margin: 0 0 14px;
}

.privacy-modal-body ul {
  margin: 0 0 14px;
  padding-left: 20px;
}

.privacy-modal-body a {
  color: #c71e1e;
  text-decoration: underline;
}

.privacy-modal-body strong {
  color: var(--text);
}

@media (max-width: 720px) {
  .privacy-modal {
    padding: 16px;
  }

  .privacy-modal-dialog {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .privacy-modal-body h1 {
    font-size: 22px;
  }

  .privacy-modal-body h2 {
    font-size: 18px;
  }
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
}

.process-card::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -38px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(36, 107, 255, 0.12),
    transparent 68%
  );
  pointer-events: none;
}

.process-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.process-step strong {
  color: var(--text);
  font-size: 36px;
  line-height: 1;
}

.process-step span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 28px;
  align-items: start;
}

#contact .cta-panel {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(219, 230, 243, 0.98);
  background: linear-gradient(
    135deg,
    rgba(243, 248, 255, 0.96),
    rgba(255, 255, 255, 0.98)
  );
  box-shadow: var(--shadow);
}

.cta-block,
.form-card {
  display: grid;
  gap: 20px;
  border-radius: 28px;
  border: 1px solid rgba(223, 233, 245, 0.95);
  background: rgba(255, 255, 255, 0.8);
}

#contact .cta-block {
  align-content: start;
  min-height: 100%;
  border: 0;
  border-radius: 0;
  background: linear-gradient(
    180deg,
    rgba(239, 246, 255, 0.96),
    rgba(248, 251, 255, 0.92)
  );
}

#contact .form-card {
  min-width: 0;
  min-height: 100%;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.98);
}

#contact .contact-item {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 8px;
}

#contact .contact-item > span {
  text-align: left;
}

#contact .contact-lines {
  display: grid;
  gap: 6px;
}

#contact .contact-lines span {
  display: block;
}

.contact-assurance {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.assurance-item,
.contact-item {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(225, 234, 245, 0.95);
  background: rgba(248, 251, 255, 0.9);
}

.assurance-item strong,
.contact-item strong {
  font-size: 15px;
}

.assurance-item span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.contact-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

.contact-item {
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.contact-item > span {
  color: var(--text);
  text-align: right;
  line-height: 1.7;
}

.form-card form {
  display: grid;
  gap: 14px;
}

.diagnosis-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.diagnosis-form-actions .button {
  flex: 1 1 220px;
}

.field {
  padding: 15px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(248, 251, 255, 0.88);
  color: var(--text);
  outline: none;
  transition: border-color 0.24s ease, box-shadow 0.24s ease,
    background 0.24s ease;
}

.field::placeholder {
  color: #8a9ab0;
}

.field:focus {
  border-color: rgba(36, 107, 255, 0.34);
  box-shadow: 0 0 0 5px rgba(36, 107, 255, 0.08);
  background: #ffffff;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.form-feedback {
  min-height: 22px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.form-feedback.success {
  color: #0b8c70;
}

.form-feedback.error {
  color: #c84c4c;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
  box-shadow: none;
}

.about-showcase {
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  gap: 48px;
  align-items: end;
}

.about-copy {
  display: grid;
  gap: 22px;
}

.about-copy h2 {
  max-width: 620px;
}

.about-contact-panel {
  display: grid;
  gap: 12px;
  padding: 26px 28px;
  border-radius: 22px;
  border: 1px solid rgba(211, 225, 242, 0.98);
  background: linear-gradient(
    180deg,
    rgba(239, 245, 255, 0.95),
    rgba(248, 251, 255, 0.9)
  );
  box-shadow: var(--shadow-soft);
}

.about-contact-panel strong {
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
}

.about-contact-panel p,
.about-contact-panel address {
  color: #4d6178;
  line-height: 1.9;
  font-style: normal;
}

.about-contact-line {
  display: block;
  margin-top: 8px;
}

.about-contact-panel a {
  color: var(--accent);
  font-weight: 700;
}

.about-contact-value {
  color: var(--accent);
  font-weight: 700;
}

.about-visual {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.about-visual-stage {
  position: relative;
  min-height: 360px;
  padding: 28px;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: radial-gradient(
      circle at 16% 18%,
      rgba(255, 255, 255, 0.3),
      transparent 22%
    ),
    radial-gradient(
      circle at 84% 18%,
      rgba(53, 198, 166, 0.22),
      transparent 26%
    ),
    radial-gradient(
      circle at 76% 82%,
      rgba(143, 197, 255, 0.28),
      transparent 28%
    ),
    linear-gradient(135deg, #1b4f93 0%, #2f73cf 52%, #72adff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -20px 44px rgba(10, 24, 50, 0.16),
    0 20px 42px rgba(36, 107, 255, 0.18);
  isolation: isolate;
}

.about-visual-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #c71d1e, #ea3a3b);
  opacity: 1;
}

.about-visual-stage::after {
  content: "";
  position: absolute;
  top: 26px;
  right: -76px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 0 18px rgba(255, 255, 255, 0.04),
    inset 0 0 0 56px rgba(255, 255, 255, 0.035),
    inset 0 0 0 96px rgba(255, 255, 255, 0.025);
  opacity: 0.9;
  transform: rotate(10deg);
}

.about-visual-chip,
.about-visual-copy,
.about-visual-tags {
  position: relative;
  z-index: 1;
}

.about-visual-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.about-visual-copy {
  display: grid;
  gap: 12px;
  max-width: 100%;
  color: #ffffff;
}

.about-visual-copy span {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.about-visual-copy strong {
  font-size: 30px;
  line-height: 1.5;
  letter-spacing: -0.03em;
}

.about-visual-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-visual-tags li {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.about-metric {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 16px;
  min-height: 91px;
  border-radius: 22px;
  border: 1px solid rgba(223, 233, 245, 0.95);
  background: rgba(255, 255, 255, 0.92);
  text-align: center;
}

.about-metric strong {
  color: var(--accent);
  font-size: 20px;
  line-height: 1.3;
}

footer {
  padding: 42px 0 64px;
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  padding-top: 26px;
  border-top: 1px solid rgba(220, 231, 244, 0.95);
  color: var(--muted);
  font-size: 14px;
}

.footer-shell > * {
  min-width: 0;
}

.footer-shell > :first-child {
  flex: 0 1 auto;
}

.footer-shell > :nth-child(2) {
  flex: 1 1 320px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-shell > :last-child {
  flex: 0 0 auto;
  text-align: right;
}

.footer-address {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 0;
  font-style: normal;
  white-space: nowrap;
}

.footer-address a {
  display: inline-flex;
  align-items: center;
}

.footer-address a + a::before {
  content: "｜";
  margin: 0 10px;
  color: rgba(120, 135, 154, 0.72);
}

.footer-phone {
  color: var(--accent);
  font-weight: 700;
}

.footer-link {
  color: var(--muted);
  transition: color 0.24s ease;
}

.footer-link:hover {
  color: var(--accent);
}

.diagnosis-modal {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(8, 18, 36, 0.42);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.diagnosis-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.diagnosis-modal-dialog {
  position: relative;
  width: min(100%, 1040px);
  max-height: calc(100vh - 56px);
  overflow: auto;
  padding: 14px;
  border-radius: 34px;
  border: 1px solid rgba(221, 232, 245, 0.9);
  background: linear-gradient(
    180deg,
    rgba(248, 251, 255, 0.98),
    rgba(255, 255, 255, 0.99)
  );
  box-shadow: 0 32px 90px rgba(10, 24, 50, 0.22);
}

.diagnosis-modal-dialog::-webkit-scrollbar {
  width: 8px;
}

.diagnosis-modal-dialog::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(98, 116, 138, 0.28);
}

.diagnosis-modal .cta-panel {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.96fr);
  gap: 14px;
  align-items: stretch;
}

.diagnosis-modal .cta-block,
.diagnosis-modal .form-card {
  min-height: 100%;
  gap: 16px;
  padding: 24px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
}

.diagnosis-modal .cta-block {
  display: flex;
  min-height: 100%;
  align-content: start;
  background: radial-gradient(
      circle at top right,
      rgba(91, 140, 255, 0.18),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      rgba(239, 246, 255, 0.98),
      rgba(247, 251, 255, 0.96)
    );
}

.diagnosis-modal-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  min-height: 0;
  height: 100%;
  padding-block: 4px;
  text-align: center;
}

.diagnosis-modal-copy h2 {
  max-width: 520px;
  margin-top: -8px;
}

.diagnosis-modal .eyebrow {
  justify-content: center;
  width: 132px;
  min-height: 132px;
  padding: 18px;
  border-radius: 50%;
  text-align: center;
  line-height: 1.4;
  font-size: 13px;
}

.diagnosis-modal-list {
  display: grid;
  width: fit-content;
  max-width: 100%;
  gap: 8px;
  justify-items: start;
  margin-inline: auto;
  margin-block: 0;
  padding: 0;
  list-style: none;
}

.diagnosis-modal-list li {
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: 100%;
  justify-content: flex-start;
  gap: 10px;
  color: #45607a;
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
}

.diagnosis-modal-list li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(36, 107, 255, 0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.diagnosis-modal .contact-assurance {
  width: min(100%, 420px);
  gap: 12px;
}

.diagnosis-modal .assurance-item {
  justify-items: center;
  text-align: center;
  padding: 12px 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
  transition: opacity 0.7s ease, transform 0.7s ease, filter 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (max-width: 1080px) {
  .hero-proof,
  .method-layout,
  .proof-grid,
  .process-grid,
  .cta-panel,
  .about-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .method-layout,
  .proof-grid,
  .process-grid,
  .cta-panel,
  .about-showcase {
    grid-template-columns: 1fr;
  }

  .about-visual-copy,
  .about-visual-tags {
    max-width: 100%;
  }

  .frontier-grid {
    grid-template-columns: 1fr;
  }

  .frontier-body h3 {
    font-size: 24px;
  }

  #contact .form-card {
    border-left: 0;
    border-top: 1px solid rgba(223, 233, 245, 0.95);
  }

  .diagnosis-modal .cta-panel {
    grid-template-columns: 1fr;
  }

  .article-modal-header,
  .article-modal-content {
    padding-inline: 24px;
  }

  .article-modal-footer {
    justify-content: flex-start;
  }

  .diagnosis-modal .cta-block,
  .diagnosis-modal .form-card {
    min-height: auto;
  }

  .diagnosis-modal .cta-block {
    display: grid;
  }

  .diagnosis-modal-copy {
    flex: initial;
    width: min(100%, 520px);
    min-height: auto;
    height: auto;
    justify-content: flex-start;
    margin-inline: auto;
  }
}

@media (max-width: 900px) {
  .hero-proof,
  .metric-row,
  .contact-grid,
  .contact-assurance {
    grid-template-columns: 1fr;
  }

  .nav {
    position: relative;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 14px;
    padding-right: 22px;
  }

  .brand {
    flex: 1 1 100%;
    padding-right: 58px;
    white-space: normal;
    align-items: flex-start;
  }

  .brand-text {
    min-width: 0;
  }

  .brand-text strong,
  .brand-text span {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .nav-actions {
    width: 100%;
    justify-content: stretch;
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 44px rgba(19, 42, 79, 0.08);
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    position: absolute;
    top: 16px;
    right: 22px;
  }

  .nav-phone {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
    line-height: 1.45;
    max-width: 100%;
    padding-inline: 18px;
  }
}

@media (max-width: 640px) {
  .diagnosis-modal-copy {
    width: min(100%, 420px);
    gap: 14px;
    margin-inline: auto;
    padding-block: 6px;
  }

  .diagnosis-modal .cta-block,
  .diagnosis-modal .form-card {
    padding: 20px 16px;
    border-radius: 22px;
  }

  .diagnosis-modal .form-card {
    width: min(100%, 420px);
    gap: 14px;
    margin-inline: auto;
  }

  .diagnosis-modal .form-card h3 {
    font-size: 22px;
  }

  .diagnosis-modal .form-card > p.muted {
    margin-top: 8px !important;
    margin-bottom: 18px !important;
    font-size: 14px;
    line-height: 1.7;
  }

  .diagnosis-modal .form-card form {
    gap: 12px;
  }

  .diagnosis-modal .field {
    padding: 13px 14px;
    border-radius: 14px;
    font-size: 14px;
  }

  .diagnosis-modal textarea.field {
    min-height: 108px;
  }

  .diagnosis-modal .diagnosis-form-actions {
    gap: 10px;
  }

  .diagnosis-modal .diagnosis-form-actions .button {
    flex-basis: 100%;
    padding: 13px 18px;
    font-size: 14px;
  }

  .diagnosis-modal .eyebrow {
    width: 120px;
    min-height: 120px;
    padding: 16px;
    font-size: 12px;
  }

  .diagnosis-modal-copy h2 {
    font-size: clamp(21px, 6vw, 30px) !important;
    line-height: 1.12;
    margin-top: -4px;
  }

  .diagnosis-modal-copy > p.lead {
    font-size: 14px !important;
    line-height: 1.7;
  }

  .diagnosis-modal-list {
    width: fit-content;
    gap: 10px;
  }

  .diagnosis-modal-list li {
    font-size: 13px;
    line-height: 1.65;
  }

  .diagnosis-modal .contact-assurance {
    width: min(100%, 360px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-inline: auto;
  }

  .diagnosis-modal .assurance-item {
    padding: 12px 10px;
    border-radius: 16px;
  }

  .diagnosis-modal .assurance-item strong {
    font-size: 13px;
    white-space: nowrap;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 28px 0;
  }

  .container {
    width: min(100% - 28px, var(--max-width));
  }

  .nav-shell {
    max-width: calc(100vw - 28px);
  }

  .nav {
    padding: 14px 16px;
    padding-right: 16px;
  }

  .brand {
    gap: 12px;
    padding-right: 52px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-text strong {
    font-size: 16px;
  }

  .brand-text span {
    font-size: 11px;
  }

  .nav-phone {
    width: 100%;
    font-size: 15px;
    border-radius: 18px;
  }

  .menu-toggle {
    top: 14px;
    right: 16px;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-intent {
    display: none;
  }

  .hero-actions {
    flex-wrap: nowrap;
  }

  .hero-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-row,
  .contact-assurance,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .proof-card,
  .process-card,
  .method-featured,
  .method-list,
  .cta-block,
  .form-card,
  .about-visual,
  .about-contact-panel {
    padding: 24px;
  }

  .diagnosis-modal {
    padding: 16px;
  }

  .diagnosis-modal-dialog {
    max-height: calc(100vh - 32px);
    padding: 12px;
    border-radius: 26px;
  }

  .diagnosis-modal .cta-block,
  .diagnosis-modal .form-card {
    border-radius: 22px;
  }

  .article-modal {
    padding: 16px;
  }

  .article-modal-dialog {
    max-height: calc(100vh - 32px);
    border-radius: 26px;
  }

  .article-modal-header {
    padding: 22px 18px 16px;
  }

  .article-modal-content {
    padding: 8px 18px 20px;
    gap: 18px;
  }

  .article-section {
    padding: 18px;
    border-radius: 20px;
  }

  .diagnosis-modal-close {
    top: 16px;
    right: 16px;
  }

  .cta-panel {
    padding: 0;
  }

  .about-visual-stage {
    min-height: 300px;
    padding: 22px;
  }

  .about-metrics {
    grid-template-columns: 1fr;
  }

  .case-switcher {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 8px;
    padding: 6px;
    border-radius: 24px;
  }

  .case-tab {
    flex: 1 1 0;
    min-width: 0;
    padding: 11px 12px;
    font-size: 14px;
    white-space: nowrap;
  }

  .footer-shell {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    font-size: 12px;
  }

  .footer-shell > *,
  .footer-shell > :nth-child(2),
  .footer-shell > :last-child {
    flex: 0 0 auto;
    width: 100%;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.5;
  }

  .footer-shell > :nth-child(2) {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
  }

  .footer-shell > :last-child {
    font-size: 11px;
  }

  .footer-address {
    justify-content: center;
    white-space: normal;
    gap: 8px 12px;
  }

  .footer-address a {
    justify-content: center;
  }

  .footer-address .footer-phone {
    width: 100%;
  }

  .footer-address a + a::before {
    content: none;
    margin: 0;
  }

  .contact-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-item > span {
    text-align: left;
  }

  .frontier-body h3 {
    font-size: 22px;
  }
}
