*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

:root {
  --red: #ee3d1c;
  --red-dark: #db3215;
  --black: #191919;
  --ink: #2c2c2c;
  --gray-700: #5f5f5f;
  --gray-200: #eeeeee;
  --gray-100: #f8f8f8;
  --pink: #fff0ec;
  --white: #ffffff;
  --font-display: "Paperlogy", "Noto Sans KR", sans-serif;
  --font-body: "Noto Sans KR", sans-serif;
  --container: 1120px;
  --side: 40px;
  --header-h: 56px;
}

html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { border: 0; cursor: pointer; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: var(--header-h);
  padding: 0 var(--side);
  color: var(--red);
  transition: background 180ms ease, box-shadow 180ms ease;
}
.site-header.is-scrolled {
  color: var(--black);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 16px rgba(0, 0, 0, 0.08);
}
.site-header__inner {
  width: min(100%, var(--container));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.site-header__logo img {
  width: 122px;
  filter: brightness(0) invert(1);
}
.site-header.is-scrolled .site-header__logo img { filter: none; }
.site-header__nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 15px;
  font-weight: 700;
}
.site-header__login {
  min-width: 82px;
  padding: 8px 22px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.hero {
  position: relative;
  min-height: 769px;
  overflow: hidden;
  background: var(--red);
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--container));
  min-height: 769px;
  margin: 0 auto;
  padding: 164px var(--side) 118px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}
.hero__brand {
  width: 122px;
  margin-bottom: 26px;
  filter: brightness(0) invert(1);
}
.hero h1,
.section-heading h2,
.split-section h2,
.flow-section h2,
.steps h2,
.benefits h2,
.contact h2 {
  font-family: var(--font-display);
  letter-spacing: 0;
}
.hero h1 {
  font-size: 56px;
  line-height: 1.22;
  font-weight: 800;
}
.hero p {
  margin-top: 18px;
  font-size: 22px;
  line-height: 1.58;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.93);
}
.hero__starter {
  width: 520px;
  height: 66px;
  margin-top: 40px;
  padding: 6px;
  display: flex;
  align-items: center;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(77, 12, 0, 0.24);
}
.hero__starter span,
.hero__starter input {
  color: var(--red);
  font-size: 18px;
  font-weight: 800;
}
.hero__starter span {
  padding-left: 28px;
  white-space: nowrap;
}
.hero__starter input {
  width: 0;
  flex: 1;
  min-width: 42px;
  border: 0;
  outline: 0;
}
.hero__starter input::placeholder {
  color: var(--red);
  opacity: 0.7;
}
.hero__starter button,
.button,
.contact__form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
}
.hero__starter button {
  width: 144px;
  height: 54px;
  color: var(--white);
  background: var(--red);
  font-size: 17px;
}

.linkit-intro,
.use-cases,
.steps,
.benefits {
  padding-left: var(--side);
  padding-right: var(--side);
}
.linkit-intro {
  padding-top: 92px;
  padding-bottom: 96px;
  background: var(--white);
}
.section-heading {
  width: min(100%, var(--container));
  margin: 0 auto;
}
.section-heading--center { text-align: center; }
.section-heading p,
.eyebrow {
  margin-bottom: 8px;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.section-heading h2,
.split-section h2,
.flow-section h2,
.steps h2,
.benefits h2,
.contact h2 {
  font-size: 42px;
  line-height: 1.33;
  font-weight: 800;
}
.feature-strip {
  width: min(100%, var(--container));
  margin: 58px auto 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.feature-strip__item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.feature-strip__icon {
  width: 98px;
  height: 98px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  background: #ffedeb;
}
.feature-strip__icon img {
  width: 42px;
  height: 42px;
}
.feature-strip h3 {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
}
.feature-strip p {
  max-width: 132px;
  margin-top: 8px;
  color: var(--gray-700);
  font-size: 13px;
  line-height: 1.55;
}

.split-section {
  padding: 96px var(--side) 0;
  overflow: visible;
}
.split-section--light { background: var(--gray-100); }
.split-section__inner,
.flow-section__inner,
.benefits__inner,
.contact__inner {
  width: min(100%, var(--container));
  margin: 0 auto;
  display: grid;
  align-items: center;
}
.split-section__inner {
  grid-template-columns: minmax(370px, 0.92fr) minmax(0, 1.08fr);
  gap: 20px;
  align-items: end;
}
.split-section__copy {
  min-width: 370px;
  padding-bottom: 96px;
}
.split-section__lead {
  margin-top: 8px;
  color: var(--gray-700);
  font-size: 18px;
  line-height: 1.60;
  font-weight: 400;
}
.check-list {
  margin-top: 28px;
  display: grid;
  gap: 8px;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}
.check-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
}
.button {
  height: 52px;
  margin-top: 34px;
  padding: 0 30px;
  font-family: var(--font-display);
  font-size: 16px;
}
.button--primary {
  color: var(--white);
  background: var(--red);
}
.button--white {
  color: var(--red);
  background: var(--white);
}
.split-section__media {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  align-self: end;
}
.split-section__media img {
  width: 800px;
  max-width: none;
  height: auto;
  margin-bottom: 0;
  transform: translateX(clamp(40px, 8vw, 140px));
}

.flow-section {
  padding: 86px var(--side) 90px;
  background: var(--red);
  color: var(--white);
  overflow: hidden;
}
.flow-section__inner {
  grid-template-columns: 1.06fr 0.94fr;
  gap: 72px;
}
.flow-section__media img {
  width: min(100%, 610px);
  margin-left: -18px;
}
.eyebrow--white { color: rgba(255, 255, 255, 0.8); }
.flow-section p:not(.eyebrow) {
  max-width: 430px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1.72;
  font-weight: 500;
}

.use-cases {
  padding-top: 92px;
  padding-bottom: 92px;
  background: var(--white);
}
.use-cases__grid {
  width: min(100%, var(--container));
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.use-card {
  min-height: 372px;
  padding: 24px;
  display: flex;
  flex-direction: column; 
  align-items: center;
  justify-content: space-between;
  text-align: center;
  border: 1px solid #f0f0f0;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}
.use-card img { width: 190px; }
.use-card__body {
  width: 100%;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
}
.use-card h3 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.35;
  font-weight: 800;
}
.use-card p {
  margin-top: 8px;
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.6;
}
.use-card__link {
  height: 30px;
  margin-top: 14px;
  padding:  18px;
  border: 1px solid var(--red);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  transition: color 160ms ease, background 160ms ease;
}
.use-card__link:hover {
  color: var(--white);
  background: var(--red);
}

.steps {
  padding-top: 76px;
  padding-bottom: 80px;
  background: var(--pink);
}
.steps__inner {
  width: min(100%, var(--container));
  margin: 0 auto;
}
.steps__inner > h2 { text-align: center; }
.steps__list {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  list-style: none;
}
.step-card {
  position: relative;
  min-height: 176px;
  padding: 34px 32px 30px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(238, 61, 28, 0.09);
}
.step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -28px;
  width: 20px;
  height: 20px;
  background: url("assets/chevron-down.svg") center/contain no-repeat;
  transform: translateY(-50%) rotate(-90deg);
}
.step-card span {
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
}
.step-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.35;
  font-weight: 800;
}
.step-card p {
  margin-top: 8px;
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.6;
}

.benefits {
  padding-top: 98px;
  padding-bottom: 100px;
  background: var(--white);
}
.benefits__inner {
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
}
.benefits h2 strong {
  color: var(--red);
  font-style: normal;
}
.benefits__copy > p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--gray-700);
  font-size: 18px;
  font-weight: 500;
}
.benefits__list {
  margin-top: 34px;
  display: grid;
}
.benefits__list div {
  padding: 22px 0;
  border-top: 1px solid #ededed;
}
.benefits__list div:last-child { border-bottom: 1px solid #ededed; }
.benefits__list dt {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
}
.benefits__list dd {
  margin-top: 6px;
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.6;
}
.benefits__media {
  display: flex;
  justify-content: center;
}
.benefits__media img { width: min(100%, 620px); }

.contact {
  padding: 64px var(--side) 60px;
  background: var(--red);
  color: var(--white);
}
.contact__inner {
  display: block;
}
.contact h2 {
  margin-bottom: 12px;
  font-size: 48px;
  line-height: 1.22;
}
.contact__panel {
  width: min(100%, 920px);
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: center;
  gap: 16px;
  border-radius: 10px;
  background: #ffffff;
}
.contact__panel > img { width: 74px; }
.contact__content {
  min-width: 0;
}
.contact__form {
  height: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
}
.contact__form input {
  width: 0;
  flex: 1;
  min-width: 120px;
  height: 34px;
  padding: 0 16px;
  border: 0;
  outline: 0;
  color: var(--black);
  border-radius: 999px;
  background: #dcdcdc;
  font-size: 13px;
}
.contact__form button {
  width: 112px;
  height: 34px;
  color: var(--white);
  background: var(--red);
  font-size: 12px;
}
.contact p {
  margin-top: 4px;
  color: #444;
  font-size: 12px;
}
.contact p a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer {
  padding: 62px var(--side) 42px;
  color: var(--white);
  background: var(--black);
}
.footer__inner {
  width: min(100%, var(--container));
  margin: 0 auto;
}
.footer__menus {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 54px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__menus section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer h2 {
  margin-bottom: 7px;
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.4;
}
.footer a,
.footer p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.75;
}
.footer__info { margin-top: 32px; }
.footer__phone {
  color: var(--white) !important;
  font-family: var(--font-display);
  font-size: 22px !important;
  font-weight: 800;
}
.footer__bottom {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

/* ====================================
   SUB-PAGE HERO  (서브페이지 공통 hero)
   기준: subpage-integrated.html
   ==================================== */

.hero-sub {
  min-height: 768px;
  padding: var(--header-h) var(--side) 0;
  background: #fcfcfc;
  overflow: hidden;
}
.hero-sub__inner {
  width: min(100%, var(--content, 1120px));
  min-height: calc(677px - var(--header-h));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 541px) minmax(420px, 1fr);
  gap: 39px;
  align-items: center;
}
.hero-sub__copy {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 2px;
}
.hero-sub__tag {
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
  line-height: 1.35;
}
.hero-sub__title {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  color: var(--black);
  line-height: 1.35;
  white-space: nowrap;
}
.hero-sub__title em { color: var(--red); font-style: normal; }
.hero-sub__desc {
  margin-top: 4px;
  font-size: 20px;
  color: #6b6b6b;
  line-height: 1.35;
}

/* email-pill CTA form */
.email-pill {
  width: 100%;
  height: 60px;
  padding: 4px 4px 4px 24px;
  border-radius: 999px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
}
.email-pill input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 18px;
  color: #6b6b6b;
}
.email-pill input::placeholder {
  color: #6b6b6b;
  opacity: 1;
}
.email-pill button {
  flex: 0 0 auto;
  height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}
.email-pill button::after {
  content: "↗";
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1;
  margin-left: 4px;
}

/* hero media area */
.hero-sub__media {
  height: 407px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
}
.hero-sub__media img {
  width: 550px;
  max-width: none;
}

@media (max-width: 1120px) {
  :root { --side: 32px; }
  .feature-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .use-cases__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__menus {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

@media (max-width: 1024px) {
  .hero-sub { min-height: auto; padding-bottom: 56px; }
  .hero-sub__inner { min-height: auto; padding-top: 76px; grid-template-columns: 1fr; }
  .hero-sub__title { white-space: normal; }
  .hero-sub__media { height: auto; justify-content: center; }
  .hero-sub__media img { width: min(100%, 550px); }
}

@media (max-width: 768px) {
  :root {
    --side: 24px;
    --header-h: 66px;
  }
  .site-header__nav { display: none; }
  .site-header__logo img { width: 96px; }
  .site-header__login {
    min-width: 70px;
    padding: 7px 16px;
    font-size: 13px;
  }
  .hero, .hero__inner { min-height: 640px; }
  .hero__inner {
    padding-top: 116px;
    padding-bottom: 76px;
  }
  .hero__brand {
    width: 104px;
    margin-bottom: 22px;
  }
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 18px; }
  .hero__starter {
    width: min(100%, 480px);
    height: 62px;
  }
  .linkit-intro,
  .use-cases,
  .benefits {
    padding-top: 72px;
    padding-bottom: 74px;
  }
  .section-heading h2,
  .split-section h2,
  .flow-section h2,
  .steps h2,
  .benefits h2,
  .contact h2 { font-size: 34px; }
  .feature-strip {
    margin-top: 42px;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .split-section {
    padding-top: 74px;
    padding-bottom: 0;
    overflow: visible;
  }
  .split-section__inner,
  .flow-section__inner,
  .benefits__inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .split-section__copy {
    width: min(100%, 430px);
    min-width: 0;
    padding-bottom: 0;
  }
  .split-section__media {
    justify-content: center;
    margin-right: 0;
  }
  .split-section__media img {
    width: min(115%, 560px);
    max-width: none;
    margin-bottom: 0;
    transform: none;
  }
  .flow-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .flow-section__media { order: 2; }
  .flow-section__copy { order: 1; }
  .flow-section__media img { margin: 0 auto; }
  .flow-section__copy { text-align: center; }
  .flow-section p:not(.eyebrow) {
    margin-left: auto;
    margin-right: auto;
  }
  .flow-section .button {
    margin-left: auto;
    margin-right: auto;
  }
  .use-cases__grid { gap: 20px; }
  .use-card { min-height: 330px; }
  .steps {
    padding-top: 66px;
    padding-bottom: 70px;
  }
  .steps__list {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .step-card:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -26px;
    transform: translateX(0%) rotate(360deg);
  }
  .contact {
    padding-top: 52px;
    padding-bottom: 52px;
  }
  .contact h2 {
    margin-bottom: 18px;
    text-align: center;
    font-size: 36px;
  }
  .contact__panel {
    width: 100%;
    padding: 22px 20px 18px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    border-radius: 14px;
  }
  .contact__panel > img { width: 96px; }
  .contact__content { width: 100%; }
  .contact__form {
    height: auto;
    flex-direction: column;
    gap: 10px;
  }
  .contact__form input {
    width: 100%;
    height: 42px;
    font-size: 15px;
  }
  .contact__form button {
    width: 138px;
    height: 44px;
    font-size: 16px;
  }
  .contact p {
    margin-top: 2px;
    text-align: center;
    font-size: 12px;
  }
  .footer__menus { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { flex-direction: column; }

  /* hero-sub 768px */
  .hero-sub__inner { padding-top: 56px; }
  .hero-sub__tag { font-size: 18px; }
  .hero-sub__title { font-size: 40px; }
  .hero-sub__desc { font-size: 16px; }
  .email-pill { width: 100%; max-width: 100%; }
}

@media (max-width: 480px) {
  :root { --side: 20px; }
  .hero, .hero__inner { min-height: 600px; }
  .hero__bg { object-position: 43% center; }
  .hero h1 {
    font-size: 31px;
    line-height: 1.28;
  }
  .hero p {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.68;
  }
  .hero__starter {
    width: 100%;
    height: 56px;
    padding: 6px;
    display: flex;
    border-radius: 999px;
  }
  .hero__starter span,
  .hero__starter input {
    height: auto;
    font-size: 13px;
  }
  .hero__starter span {
    padding-left: 10px;
    display: flex;
    align-items: center;
  }
  .hero__starter button {
    flex: 0 0 auto;
    width: auto;
    min-width: 92px;
    height: 44px;
    padding: 0 16px;
    font-size: 14px;
  }
  .section-heading p,
  .eyebrow { font-size: 12px; }
  .section-heading h2,
  .split-section h2,
  .flow-section h2,
  .steps h2,
  .benefits h2,
  .contact h2 { font-size: 28px; }
  .feature-strip { gap: 20px; }
  .feature-strip__icon {
    width: 74px;
    height: 74px;
    margin-bottom: 13px;
    border-radius: 15px;
  }
  .feature-strip__icon img {
    width: 34px;
    height: 34px;
  }
  .feature-strip h3 { font-size: 14px; }
  .feature-strip p {
    max-width: 148px;
    font-size: 12px;
  }
  .split-section__lead,
  .flow-section p:not(.eyebrow),
  .benefits__copy > p:not(.eyebrow) { font-size: 15px; }
  .check-list li { font-size: 14px; }
  .button { width: 100%; }
  .flow-section .button { width: auto; }
  .use-cases__grid { grid-template-columns: 1fr; }
  .use-card {
    min-height: auto;
    padding: 24px 22px 26px;
  }
  .use-card img {
    width: 168px;
    margin-bottom: 12px;
  }
  .step-card {
    min-height: 152px;
    padding: 28px 24px 26px;
  }
  .benefits__list dt,
  .step-card h3,
  .use-card h3 { font-size: 19px; }
  .contact {
    padding-top: 42px;
    padding-bottom: 44px;
  }
  .contact h2 {
    margin-bottom: 14px;
    font-size: 44px;
    line-height: 1.18;
  }
  .contact__panel {
    padding: 16px 14px 14px;
    gap: 10px;
    border-radius: 12px;
  }
  .contact__panel > img { width: 84px; }
  .contact__form input {
    height: 44px;
    padding: 0 14px;
    font-size: 15px;
  }
  .contact__form button {
    width: 124px;
    height: 42px;
    font-size: 16px;
  }
  .contact p { font-size: 11px; }
  .footer { padding-top: 48px; }
  .footer__menus {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* hero-sub 480px */
  .hero-sub__title { font-size: 34px; }
}

/* ====================================
   AUTH HEADER (login / success 공통)
   ==================================== */

.auth-header {
  height: var(--header-h);
  padding: 0 var(--side);
}

.auth-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
}

.auth-header__logo { flex-shrink: 0; }
.auth-header__logo img { width: 120px; }

.auth-header__nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 40px;
  font-size: 14px;
  font-weight: 600;
}

.auth-header__btns {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.auth-btn--signup  { background: #eb1a00; color: #fff; }
.auth-btn--ghost   { background: #fff; color: #606060; }
.auth-btn--outline { background: #fff; border: 1px solid #ff2400; color: #ff2400; }

/* 로그인 페이지 헤더 (빨간 패널 위 → 흰 글자) */
.auth-header--on-red {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  color: #fff;
}
.auth-header--on-red .auth-header__logo img {
  filter: brightness(0) invert(1);
}

/* 성공 페이지 헤더 (흰 배경 → 검정 글자) */
.auth-header--on-white {
  color: var(--black);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 1px 16px rgba(0,0,0,0.08);
}

/* ====================================
   LOGIN PAGE
   ==================================== */

.login-wrapper {
  position: relative;
  min-height: 100vh;
}

.login-layout {
  display: grid;
  grid-template-columns: 52% 1fr;
  min-height: 100vh;
}

/* 왼쪽 브랜드 패널 */
.login-brand {
  position: relative;
  background: #ee3d1c;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 192px 60px 80px clamp(40px, 36%, 268px);
  color: #fff;
}

.login-brand__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.login-brand__logo {
  position: relative;
  width: 122px;
  filter: brightness(0) invert(1);
}

.login-brand__text {
  position: relative;
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 800;
  color: #fff;
  margin-top: 6px;
}

.login-brand__title1 {
  font-size: 44px;
  line-height: 1.13;
  letter-spacing: -0.88px;
}

.login-brand__title2 {
  font-size: 80px;
  line-height: 1.13;
  letter-spacing: -1.6px;
}

.login-brand__desc {
  position: relative;
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.36px;
}

/* 오른쪽 폼 영역 */
.login-form-area {
  display: flex;
  align-items: flex-start;
  padding: 208px 60px 80px 120px;
}

.login-form-wrap {
  width: 358px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
}

.login-form__title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.96px;
  color: var(--black);
  margin-bottom: 80px;
}

.login-fields {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.login-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.login-field label {
  font-size: 16px;
  line-height: 1.4;
  color: #1e1e1e;
}

.login-field input {
  width: 100%;
  height: 46px;
  padding: 12px 16px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  font-size: 16px;
  color: var(--black);
  background: #fff;
  outline: none;
  transition: border-color 150ms ease;
}
.login-field input::placeholder { color: #b3b3b3; }
.login-field input:focus { border-color: #ed370f; }

.login-submit {
  width: 100%;
  height: 46px;
  background: rgba(237,55,15,0.2);
  border: 1px solid #ed370f;
  border-radius: 8px;
  color: #ed370f;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms ease;
}
.login-submit:hover { background: rgba(237,55,15,0.32); }

.login-forgot {
  display: inline-block;
  font-size: 16px;
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ====================================
   SUCCESS PAGE
   ==================================== */

.success-content {
  width: min(1120px, calc(100% - var(--side) * 2));
  margin: 0 auto;
  padding-top: 141px;
  padding-bottom: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.success-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.success-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.success-title-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.success-title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.96px;
  color: var(--black);
}

.success-desc {
  font-size: 16px;
  line-height: 1.4;
  color: var(--black);
}

.success-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.success-card {
  flex: 1;
  min-width: 0;
  height: 117px;
  display: flex;
  align-items: center;
  padding: 20px 16px;
  border: 1px solid #dcdbdb;
  border-radius: 16px;
  background: #fff;
}

.success-card__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.success-card__num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ff2400;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.36px;
}

.success-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.success-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.success-card__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.success-card__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  white-space: nowrap;
  letter-spacing: -0.36px;
}

.success-card__desc {
  font-size: 14px;
  color: #404040;
  line-height: 1.5;
  letter-spacing: -0.28px;
}

.success-chevron {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.success-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 272px;
  height: 46px;
  background: #ed370f;
  border-radius: 8px;
  color: #f5f5f5;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 150ms ease;
}
.success-cta:hover { background: var(--red-dark); }

/* ====================================
   AUTH PAGES — RESPONSIVE
   ==================================== */

@media (max-width: 1100px) {
  .login-brand {
    padding-left: clamp(30px, 6%, 100px);
  }
  .login-brand__title1 { font-size: 34px; }
  .login-brand__title2 { font-size: 58px; }
  .login-brand__desc   { font-size: 16px; }
  .login-form-area { padding-left: 60px; }
}

@media (max-width: 768px) {
  /* 헤더 공통 — 모바일 */
  .auth-header__nav { display: none; }
  .auth-header__logo img { width: 96px; }
  .auth-btn { height: 30px; padding: 0 12px; font-size: 13px; }

  /* 로그인 — 세로 스택 */
  .login-layout {
    grid-template-columns: 1fr;
  }

  .login-brand {
    min-height: 360px;
    padding: calc(var(--header-h) + 36px) var(--side) 48px;
    justify-content: flex-end;
    gap: 8px;
  }
  .login-brand__logo  { width: 96px; }
  .login-brand__title1 { font-size: 26px; }
  .login-brand__title2 { font-size: 50px; }
  .login-brand__desc   { font-size: 15px; }

  .login-form-area {
    padding: 40px var(--side) 60px;
    justify-content: center;
  }
  .login-form-wrap { width: 100%; max-width: 440px; }
  .login-form__title {
    font-size: 36px;
    margin-bottom: 48px;
  }

  /* 성공 페이지 — 모바일 */
  .success-content { padding-top: 60px; gap: 40px; }
  .success-title { font-size: 36px; }

  .success-steps {
    flex-direction: column;
    height: auto;
  }
  .success-card {
    width: 100%;
    height: auto;
    min-height: 90px;
  }
  .success-chevron {
    transform: rotate(90deg);
  }
  .success-cta { width: 100%; max-width: 360px; }
}

@media (max-width: 480px) {
  .login-brand { min-height: 320px; }
  .login-brand__title1 { font-size: 22px; }
  .login-brand__title2 { font-size: 42px; }
  .login-brand__desc   { font-size: 14px; }
  .login-form__title   { font-size: 32px; }

  .success-title { font-size: 32px; }
  .success-desc  { font-size: 15px; }
  .success-card__name { font-size: 16px; }
  .success-card__desc { font-size: 13px; }
}