@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable-dynamic-subset.css");

:root {
  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Segoe UI", sans-serif;
  --ink: #111827;
  --text: #273244;
  --muted: #5b6472;
  --subtle: #7a8493;
  --line: #e4eaf2;
  --paper: #ffffff;
  --soft: #f7f9fc;
  --blue: #1557d8;
  --blue-dark: #0f3f9e;
  --blue-soft: #eaf1ff;
  --green: #087f5b;
  --green-soft: #e8f7f2;
  --amber: #b7791f;
  --red: #bd2f2f;
  --dark: #101827;
  --container: 1180px;
  --shadow-sm: 0 10px 28px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 24px 70px rgba(15, 23, 42, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
p {
  margin-top: 0;
  margin-bottom: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  min-height: 70px;
  padding: 13px max(24px, calc((100vw - var(--container)) / 2));
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 214px;
}

.brand strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.22;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
}

.brand small {
  display: block;
  margin-top: -2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.main-nav,
.auth-nav,
.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.main-nav {
  justify-content: center;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.auth-nav {
  justify-content: flex-end;
  gap: 10px 14px;
}

.main-nav a,
.auth-nav a,
.link-button {
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.main-nav a:hover,
.text-link:hover,
.link-button:hover {
  color: var(--blue-dark);
}

.nav-cta,
.text-link,
.link-button {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  color: #fff;
  background: var(--blue-dark);
  border: 1px solid var(--blue-dark);
  border-radius: 8px;
}

.link-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
}

.auth-nav form {
  margin: 0;
}

.flash-wrap {
  padding: 14px max(24px, calc((100vw - var(--container)) / 2)) 0;
}

.flash {
  max-width: 980px;
  margin: 0 auto 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 700;
}

.flash.success { border-color: rgba(14, 143, 114, 0.3); color: var(--green); }
.flash.error { border-color: rgba(189, 47, 47, 0.3); color: var(--red); }

.hero,
.page-hero,
.auth-page {
  padding: 84px max(24px, calc((100vw - var(--container)) / 2));
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 540px) minmax(420px, 610px);
  align-items: center;
  justify-content: center;
  gap: 68px;
  background: linear-gradient(180deg, #fbfdff 0%, var(--soft) 100%);
}

.hero-trust {
  min-height: 640px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.82)),
    linear-gradient(180deg, #f8fbff 0%, #eff5ff 100%);
}

.hero-copy {
  max-width: 560px;
}

.page-hero {
  background: var(--soft);
}

.page-hero h1,
.hero h1,
.article h1,
.auth-page h1 {
  max-width: 920px;
  margin: 0;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.17;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 600px;
  font-size: 54px;
  line-height: 1.12;
}

.article h1,
.auth-page h1 {
  font-size: 42px;
}

.section h2,
.contact h2,
.detail-cta h2 {
  max-width: 840px;
  margin: 0 0 16px;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

.info-card h2,
.price-card h2,
.case-card h2,
.service-row h2 {
  font-size: 27px;
  line-height: 1.24;
  letter-spacing: 0;
}

.info-card h3,
.case-card h3,
.feature-list h3 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.28;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.78;
  margin-top: 18px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-media img,
.article header img,
.service-row img,
.case-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
}

.hero-shot img {
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-md);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.hero-note span {
  padding: 8px 12px;
  color: #334155;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.35;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 820;
  line-height: 1.2;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.button:focus-visible,
.main-nav a:focus-visible,
.auth-nav a:focus-visible,
.link-button:focus-visible,
.text-arrow:focus-visible {
  outline: 3px solid rgba(21, 87, 216, 0.18);
  outline-offset: 3px;
}

.button.primary {
  color: #fff;
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.button.primary:hover {
  background: #0c337f;
  border-color: #0c337f;
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border-color: #d5deea;
}

.button.secondary:hover {
  border-color: #b9c8dc;
}

.text-arrow {
  display: inline-flex;
  margin-top: 14px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 820;
}

.text-arrow::after {
  content: ">";
  margin-left: 8px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0 max(24px, calc((100vw - var(--container)) / 2));
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip div {
  padding: 24px 28px;
  background: #fff;
  border-left: 1px solid var(--line);
}

.trust-strip div:first-child {
  border-left: 0;
}

.trust-strip strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
  font-weight: 850;
  line-height: 1.25;
}

.trust-strip span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.section {
  padding: 88px max(24px, calc((100vw - var(--container)) / 2));
}

.section-head {
  max-width: 860px;
  margin-bottom: 34px;
}

.proof-section {
  background: #fff;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.proof-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  box-shadow: var(--shadow-sm);
}

.proof-grid article > strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  font-weight: 900;
}

.proof-grid h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.28;
}

.section p,
.article p,
.info-card p,
.feature-list p,
.case-card p,
.price-card p {
  color: var(--muted);
  line-height: 1.72;
}

.intro-grid,
.two-column,
.form-layout,
.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 52px;
}

.split-visual,
.report-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: 58px;
}

.split-visual img,
.report-section img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.1);
}

.report-section {
  background: var(--soft);
}

.report-section img {
  order: 1;
}

.report-section > div {
  order: 2;
}

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

.stat-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat-list div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.stat-list strong {
  display: block;
  color: var(--blue);
  font-size: 40px;
  line-height: 1;
}

.card-grid,
.pricing-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

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

.info-card,
.price-card,
.service-tile {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.service-tile {
  min-height: 276px;
}

.service-tile h3 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.26;
}

.price-card.featured {
  border-color: rgba(20, 87, 217, 0.34);
  box-shadow: 0 18px 54px rgba(20, 87, 217, 0.14);
}

.price {
  margin: 8px 0 16px;
  color: var(--blue);
  font-size: 32px;
  font-weight: 900;
}

.price-card ul,
.check-list {
  padding-left: 20px;
}

.price-card li,
.check-list li {
  margin: 8px 0;
}

.service-list {
  display: grid;
  gap: 24px;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1fr);
  align-items: center;
  gap: 36px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.service-method {
  background: #fff;
}

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

.service-method-grid article,
.detail-card-grid article,
.strategy-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.service-method-grid strong,
.detail-card-grid strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  font-weight: 900;
}

.service-method-grid h3,
.strategy-grid h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.28;
}

.mini-list {
  display: grid;
  gap: 7px;
  margin: 18px 0 20px;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.mini-list li {
  position: relative;
  padding-left: 18px;
  line-height: 1.58;
}

.mini-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 999px;
}

.service-summary-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 28px;
  align-items: stretch;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  box-shadow: var(--shadow-sm);
}

.service-summary-panel aside {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 24px;
  color: #fff;
  background: var(--dark);
  border-radius: 8px;
}

.service-summary-panel aside span {
  color: #c8d0dd;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.service-summary-panel aside strong {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.45;
}

.detail-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.detail-card-grid article {
  min-height: 170px;
}

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

.strategy-grid span {
  display: block;
  margin-bottom: 16px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.deliverable-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.deliverable-list li {
  padding: 18px 18px 18px 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  position: relative;
  color: var(--text);
  font-weight: 760;
  line-height: 1.55;
}

.deliverable-list li::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 20px;
  width: 10px;
  height: 10px;
  background: var(--blue);
  border-radius: 999px;
}

.service-process {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: service-process;
}

.service-process li {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.service-process strong {
  color: var(--ink);
  font-weight: 850;
}

.service-process span {
  color: var(--muted);
  line-height: 1.68;
}

.service-fit-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: start;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.service-fit-section .check-list {
  margin: 0;
}

.service-faq details {
  max-width: none;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.image-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 max(24px, calc((100vw - var(--container)) / 2));
}

.image-band img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.case-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.case-card div {
  padding: 24px;
}

.process {
  background: var(--soft);
}

.step-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.step-list strong {
  color: var(--ink);
  font-weight: 850;
}

.step-list span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.contact,
.detail-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 68px max(24px, calc((100vw - var(--container)) / 2));
  color: #fff;
  background: var(--dark);
}

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

.contact p,
.detail-cta p {
  max-width: 680px;
  color: #d5d9e2;
}

.detail-cta {
  margin-top: 46px;
  padding: 36px;
  border-radius: 8px;
}

.article {
  max-width: 960px;
  margin: 0 auto;
  padding: 76px 20px;
}

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

.article h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 31px;
  font-weight: 850;
  line-height: 1.28;
  letter-spacing: 0;
}

.article h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 820;
  line-height: 1.32;
  letter-spacing: 0;
}

.guide-article .detail-card-grid,
.guide-article .strategy-grid,
.guide-article .deliverable-list,
.guide-article .service-process,
.guide-article .step-list {
  margin-top: 22px;
}

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

.policy-date {
  display: inline-flex;
  margin-top: 18px;
  padding: 8px 12px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  font-size: 14px;
  font-weight: 780;
}

.policy-table-wrap {
  overflow-x: auto;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.policy-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 15px;
}

.policy-table th,
.policy-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.policy-table th {
  color: var(--ink);
  background: var(--soft);
  font-weight: 850;
}

.policy-table td {
  color: var(--muted);
}

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

.policy-info-box,
.case-summary-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  box-shadow: var(--shadow-sm);
}

.policy-info-box p + p {
  margin-top: 8px;
}

.case-summary-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: 24px;
  align-items: stretch;
}

.case-summary-panel aside {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 22px;
  color: #fff;
  background: var(--dark);
  border-radius: 8px;
}

.case-summary-panel aside span {
  color: #c8d0dd;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.case-summary-panel aside strong {
  font-size: 20px;
  line-height: 1.45;
}

.case-split {
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 34px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.case-caution h2 {
  font-size: 27px;
}

.case-card-rich .mini-list {
  margin-bottom: 22px;
}

.faq details {
  max-width: 960px;
  margin: 14px 0;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.faq summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 850;
}

.compact-faq {
  background: #fff;
}

.muted-band {
  background: var(--soft);
}

.form-layout {
  align-items: start;
}

.consult-box {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.consult-box h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.3;
}

.consult-box p {
  color: var(--muted);
}

.form-panel {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.form-panel label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 820;
}

.form-panel input,
.form-panel select,
.form-panel textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-panel input:focus,
.form-panel select:focus,
.form-panel textarea:focus {
  border-color: rgba(21, 87, 216, 0.62);
  box-shadow: 0 0 0 4px rgba(21, 87, 216, 0.12);
  outline: 0;
}

.form-panel textarea {
  resize: vertical;
}

.checkbox-line {
  display: flex !important;
  grid-template-columns: none;
  align-items: center;
  gap: 10px !important;
  color: var(--muted);
  font-weight: 700 !important;
}

.checkbox-line input {
  width: 18px;
  min-height: 18px;
}

.form-note {
  margin: 0;
  color: var(--muted);
}

.form-note a {
  color: var(--blue);
  font-weight: 900;
}

.auth-page {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 480px);
  align-items: start;
  gap: 56px;
  min-height: 68vh;
  background: var(--soft);
}

.auth-panel {
  box-shadow: 0 18px 56px rgba(15, 23, 42, 0.1);
}

.admin-gate {
  min-height: 62vh;
  padding: 92px max(24px, calc((100vw - var(--container)) / 2));
  background: var(--soft);
}

.admin-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.admin-panel span {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 900;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(320px, 1.3fr) minmax(220px, auto);
  align-items: start;
  gap: 32px;
  padding: 40px max(24px, calc((100vw - var(--container)) / 2));
  color: #d8dde8;
  background: var(--dark);
}

.footer-brand strong {
  display: block;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.28;
}

.site-footer p {
  margin: 4px 0 0;
  color: #aab3c2;
}

.site-footer a {
  color: #fff;
}

.company-info {
  display: grid;
  gap: 4px;
  margin: 0;
  color: #aab3c2;
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
}

.footer-links {
  justify-content: flex-end;
  font-size: 14px;
  font-weight: 750;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
    min-height: 0;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .main-nav,
  .auth-nav {
    justify-content: flex-start;
  }

  .hero,
  .page-hero,
  .auth-page {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .hero {
    gap: 42px;
    min-height: 0;
  }

  .hero-media {
    max-width: 700px;
  }

  .page-hero h1,
  .hero h1,
  .article h1,
  .auth-page h1 {
    font-size: 42px;
    line-height: 1.18;
  }

  .section h2,
  .contact h2,
  .detail-cta h2 {
    font-size: 34px;
  }

  .lead {
    font-size: 18px;
  }

  .section {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .hero,
  .intro-grid,
  .two-column,
  .form-layout,
  .auth-page,
  .service-row,
  .account-grid,
  .split-visual,
  .report-section {
    grid-template-columns: 1fr;
  }

  .trust-strip,
  .image-band,
  .step-list,
  .stat-list,
  .proof-grid,
  .service-home-grid,
  .service-method-grid,
  .strategy-grid {
    grid-template-columns: 1fr;
  }

  .service-summary-panel,
  .case-summary-panel,
  .service-fit-section,
  .service-process li {
    grid-template-columns: 1fr;
  }

  .contact,
  .detail-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-actions {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .page-hero,
  .auth-page,
  .section,
  .contact,
  .site-footer,
  .image-band,
  .admin-gate {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-header {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand {
    gap: 10px;
    min-width: 0;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

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

  .main-nav,
  .auth-nav {
    gap: 9px 16px;
    font-size: 15px;
  }

  .nav-cta,
  .text-link,
  .link-button {
    font-size: 14px;
  }

  .nav-cta {
    min-height: 34px;
    padding: 0 12px;
  }

  .hero,
  .page-hero,
  .auth-page {
    padding-top: 54px;
    padding-bottom: 56px;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .page-hero h1,
  .article h1,
  .auth-page h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.16;
  }

  .section h2,
  .contact h2,
  .detail-cta h2 {
    font-size: 28px;
    line-height: 1.28;
  }

  .info-card h2,
  .price-card h2,
  .case-card h2,
  .service-row h2 {
    font-size: 24px;
  }

  .service-tile h3,
  .proof-grid h3,
  .info-card h3,
  .case-card h3,
  .feature-list h3 {
    font-size: 20px;
  }

  .lead {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.72;
  }

  .hero-actions,
  .contact-actions {
    gap: 10px;
  }

  .button {
    width: 100%;
    min-height: 46px;
  }

  .hero-note span {
    width: 100%;
  }

  .trust-strip {
    padding-left: 20px;
    padding-right: 20px;
  }

  .trust-strip div {
    padding: 20px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .trust-strip div:first-child {
    border-top: 0;
  }

  .info-card,
  .price-card,
  .service-tile,
  .service-row,
  .service-summary-panel,
  .case-summary-panel,
  .service-summary-panel aside,
  .case-summary-panel aside,
  .service-method-grid article,
  .detail-card-grid article,
  .strategy-grid article,
  .deliverable-list li,
  .service-process li,
  .service-fit-section,
  .case-split,
  .feature-list article,
  .step-list li,
  .form-panel {
    padding: 22px;
  }

  .service-tile {
    min-height: 0;
  }

  .article {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}
