:root {
  --ink: #12130f;
  --paper: #f6f1e8;
  --muted: #706d63;
  --line: rgba(18, 19, 15, 0.14);
  --accent: #b88746;
  --deep: #172923;
  --soft: #e6e5dc;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--industry-ui, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", sans-serif);
  line-height: 1.58;
  letter-spacing: 0;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.sample-page {
  min-height: 100vh;
}

.sample-nav {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 20px max(18px, calc((100vw - 1180px) / 2));
}

.sample-nav strong {
  font-size: 18px;
  font-weight: 920;
}

.sample-nav a {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 820;
}

.sample-hero,
.sample-section {
  padding: 72px max(18px, calc((100vw - 1180px) / 2));
}

.sample-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 0.74fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
  min-height: 760px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.proof-card span,
.sample-card span,
.flow-list span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(42px, 5.4vw, 82px);
  font-weight: 940;
  line-height: 0.96;
}

.sample-hero p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 21px);
}

.sample-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 900;
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.visual-system {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(18, 19, 15, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 19, 15, 0.045) 1px, transparent 1px),
    var(--soft);
  background-size: 32px 32px;
}

.visual-system::before,
.visual-system::after {
  content: "";
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  border-radius: 50%;
}

.visual-system::before {
  top: 44px;
  right: 44px;
  width: 190px;
  height: 190px;
}

.visual-system::after {
  right: 138px;
  bottom: 64px;
  width: 270px;
  height: 270px;
}

.visual-card {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 30px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(18px);
}

.visual-card strong {
  display: block;
  max-width: 360px;
  font-size: clamp(24px, 2.4vw, 38px);
  line-height: 1.02;
}

.visual-card p {
  max-width: 360px;
  margin: 12px 0 0;
  color: var(--muted);
}

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

.proof-card,
.sample-card {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.52);
}

.proof-card strong,
.sample-card strong {
  display: block;
  margin: 64px 0 12px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.06;
}

.proof-card p,
.sample-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.flow-list {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.flow-list li {
  display: grid;
  grid-template-columns: 120px minmax(190px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  min-height: 112px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.flow-list strong {
  font-size: 24px;
  line-height: 1.08;
}

.flow-list p {
  margin: 0;
  color: var(--muted);
}

.sample-footer {
  padding: 34px max(18px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.theme-saas {
  --paper: #eef3f8;
  --soft: #dbe8ef;
  --deep: #0f2633;
  --accent: #4c7bb2;
}

.theme-space {
  --paper: #f1ece3;
  --soft: #ded4c7;
  --deep: #29231d;
  --accent: #9f7b52;
}

.theme-stay {
  --paper: #eef1e9;
  --soft: #d8dfd4;
  --deep: #20352f;
  --accent: #7a8d72;
}

.theme-wealth {
  --paper: #f4f1ea;
  --soft: #e3dfd2;
  --deep: #1c1d19;
  --accent: #b88746;
}

.theme-dtc {
  --paper: #fbf2ed;
  --soft: #f1d9d0;
  --deep: #533329;
  --accent: #b76450;
}

.theme-dental {
  --paper: #f1f6f6;
  --soft: #dce9ea;
  --deep: #24404a;
  --accent: #57818a;
}

@media (max-width: 880px) {
  .sample-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 44px;
  }

  .visual-system {
    min-height: 420px;
  }

  .proof-grid,
  .sample-grid {
    grid-template-columns: 1fr;
  }

  .flow-list li {
    grid-template-columns: 1fr;
  }
}

/* 2026 enterprise sample homepage system */
.sample-disclosure {
  margin: 0;
  padding: 10px max(18px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(18, 19, 15, 0.04);
  color: var(--muted);
  font-size: 13px;
}

.sample-hero.is-premium {
  grid-template-columns: minmax(0, 0.72fr) minmax(500px, 0.82fr);
  gap: clamp(42px, 6vw, 96px);
  min-height: calc(100svh - 82px);
  padding-top: 88px;
  padding-bottom: 88px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 72%), var(--paper);
}

.sample-hero.is-premium h1 {
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 860;
  line-height: 1.02;
}

.sample-lead-list {
  display: grid;
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
}

.sample-lead-list li {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.sample-lead-list span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sample-hero-visual {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: 0 28px 70px rgba(18, 19, 15, 0.14);
}

.sample-hero-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.sample-hero-visual figcaption {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  background: var(--line);
}

.sample-hero-visual figcaption span {
  min-height: 72px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  font-size: 13px;
  font-weight: 780;
  line-height: 1.35;
}

.sample-section-head {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(28px, 5vw, 72px);
  margin-bottom: 32px;
}

.sample-section-head h2 {
  margin: 0;
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.08;
}

.sample-section-head p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.decision-board {
  display: grid;
  border-top: 1px solid var(--line);
}

.decision-row {
  display: grid;
  grid-template-columns: minmax(140px, 0.24fr) minmax(210px, 0.34fr) minmax(0, 0.64fr);
  gap: 22px;
  min-height: 118px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.decision-row span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.decision-row strong {
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.08;
}

.decision-row p {
  margin: 0;
  color: var(--muted);
}

.sample-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 44px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--deep);
  color: var(--paper);
}

.sample-cta-panel p {
  margin: 8px 0 0;
  color: color-mix(in srgb, var(--paper) 72%, transparent);
}

.sample-cta-panel .button {
  border-color: color-mix(in srgb, var(--paper) 48%, transparent);
  color: var(--paper);
}

.dental-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: color-mix(in srgb, var(--soft) 58%, #fff 42%);
}

.dental-proof-grid article {
  min-height: 260px;
  padding: clamp(20px, 2.4vw, 30px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dental-proof-grid span,
.dental-search-strip strong {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dental-proof-grid strong {
  display: block;
  margin-top: 34px;
  font-size: clamp(23px, 2.3vw, 34px);
  line-height: 1.08;
}

.dental-proof-grid p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.dental-search-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.dental-search-strip strong {
  flex-basis: 100%;
}

.dental-search-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
}

.theme-franchise {
  --paper: #f5f2eb;
  --soft: #e5e0d5;
  --deep: #24231f;
  --accent: #9d4f3f;
}

.theme-labor {
  --paper: #f2f4f1;
  --soft: #dfe5e0;
  --deep: #182020;
  --accent: #5f7280;
}

.theme-realestate {
  --paper: #f3f1ea;
  --soft: #e2ddd0;
  --deep: #24211a;
  --accent: #9a7b45;
}

@media (max-width: 980px) {
  .sample-hero.is-premium {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .sample-section-head {
    grid-template-columns: 1fr;
  }

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

  .dental-proof-grid article {
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  .sample-disclosure {
    padding-right: 16px;
    padding-left: 16px;
  }

  .sample-hero.is-premium {
    padding: 56px 16px;
  }

  .sample-lead-list li,
  .decision-row,
  .sample-cta-panel {
    grid-template-columns: 1fr;
  }

  .dental-proof-grid {
    grid-template-columns: 1fr;
  }

  .dental-proof-grid article {
    min-height: 0;
  }

  .sample-hero-visual img {
    aspect-ratio: 4 / 3;
  }

  .sample-hero-visual figcaption {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .sample-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .sample-hero,
  .sample-section {
    padding: 42px 16px;
  }

  h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .visual-system {
    min-height: 340px;
  }

  .visual-card {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
}

/* 2026-06-29 industry-specific premium sample layer */
.sample-page {
  --industry-ui: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", sans-serif;
  --industry-display: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", sans-serif;
  font-family: var(--industry-ui);
}

.sample-page h1,
.sample-page h2 {
  font-family: var(--industry-display);
  letter-spacing: 0;
}

.sample-hero.is-premium {
  grid-template-columns: minmax(0, 0.7fr) minmax(480px, 0.78fr);
  min-height: min(860px, calc(100svh - 42px));
  padding-top: clamp(58px, 7vw, 86px);
  padding-bottom: clamp(58px, 7vw, 86px);
}

.sample-hero.is-premium h1 {
  max-width: 690px;
  font-size: clamp(40px, 4.3vw, 62px);
  font-weight: 740;
  line-height: 1.12;
}

.sample-hero.is-premium p:not(.eyebrow) {
  font-size: clamp(16px, 1.22vw, 19px);
  line-height: 1.76;
}

.sample-lead-list {
  max-width: 660px;
}

.sample-lead-list li {
  grid-template-columns: 96px minmax(0, 1fr);
  padding: 10px 0;
}

.sample-hero-visual {
  position: relative;
  border-radius: 8px;
  box-shadow: none;
}

.sample-hero-visual img {
  aspect-ratio: 16 / 9.6;
}

.sample-hero-visual figcaption span {
  min-height: 58px;
  font-size: 12px;
}

.theme-dental {
  --industry-ui: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", sans-serif;
  --industry-display: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", sans-serif;
  --paper: #eef6f6;
  --soft: #d9eaeb;
  --deep: #173943;
  --accent: #3f8391;
}

.theme-dental .sample-hero.is-premium {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.78), rgba(217, 234, 235, 0.46)),
    var(--paper);
}

.theme-dental .sample-hero-visual {
  background: #f9ffff;
}

.theme-dental .sample-hero-visual::before {
  content: "3D CT · 통증 관리 · 정기검진";
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 8px 10px;
  border: 1px solid rgba(63, 131, 145, 0.22);
  border-radius: 999px;
  background: rgba(249, 255, 255, 0.82);
  color: #24525b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.theme-dental .sample-hero-visual figcaption {
  background: rgba(63, 131, 145, 0.18);
}

.theme-dental .sample-hero-visual figcaption span,
.theme-dental .dental-proof-grid article {
  background: rgba(255, 255, 255, 0.82);
}

.theme-wealth {
  --industry-ui: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", sans-serif;
  --industry-display: "AppleMyungjo", "Nanum Myeongjo", "Times New Roman", serif;
  --paper: #f1eadc;
  --soft: #ded3bd;
  --deep: #161613;
  --accent: #9b7a45;
  font-variant-numeric: tabular-nums;
}

.theme-wealth .sample-hero.is-premium {
  background:
    linear-gradient(90deg, #181815 0 48%, #f1eadc 48% 100%);
  color: #f7f1e6;
}

.theme-wealth .sample-hero.is-premium p:not(.eyebrow),
.theme-wealth .sample-lead-list strong {
  color: rgba(247, 241, 230, 0.72);
}

.theme-wealth .sample-hero-visual {
  border-color: rgba(24, 24, 21, 0.2);
  background:
    linear-gradient(rgba(24, 24, 21, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 24, 21, 0.05) 1px, transparent 1px),
    #fff8ea;
  background-size: 42px 42px;
}

.theme-wealth .sample-hero-visual img {
  filter: saturate(0.86) contrast(1.02);
}

.theme-wealth .sample-hero-visual figcaption {
  grid-template-columns: 1.1fr 1fr 1fr;
  background: rgba(24, 24, 21, 0.16);
}

.theme-wealth .sample-hero-visual figcaption span {
  display: grid;
  align-content: center;
  background: rgba(255, 248, 234, 0.88);
  color: #181815;
  font-family: "AppleMyungjo", "Nanum Myeongjo", "Times New Roman", serif;
  font-weight: 700;
}

.theme-labor {
  --industry-ui: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", sans-serif;
  --industry-display: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", sans-serif;
  --paper: #eef2ef;
  --soft: #d7dfda;
  --deep: #111a1c;
  --accent: #607b8a;
}

.theme-labor .sample-hero.is-premium {
  background:
    linear-gradient(135deg, rgba(17, 26, 28, 0.96), rgba(45, 58, 59, 0.94)),
    #111a1c;
}

.theme-labor .sample-hero.is-premium h1,
.theme-labor .sample-hero.is-premium p:not(.eyebrow),
.theme-labor .sample-lead-list strong {
  color: #f6f3ec;
}

.theme-labor .sample-hero-visual {
  background: #f8faf8;
}

.theme-labor .sample-hero-visual::before {
  content: "INTAKE DESK";
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  padding: 8px 10px;
  border: 1px solid rgba(96, 123, 138, 0.26);
  border-radius: 8px;
  background: rgba(17, 26, 28, 0.82);
  color: #f6f3ec;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.theme-labor .sample-hero-visual figcaption {
  grid-template-columns: 0.9fr 1.15fr 0.95fr;
  background: rgba(17, 26, 28, 0.16);
}

.theme-labor .sample-hero-visual figcaption span {
  background: #f8faf8;
  color: #1a2528;
}

.theme-franchise {
  --industry-ui: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", sans-serif;
  --industry-display: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", sans-serif;
  --paper: #f2efe7;
  --soft: #e3ddd0;
  --deep: #1c1e1d;
  --accent: #8c5645;
}

.theme-franchise .sample-hero.is-premium {
  grid-template-columns: minmax(0, 0.62fr) minmax(520px, 0.9fr);
  background:
    linear-gradient(180deg, rgba(28, 30, 29, 0.05), transparent 42%),
    var(--paper);
}

.theme-franchise .sample-hero-visual {
  background: #fffaf0;
}

.theme-franchise .sample-hero-visual::before {
  content: "COST · TERRITORY · OPENING PIPELINE";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 16px;
  z-index: 2;
  min-height: 38px;
  padding: 10px 12px;
  border: 1px solid rgba(28, 30, 29, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.86);
  color: #1c1e1d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.theme-franchise .sample-hero-visual img {
  object-fit: contain;
  background: #fffaf0;
}

.theme-franchise .sample-hero-visual figcaption {
  background: rgba(28, 30, 29, 0.16);
}

.theme-franchise .sample-hero-visual figcaption span {
  background: #fffaf0;
  color: #1c1e1d;
}

@media (max-width: 980px) {
  .sample-hero.is-premium,
  .theme-franchise .sample-hero.is-premium {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .theme-wealth .sample-hero.is-premium,
  .theme-labor .sample-hero.is-premium {
    background: var(--paper);
    color: var(--ink);
  }

  .theme-wealth .sample-hero.is-premium p:not(.eyebrow),
  .theme-wealth .sample-lead-list strong,
  .theme-labor .sample-hero.is-premium h1,
  .theme-labor .sample-hero.is-premium p:not(.eyebrow),
  .theme-labor .sample-lead-list strong {
    color: var(--muted);
  }
}

@media (max-width: 640px) {
  .sample-hero.is-premium {
    padding: 40px 16px;
  }

  .sample-hero.is-premium h1 {
    font-size: clamp(32px, 9vw, 38px);
    line-height: 1.18;
  }

  .sample-lead-list {
    gap: 0;
    margin-top: 22px;
  }

  .sample-lead-list li {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 10px;
    padding: 9px 0;
  }

  .sample-lead-list span {
    font-size: 10px;
  }

  .sample-hero-visual img {
    aspect-ratio: 4 / 3;
  }

  .theme-franchise .sample-hero-visual img {
    aspect-ratio: 16 / 10;
  }

  .sample-hero-visual figcaption {
    grid-template-columns: 1fr;
  }

  .sample-hero-visual figcaption span {
    min-height: 44px;
  }
}

/* Hard containment for visual QA and narrow viewports */
.sample-hero-visual {
  min-width: 0;
  max-width: 100%;
  contain: layout paint;
}

.sample-hero-visual img {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
}

.sample-hero.is-premium > *,
.sample-section > * {
  min-width: 0;
}

/* 2026-06-29 QA correction: keep large sample artwork inside the viewport. */
.sample-hero,
.sample-hero.is-premium,
.sample-hero-visual {
  min-width: 0;
  max-width: 100%;
}

.sample-hero {
  overflow-x: hidden;
}

.sample-hero-visual img,
.theme-franchise .sample-hero-visual img,
.theme-wealth .sample-hero-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  inline-size: 100%;
  height: auto;
}
