/* Template stylesheet loaded from each domain folder root. */
:root { color-scheme: light; --page-bg:#f3f5f8; --panel-bg:#ffffff; --ink:#151922; --muted:#5f6775; --line:#dde3ea; --accent:#e8702a; --accent-deep:#cc5f20; --accent-soft:#fff1e8; --brand:#18253b; }
      * { box-sizing:border-box; }
      html { scroll-behavior:smooth; }
      body { margin:0; font-family:'Pretendard','Apple SD Gothic Neo','Noto Sans KR',sans-serif; color:var(--ink); background:radial-gradient(circle at top left, rgba(232,112,42,0.12) 0%, transparent 28%), linear-gradient(180deg, #f7f9fc 0%, var(--page-bg) 100%); }
      a { color:inherit; }
      .shell { width:min(1240px, calc(100% - 32px)); margin:0 auto; padding:28px 0 72px; }
      .frame { background:var(--panel-bg); border:1px solid var(--line); border-radius:30px; overflow:hidden; box-shadow:0 30px 80px rgba(24,37,59,0.08); }
      .topbar { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:18px 28px; border-bottom:1px solid var(--line); color:var(--muted); background:linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(247,249,252,0.88) 100%); }
      .brand { display:inline-flex; align-items:center; gap:10px; color:var(--brand); font-size:.95rem; font-weight:800; }
      .brand::before { content:''; width:10px; height:10px; border-radius:999px; background:var(--accent); box-shadow:0 0 0 8px rgba(232,112,42,0.12); }
      .content { padding:38px 28px 48px; }
      .eyebrow { display:inline-flex; align-items:center; padding:7px 13px; border-radius:999px; background:var(--accent-soft); color:var(--accent-deep); font-size:.86rem; font-weight:700; }
      h1 { margin:14px 0 10px; font-size:clamp(2.2rem, 4vw, 3.9rem); line-height:1.1; letter-spacing:-0.03em; }
      h2 { letter-spacing:-0.02em; }
      p { margin:0; color:var(--muted); line-height:1.78; font-size:1.02rem; }
      .stack { display:grid; gap:22px; }
      .section { margin-top:30px; padding-top:30px; border-top:1px solid var(--line); }
      .section h2 { margin:0 0 12px; font-size:1.42rem; color:var(--brand); }
      @media (max-width:720px) { .shell { width:min(100% - 18px, 1240px); padding:14px 0 32px; } .topbar,.content { padding-left:18px; padding-right:18px; } }

.page-footer {
  padding: 22px 28px 28px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.page-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
  text-align: center;
}

.page-navigator {
  display: grid;
  gap: 10px;
  padding: 18px 28px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
}

.page-navigator[hidden] {
  display: none;
}

.page-navigator__title {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.page-navigator__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.page-navigator__link {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.shell,
.frame,
.content,
.stack,
.csv-modules,
.csv-module,
.boxed-copy,
.plain-copy,
.hero-copy,
.button-row,
.image-block,
.page-navigator,
.page-footer {
  max-width: 100%;
}

.csv-modules,
.boxed-copy,
.plain-copy,
.hero-copy,
.wide-card,
.wide-card__copy,
.widecard2,
.widecard2__bottom,
.mini-card,
.lead-form,
.lead-form__row,
.faq-accordion,
.faq-accordion__summary,
.page-footer,
.page-navigator {
  min-width: 0;
}

.csv-modules h1,
.csv-modules h2,
.csv-modules h3,
.csv-modules p,
.csv-modules a,
.csv-modules strong,
.page-footer p,
.page-navigator__link {
  overflow-wrap: anywhere;
}

.csv-modules {
    display: grid;
    gap: 26px;
    font-family: 'Gmarket Sans', 'SUIT', 'Pretendard', 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif;
    font-size: 15px;
    color: #111827;
  }

  .csv-module {
    display: grid;
    justify-items: center;
  }

  .hero-copy,
  .plain-copy,
  .boxed-copy,
  .button-row,
  .image-block {
    width: min(1040px, 100%);
    text-align: left;
  }

  .hero-copy {
    display: grid;
    gap: 10px;
    padding: 28px 0 18px;
  }

  .hero-copy__eyebrow {
    display: inline-flex;
    justify-self: start;
    padding: 6px 12px;
    border-radius: 6px;
    background: #eef2ff;
    color: #1f3c88;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
  }

  .hero-copy h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.2;
    color: #0f172a;
  }

  .hero-copy__title {
    margin: 0;
    font-size: clamp(1.05rem, 1.7vw, 1.3rem);
    line-height: 1.65;
    color: #1d4ed8;
    font-weight: 700;
  }

  .hero-copy__sub {
    margin: 0;
    max-width: 780px;
    color: #475569;
    line-height: 1.7;
  }

  .plain-copy {
    display: grid;
    gap: 8px;
    padding: 6px 0;
  }

  .plain-copy h2,
  .boxed-copy h2,
  .wide-card__copy h2,
  .boxed-copy h3 {
    margin: 0;
    color: #0f172a;
    letter-spacing: -0.02em;
  }

  .plain-copy p,
  .boxed-copy p,
  .wide-card__copy p,
  .mini-card span {
    margin: 0;
    color: #475569;
    line-height: 1.75;
  }

  .boxed-copy {
    display: grid;
    gap: 12px;
    padding: 22px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    box-shadow: none;
  }

  .boxed-copy--faq {
    background: #f1f5f9;
  }

  .boxed-copy__lead {
    max-width: 760px;
    margin: 0;
  }

  .button-row {
    display: flex;
    justify-content: center;
    width: min(1040px, 100%);
  }

  .ui-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 96px;
    padding: 0 48px;
    border-radius: 6px;
    border: 1px solid #1d4ed8;
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(29, 78, 216, 0.32);
    font-size: 1.35rem;
    letter-spacing: 0.01em;
  }

  .ui-button--ghost {
    background: #ffffff;
    color: #1d4ed8;
    border: 1px solid #c7d2fe;
    box-shadow: none;
  }

  .button-row--wide {
    justify-content: center;
  }

  .button-row--subtle {
    justify-content: center;
  }

  .ui-button--wide {
    width: min(960px, 100%);
    min-height: 122px;
    font-size: 1.6rem;
    font-weight: 900;
    border-radius: 10px;
    border: 0;
    background: linear-gradient(90deg, #166534 0%, #15803d 40%, #0f766e 100%);
    color: #ffffff;
    box-shadow:
      0 24px 52px rgba(21, 128, 61, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
    letter-spacing: 0.03em;
  }

  .ui-button--subtle {
    min-height: 56px;
    padding: 0 26px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #f1f5f9;
    color: #1f2937;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: none;
  }

  .image-block img,
  .wide-card img,
  .mini-card img {
    display: block;
    width: 100%;
    object-fit: cover;
  }

  .image-block img {
    margin-inline: auto;
    max-width: 940px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
  }

  .csv-module--spacer {
    min-height: var(--spacer-height, 50px);
  }

  .lead-form__intro {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
    text-align: center;
  }

  .lead-form__intro h2 {
    margin: 0;
  }

  .lead-form__intro p {
    margin: 0;
    color: #475569;
  }

  .lead-form {
    display: grid;
    gap: 14px;
    text-align: left;
  }

  .lead-form__grid--simple {
    display: grid;
    gap: 8px;
  }

  .lead-form__row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    text-align: left;
  }

  .lead-form__label {
    color: #1f2937;
    font-weight: 700;
  }

  .lead-form__required {
    margin-right: 4px;
    color: #e11d48;
    font-weight: 800;
  }

  .lead-form input,
  .lead-form textarea {
    width: 100%;
    padding: 12px 14px;
    box-sizing: border-box;
    border: 1px solid #cbd5f5;
    border-radius: 6px;
    background: #ffffff;
    color: #111827;
    font: inherit;
    text-align: left;
  }

  .lead-form__agree {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
  }

  .lead-form__agree-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #1f2937;
  }

  .lead-form__agree-check input {
    width: auto;
  }

  .lead-form__actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
  }

  .lead-form__turnstile {
    display: flex;
    justify-content: flex-start;
    margin-top: 4px;
    min-height: 66px;
  }

  .lead-form__status {
    margin: 0;
    min-height: 24px;
    text-align: left;
    font-size: 0.92rem;
    font-weight: 700;
    color: #475569;
  }

  .lead-form__status[data-state='success'] {
    color: #15803d;
  }

  .lead-form__status[data-state='error'] {
    color: #b91c1c;
  }

  .lead-form__terms {
    color: #1d4ed8;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
  }

  .lead-form__honeypot,
  .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;
  }

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

  .gallery-grid--single {
    grid-template-columns: minmax(0, 1fr);
    width: min(360px, 100%);
    margin: 0;
  }

  .mini-card {
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 12px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
    text-align: left;
  }

  .mini-card img {
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
  }

  .mini-card strong {
    color: #0f172a;
    font-size: 0.95rem;
  }

  .wide-card {
    display: grid;
    grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    text-decoration: none;
    color: inherit;
  }

  .wide-card img {
    aspect-ratio: 16 / 8;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
  }

  .wide-card__copy {
    display: grid;
    gap: 8px;
    text-align: left;
  }

  .widecard2 {
    display: grid;
    gap: 12px;
    text-align: left;
  }

  .widecard2__title {
    margin: 0;
    padding: 8px 12px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #1f2937;
  }

  .widecard2 h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #0f172a;
    letter-spacing: -0.01em;
  }

  .widecard2__bottom {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
    gap: 16px;
    align-items: center;
  }

  .widecard2__bottom p {
    margin: 0;
    color: #475569;
    line-height: 1.7;
  }

  .widecard2__button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    letter-spacing: 0.02em;
  }

  .csv-modules--template2 .hero-copy::after {
    content: '';
    justify-self: start;
    width: 120px;
    height: 2px;
    background: #1d4ed8;
  }

  @media (max-width: 980px) {
    .gallery-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wide-card {
      grid-template-columns: 1fr;
    }

    .lead-form__row {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 720px) {
    .shell {
      width: 100%;
      padding: 0;
    }

    .frame {
      border-left: 0;
      border-right: 0;
      border-radius: 0;
    }

    .content,
    .page-navigator,
    .page-footer {
      padding-left: 14px;
      padding-right: 14px;
    }

    .ui-button,
    .ui-button--wide,
    .ui-button--subtle {
      width: 100%;
      max-width: 100%;
      min-width: 0;
      padding-left: 16px;
      padding-right: 16px;
      white-space: normal;
      text-align: center;
    }

    .boxed-copy {
      padding: 18px 16px;
      border-radius: 8px;
    }

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

    .image-block img {
      border-radius: 8px;
    }

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

    .widecard2__button {
      width: 100%;
    }
  }

  .faq-accordion {
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(22, 32, 45, 0.12);
    box-shadow: 0 14px 34px rgba(22, 32, 45, 0.07);
  }

  .faq-accordion__summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    cursor: pointer;
    list-style: none;
  }

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

  .faq-accordion__summary::after {
    content: '+';
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(22, 32, 45, 0.08);
    color: #16202d;
    font-weight: 900;
    line-height: 1;
  }

  .faq-accordion[open] .faq-accordion__summary::after {
    content: '-';
  }

  .faq-accordion__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    padding: 7px 10px;
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent-deep);
    font-size: 0.82rem;
    font-weight: 900;
  }

  .faq-accordion h3 {
    margin: 0;
    color: #16202d;
    font-size: 1.08rem;
    line-height: 1.45;
    letter-spacing: -0.02em;
  }

  .faq-accordion__answer {
    margin: 0;
    padding: 0 22px 22px 94px;
    color: #4f5b6d;
    line-height: 1.85;
  }

  @media (max-width: 720px) {
    .faq-accordion__summary {
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
      padding: 18px;
    }

    .faq-accordion__badge {
      grid-column: 1 / -1;
      justify-self: start;
    }

    .faq-accordion__answer {
      padding: 0 18px 18px;
    }
  }

