:root {
  --navy: #071638;
  --navy-2: #0b224c;
  --blue: #1f63df;
  --blue-2: #0d55d8;
  --blue-soft: #eaf3ff;
  --sky: #f6fbff;
  --line: #dce7f6;
  --text: #0b1737;
  --muted: #52617a;
  --white: #fff;
  --green: #18b96d;
  --purple: #6b4de6;
  --orange: #f39a19;
  --teal: #15b8ac;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  color: var(--text);
  background: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #f9fcff 42%, #ffffff 100%);
}

a {
  color: inherit;
}

svg {
  display: block;
}

.container,
.section {
  width: min(100% - 96px, 1220px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 70px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(9, 35, 75, 0.08);
  box-shadow: 0 8px 24px rgba(14, 54, 111, 0.08);
}

.site-header__inner {
  width: min(100% - 48px, 1260px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex: 1 0 auto;
  text-decoration: none;
  white-space: nowrap;
}

.brand__name {
  font-size: 27px;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--navy);
}

.brand__name::first-letter {
  color: var(--blue);
}

.brand__tagline {
  color: #5d6880;
  font-size: 10px;
  font-weight: 700;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #0d1833;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.global-nav a,
.site-footer a {
  text-decoration: none;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0;
}

.header-cta {
  flex: 0 0 auto;
  min-width: 142px;
  height: 44px;
  padding: 0 20px;
  color: var(--white);
  font-size: 13px;
  background: linear-gradient(135deg, #2d76ff, #0e54d9);
  box-shadow: 0 12px 24px rgba(30, 97, 223, 0.26);
  white-space: nowrap;
}

.header-cta svg,
.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

@media (max-width: 1280px) {
  .site-header__inner {
    gap: 18px;
  }

  .brand {
    flex: 0 1 auto;
    gap: 12px;
  }

  .brand__name {
    font-size: 24px;
  }

  .brand__tagline {
    display: none;
  }

  .global-nav {
    gap: 22px;
    font-size: 13px;
  }

  .header-cta {
    min-width: 132px;
    padding: 0 16px;
  }
}

.hero-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 84% 28%, rgba(65, 144, 255, 0.24), transparent 64%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(13, 85, 216, 0.12);
}

.hero-grid {
  min-height: 400px;
  padding: 54px 0 31px;
  display: grid;
  grid-template-columns: 0.95fr 1.18fr;
  align-items: center;
  gap: 40px;
}

.hero-copy h1 {
  margin: 0 0 25px;
  color: var(--navy);
  font-size: 49px;
  line-height: 1.22;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-line {
  display: inline-block;
  white-space: nowrap;
}

.hero-copy h1 .hero-accent {
  color: var(--blue);
  font-size: 1.18em;
}

.hero-tail {
  color: var(--navy);
}

.hero-copy p {
  margin: 0;
  color: #071638;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.9;
  letter-spacing: 0;
}

.hero-copy .service-area-note {
  margin-top: 10px;
  color: #52617a;
  font-size: 13px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.btn {
  min-width: 164px;
  height: 46px;
  padding: 0 22px;
  font-size: 14px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #2c76ff, #0b55dc);
  border: 1px solid #0d55d8;
  box-shadow: 0 13px 28px rgba(13, 85, 216, 0.25);
}

.btn-outline,
.small-outline {
  color: var(--blue-2);
  background: #fff;
  border: 1px solid var(--blue-2);
}

.hero-visual {
  position: relative;
  height: 352px;
}

.blue-curve {
  position: absolute;
  right: -58px;
  top: -26px;
  width: 520px;
  height: 330px;
  border-radius: 46% 0 0 54%;
  background:
    linear-gradient(145deg, rgba(185, 217, 255, 0.92), rgba(71, 137, 244, 0.36)),
    radial-gradient(circle at 70% 35%, rgba(255, 255, 255, 0.8), transparent 32%);
  transform: skewX(-8deg);
  filter: blur(0.2px);
}

.blue-curve::after {
  content: "";
  position: absolute;
  left: 54px;
  top: 110px;
  width: 470px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 38px 0 rgba(255, 255, 255, 0.45), 0 -38px 0 rgba(255, 255, 255, 0.35);
  transform: rotate(-24deg);
}

.laptop {
  position: absolute;
  left: 104px;
  top: 14px;
  width: 342px;
  z-index: 4;
  transform: perspective(1000px) rotateX(2deg) rotateY(4deg);
}

.laptop-screen {
  height: 214px;
  padding: 14px;
  border: 12px solid #111827;
  border-radius: 12px 12px 6px 6px;
  background: #fff;
  box-shadow: 0 26px 45px rgba(7, 22, 56, 0.26);
}

.laptop-base {
  width: 382px;
  height: 28px;
  margin-left: -20px;
  border-radius: 0 0 28px 28px;
  background: linear-gradient(180deg, #c6cad2, #8f96a4);
  transform: skewX(-8deg);
  box-shadow: 0 15px 20px rgba(7, 22, 56, 0.18);
}

.screen-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 18px;
  color: #63708a;
  font-size: 7px;
  font-weight: 800;
}

.screen-nav strong {
  margin-right: auto;
  color: var(--navy);
  font-size: 8px;
}

.screen-content {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: 10px;
  margin-top: 12px;
  padding: 18px 14px;
  min-height: 145px;
  border-radius: 6px;
  background: linear-gradient(90deg, #f6fbff, #e8f4ff);
}

.screen-content h2 {
  margin: 0 0 11px;
  font-size: 18px;
  line-height: 1.34;
}

.screen-content h2 span {
  display: block;
  white-space: nowrap;
}

.screen-content p {
  margin: 0 0 15px;
  color: #718098;
  font-size: 8px;
  line-height: 1.6;
}

.screen-content button {
  border: 0;
  border-radius: 5px;
  padding: 7px 13px;
  color: #fff;
  background: var(--blue);
  font-size: 8px;
  font-weight: 800;
}

.screen-photo {
  border-radius: 5px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #d5e9f8, #ffffff);
  position: relative;
  overflow: hidden;
}

.screen-photo::before,
.screen-photo::after {
  content: "";
  position: absolute;
  bottom: 0;
  border-radius: 4px 4px 0 0;
  background: rgba(88, 133, 174, 0.28);
}

.screen-photo::before {
  width: 18px;
  height: 84px;
  left: 36px;
}

.screen-photo::after {
  width: 28px;
  height: 118px;
  left: 68px;
  box-shadow: 44px 16px 0 rgba(88, 133, 174, 0.2);
}

.phone {
  position: absolute;
  left: 18px;
  top: 128px;
  z-index: 6;
  width: 94px;
  height: 188px;
  border: 6px solid #111827;
  border-radius: 22px;
  background: #f7fbff;
  box-shadow: 0 18px 36px rgba(7, 22, 56, 0.28);
  overflow: hidden;
}

.phone-top {
  padding: 9px 7px;
  color: #fff;
  background: var(--blue);
  font-size: 8px;
  font-weight: 800;
}

.chat-bubble {
  margin: 9px 8px;
  padding: 8px;
  border-radius: 10px;
  font-size: 7px;
  line-height: 1.45;
}

.chat-bubble.left {
  color: #34445e;
  background: #fff;
  border: 1px solid #d8e6f8;
}

.chat-bubble.right {
  margin-left: 22px;
  color: #fff;
  background: #2a68df;
}

.chat-bubble.small {
  width: 60px;
}

.phone-input {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 7px;
  border-radius: 99px;
  color: #9aa8ba;
  background: #fff;
  border: 1px solid #d8e6f8;
  font-size: 6px;
}

.floating-card {
  position: absolute;
  z-index: 8;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(210, 226, 248, 0.95);
  box-shadow: 0 20px 42px rgba(18, 80, 160, 0.16);
  transform: rotate(5deg);
}

.report-card {
  right: 0;
  top: 44px;
  width: 204px;
  height: 158px;
  padding: 19px 20px 14px;
}

.floating-card p {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 900;
}

.report-card strong {
  display: block;
  margin-bottom: 3px;
  font-size: 20px;
  color: #061638;
}

.report-card span {
  color: #1fbf64;
  font-size: 9px;
  font-weight: 800;
}

.report-card svg {
  width: 164px;
  height: 58px;
  margin-top: 9px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 4;
}

.notice-card {
  right: 48px;
  top: 218px;
  width: 178px;
  min-height: 95px;
  padding: 18px;
}

.notice-card span {
  display: block;
  margin-bottom: 10px;
  color: #8d9bb0;
  font-size: 10px;
}

.notice-card strong {
  font-size: 11px;
}

.feature-bar {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(25, 76, 142, 0.04);
}

.feature-bar__inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 26px;
  border-right: 1px solid var(--line);
}

.feature-item:last-child {
  border-right: 0;
}

.feature-item svg,
.reason-item svg,
.flow-card svg {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--blue-2);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-item h3 {
  margin: 0 0 5px;
  color: var(--blue-2);
  font-size: 16px;
  line-height: 1.3;
}

.feature-item p {
  margin: 0;
  color: #3f4d65;
  font-size: 12px;
  font-weight: 650;
}

.section {
  padding: 28px 0 0;
}

.section-title {
  margin-bottom: 20px;
  text-align: center;
}

.section-title h2,
.reason-section h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0;
}

.section-title p {
  margin: 0;
  color: #52617a;
  font-size: 12px;
  font-weight: 650;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.service-card {
  min-height: 222px;
  padding: 25px 19px 19px;
  text-align: center;
  border: 1px solid rgba(28, 100, 210, 0.16);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(14, 54, 111, 0.07);
}

.service-card.green { border-color: rgba(24, 185, 109, 0.28); }
.service-card.blue { border-color: rgba(31, 99, 223, 0.24); }
.service-card.purple { border-color: rgba(107, 77, 230, 0.26); }
.service-card.orange { border-color: rgba(243, 154, 25, 0.32); }
.service-card.teal { border-color: rgba(21, 184, 172, 0.28); }

.icon-circle {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.icon-circle svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.green .icon-circle { background: rgba(24, 185, 109, 0.14); }
.green .icon-circle svg { stroke: var(--green); }
.blue .icon-circle { background: rgba(31, 99, 223, 0.14); }
.blue .icon-circle svg { stroke: var(--blue); }
.purple .icon-circle { background: rgba(107, 77, 230, 0.14); }
.purple .icon-circle svg { stroke: var(--purple); }
.orange .icon-circle { background: rgba(243, 154, 25, 0.15); }
.orange .icon-circle svg { stroke: var(--orange); }
.teal .icon-circle { background: rgba(21, 184, 172, 0.14); }
.teal .icon-circle svg { stroke: var(--teal); }

.service-card h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.35;
  white-space: nowrap;
}

.service-card p {
  min-height: 54px;
  margin: 0 0 19px;
  color: #3e4d65;
  font-size: 12px;
  line-height: 1.65;
  font-weight: 650;
  word-break: keep-all;
  overflow-wrap: normal;
}

.service-card a {
  color: var(--blue-2);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.service-card a span {
  padding-left: 8px;
}

.flow-section {
  padding-top: 25px;
}

.flow-grid {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr 28px 1fr;
  align-items: center;
  gap: 12px;
  padding: 0 28px;
}

.flow-card {
  position: relative;
  min-height: 128px;
  padding: 25px 15px 18px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(14, 54, 111, 0.06);
}

.step-num {
  position: absolute;
  left: 13px;
  top: 25px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 11px;
  font-weight: 900;
}

.flow-card svg {
  width: 42px;
  height: 42px;
  margin: 0 auto 13px;
  stroke-width: 1.9;
}

.flow-card h3 {
  margin: 0 0 9px;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
  word-break: keep-all;
  overflow-wrap: normal;
}

.flow-card p {
  margin: 0;
  color: #4d5d74;
  font-size: 11px;
  line-height: 1.6;
  font-weight: 650;
  word-break: keep-all;
  overflow-wrap: normal;
}

.flow-arrow {
  color: var(--blue);
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}

.works-section {
  padding-top: 24px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.work-card {
  text-align: center;
}

.work-card h3 {
  margin: 9px 0 0;
  font-size: 12px;
  font-weight: 900;
}

.work-card p {
  margin: 8px 0 0;
  color: #52617a;
  font-size: 12px;
  line-height: 1.7;
  font-weight: 650;
}

.work-image {
  position: relative;
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;
  border: 1px solid #b7c9e8;
  border-radius: 5px;
  box-shadow: 0 8px 18px rgba(14, 54, 111, 0.07);
  background: #f5f9ff;
}

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

.center-action {
  margin-top: 22px;
  text-align: center;
}

.small-outline {
  min-width: 196px;
  height: 29px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.reason-section {
  margin-top: 27px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.reason-section .container {
  padding: 27px 0 34px;
}

.reason-section h2 {
  text-align: center;
  margin-bottom: 28px;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.reason-item {
  min-height: 112px;
  padding: 0 24px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.reason-item:last-child {
  border-right: 0;
}

.reason-item svg {
  width: 36px;
  height: 36px;
  margin: 0 auto 14px;
}

.reason-item h3 {
  margin: 0 0 10px;
  color: var(--blue-2);
  font-size: 14px;
  font-weight: 900;
}

.reason-item p {
  margin: 0;
  color: #34435d;
  font-size: 12px;
  line-height: 1.65;
  font-weight: 650;
}

.faq-cta-section {
  padding: 34px 0 28px;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 28px;
}

.faq-panel {
  padding: 0;
  background: #fff;
}

.faq-panel h2,
.consult-panel h2 {
  margin: 0 0 20px;
  color: var(--navy);
  font-size: 22px;
  font-weight: 900;
}

.faq-row {
  min-height: 34px;
  margin-bottom: 7px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid #d5e2f4;
  border-radius: 4px;
  background: #fff;
  color: #121d34;
  font-size: 12px;
  font-weight: 800;
}

.faq-row strong {
  color: #09275c;
  font-size: 17px;
  text-align: right;
  overflow-wrap: anywhere;
}

.faq-link {
  display: inline-flex;
  margin-top: 9px;
  color: var(--blue-2);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.faq-link span {
  padding-left: 8px;
}

.consult-panel {
  position: relative;
  min-height: 164px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 230px;
  border-radius: 8px;
  background: linear-gradient(135deg, #eef6ff, #dcecff);
  border: 1px solid #d3e3f8;
}

.consult-copy {
  padding: 30px 0 22px 52px;
}

.consult-copy p {
  margin: 0 0 18px;
  color: #1b2d4d;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 650;
}

.consult-copy .btn {
  min-width: 224px;
  height: 45px;
  border-radius: 7px;
}

.consult-copy span {
  display: block;
  margin-top: 13px;
  color: #32415b;
  font-size: 11px;
  text-align: center;
  width: 224px;
}

.staff-illustration {
  position: absolute;
  right: 20px;
  bottom: -8px;
  width: 258px;
  height: 216px;
}

.staff-illustration img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
}

.site-footer {
  position: relative;
  color: #eaf3ff;
  background: linear-gradient(135deg, #06162f, #05265b 70%, #092c69);
}

.footer-grid {
  padding: 31px 0 24px;
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.2fr 1.35fr;
  gap: 46px;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.site-footer h3 {
  font-size: 13px;
}

.site-footer p,
.site-footer a,
.site-footer span {
  display: block;
  margin: 0 0 7px;
  color: #d7e4f8;
  font-size: 12px;
  line-height: 1.7;
  font-weight: 650;
}

.sns-icons {
  display: flex;
  gap: 11px;
  margin-top: 10px;
}

.sns-icons a,
.sns-icons .sns-placeholder {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #08245a;
  background: #fff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  line-height: 1;
}

.sns-icons .sns-placeholder {
  opacity: 0.55;
}

.copyright {
  width: min(100% - 96px, 1220px);
  margin: 0 auto;
  padding: 13px 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
  color: #bacce8;
  font-size: 11px;
}

.page-top {
  position: absolute;
  right: 28px;
  bottom: 24px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.16);
}

@media (max-width: 1100px) {
  .container,
  .section {
    width: min(100% - 40px, 1220px);
  }

  .global-nav {
    gap: 15px;
    font-size: 12px;
  }

  .brand__tagline {
    display: none;
  }

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

  .hero-visual {
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
  }

  .feature-bar__inner,
  .service-grid,
  .works-grid,
  .reason-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-item,
  .reason-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .flow-arrow {
    transform: rotate(90deg);
  }

  .faq-cta-section,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body {
    overflow-x: hidden;
  }

  .site-header {
    height: auto;
  }

  .site-header__inner {
    width: calc(100% - 28px);
    padding: 14px 0;
    flex-wrap: wrap;
  }

  .nav {
    width: calc(100% - 28px);
    padding: 14px 0;
  }

  .global-nav,
  .nav-links {
    display: none;
  }

  .brand__name,
  .logo {
    font-size: 21px;
  }

  .header-cta {
    display: none;
  }

  .hero-grid {
    padding-top: 36px;
  }

  .hero-copy h1 {
    font-size: 31px;
    line-height: 1.28;
  }

  .hero-copy h1 .hero-accent {
    font-size: 1em;
  }

  .hero-line {
    display: block;
  }

  .screen-content {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 8px;
    padding: 16px 13px;
  }

  .screen-content h2 {
    font-size: 16px;
    line-height: 1.38;
  }

  .hero-copy p br {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-visual {
    height: 500px;
    transform: scale(0.92);
    transform-origin: top center;
  }

  .laptop {
    left: 74px;
  }

  .report-card {
    right: 20px;
    top: 300px;
  }

  .notice-card {
    right: 40px;
    top: 420px;
  }

  .phone {
    left: 0;
  }

  .feature-bar__inner,
  .service-grid,
  .works-grid,
  .reason-grid,
  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }

  .consult-panel {
    grid-template-columns: 1fr;
    min-height: 360px;
  }

  .consult-copy {
    padding: 28px 24px;
  }

  .staff-illustration {
    right: 20px;
  }

  .copyright {
    width: calc(100% - 40px);
  }
}

/* Compatibility for earlier static subpages that still use the first page classes. */
.nav {
  width: min(100% - 48px, 1260px);
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  color: var(--navy);
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
}

.logo-mark {
  color: var(--blue);
}

.nav-links {
  display: flex;
  gap: 18px;
  color: #0d1833;
  font-size: 13px;
  font-weight: 800;
}

.nav-links a {
  text-decoration: none;
}

.page-hero {
  padding-top: 54px;
}

.eyebrow {
  color: var(--blue);
  font-weight: 900;
}

.lead,
.muted {
  color: #52617a;
  line-height: 1.8;
}

.section-head {
  margin-bottom: 22px;
  text-align: center;
}

.grid {
  display: grid;
  gap: 20px;
}

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

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

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(14, 54, 111, 0.06);
}

.card.accent {
  border-color: rgba(31, 99, 223, 0.24);
}

.price {
  color: var(--blue);
  font-size: 22px;
  font-weight: 900;
}

.list {
  color: #52617a;
  line-height: 1.8;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #2d76ff, #0e54d9);
  text-decoration: none;
  font-weight: 900;
}

.button.secondary {
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--blue);
}

.footer,
.footer-inner {
  color: #d7e4f8;
  background: linear-gradient(135deg, #06162f, #05265b);
}

.footer-inner {
  width: min(100% - 48px, 1220px);
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
}

@media (max-width: 720px) {
  .section {
    width: calc(100% - 40px);
    max-width: 350px;
  }

  .nav {
    width: calc(100% - 28px);
    min-height: 60px;
    padding: 12px 0;
    justify-content: flex-start;
  }

  .nav-links {
    display: none;
  }

  .logo {
    font-size: 21px;
    line-height: 1.35;
  }

  .logo-mark {
    display: none;
  }

  .page-hero h1 {
    font-size: 30px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .card {
    padding: 22px 20px;
  }

  .card p,
  .list,
  .lead,
  .muted {
    line-break: anywhere;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }
}
