@font-face {
  font-family: "Wanted Sans";
  src: url("./assets/fonts/WantedSans-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Wanted Sans";
  src: url("./assets/fonts/WantedSans-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Wanted Sans";
  src: url("./assets/fonts/WantedSans-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Wanted Sans";
  src: url("./assets/fonts/WantedSans-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Wanted Sans";
  src: url("./assets/fonts/WantedSans-ExtraBold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Wanted Sans";
  src: url("./assets/fonts/WantedSans-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --ink: #041411;
  --ink-soft: #37524c;
  --mint: #21c1a2;
  --mint-soft: #edf9f6;
  --line: #d9e9e5;
  --line-strong: #b9d8d1;
  --shadow-1: 0 10px 24px rgba(4, 20, 17, 0.06);
  --shadow-2: 0 16px 34px rgba(4, 20, 17, 0.1);
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Wanted Sans", "Pretendard", "Noto Sans KR", sans-serif;
  line-height: 1.8;
  letter-spacing: -0.012em;
  text-rendering: optimizeLegibility;
}

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

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 80;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--ink), var(--mint));
}

.side-rail {
  position: fixed;
  top: 50%;
  right: 18px;
  z-index: 72;
  transform: translateY(-50%);
  display: grid;
  gap: 9px;
}

.side-rail__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: #c2d5d0;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.side-rail__dot:hover,
.side-rail__dot.is-active {
  background: var(--mint);
  transform: scale(1.35);
  box-shadow: 0 0 0 5px rgba(33, 193, 162, 0.14);
}

.side-rail__dot::after {
  content: attr(data-label);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  padding: 5px 9px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.01em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.side-rail__dot:hover::after {
  opacity: 1;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 12px 24px 10px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #edf4f2;
}

.top-nav__toggle {
  display: none;
  width: 38px;
  height: 34px;
  border: 1px solid #d7e8e3;
  border-radius: 10px;
  background: #fff;
  padding: 7px 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}

.top-nav__toggle span {
  width: 100%;
  height: 1.8px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.top-nav__toggle.is-open span:nth-child(1) {
  transform: translateY(5.8px) rotate(45deg);
}

.top-nav__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.top-nav__toggle.is-open span:nth-child(3) {
  transform: translateY(-5.8px) rotate(-45deg);
}

.brand {
  text-decoration: none;
  display: inline-block;
  line-height: 0;
}

.brand__logo {
  width: clamp(96px, 6.4vw, 116px);
  height: auto;
  display: block;
  object-fit: contain;
}

.top-nav__menu {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 1.3vw, 18px);
  flex-wrap: nowrap;
}

.top-nav__menu a {
  text-decoration: none;
  color: var(--ink);
  padding: 4px 0;
  font-size: clamp(12px, 0.78vw, 14px);
  line-height: 1.4;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.top-nav__menu a:hover,
.top-nav__menu a.is-active {
  border-color: var(--ink);
}

.page {
  width: min(1320px, calc(100vw - 44px));
  margin: 16px auto 80px;
}

.section {
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
  padding: 34px 38px 36px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 0% 0%, rgba(33, 193, 162, 0.035), transparent 36%),
    linear-gradient(180deg, #ffffff, #fbfefd);
  box-shadow: var(--shadow-1);
  min-height: auto;
}


.section > * {
  position: relative;
  z-index: 1;
}
.section::after {
  content: attr(data-mark);
  position: absolute;
  right: 24px;
  bottom: 14px;
  font-size: clamp(44px, 7vw, 120px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.04em;

  /* 더 옅게 (가독성 개선) */
  color: rgba(4, 20, 17, 0.02);

  /* 섹션 콘텐츠 뒤로 확실히 */
  z-index: 0;

  pointer-events: none;
  user-select: none;
}

.section::before {

  content: attr(data-step);
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #8ca39d;
  z-index: 2;
}

.hero {
  min-height: clamp(560px, calc(100vh - 120px), 760px);
  display: block;
  padding-top: 0;
  padding-bottom: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: clamp(24px, 4vw, 58px);
  min-height: inherit;
}

.hero-grid > *,
.ab > *,
.tracks > *,
.timeline > *,
.mini-grid > *,
.kpi-row > *,
.process > *,
.funnel-stages > *,
.pipeline > * {
  min-width: 0;
}

.hero-copy {
  display: grid;
  gap: 18px;
}

.hero__kicker {
  margin: 0;
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink-soft);
}

.hero__headline {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(46px, 5.7vw, 92px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.032em;
  text-wrap: balance;
  text-shadow: 0 6px 16px rgba(4, 20, 17, 0.1);
}

.hero__line {
  display: block;
}

.hero__line--accent {
  color: var(--mint);
  font-weight: 800;
}

.hero__sub {
  max-width: 40ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.05vw, 19px);
  line-height: 1.84;
}

.hero-cta {
  width: fit-content;
  margin-top: 8px;
  padding: 15px 34px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: clamp(15px, 0.95vw, 17px);
  line-height: 1.45;
  font-weight: 500;
  transition: all 0.25s ease;
}

.hero-cta:hover {
  background: var(--ink);
  color: #fff;
}

.hero-stats {
  margin-left: auto;
  width: min(540px, 100%);
  border-top: 1px solid #c9dad6;
  background: linear-gradient(180deg, rgba(33, 193, 162, 0.03), rgba(255, 255, 255, 0.66));
}

.hero-stat {
  padding: 20px 0;
  border-bottom: 1px solid #c9dad6;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 12px;
}

.hero-stat p {
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.55;
  font-weight: 400;
  color: var(--ink-soft);
}

.hero-stat strong {
  font-size: clamp(38px, 4.3vw, 62px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.section-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 86px;
  height: 2px;
  background: linear-gradient(90deg, var(--mint), rgba(33, 193, 162, 0));
}

.section-head__num {
  margin: 0;
  min-width: 46px;
  text-align: center;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--ink-soft);
  background: #f9fdfc;
}

h2,
h3 {
  margin: 0;
  letter-spacing: -0.018em;
}

h2 {
  font-size: clamp(28px, 2.2vw, 38px);
  line-height: 1.28;
  font-weight: 700;
}

h3 {
  font-size: clamp(19px, 1.45vw, 25px);
  line-height: 1.4;
  font-weight: 650;
}

p,
li,
th,
td {
  margin: 0;
  font-size: clamp(15px, 0.95vw, 17px);
  line-height: 1.82;
}

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

.ab-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  transform-style: preserve-3d;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ab-card:hover {
  transform: translateY(-4px) rotateX(1.1deg);
  box-shadow: var(--shadow-2);
}

.ab-card__tag {
  width: fit-content;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #c8ddd8;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.ab-card--asis {
  background: linear-gradient(165deg, #fbfcfc, #f0f4f3);
}

.ab-card--tobe {
  border-color: #b9e2d9;
  background: linear-gradient(165deg, #f8fffd, #e8fbf6);
}

.ab-card strong {
  color: var(--ink);
}

.note {
  margin-top: 14px;
  padding: 15px 16px;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--mint);
  background: var(--mint-soft);
  color: var(--ink-soft);
  font-weight: 400;
}

.note--top {
  margin-top: 0;
  margin-bottom: 14px;
}

.note--center {
  text-align: center;
  border-left: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f9fdfc;
}

.sub-block {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fcfefe;
}

.sub-block h3 {
  margin-bottom: 10px;
}

.mini-grid {
  display: grid;
  gap: 10px;
}

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

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

.mini-grid article {
  padding: 12px;
  border: 1px solid #deece8;
  border-radius: 12px;
  background: #fff;
}

.mini-grid article p {
  font-weight: 600;
  line-height: 1.55;
}

.mini-grid article span {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: clamp(13px, 0.88vw, 15px);
  line-height: 1.62;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.kpi-row article {
  padding: 12px;
  border: 1px solid #deece8;
  border-radius: 12px;
  background: #fff;
}

.kpi-row p {
  font-weight: 600;
  line-height: 1.5;
}

.kpi-row span {
  display: block;
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: clamp(12px, 0.83vw, 14px);
  line-height: 1.55;
}

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

.process article {
  padding: 12px;
  border: 1px solid #deece8;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #f9fdfc);
  position: relative;
}

.process article::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--mint);
}

.process p {
  padding-left: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.process span {
  display: block;
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: clamp(13px, 0.88vw, 15px);
  line-height: 1.6;
}

.section--closing {
  text-align: center;
  padding-top: 44px;
  padding-bottom: 44px;
}

.closing-copy {
  max-width: 56ch;
  margin: 0 auto 12px;
  font-size: clamp(17px, 1.08vw, 21px);
  line-height: 1.9;
  word-break: keep-all;
  text-wrap: pretty;
}

.closing-copy strong {
  font-weight: 700;
  color: var(--ink);
}

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

.track-card {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #f9fdfc);
  box-shadow: var(--shadow-1);
}

.track-card::before {
  content: "";
  position: absolute;
  top: -36px;
  right: -36px;
  width: 138px;
  height: 138px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(33, 193, 162, 0.22), rgba(33, 193, 162, 0));
}

.track-card__icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  border: 1px solid #bfe4db;
  background: linear-gradient(165deg, #ffffff, #e8fbf7);
  box-shadow: 0 10px 20px rgba(4, 20, 17, 0.08);
  display: grid;
  place-items: center;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.track-card__label {
  margin-bottom: 6px;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--mint);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: #c5dfd9;
}

.timeline-step {
  position: relative;
  padding: 52px 14px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-1);
}

.timeline-step::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: linear-gradient(165deg, #42d4b7, #21c1a2 65%, #179c82);
  box-shadow:
    0 7px 14px rgba(33, 193, 162, 0.3),
    inset -2px -3px 6px rgba(3, 65, 54, 0.35);
  animation: pulseMint 2.6s ease-in-out infinite;
}

.timeline-step:nth-child(2)::before {
  animation-delay: 0.2s;
}

.timeline-step:nth-child(3)::before {
  animation-delay: 0.4s;
}

.timeline-step:nth-child(4)::before {
  animation-delay: 0.6s;
}

.funnel-wrap {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.funnel {
  width: min(520px, 76vw);
  display: grid;
  justify-items: center;
  gap: 8px;
}

.funnel-layer {
  display: grid;
  align-content: center;
  justify-items: center;
  height: 50px;
  gap: 2px;
  color: #08231d;
  border-radius: 12px;
  border: 1px solid #c7e4de;
  box-shadow: var(--shadow-1);
  clip-path: polygon(4% 0, 96% 0, 84% 100%, 16% 100%);
  background: linear-gradient(170deg, rgba(33, 193, 162, 0.18), rgba(4, 20, 17, 0.12));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.funnel-layer:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-2);
}

.funnel-layer em {
  font-size: clamp(12px, 0.84vw, 14px);
  line-height: 1.3;
  font-style: normal;
  font-weight: 700;
}

.funnel-layer b {
  font-size: clamp(10px, 0.72vw, 12px);
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: #356259;
}

.funnel-layer.l1 {
  width: 100%;
}

.funnel-layer.l2 {
  width: 76%;
}

.funnel-layer.l3 {
  width: 54%;
}

.funnel-layer.l4 {
  width: 32%;
  background: linear-gradient(170deg, rgba(33, 193, 162, 0.36), rgba(4, 20, 17, 0.16));
  height: 56px;
}

.funnel-layer.l4 em {
  font-size: clamp(13px, 0.92vw, 15px);
}

.funnel-layer.l4 b {
  color: #20594d;
}

.funnel-layer.l5 {
  width: 20%;
  background: linear-gradient(170deg, rgba(33, 193, 162, 0.56), rgba(4, 20, 17, 0.18));
  height: 54px;
}

.funnel-caption {
  color: var(--ink-soft);
  font-size: clamp(15px, 1.08vw, 18px);
  line-height: 1.72;
}

.funnel-stages {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.funnel-stages article {
  padding: 12px;
  border: 1px solid #deece8;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #f9fdfc);
}

.funnel-stages article p {
  font-size: clamp(14px, 0.92vw, 16px);
  line-height: 1.52;
  font-weight: 600;
}

.funnel-stages article span {
  display: block;
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: clamp(12px, 0.78vw, 14px);
  line-height: 1.55;
}

.pipeline {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 200px 1fr 1.05fr;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 10px 14px;
  align-items: center;
}

.source {
  grid-row: 1 / 4;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, #ffffff, #effbf8);
  box-shadow: var(--shadow-1);
  padding: 16px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  min-height: 220px;
}

.source__core {
  width: 86px;
  height: 102px;
  border-radius: 999px / 110px;
  border: 1px solid #b8e1d8;
  background: linear-gradient(180deg, #ffffff 0%, #e6faf6 50%, #c8f0e7 100%);
  box-shadow:
    inset 0 -10px 20px rgba(33, 193, 162, 0.24),
    0 10px 18px rgba(4, 20, 17, 0.12);
}

.source p {
  font-weight: 500;
  text-align: center;
}

.branch {
  position: relative;
  height: 2px;
  background: linear-gradient(90deg, rgba(33, 193, 162, 0.9), rgba(33, 193, 162, 0.2));
}

.branch::after {
  content: "";
  position: absolute;
  top: -4px;
  right: -7px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid rgba(33, 193, 162, 0.7);
}

.branch--1 {
  grid-column: 2;
  grid-row: 1;
}

.branch--2 {
  grid-column: 2;
  grid-row: 2;
}

.branch--3 {
  grid-column: 2;
  grid-row: 3;
}

.output {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-1);
  padding: 12px 14px;
}

.output h3 {
  font-size: clamp(18px, 1.35vw, 24px);
}

.output p {
  margin-top: 2px;
  font-size: clamp(14px, 0.95vw, 16px);
  line-height: 1.66;
  color: var(--ink-soft);
}

.output--1 {
  grid-column: 3;
  grid-row: 1;
}

.output--2 {
  grid-column: 3;
  grid-row: 2;
}

.output--3 {
  grid-column: 3;
  grid-row: 3;
}

.checklist {
  display: grid;
  gap: 10px;
}

.check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-1);
  padding: 15px 16px;
}

.check__icon {
  width: 34px;
  height: 34px;
  margin-top: 2px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 17px;
  line-height: 1;
  font-weight: 700;
  background: linear-gradient(155deg, #37d0b2, #21c1a2 65%, #16937a);
  box-shadow:
    0 7px 14px rgba(33, 193, 162, 0.25),
    inset -1px -2px 4px rgba(3, 68, 57, 0.3);
}

.section--offer {
  border-color: #c6e3dc;
}

.offer-lead {
  margin-bottom: 10px;
  font-size: clamp(20px, 1.45vw, 25px);
  line-height: 1.74;
  color: var(--ink-soft);
}

.offer-total {
  margin-bottom: 14px;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid #b7e0d8;
  background: linear-gradient(170deg, #ffffff, #eefaf7);
  box-shadow: var(--shadow-1);
}

.offer-total__main {
  font-size: clamp(28px, 2.2vw, 35px);
  line-height: 1.28;
  font-weight: 600;
}

.offer-total__sub {
  font-size: clamp(20px, 1.45vw, 24px);
  line-height: 1.52;
  font-weight: 500;
  color: var(--mint);
}

.offer-total__year {
  margin-top: 5px;
  font-size: clamp(15px, 1.03vw, 18px);
  line-height: 1.68;
  color: var(--ink-soft);
  font-weight: 500;
}

.faq-grid article p {
  font-size: clamp(17px, 1.06vw, 20px);
  line-height: 1.52;
  font-weight: 700;
  word-break: keep-all;
}

.faq-grid article {
  padding: 20px 20px 18px;
  min-height: 156px;
  display: grid;
  align-content: start;
  gap: 7px;
}

.faq-grid article span {
  line-height: 1.78;
  word-break: keep-all;
  text-wrap: pretty;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
}

table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.offer-table {
  min-width: 1080px;
  table-layout: fixed;
}

th,
td {
  vertical-align: top;
  text-align: left;
  padding: 14px 13px;
  border-bottom: 1px solid #e8f2ef;
}

thead th {
  background: #f3fcf9;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.54;
  font-weight: 700;
}

tbody td {
  font-size: clamp(14px, 0.98vw, 16px);
  line-height: 1.72;
}

.offer-table th,
.offer-table td {
  word-break: keep-all;
  overflow-wrap: break-word;
}

.offer-table th:nth-child(2),
.offer-table td:nth-child(2) {
  text-align: right;
  white-space: nowrap;
  padding-right: 18px;
}

.offer-table th:nth-child(2) {
  letter-spacing: -0.01em;
}

.cell-money {
  display: inline-block;
  white-space: nowrap;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

tbody tr:nth-child(even) {
  background: #fcfefd;
}

.section--offer .table-wrap {
  box-shadow: var(--shadow-1);
}

@supports not (backdrop-filter: blur(8px)) {
  .top-nav {
    background: #ffffff;
  }
}

@supports not (clip-path: polygon(4% 0, 96% 0, 84% 100%, 16% 100%)) {
  .funnel-layer {
    clip-path: none;
    border-radius: 999px;
  }
}

.has-js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@keyframes pulseMint {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.06);
  }
}

@media (max-width: 1120px) {
  .page {
    width: calc(100vw - 20px);
    margin: 10px auto 60px;
  }

  .top-nav {
    grid-template-columns: auto 1fr;
    gap: 10px;
    padding: 10px 14px 9px;
  }

  .top-nav__menu {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .section {
    padding: 28px 20px;
    min-height: auto;
  }

  .ab,
  .tracks,
  .timeline,
  .funnel-stages,
  .mini-grid--2,
  .mini-grid--3,
  .kpi-row,
  .process {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    display: none;
  }

  .pipeline {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    align-items: center;
    gap: 24px;
  }

  .hero-copy {
    gap: 14px;
  }

  .side-rail {
    display: none;
  }

  .hero-stat strong {
    font-size: clamp(42px, 9vw, 72px);
  }

  .source,
  .branch,
  .output {
    grid-column: auto;
    grid-row: auto;
  }

  .branch {
    height: 16px;
    background: transparent;
  }

  .branch::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .brand__logo {
    width: 98px;
  }

  .top-nav {
    position: sticky;
    grid-template-columns: auto auto;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
  }

  .top-nav__toggle {
    display: inline-flex;
  }

  .top-nav__menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 10px;
    right: 10px;
    z-index: 60;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #ddece8;
    border-radius: 14px;
    box-shadow: 0 12px 24px rgba(4, 20, 17, 0.1);
    padding: 10px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px) scale(0.98);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .top-nav__menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .top-nav__menu a {
    font-size: 14px;
    border: 1px solid #e2efeb;
    border-radius: 10px;
    padding: 9px 10px;
    text-align: left;
    background: #fff;
  }

  .hero {
    min-height: 74vh;
  }

  .hero__headline {
    font-size: clamp(45px, 12vw, 74px);
  }

  .hero__sub {
    max-width: 100%;
    font-size: 18px;
  }

  .faq-grid article {
    min-height: auto;
    padding: 14px 14px 13px;
    gap: 6px;
  }

  .faq-grid article p {
    font-size: 16px;
  }

  .faq-grid article span {
    line-height: 1.7;
  }

  .closing-copy {
    max-width: 100%;
    font-size: clamp(16px, 4.4vw, 19px);
    line-height: 1.78;
  }

  .section::after {
    font-size: 64px;
    right: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  body {
    background: #fff;
  }

  .top-nav,
  .scroll-progress {
    display: none !important;
  }

  .page {
    width: 100%;
    margin: 0;
  }

  .section {
    break-after: page;
    min-height: auto;
    box-shadow: none;
    border: 1px solid #e6efec;
    margin: 0 0 10mm;
  }

  .has-js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
