:root {
  --navy: #0b1f3a;
  --blue: #1b4fd8;
  --blue-dark: #123ca9;
  --blue-soft: #edf3ff;
  --teal: #0c8b8f;
  --teal-soft: #eaf8f6;
  --amber: #f59d22;
  --amber-soft: #fff4df;
  --ink: #172033;
  --muted: #657085;
  --line: #dfe6f0;
  --surface: #f7f9fc;
  --white: #ffffff;
  --shadow-sm: 0 8px 24px rgb(24 52 94 / 8%);
  --shadow-md: 0 24px 60px rgb(24 52 94 / 12%);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: Pretendard, "Pretendard Variable", "Noto Sans KR", "Apple SD Gothic Neo", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

:focus-visible {
  outline: 3px solid rgb(27 79 216 / 35%);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 36px, var(--container));
  margin-inline: auto;
}

.section {
  padding-block: 84px;
}

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

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-label,
.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.4;
}

.section-heading h2,
.final-cta h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 7vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.22;
}

.section-heading > p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 3vw, 1.12rem);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 68px;
  border-bottom: 1px solid transparent;
  background: rgb(255 255 255 / 90%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgb(223 230 240 / 80%);
  box-shadow: 0 8px 24px rgb(11 31 58 / 7%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
}

.brand-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgb(27 79 216 / 18%);
}

.brand-text {
  display: grid;
  gap: 1px;
  line-height: 1.05;
}

.brand-text small {
  color: #59657a;
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.brand-name {
  color: var(--navy);
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.menu-button {
  display: grid;
  width: 46px;
  height: 46px;
  padding: 12px;
  cursor: pointer;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  color: var(--navy);
  background: var(--white);
  border-radius: 13px;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 3px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.primary-nav {
  position: fixed;
  inset: 68px 0 auto;
  display: none;
  max-height: calc(100dvh - 68px);
  overflow-y: auto;
  padding: 14px 18px calc(24px + env(safe-area-inset-bottom));
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.primary-nav.is-open {
  display: grid;
}

.primary-nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 10px 6px;
  border-bottom: 1px solid #edf1f6;
  color: var(--navy);
  font-weight: 700;
}

.primary-nav .nav-cta {
  justify-content: center;
  min-height: 48px;
  margin-top: 12px;
  padding-inline: 18px;
  color: var(--white);
  background: var(--blue);
  border: 0;
  border-radius: 13px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 118px;
  background:
    radial-gradient(circle at 82% 18%, rgb(58 119 255 / 12%), transparent 30%),
    linear-gradient(180deg, #fbfdff 0%, #ffffff 90%);
}

.hero::before {
  position: absolute;
  inset: auto -20% -120px 20%;
  height: 260px;
  content: "";
  background: radial-gradient(ellipse, rgb(12 139 143 / 8%), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 34px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.65rem, 11vw, 4.8rem);
  font-weight: 850;
  letter-spacing: -0.065em;
  line-height: 1.12;
}

.hero h1 span {
  color: var(--blue);
}

.hero-description {
  max-width: 650px;
  margin: 24px 0 0;
  color: #4f5c72;
  font-size: clamp(1.03rem, 3.7vw, 1.25rem);
  line-height: 1.75;
}

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

.hero-actions {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 800;
  line-height: 1.35;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:active {
  transform: translateY(1px);
}

.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 28px rgb(27 79 216 / 24%);
}

.button-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 16px 32px rgb(27 79 216 / 28%);
}

.button-secondary {
  color: var(--navy);
  background: var(--white);
  border-color: var(--line);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: #526075;
  font-size: 0.88rem;
  font-weight: 650;
}

.hero-points li::before {
  margin-right: 7px;
  color: var(--teal);
  content: "✓";
  font-weight: 900;
}

.hero-visual {
  position: relative;
  z-index: 1;
  width: calc(100% + 36px);
  margin: 0 -18px;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  min-height: 290px;
  object-fit: cover;
  object-position: 56% center;
}

.quick-summary {
  position: relative;
  z-index: 3;
  border-block: 1px solid var(--line);
  background: var(--white);
}

.entity-section {
  padding-block: 72px;
  background: var(--white);
}

.entity-grid {
  display: grid;
  gap: 32px;
}

.entity-answer h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 7vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.22;
}

.entity-answer p {
  margin: 16px 0 0;
  color: var(--muted);
}

.entity-answer .answer-lead {
  color: #3f4d62;
  font-size: 1.04rem;
}

.entity-answer .answer-lead strong {
  color: var(--navy);
}

.entity-definitions {
  display: grid;
  gap: 12px;
  margin: 0;
}

.entity-definitions > div {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.entity-definitions dt {
  color: var(--navy);
  font-weight: 850;
}

.entity-definitions dd {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.summary-grid {
  display: grid;
}

.summary-grid > div {
  display: grid;
  gap: 2px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.summary-grid > div:last-child {
  border-bottom: 0;
}

.summary-grid strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.summary-grid span {
  color: var(--muted);
  font-size: 0.9rem;
}

.problem-section {
  background: var(--surface);
}

.problem-grid {
  display: grid;
  gap: 16px;
}

.problem-card {
  position: relative;
  display: grid;
  min-height: 250px;
  align-content: start;
  overflow: hidden;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.problem-card::after {
  position: absolute;
  right: -52px;
  bottom: -64px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  content: "";
  background: var(--blue-soft);
}

.problem-card:hover {
  border-color: rgb(27 79 216 / 30%);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-symbol {
  position: relative;
  z-index: 1;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  flex: 0 0 56px;
  background: rgb(255 255 255 / 92%);
  border: 1px solid rgb(20 49 103 / 10%);
  border-radius: 17px;
  box-shadow: 0 10px 24px rgb(27 79 216 / 14%);
}

.service-symbol img {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.problem-card .service-symbol {
  width: 52px;
  height: 52px;
  flex-basis: 52px;
  border-radius: 16px;
}

.problem-card .service-symbol img {
  width: 43px;
  height: 43px;
}

.catch-card .service-symbol,
#catch .service-symbol {
  box-shadow: 0 10px 24px rgb(10 119 150 / 14%);
}

.workcheck-card .service-symbol,
#workcheck .service-symbol {
  box-shadow: 0 10px 24px rgb(245 106 34 / 15%);
}
.catch-card::after {
  background: var(--teal-soft);
}

.workcheck-card::after {
  background: var(--amber-soft);
}

.card-kicker {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.problem-card strong {
  position: relative;
  z-index: 1;
  margin-top: 7px;
  color: var(--navy);
  font-size: 1.18rem;
  letter-spacing: -0.025em;
  line-height: 1.55;
}

.card-link {
  position: relative;
  z-index: 1;
  align-self: end;
  margin-top: 28px;
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 800;
}

.catch-card .card-link {
  color: var(--teal);
}

.workcheck-card .card-link {
  color: #a85c00;
}

.family-sites {
  padding-block: 64px;
  background:
    radial-gradient(circle at 8% 0%, rgb(32 91 226 / 10%), transparent 32%),
    radial-gradient(circle at 94% 100%, rgb(12 139 143 / 10%), transparent 34%),
    #f7f9fe;
  border-block: 1px solid var(--line);
}

.family-heading {
  display: grid;
  gap: 12px;
}

.family-heading h2 {
  max-width: 660px;
  margin: 8px 0 0;
  color: var(--navy);
  font-size: clamp(1.65rem, 7vw, 2.5rem);
  letter-spacing: -0.04em;
  line-height: 1.3;
}

.family-heading > p {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
}

.family-grid {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.family-card {
  position: relative;
  display: grid;
  min-height: 164px;
  align-content: space-between;
  gap: 16px;
  overflow: hidden;
  padding: 24px;
  color: var(--navy);
  background: rgb(255 255 255 / 94%);
  border: 1px solid rgb(20 49 103 / 12%);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.family-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  content: "";
  background: var(--blue);
}

.family-orbivell::before {
  background: var(--teal);
}

.family-passai::before {
  background: var(--amber);
}

.family-card:hover {
  border-color: rgb(27 79 216 / 28%);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.family-card:focus-visible {
  outline-offset: 4px;
}

.family-type {
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.family-orbivell .family-type {
  color: #08777b;
}

.family-passai .family-type {
  color: #935000;
}

.family-card strong {
  max-width: 280px;
  font-size: 1.12rem;
  letter-spacing: -0.025em;
  line-height: 1.45;
}

.family-domain {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}
.services-section {
  padding-bottom: 36px;
}

.service-detail {
  display: grid;
  gap: 34px;
  padding-block: 72px;
  border-top: 1px solid var(--line);
}

.service-detail:first-of-type {
  border-top: 0;
}

.service-copy {
  align-self: center;
}

.service-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.service-name {
  margin: 0;
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1.3;
}

.service-name span {
  margin-left: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.service-category {
  margin: 1px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
}

.service-copy h3 {
  margin: 24px 0 0;
  color: var(--navy);
  font-size: clamp(1.85rem, 6.5vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.28;
}

.service-copy > p {
  margin: 18px 0 0;
  color: #58657a;
  font-size: 1rem;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  display: grid;
  gap: 2px;
  padding-left: 28px;
}

.feature-list li::before {
  position: absolute;
  top: 4px;
  left: 0;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  content: "✓";
  font-size: 0.68rem;
  font-weight: 900;
}

#catch .feature-list li::before {
  background: var(--teal);
}

#workcheck .feature-list li::before {
  color: #683c00;
  background: var(--amber);
}

.feature-list strong {
  color: var(--navy);
  font-size: 0.98rem;
}

.feature-list span {
  color: var(--muted);
  font-size: 0.91rem;
}

.workflow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.workflow span {
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 800;
}

.workflow i {
  width: 14px;
  height: 1px;
  background: #9dadc3;
}

.notice-box {
  margin-top: 26px;
  padding: 18px;
  color: #29575c;
  background: var(--teal-soft);
  border: 1px solid rgb(12 139 143 / 16%);
  border-radius: var(--radius-sm);
}

.notice-box strong {
  display: block;
  color: #0a6669;
  font-size: 0.9rem;
}

.notice-box p {
  margin: 4px 0 0;
  font-size: 0.88rem;
  line-height: 1.65;
}

.button-service {
  width: 100%;
  margin-top: 28px;
  color: var(--blue);
  background: var(--blue-soft);
  border-color: rgb(27 79 216 / 12%);
}

.button-service.is-disabled {
  cursor: default;
  box-shadow: none;
  user-select: none;
}

#catch .button-service {
  color: #086b6f;
  background: var(--teal-soft);
  border-color: rgb(12 139 143 / 13%);
}

#workcheck .button-service {
  color: #8a4a00;
  background: var(--amber-soft);
  border-color: rgb(245 157 34 / 15%);
}

.service-image {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.service-image::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.service-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.choose-section {
  background: var(--navy);
}

.choose-section .section-label {
  color: #8fb1ff;
}

.choose-section .section-heading h2,
.choose-section .section-heading > p:last-child {
  color: var(--white);
}

.choose-section .section-heading > p:last-child {
  color: #b9c6d8;
}

.comparison-wrap {
  overflow-x: auto;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgb(0 0 0 / 18%);
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  background: #102a4c;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
  text-align: left;
  vertical-align: middle;
}

.comparison-table th {
  color: #9fb9e8;
  background: #0e2747;
  font-size: 0.82rem;
  font-weight: 800;
}

.comparison-table td {
  color: #dfe8f5;
  font-size: 0.94rem;
}

.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.comparison-table td:first-child {
  width: 118px;
}

.comparison-table a {
  color: #8fb1ff;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.principles-section {
  background: #fbfcff;
}

.principles-grid {
  display: grid;
  gap: 34px;
}

.principle-cards {
  display: grid;
  gap: 14px;
}

.principle-cards article {
  position: relative;
  padding: 24px 22px 24px 72px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.principle-cards article > span {
  position: absolute;
  top: 24px;
  left: 22px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 900;
}

.principle-cards h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.08rem;
}

.principle-cards p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.guide-grid {
  display: grid;
  gap: 16px;
}

.guide-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.guide-tag {
  align-self: flex-start;
  padding: 5px 10px;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}

.guide-card:nth-child(2) .guide-tag {
  color: #086b6f;
  background: var(--teal-soft);
}

.guide-card:nth-child(3) .guide-tag {
  color: #8a4a00;
  background: var(--amber-soft);
}

.guide-card h3 {
  margin: 18px 0 0;
  color: var(--navy);
  font-size: 1.2rem;
  letter-spacing: -0.025em;
  line-height: 1.45;
}

.guide-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.guide-card a {
  margin-top: auto;
  padding-top: 24px;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 800;
}

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

.faq-layout {
  display: grid;
  gap: 22px;
}

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

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

.faq-list summary {
  position: relative;
  padding: 20px 42px 20px 0;
  cursor: pointer;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 800;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "+";
  transform: translateY(-50%);
}

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

.faq-list details p {
  margin: -2px 38px 20px 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.final-cta {
  padding-block: 84px;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 16%, rgb(62 188 194 / 25%), transparent 28%),
    radial-gradient(circle at 4% 100%, rgb(66 118 255 / 34%), transparent 32%),
    var(--navy);
}

.final-cta-inner {
  text-align: center;
}

.final-cta .section-label {
  color: #8fb1ff;
}

.final-cta h2 {
  color: var(--white);
}

.final-cta-inner > p:not(.section-label) {
  max-width: 680px;
  margin: 16px auto 0;
  color: #c3cede;
}

.final-links {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.final-links > a {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  text-align: left;
  background: rgb(255 255 255 / 9%);
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: var(--radius-sm);
}

.final-links strong {
  font-size: 1.05rem;
}

.final-links span {
  color: #c7d2e3;
  font-size: 0.8rem;
}

.final-links small {
  color: #8fb1ff;
  font-size: 0.68rem;
  font-weight: 750;
}

.site-footer {
  --footer-background: #07162b;
  --footer-surface: #0a1c35;
  --footer-border: rgb(151 174 211 / 18%);
  --footer-text: #dce6f5;
  --footer-muted: #9cabc0;
  color: var(--footer-muted);
  background: var(--footer-background);
}

.footer-primary,
.footer-secondary {
  border-bottom: 1px solid var(--footer-border);
}

.footer-primary-inner {
  display: grid;
  gap: 22px;
  padding-block: 28px 24px;
}

.footer-intro {
  display: flex;
  align-items: flex-start;
}

.footer-brand {
  width: fit-content;
}

.footer-brand .brand-name {
  color: var(--white);
  font-size: 1.08rem;
}

.footer-brand .brand-text small {
  color: #8da1bd;
}

.footer-link-matrix {
  display: grid;
  gap: 4px;
}

.footer-link-row {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.footer-link-row > strong,
.footer-link-row > summary {
  color: #8fb1e8;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.footer-link-row > summary {
  display: flex;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: space-between;
}

.footer-link-row > summary::-webkit-details-marker,
.footer-policy > summary::-webkit-details-marker,
.footer-company > summary::-webkit-details-marker {
  display: none;
}

.footer-link-row > summary::after,
.footer-policy > summary::after,
.footer-company > summary::after {
  content: "+";
  color: #8fb1e8;
  font-size: 1rem;
  font-weight: 500;
}

.footer-link-row[open] > summary::after,
.footer-policy[open] > summary::after,
.footer-company[open] > summary::after {
  content: "−";
}

.footer-services {
  display: grid;
  gap: 4px;
}

.footer-services > strong {
  display: flex;
  min-height: 32px;
  align-items: center;
}

.footer-inline-links {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 0 4px;
}

.footer-inline-links a,
.footer-inline-links > span {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding-inline: 10px;
  color: var(--footer-text);
  font-size: 0.86rem;
  font-weight: 650;
  white-space: nowrap;
}

.footer-inline-links > :first-child {
  padding-left: 0;
}

.footer-inline-links a + a,
.footer-inline-links span + a,
.footer-inline-links a + span {
  border-left: 1px solid var(--footer-border);
}

.footer-inline-links a span {
  margin-left: 6px;
  color: #8fb1e8;
}

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

.footer-inline-links > span[aria-current="page"] {
  color: #8da1bd;
}

.footer-secondary {
  background: var(--footer-surface);
}

.footer-secondary-grid {
  display: grid;
  gap: 0;
  padding-block: 26px;
}

.footer-support,
.footer-policy,
.footer-company {
  min-width: 0;
  margin: 0;
  padding-block: 18px;
  border: 0;
  border-bottom: 1px solid var(--footer-border);
}

.footer-support {
  padding-top: 0;
}

.footer-company {
  padding-bottom: 0;
  border-bottom: 0;
}

.footer-support h2,
.footer-policy > summary,
.footer-company > summary {
  margin: 0;
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.4;
}

.footer-policy > summary,
.footer-company > summary {
  display: flex;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: space-between;
}

.footer-support p,
.footer-policy-content p,
.footer-company-content p {
  margin: 8px 0 0;
  color: var(--footer-muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.footer-contact {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 12px;
  padding: 0 16px;
  border: 1px solid rgb(143 177 232 / 45%);
  border-radius: 10px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
}

.footer-contact span,
.footer-policy a span,
.footer-business-link span {
  margin-left: 8px;
  color: #8fb1e8;
}

.footer-policy-content ul {
  display: grid;
  gap: 2px;
  margin: 10px 0 6px;
  padding: 0;
  list-style: none;
}

.footer-policy-content li,
.footer-policy-content a,
.footer-policy-content small {
  color: var(--footer-text);
  font-size: 0.82rem;
  line-height: 1.55;
}

.footer-policy-content a,
.footer-company dd a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.footer-policy-content small {
  display: block;
  color: var(--footer-muted);
}

.footer-company-content strong {
  color: var(--white);
}

.footer-company dl {
  display: grid;
  gap: 3px;
  margin: 10px 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
}

.footer-company dl div {
  display: grid;
  grid-template-columns: minmax(108px, 0.42fr) minmax(0, 1fr);
  gap: 12px;
}

.footer-company dt {
  color: #8da1bd;
}

.footer-company dd {
  min-width: 0;
  margin: 0;
  color: var(--footer-text);
  overflow-wrap: anywhere;
}

.footer-company a,
.footer-policy a {
  color: var(--footer-text);
}

.footer-business-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgb(220 230 245 / 35%);
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding-block: 8px calc(8px + env(safe-area-inset-bottom));
  font-size: 0.72rem;
}

.footer-bottom a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.footer-bottom a span {
  margin-left: 6px;
}

@media (min-width: 560px) {
  .container {
    width: min(100% - 48px, var(--container));
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .button {
    width: auto;
    min-width: 180px;
  }

  .hero-visual {
    width: calc(100% + 48px);
    margin-inline: -24px;
  }

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

  .summary-grid > div {
    padding: 24px 20px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .summary-grid > div:first-child {
    padding-left: 0;
  }

  .summary-grid > div:last-child {
    padding-right: 0;
    border-right: 0;
  }

  .button-service {
    width: auto;
  }

  .final-links {
    grid-template-columns: repeat(3, 1fr);
  }


  .final-links > a {
    display: grid;
    justify-content: start;
    gap: 2px;
  }
}

@media (min-width: 760px) {
  .section {
    padding-block: 112px;
  }

  .site-header {
    height: 76px;
  }

  .menu-button {
    display: none;
  }

  .primary-nav {
    position: static;
    display: flex;
    max-height: none;
    align-items: center;
    gap: 6px;
    overflow: visible;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .primary-nav a {
    min-height: 44px;
    padding: 10px 11px;
    border: 0;
    color: #4d596d;
    font-size: 0.84rem;
  }

  .primary-nav .nav-cta {
    min-height: 44px;
    margin: 0 0 0 6px;
    padding-inline: 16px;
    color: var(--white);
  }

  .hero {
    padding-top: 142px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    align-items: center;
    min-height: 670px;
  }

  .hero-visual {
    width: 122%;
    margin: 0 -22% 0 0;
  }

  .hero-visual img {
    min-height: 590px;
    object-fit: cover;
    object-position: 58% center;
    mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 100%);
  }

  .family-heading {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
    align-items: end;
    gap: 48px;
  }

  .problem-grid,
  .guide-grid,
  .family-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-detail {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    align-items: center;
    gap: 64px;
    padding-block: 110px;
  }

  .service-detail.reverse .service-copy {
    order: 2;
  }

  .service-detail.reverse .service-image {
    order: 1;
  }

  .principles-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: start;
    gap: 72px;
  }

  .entity-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: start;
    gap: 72px;
  }

  .faq-layout {
    grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
    align-items: start;
    gap: 70px;
  }

  .faq-layout .section-heading {
    position: sticky;
    top: 112px;
  }

  .footer-primary-inner {
    grid-template-columns: minmax(250px, 0.32fr) minmax(0, 1fr);
    align-items: start;
    gap: 38px;
    padding-block: 24px 20px;
  }

  .footer-intro {
    padding-right: 34px;
    border-right: 1px solid var(--footer-border);
  }

  .footer-link-row,
  .footer-services {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
  }

  .footer-link-row > summary,
  .footer-services > strong {
    min-height: 36px;
    cursor: default;
  }

  .footer-link-row > summary::after,
  .footer-policy > summary::after,
  .footer-company > summary::after {
    display: none;
  }

  .footer-inline-links a,
  .footer-inline-links > span {
    min-height: 36px;
    font-size: 0.82rem;
  }

  .footer-secondary-grid {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 0.85fr) minmax(0, 1.43fr);
    padding-block: 26px;
  }

  .footer-support,
  .footer-policy,
  .footer-company {
    padding: 0 34px;
    border-right: 1px solid var(--footer-border);
    border-bottom: 0;
  }

  .footer-support {
    padding-left: 0;
  }

  .footer-company {
    padding-right: 0;
    border-right: 0;
  }

  .footer-policy > summary,
  .footer-company > summary {
    min-height: 32px;
    cursor: default;
  }

  .footer-policy-content a,
  .footer-company dd a {
    min-height: 32px;
  }

  .footer-contact,
  .footer-business-link {
    min-height: 40px;
  }

  .footer-bottom {
    min-height: 58px;
  }
}

@media (min-width: 1060px) {
  .primary-nav {
    gap: 10px;
  }

  .primary-nav a {
    padding-inline: 14px;
    font-size: 0.9rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
    min-height: 700px;
  }

  .hero-copy {
    padding-bottom: 34px;
  }

  .hero-visual {
    width: 132%;
    margin-right: -32%;
  }

  .service-detail {
    gap: 90px;
  }

  .problem-card,
  .guide-card {
    padding: 30px;
  }

  .principle-cards article {
    padding: 28px 28px 28px 82px;
  }

  .principle-cards article > span {
    top: 28px;
    left: 28px;
  }
}

@media (max-width: 375px) {
  .footer-inline-links a,
  .footer-inline-links > span {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand-name {
    font-size: 0.92rem;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .hero-description {
    font-size: 0.98rem;
  }

  .workflow {
    gap: 6px;
    padding: 14px;
  }

  .workflow span {
    font-size: 0.73rem;
  }

  .workflow i {
    width: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
