/* ==========================================================================
   떴다24 랜딩 — Claude Design "떴다24 Landing" 기반
   ========================================================================== */

:root {
  --bg: #101317;
  --surface: #171b21;
  --surface2: #1d232b;
  --line: rgba(242, 248, 255, 0.12);
  --text: #f2f8ff;
  --muted: rgba(242, 248, 255, 0.58);
  --primary: #fd1843;
  --secondary: #24384d;
  --on-primary: #ffffff;

  --shell: 1440px;
  --gutter: 40px;
  --header-h: 76px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --surface: #fff1f4;
    --surface2: #ffd9e0;
    --line: rgba(16, 24, 40, 0.12);
    --text: #101828;
    --muted: rgba(16, 24, 40, 0.58);
    --primary: #fd1843;
    --secondary: #9c0025;
    --on-primary: #ffffff;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 28px);
  -webkit-text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
}

body {
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: var(--text);
  text-decoration: none;
}

a:hover {
  color: var(--primary);
}

img,
svg {
  max-width: 100%;
}

input,
button {
  font-family: inherit;
}

::selection {
  background: var(--primary);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

.shell {
  width: min(var(--shell), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
  color: var(--on-primary);
}

/* --------------------------------------------------------------- Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  height: 44px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: 15px;
}

.btn-lg {
  height: 60px;
  padding: 0 clamp(22px, 3vw, 34px);
  font-size: 17px;
}

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
}

.btn-primary:hover {
  color: var(--on-primary);
  background: color-mix(in oklab, var(--primary) 88%, #000);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: color-mix(in oklab, var(--bg) 55%, transparent);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--primary);
}

.btn-block {
  width: 100%;
  height: 60px;
  margin-top: 20px;
  font-size: 17px;
}

/* --------------------------------------------------------------- Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.wordmark span {
  color: var(--primary);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
}

.site-nav a {
  color: inherit;
}

.site-nav a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.18s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: relative;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 4px;
}

.site-header.menu-open .nav-toggle span {
  background: transparent;
}

.site-header.menu-open .nav-toggle span::before {
  transform: translateY(6px) rotate(45deg);
}

.site-header.menu-open .nav-toggle span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ----------------------------------------------------------------- Hero */

.hero {
  position: relative;
  min-height: min(820px, 100svh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: clamp(72px, 9vw, 120px);
}

.hero-bg,
.hero-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg {
  background: url("/assets/hero-field.png") center / cover no-repeat;
}

.manager-hero {
  background: repeating-linear-gradient(115deg, var(--surface) 0 22px, var(--surface2) 22px 44px);
}

.hero-veil,
.manager-hero-shade {
  background: linear-gradient(
    90deg,
    var(--bg) 8%,
    color-mix(in oklab, var(--bg) 72%, transparent) 46%,
    transparent 78%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-title {
  margin: 0;
  font-size: clamp(40px, 6.6vw, 96px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 800;
  text-wrap: pretty;
}

.hero-title em {
  font-style: normal;
  color: var(--primary);
}

.hero-sub {
  margin: clamp(18px, 2vw, 28px) 0 0;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 560px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(28px, 3.4vw, 44px);
}

.hero-flow {
  position: absolute;
  right: max(var(--gutter), calc(50% - var(--shell) / 2));
  bottom: 64px;
  z-index: 1;
  width: 396px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in oklab, var(--bg) 76%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-flow-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text);
}

.hero-flow ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.hero-flow li {
  display: flex;
  gap: 12px;
}

.hero-flow li span {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: var(--primary);
  padding-top: 2px;
}

/* ------------------------------------------------------------- Features */

.features {
  padding: clamp(90px, 10vw, 150px) 0 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(56px, 8vw, 120px);
}

.phone-col {
  position: relative;
}

.phone-sticky {
  position: sticky;
  top: max(calc(50vh - 316px), calc(var(--header-h) + 24px));
  display: flex;
  justify-content: center;
}

/* 기능마다 화면 2개를 나란히, 살짝 엇갈리게 배치한다 */
.phone-pair {
  --phone-scale: 0.78;

  display: flex;
  align-items: flex-start;
  gap: 22px;
  width: calc(374px * var(--phone-scale) * 2 + 22px);
  height: calc(758px * var(--phone-scale) + 40px);
}

.phone-pair .phone {
  flex: none;
  transform: scale(var(--phone-scale));
  transform-origin: top left;
  margin-right: calc(374px * (var(--phone-scale) - 1));
}

.phone-pair .phone-b {
  margin-top: 40px;
}

.phone {
  position: relative;
  width: fit-content;
  max-width: 100%;
  border-radius: 46px;
  background: var(--surface2);
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px color-mix(in oklab, var(--bg) 60%, transparent);
  padding: 13px;
}

.phone-notch {
  position: absolute;
  left: 50%;
  top: 24px;
  transform: translateX(-50%);
  width: 104px;
  height: 26px;
  border-radius: 14px;
  background: var(--bg);
  z-index: 3;
}

.phone-viewport {
  position: relative;
  width: 346px;
  height: 730px;
  max-width: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: var(--bg);
}

.phone-screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  background: repeating-linear-gradient(90deg, var(--surface) 0 14px, var(--surface2) 14px 28px);
  display: flex;
  align-items: flex-end;
  padding: 26px;
}

.phone-screen.is-active {
  opacity: 1;
}

.screen-tag {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

.steps {
  /* 그리드 아이템 기본 min-width:auto 때문에 넓은 자식이 컬럼을 밀어내지 않도록 한다 */
  min-width: 0;
  padding-bottom: calc(50vh + 120px);
}

.step {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--primary);
}

.section-title {
  margin: 0 0 clamp(40px, 5vw, 64px);
  font-size: clamp(30px, 3.9vw, 54px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 800;
  text-wrap: pretty;
}

.steps .section-title {
  margin-bottom: clamp(48px, 7vw, 96px);
}

.section-lead {
  margin: 0 0 clamp(36px, 4vw, 56px);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.7;
  color: var(--muted);
  max-width: 520px;
}

.step {
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.step + .step {
  border-top: 1px solid var(--line);
  padding-top: 56px;
}

.step-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
}

.step h3 {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: pretty;
}

.step p {
  margin: 0;
  max-width: 420px;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.7;
  color: var(--muted);
}

/* 좁은 화면에서 sticky 목업 대신 단계마다 노출되는 앱 화면 */
.step-visual {
  --ui-scale: 0.72;
  --ui-pad: 9px;

  display: none;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  /* 한 단계에 화면이 2개라 가로로 넘겨봅니다. */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.step-visual::-webkit-scrollbar {
  display: none;
}

/* 목업을 아직 복제하지 못했을 때의 대체 표시 */
.step-visual > span {
  align-self: center;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.step-visual .ui-frame {
  position: relative;
  flex: none;
  width: calc(346px * var(--ui-scale));
  height: calc(730px * var(--ui-scale));
  border: var(--ui-pad) solid var(--surface2);
  border-radius: 32px;
  outline: 1px solid var(--line);
  outline-offset: -1px;
  box-shadow: 0 24px 50px color-mix(in oklab, var(--bg) 60%, transparent);
  overflow: hidden;
  background: var(--bg);
  scroll-snap-align: start;
}

.step-visual .ui-frame ~ span {
  display: none;
}

/* -------------------------------------------------------------- Reviews */

.reviews {
  padding: clamp(90px, 9vw, 140px) 0 clamp(90px, 10vw, 150px);
}

.reviews .section-title {
  max-width: 760px;
}

.review-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.review-stack {
  display: grid;
  gap: 28px;
}

.review {
  margin: 0;
  padding: 38px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.review blockquote {
  margin: 18px 0 22px;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 600;
  text-wrap: pretty;
}

.review figcaption {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.stars {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--primary);
}

.review-lead {
  padding: clamp(32px, 3.6vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-lead .stars {
  font-size: 16px;
}

.review-lead blockquote {
  margin: 26px 0 0;
  font-size: clamp(21px, 2.1vw, 30px);
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.review-lead figcaption {
  margin-top: 44px;
  font-size: 15px;
}

.review-accent {
  background: var(--secondary);
}

.review-accent blockquote {
  color: #f2f8ff;
}

.review-accent figcaption {
  color: rgba(242, 248, 255, 0.62);
}

.marquee {
  margin-top: 28px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
}

.review-flow {
  flex: none;
  width: 404px;
  padding: 32px 34px;
  border-radius: 18px;
}

.review-flow .stars {
  font-size: 13px;
}

.review-flow blockquote {
  margin: 14px 0 20px;
  font-size: 18px;
}

.review-flow figcaption {
  font-size: 13.5px;
}

/* --------------------------------------------------------------------- FAQ */

.faq {
  padding: 0 0 clamp(90px, 10vw, 150px);
  background: var(--surface2);
}

.faq .shell {
  padding-top: clamp(72px, 8vw, 120px);
}

.faq .section-title {
  max-width: 680px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

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

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

.faq-list summary {
  position: relative;
  padding: 26px 56px 26px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.4;
  font-weight: 700;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 22px;
  right: 4px;
  color: var(--primary);
  font-size: 28px;
  font-weight: 400;
}

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

.faq-list details p {
  max-width: 720px;
  margin: -4px 0 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

@media (prefers-reduced-motion: no-preference) {
  .marquee-track.is-running {
    animation: flow 52s linear infinite;
  }

  .marquee:hover .marquee-track.is-running {
    animation-play-state: paused;
  }
}

/* ------------------------------------------------------------- Download */

.download {
  padding: clamp(32px, 4vw, 64px) 0 clamp(90px, 10vw, 150px);
}

.download-panel {
  border-radius: 24px;
  background: var(--primary);
  color: #fff;
  padding: clamp(48px, 6vw, 88px) clamp(28px, 6.6vw, 96px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(40px, 5.5vw, 80px);
}

.download-copy h2 {
  margin: 0;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.16;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #fff;
  text-wrap: pretty;
}

.download-copy > p {
  margin: 22px 0 40px;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
  max-width: 520px;
}

.download-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-store {
  background: #fff;
  color: #9c0025;
}

.btn-store:hover {
  color: #9c0025;
  background: rgba(255, 255, 255, 0.88);
}

.btn-store-soon {
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  cursor: default;
}

.btn-store-soon:hover {
  transform: none;
}

.download-qr {
  flex: none;
  width: 230px;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.download-qr img {
  display: block;
  width: 100%;
  height: auto;
}

.download-qr span {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
  line-height: 1.6;
  color: #9c0025;
}

/* ------------------------------------------------------------- Register */

.register {
  padding: 0 0 clamp(90px, 10vw, 150px);
}

.register .section-title {
  margin-bottom: 18px;
}

.register-form {
  display: grid;
  grid-template-columns: 328px 1fr;
  gap: 56px;
  padding: clamp(28px, 3.8vw, 56px) clamp(24px, 4vw, 60px);
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  align-items: start;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.role-col,
.field-col {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.field-title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
}

.role-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 100%;
}

.role-tab {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-self: stretch;
  text-align: left;
  padding: 18px 20px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.role-tab span {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  font-weight: 500;
  opacity: 0.72;
}

.role-tab.is-on {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--on-primary);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
  max-width: 100%;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.field label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.field input {
  width: 100%;
  min-width: 0;
  height: 56px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  outline: none;
  transition: border-color 0.18s ease;
}

.field input:focus {
  border-color: var(--primary);
}

.field-hint {
  margin: 12px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

.field-error {
  margin: 12px 0 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
}

.field-error[hidden] {
  display: none;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  cursor: pointer;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}

.consent > span {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.consent input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  flex: none;
  accent-color: var(--primary);
  cursor: pointer;
}

.consent-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 0 14px;
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.consent-detail span {
  min-width: 0;
}

.consent-detail b {
  font-weight: inherit;
}

/* --------------------------------------------------------------- Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 72px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.company {
  display: grid;
  grid-template-columns: auto auto;
  gap: 6px 40px;
  margin: 26px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.company a {
  color: inherit;
}

.company .span-all {
  grid-column: 1 / -1;
}

.copyright {
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  font-size: 15px;
  color: var(--muted);
}

.footer-nav a {
  color: inherit;
}

/* ----------------------------------------------------------- Animations */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes flow {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 12px));
  }
}

@media (prefers-reduced-motion: no-preference) {
  .rise {
    animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .rise-2 {
    animation-delay: 0.12s;
  }

  .rise-3 {
    animation-delay: 0.22s;
  }

  .js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

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

/* --------------------------------------------------------- Breakpoints */

@media (max-width: 1200px) {
  :root {
    --gutter: 32px;
  }

  .hero {
    display: block;
    padding-block: clamp(64px, 8vw, 96px);
  }

  .hero-flow {
    position: static;
    width: min(560px, 100% - var(--gutter) * 2);
    margin-block: 40px 0;
    margin-inline: max(var(--gutter), calc(50% - var(--shell) / 2)) auto;
  }
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .phone-col {
    display: none;
  }

  .steps {
    padding-bottom: 0;
  }

  .step {
    min-height: 0;
    padding-block: 48px;
  }

  .step + .step {
    padding-top: 48px;
  }

  .step-visual {
    display: flex;
    margin-top: 12px;
  }

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

  .download-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .register-form {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .role-tabs {
    flex-direction: row;
  }

  .role-tab {
    flex: 1;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 860px) {
  :root {
    --gutter: 20px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: color-mix(in oklab, var(--bg) 96%, transparent);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
  }

  .site-header.menu-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 16px 4px;
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    border-bottom: 1px solid var(--line);
  }

  .hero-cta .btn,
  .download-cta .btn {
    flex: 1 1 100%;
    width: 100%;
  }

  .marquee {
    margin-inline: 0;
    padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-padding-inline: var(--gutter);
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: none;
  }

  .marquee::-webkit-scrollbar {
    display: none;
  }

  .marquee-track.is-running {
    animation: none;
  }

  .review-flow {
    width: min(320px, calc(100vw - var(--gutter) * 2));
    padding: 26px 24px;
    scroll-snap-align: start;
  }

  .review-flow[aria-hidden="true"] {
    display: none;
  }

  .download-panel {
    align-items: stretch;
  }

  .download-qr {
    width: min(230px, 100%);
    align-self: center;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .role-tabs {
    flex-direction: column;
  }

  .company {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-nav {
    gap: 14px 24px;
  }
}

@media (max-width: 520px) {
  :root {
    --gutter: 16px;
  }

  .header-inner {
    gap: 12px;
  }

  .wordmark {
    font-size: 22px;
  }

  .header-actions .btn-sm {
    height: 42px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero {
    padding-block: 52px;
  }

  .hero-bg {
    background-position: 68% center;
  }

  .hero-flow {
    margin-top: 32px;
    padding: 20px;
  }

  .features,
  .reviews {
    padding-top: 72px;
  }

  .step {
    padding-block: 40px;
  }

  .step + .step {
    padding-top: 40px;
  }

  .step-visual {
    --ui-scale: 0.66;
  }

  .review,
  .review-lead {
    padding: 26px 24px;
  }

  .review-lead figcaption {
    margin-top: 28px;
  }

  .download-panel,
  .register-form {
    padding-inline: 20px;
  }

  .register-form {
    border-radius: 16px;
  }

  .role-tab {
    padding: 16px;
    flex: none;
  }

  .field input {
    padding-inline: 16px;
  }

  .consent {
    padding: 16px;
  }

  .consent-detail {
    display: grid;
    gap: 2px;
  }

  .site-footer {
    padding-block: 52px 60px;
  }
}

/* ==========================================================================
   약관 및 정책 페이지
   ========================================================================== */

.terms-head {
  padding: 0 0 40px;
}

.terms-head h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 3.9vw, 54px);
  line-height: 1.16;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.terms-head p {
  margin: 0;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.7;
  color: var(--muted);
}

.terms-layout {
  padding: clamp(56px, 6vw, 88px) 0 clamp(90px, 9vw, 140px);
  display: grid;
  grid-template-columns: 308px minmax(0, 1fr);
  gap: clamp(40px, 5.5vw, 80px);
  align-items: start;
}

.terms-sidebar {
  min-width: 0;
}

.doc-nav {
  position: sticky;
  top: calc(var(--header-h) + 56px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.doc-nav a {
  padding: 16px 18px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.doc-nav a:hover {
  border-color: var(--primary);
  color: var(--text);
}

.doc-nav a[aria-current="page"] {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--on-primary);
}

.doc {
  min-width: 0;
  padding: clamp(32px, 4.4vw, 64px) clamp(24px, 5vw, 72px);
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.doc-body {
  min-width: 0;
}

.doc > h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.doc-note {
  margin: 0 0 clamp(28px, 3vw, 44px);
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.doc-body h2 {
  margin: 32px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: clamp(19px, 1.6vw, 21px);
  line-height: 1.4;
  font-weight: 700;
}

.doc-body > h2:first-child {
  margin-top: 0;
}

.doc-body h3 {
  margin: 28px 0 0;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
}

.doc-body p,
.doc-body li {
  font-size: clamp(15.5px, 1.25vw, 16.5px);
  line-height: 1.85;
  color: var(--muted);
  text-wrap: pretty;
}

.doc-body p {
  margin: 16px 0 0;
}

.doc-body ol,
.doc-body ul {
  margin: 16px 0 0;
  padding-left: 22px;
  display: grid;
  gap: 8px;
}

.doc-body ol {
  list-style: decimal;
}

.doc-body ul {
  list-style: disc;
}

.doc-body table {
  width: 100%;
  margin: 20px 0 0;
  border-collapse: collapse;
  font-size: 15px;
}

.terms-table-wrap {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-top: 20px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.terms-table-wrap table {
  min-width: 640px;
  margin-top: 0;
}

.doc-body th,
.doc-body td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  line-height: 1.7;
  color: var(--muted);
}

.doc-body th {
  color: var(--text);
  font-weight: 700;
}

@media (max-width: 1024px) {
  .terms-layout {
    grid-template-columns: 1fr;
  }

  .doc-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .doc-nav a {
    flex: 1 1 200px;
    text-align: center;
    font-size: 15px;
  }

}

@media (max-width: 520px) {
  .terms-head {
    padding: 0 0 32px;
  }

  .terms-layout {
    padding-top: 48px;
    gap: 32px;
  }

  .doc-nav a {
    flex-basis: 100%;
  }

  .doc {
    padding: 28px 18px;
    border-radius: 16px;
  }

  .doc-body h2 {
    margin-top: 28px;
    padding-top: 28px;
  }

  .doc-body p,
  .doc-body li {
    line-height: 1.78;
  }
}

/* ==========================================================================
   앱 화면 목업 — hyearim-tta24-android 실제 UI 소스 기준 재현
   색상: common/ui/theme/Color.kt · 문구: res/values/strings.xml
   기준 크기 346×730 (폰 목업 뷰포트와 동일). 좁은 화면에서는 scale로 축소합니다.
   ========================================================================== */

.ui {
  --ui-bg: #101317;
  --ui-paper: #171b20;
  --ui-line: rgba(242, 248, 255, 0.13);
  --ui-text: #f2f8ff;
  --ui-muted: rgba(242, 248, 255, 0.55);
  --ui-primary: #fd1843;
  --ui-container: #24384d;
  --ui-on-container: #f2f8ff;
  --ui-on-container-muted: rgba(242, 248, 255, 0.66);

  position: absolute;
  inset: 0;
  width: 346px;
  height: 730px;
  transform-origin: top left;
  display: flex;
  flex-direction: column;
  padding: 0 0 54px;
  background: var(--ui-bg);
  color: var(--ui-text);
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  overflow: hidden;
}

@media (prefers-color-scheme: light) {
  .ui {
    --ui-bg: #fff9fa;
    --ui-paper: #ffffff;
    --ui-line: #ebdde0;
    --ui-text: #26181b;
    --ui-muted: #725d62;
    --ui-container: #ffd9e0;
    --ui-on-container: #26181b;
    --ui-on-container-muted: #725d62;
  }
}

.ui-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 6px;
  font-size: 11px;
  font-weight: 700;
}

.ui-signal {
  width: 34px;
  height: 8px;
  border-radius: 4px;
  background: var(--ui-muted);
  opacity: 0.5;
}

.ui-appbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 10px;
  border-bottom: 1px solid var(--ui-line);
}

.ui-appbar b {
  font-size: 17px;
  font-weight: 800;
}

.ui-badge {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--ui-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.ui-lede {
  margin: 0;
  padding: 10px 16px 4px;
  color: var(--ui-muted);
  font-size: 11.5px;
}

/* 조밀한 표 — 앱의 DenseTable */
.ui-table {
  margin: 8px 12px 0;
  border: 1px solid var(--ui-line);
  border-radius: 4px;
  overflow: hidden;
}

.ui-thead,
.ui-trow {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 74px;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
}

.ui-thead {
  background: color-mix(in oklab, var(--ui-paper) 70%, var(--ui-bg));
  border-bottom: 1px solid var(--ui-line);
  color: var(--ui-muted);
  font-size: 10.5px;
  font-weight: 700;
}

.ui-thead .c3,
.ui-trow .c3 {
  text-align: right;
}

.ui-trow {
  background: var(--ui-paper);
  border-bottom: 1px solid var(--ui-line);
}

.ui-trow:last-child {
  border-bottom: none;
}

.ui-trow.is-applied,
.ui-trow.is-open {
  background: color-mix(in oklab, var(--ui-primary) 12%, var(--ui-paper));
}

.ui-trow .c1 {
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
}

.ui-trow .c1 i {
  display: block;
  font-style: normal;
  font-size: 10px;
  font-weight: 500;
  color: var(--ui-muted);
}

.ui-trow .c2 {
  min-width: 0;
}

.ui-trow .c2 b,
.ui-trow .c3 b {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ui-trow .c2 small,
.ui-trow .c3 small {
  display: block;
  margin-top: 1px;
  font-size: 10px;
  color: var(--ui-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ui-trow .c3 b {
  color: var(--ui-primary);
  font-size: 12px;
}

/* 상태 칩 */
.ui-trow .c3 em {
  display: inline-block;
  padding: 3px 6px;
  border-radius: 3px;
  font-style: normal;
  font-size: 9.5px;
  font-weight: 700;
  white-space: nowrap;
}

.st-req {
  background: color-mix(in oklab, var(--ui-primary) 18%, transparent);
  color: var(--ui-primary);
}

.st-offer {
  background: var(--ui-container);
  color: var(--ui-on-container);
}

.st-visit {
  background: color-mix(in oklab, var(--ui-primary) 88%, #000);
  color: #fff;
}

.st-done {
  background: color-mix(in oklab, var(--ui-muted) 24%, transparent);
  color: var(--ui-muted);
}

.bd-urgent,
.bd-applied {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 5px;
  border-radius: 3px;
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
  vertical-align: 1px;
}

.bd-urgent {
  background: var(--ui-primary);
  color: #fff;
}

.bd-applied {
  background: var(--ui-container);
  color: var(--ui-on-container);
}

/* 소장님솔루션 */
.ui-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 12px 0;
  padding: 12px 14px;
  border-radius: 4px;
  background: var(--ui-container);
}

.ui-plan b {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ui-on-container);
}

.ui-plan small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: var(--ui-on-container-muted);
}

.ui-plan strong {
  flex: none;
  font-size: 13px;
  font-weight: 800;
  color: var(--ui-primary);
}

.ui-sect {
  margin: 0;
  padding: 14px 16px 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ui-muted);
}

.ui-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 12px 6px;
  padding: 11px 14px;
  border: 1px solid var(--ui-line);
  border-radius: 4px;
  background: var(--ui-paper);
  font-size: 12px;
  font-weight: 600;
}

.ui-menu i {
  font-style: normal;
  color: var(--ui-muted);
}

/* 지원자 */
.ui-appl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 12px 6px;
  padding: 10px 14px;
  border: 1px solid var(--ui-line);
  border-radius: 4px;
  background: var(--ui-paper);
}

.ui-appl b {
  display: block;
  font-size: 12px;
  font-weight: 700;
}

.ui-appl small {
  display: block;
  margin-top: 1px;
  font-size: 10px;
  color: var(--ui-muted);
}

.ui-appl em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  color: var(--ui-primary);
}

/* 탭 · 필터 · 안내 · 버튼 */
.ui-tabs {
  display: flex;
  gap: 18px;
  padding: 10px 16px 0;
  border-bottom: 1px solid var(--ui-line);
}

.ui-tabs span {
  padding-bottom: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ui-muted);
  border-bottom: 2px solid transparent;
}

.ui-tabs .on {
  color: var(--ui-text);
  border-bottom-color: var(--ui-primary);
}

.ui-filters {
  display: flex;
  gap: 6px;
  padding: 10px 12px 2px;
}

.ui-filters span {
  padding: 5px 9px;
  border: 1px solid var(--ui-line);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  color: var(--ui-muted);
}

.ui-filters .on {
  border-color: var(--ui-primary);
  background: color-mix(in oklab, var(--ui-primary) 14%, transparent);
  color: var(--ui-primary);
}

.ui-note {
  margin: 10px 12px 0;
  padding: 9px 12px;
  border-radius: 4px;
  background: var(--ui-container);
  color: var(--ui-on-container);
  font-size: 10.5px;
  font-weight: 600;
}

.ui-cta {
  margin: 12px 12px 0;
  padding: 12px;
  border-radius: 6px;
  background: var(--ui-primary);
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

/* 하단 네비 */
.ui-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 10px 6px 16px;
  border-top: 1px solid var(--ui-line);
  background: var(--ui-paper);
  text-align: center;
  font-size: 9px;
  font-weight: 600;
  color: var(--ui-muted);
}

.ui-nav .on {
  color: var(--ui-primary);
}

/* 단계별 인라인 목업 (좁은 화면) */
.step-visual .ui {
  transform: scale(var(--ui-scale));
}

/* 히어로 배경 영상 (파일이 준비되면 index.html의 <video> 주석을 해제하세요) */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}

/* ---- 앱 화면 목업: 상세·채팅·설정·팀·일정 컴포넌트 ---- */

.ui-appbar-sub {
  gap: 6px;
}

.ui-back {
  font-style: normal;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  color: var(--ui-text);
}

.ui-appbar em {
  margin-left: auto;
  font-style: normal;
  font-size: 10.5px;
  font-weight: 600;
}

.ui-presence {
  color: var(--ui-primary);
}

.ui-plain {
  color: var(--ui-muted);
}

/* 라벨 · 값 목록 */
.ui-box {
  margin: 0 12px;
  padding: 4px 12px;
  border: 1px solid var(--ui-line);
  border-radius: 4px;
  background: var(--ui-paper);
}

.ui-kv {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--ui-line);
}

.ui-box > .ui-kv:last-child,
.ui-kv:has(+ .ui-hint) {
  border-bottom: none;
}

.ui-kv > span {
  flex: none;
  width: 62px;
  color: var(--ui-muted);
  font-size: 11px;
}

.ui-kv > b {
  flex: 1;
  min-width: 0;
  font-size: 11.5px;
  font-weight: 600;
}

.ui-kv > b small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 500;
  color: var(--ui-muted);
}

.ui-kv > b.hl {
  color: var(--ui-primary);
  font-weight: 800;
}

.ui-hint {
  margin: 0 0 8px;
  font-size: 9.5px;
  line-height: 1.5;
  color: var(--ui-muted);
}

.ui-kv2 {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0 12px 6px;
  padding: 10px 13px;
  border: 1px solid var(--ui-line);
  border-radius: 4px;
  background: var(--ui-paper);
  font-size: 11.5px;
}

.ui-kv2 span {
  color: var(--ui-muted);
}

.ui-kv2 b {
  font-weight: 700;
}

/* 화주 상담 */
.ui-chatbar {
  margin: 10px 12px 0;
  padding: 8px 12px;
  border-radius: 4px;
  background: var(--ui-container);
  color: var(--ui-on-container);
  font-size: 10.5px;
  font-weight: 600;
  text-align: center;
}

.ui-chat {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px;
  overflow: hidden;
}

.ui-chat-date {
  margin: 0 0 2px;
  text-align: center;
  font-size: 9.5px;
  color: var(--ui-muted);
}

.ui-msg {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  max-width: 82%;
}

.ui-msg span {
  padding: 8px 11px;
  border-radius: 12px;
  font-size: 11.5px;
  line-height: 1.45;
}

.ui-msg i {
  font-style: normal;
  font-size: 8.5px;
  color: var(--ui-muted);
  white-space: nowrap;
}

.ui-msg.them span {
  border: 1px solid var(--ui-line);
  border-bottom-left-radius: 3px;
  background: var(--ui-paper);
}

.ui-msg.me {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.ui-msg.me span {
  border-bottom-right-radius: 3px;
  background: var(--ui-primary);
  color: #fff;
}

.ui-input {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 12px 12px;
  padding: 10px 12px;
  border: 1px solid var(--ui-line);
  border-radius: 999px;
  background: var(--ui-paper);
  font-size: 10.5px;
  color: var(--ui-muted);
}

.ui-input i {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ui-primary);
  color: #fff;
  font-style: normal;
  font-weight: 700;
}

/* 설정 토글 */
.ui-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 12px 6px;
  padding: 11px 13px;
  border: 1px solid var(--ui-line);
  border-radius: 4px;
  background: var(--ui-paper);
}

.ui-toggle b {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
}

.ui-toggle small {
  display: block;
  margin-top: 2px;
  font-size: 9.5px;
  color: var(--ui-muted);
}

.ui-toggle i {
  position: relative;
  flex: none;
  margin-left: auto;
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--ui-muted) 34%, transparent);
}

.ui-toggle i::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ui-paper);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.ui-toggle i.on {
  background: var(--ui-primary);
}

.ui-toggle i.on::after {
  left: auto;
  right: 2px;
}

/* 팀 관리 */
.ui-team {
  margin: 12px 12px 0;
  border: 1px solid var(--ui-line);
  border-radius: 4px;
  background: var(--ui-paper);
  overflow: hidden;
}

.ui-team-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 11px 13px 9px;
  border-bottom: 1px solid var(--ui-line);
}

.ui-team-head b {
  font-size: 13px;
  font-weight: 800;
}

.ui-team-head span {
  font-size: 10px;
  color: var(--ui-muted);
}

.ui-team-leader {
  padding: 9px 13px;
  background: var(--ui-container);
  color: var(--ui-on-container);
  font-size: 11.5px;
  font-weight: 700;
}

.ui-member {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 13px;
  border-top: 1px solid var(--ui-line);
  font-size: 11.5px;
}

.ui-member b {
  font-weight: 600;
}

.ui-member em {
  font-style: normal;
  padding: 2px 7px;
  border-radius: 3px;
  background: color-mix(in oklab, var(--ui-primary) 15%, transparent);
  color: var(--ui-primary);
  font-size: 9.5px;
  font-weight: 700;
}

.ui-member em.off {
  background: color-mix(in oklab, var(--ui-muted) 20%, transparent);
  color: var(--ui-muted);
}

.ui-team-foot {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  padding: 9px 13px;
  border-top: 1px solid var(--ui-line);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ui-muted);
}

/* 주간 일정 */
.ui-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 12px 8px 10px;
  border-bottom: 1px solid var(--ui-line);
}

.ui-week .d {
  display: grid;
  justify-items: center;
  gap: 5px;
}

.ui-week i {
  font-style: normal;
  font-size: 9.5px;
  color: var(--ui-muted);
}

.ui-week i.sun {
  color: var(--ui-primary);
}

.ui-week i.sat {
  color: #4263eb;
}

.ui-week u {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.ui-week u.today {
  background: var(--ui-primary);
  color: #fff;
}

.ui-week s {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: transparent;
}

.ui-week s.dot {
  background: var(--ui-primary);
}

.ui-daycard {
  margin: 10px 12px 0;
  padding: 11px 13px;
  border: 1px solid var(--ui-line);
  border-radius: 4px;
  background: var(--ui-paper);
}

.ui-daycard-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}

.ui-daycard-head b {
  font-size: 12px;
  font-weight: 700;
}

.ui-daycard-head span {
  font-size: 10px;
  color: var(--ui-muted);
}

.ui-srow {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 7px 0 0;
}

.ui-srow em {
  flex: none;
  padding: 3px 7px;
  border-radius: 3px;
  background: var(--ui-container);
  color: var(--ui-primary);
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
}

.ui-srow b {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
}

.ui-srow small {
  display: block;
  margin-top: 1px;
  font-size: 9.5px;
  color: var(--ui-muted);
}

.ui-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 12px 0;
  padding: 12px 14px;
  border-radius: 4px;
  background: var(--ui-container);
}

.ui-summary b {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ui-on-container);
}

.ui-summary small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: var(--ui-on-container-muted);
}

.ui-summary strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--ui-primary);
}

/* 안내 · 링크 */
.ui-note small {
  display: block;
  margin-top: 3px;
  font-size: 9.5px;
  font-weight: 500;
  color: var(--ui-on-container-muted);
}

.ui-link {
  margin: 10px 12px 0;
  padding: 11px 13px;
  border: 1px solid var(--ui-line);
  border-radius: 4px;
  background: var(--ui-paper);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ui-primary);
}

/* ==========================================================================
   매니저 유입 페이지와 정보 허브
   ========================================================================== */

.hero-manager-link {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.hero-manager-link a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: color-mix(in oklab, var(--primary) 70%, transparent);
  text-underline-offset: 5px;
}

.manager-hero {
  position: relative;
  min-height: min(760px, calc(100svh - var(--header-h)));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.manager-hero-shade {
  position: absolute;
  inset: 0;
}

.manager-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: inherit;
}

.manager-hero-copy {
  max-width: 620px;
  padding-block: clamp(68px, 8vw, 112px);
}

.manager-hero-copy .eyebrow {
  margin-bottom: 18px;
}

.manager-hero h1 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(44px, 6.2vw, 84px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 800;
  text-wrap: balance;
}

.manager-hero-lead {
  max-width: 480px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.65;
}

.manager-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.manager-focus {
  padding: clamp(88px, 11vw, 156px) 0;
  background: var(--secondary);
  color: #f2f8ff;
}

.manager-focus-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(48px, 8vw, 128px);
}

.manager-focus-copy {
  max-width: 560px;
}

.manager-focus-copy h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.05em;
  font-weight: 800;
  text-wrap: balance;
}

.manager-focus-copy h2 em {
  color: var(--primary);
  font-style: normal;
}

.manager-focus-copy > p {
  max-width: 500px;
  margin: 28px 0 0;
  color: rgba(242, 248, 255, 0.68);
  font-size: 17px;
  line-height: 1.8;
}

.manager-focus-criteria {
  margin-top: 48px;
  border-top: 1px solid rgba(242, 248, 255, 0.24);
}

.manager-focus-criteria div {
  display: grid;
  grid-template-columns: 34px minmax(120px, 0.6fr) 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(242, 248, 255, 0.24);
}

.manager-focus-criteria span {
  color: var(--primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.manager-focus-criteria strong {
  color: #f2f8ff;
  font-size: 17px;
}

.manager-focus-criteria small {
  color: rgba(242, 248, 255, 0.62);
  font-size: 14px;
}

.manager-focus-visual {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(180px, 0.7fr);
  align-items: end;
  gap: clamp(22px, 4vw, 56px);
}

.manager-focus-visual img {
  display: block;
  width: min(100%, 420px);
  max-height: 630px;
  object-fit: contain;
  border: 1px solid rgba(242, 248, 255, 0.2);
  border-radius: 26px;
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.24);
}

.manager-focus-caption {
  padding-top: 20px;
  border-top: 1px solid rgba(242, 248, 255, 0.34);
}

.manager-focus-caption span {
  color: rgba(242, 248, 255, 0.62);
  font-size: 13px;
}

.manager-focus-caption strong {
  display: block;
  margin-top: 16px;
  color: #f2f8ff;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.manager-focus-caption p {
  margin: 14px 0 0;
  color: rgba(242, 248, 255, 0.62);
  font-size: 14px;
  line-height: 1.6;
}

.manager-roles h2,
.manager-reading h2 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.16;
  letter-spacing: -0.04em;
  font-weight: 800;
  text-wrap: balance;
}

.manager-roles p,
.manager-reading p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.manager-story {
  padding: clamp(88px, 11vw, 160px) 0;
}

.manager-story-alt {
  background: var(--surface);
}

.manager-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 9vw, 144px);
}

.manager-story-alt .manager-story-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
}

.manager-story-media {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.manager-story-media img {
  display: block;
  width: min(100%, 520px);
  max-height: 700px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 32px 72px color-mix(in oklab, var(--bg) 48%, transparent);
}

.manager-story-copy {
  max-width: 560px;
}

.manager-story-index {
  margin: 0 0 18px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.manager-story-copy h2 {
  margin: 0;
  font-size: clamp(32px, 4.4vw, 62px);
  line-height: 1.12;
  letter-spacing: -0.045em;
  font-weight: 800;
  text-wrap: balance;
}

.manager-story-copy p:not(.manager-story-index) {
  max-width: 510px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.text-link {
  display: inline-flex;
  margin-top: 30px;
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-underline-offset: 6px;
}

.text-link:hover {
  color: var(--primary);
}

.manager-roles {
  padding: clamp(72px, 9vw, 126px) 0;
  background: var(--secondary);
}

.manager-roles-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}

.manager-roles h2 {
  color: #f2f8ff;
}

.manager-roles p {
  color: rgba(242, 248, 255, 0.66);
}

.manager-role-list {
  border-top: 1px solid rgba(242, 248, 255, 0.24);
}

.manager-role-list div {
  display: grid;
  grid-template-columns: minmax(110px, 0.35fr) 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(242, 248, 255, 0.24);
}

.manager-role-list strong {
  color: #f2f8ff;
  font-size: 19px;
}

.manager-role-list span {
  color: rgba(242, 248, 255, 0.68);
  font-size: 15px;
  line-height: 1.6;
}

.manager-reading {
  padding: clamp(84px, 10vw, 142px) 0;
}

.manager-reading-list {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.manager-reading-list a {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 180px;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.manager-reading-list a:hover {
  color: var(--text);
}

.manager-reading-list span {
  color: var(--primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

.manager-reading-list strong {
  font-size: 19px;
  letter-spacing: -0.02em;
}

.manager-reading-list small {
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

.manager-download {
  padding: 0 0 clamp(88px, 10vw, 144px);
}

.manager-download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: clamp(38px, 6vw, 78px) clamp(26px, 6vw, 88px);
  border-radius: 24px;
  background: var(--primary);
  color: #fff;
}

.manager-download-panel h2 {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.manager-download-panel p {
  max-width: 510px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  line-height: 1.65;
}

.manager-download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: none;
}

.manager-download-actions .btn-ghost {
  border-color: rgba(255, 255, 255, 0.52);
  color: #fff;
  background: rgba(0, 0, 0, 0.16);
}

.manager-download-actions .btn-ghost:hover {
  color: #fff;
  border-color: #fff;
}

.manager-footer {
  padding: 44px 0 60px;
  border-top: 1px solid var(--line);
}

.manager-footer .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.manager-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.manager-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .manager-hero {
    min-height: 680px;
  }

  .manager-focus-grid,
  .manager-story-grid,
  .manager-story-alt .manager-story-grid,
  .manager-roles-grid {
    grid-template-columns: 1fr;
  }

  .manager-story-alt .manager-story-copy {
    order: 1;
  }

  .manager-story-alt .manager-story-media {
    order: 2;
  }

  .manager-download-panel,
  .manager-footer .shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .manager-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .manager-hero {
    min-height: 650px;
  }

  .manager-hero-copy {
    padding-block: 64px;
  }

  .manager-hero h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

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

  .manager-hero-actions .btn,
  .manager-download-actions .btn {
    width: 100%;
  }

  .manager-focus-visual {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .manager-focus-visual img {
    width: min(100%, 340px);
    margin-inline: auto;
  }

  .manager-story-grid {
    gap: 42px;
  }

  .manager-story-media img {
    border-radius: 20px;
  }

  .manager-role-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .manager-reading-list a {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 14px;
  }

  .manager-reading-list small {
    grid-column: 2;
    text-align: left;
  }

}
