/* ==========================================================================
   LearnToday New Structure
   대상별 진입, 제품 카테고리, 사례, 참여, 분기형 폼 공통 스타일
   ========================================================================== */

:root {
  --lt-ink: #0f172a;
  --lt-muted: #475569;
  --lt-soft: #64748b;
  --lt-line: #dbe3ef;
  --lt-line-strong: #c8d4e4;
  --lt-paper: #f8fafc;
  --lt-paper-strong: #eef4fb;
  --lt-panel: #ffffff;
  --lt-primary: var(--changho-accent, #1a365d);
  --lt-primary-strong: #10233f;
  --lt-focus: #2563eb;
  --lt-success: #047857;
}

.lt-page {
  background: var(--lt-paper);
  color: var(--lt-ink);
  font-family: var(--font-sans, "Noto Sans KR"), -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.lt-main {
  min-height: 100vh;
}

.lt-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.lt-hero {
  padding: 132px 0 72px;
  background: linear-gradient(180deg, #ffffff 0%, var(--lt-paper) 100%);
  border-bottom: 1px solid var(--lt-line);
}

.lt-hero--compact {
  padding-bottom: 56px;
}

.lt-start-hero {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.98) 100%),
    radial-gradient(900px 420px at 20% 0%, rgba(26, 54, 93, 0.10), transparent 70%),
    radial-gradient(780px 360px at 86% 14%, rgba(37, 99, 235, 0.09), transparent 70%);
}

.lt-hero-copy {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}

.lt-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--lt-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--lt-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lt-hero h1,
.lt-section-title {
  font-family: var(--font-serif, "Noto Serif KR"), "Noto Sans KR", serif;
  letter-spacing: 0;
  word-break: keep-all;
}

.lt-hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(2rem, 4.4vw, 3.45rem);
  line-height: 1.26;
  color: var(--lt-ink);
}

.lt-hero p {
  margin: 0 auto;
  max-width: 760px;
  color: var(--lt-muted);
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  line-height: 1.8;
  word-break: keep-all;
}

.lt-hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.lt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

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

.lt-btn-primary {
  background: var(--lt-primary);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(26, 54, 93, 0.16);
}

.lt-btn-primary:hover {
  background: var(--lt-primary-strong);
  color: #ffffff;
}

.lt-btn-secondary {
  background: #ffffff;
  color: var(--lt-primary);
  border-color: var(--lt-line-strong);
}

.lt-btn-secondary:hover {
  border-color: var(--lt-primary);
}

.lt-btn-text {
  background: transparent;
  color: var(--lt-primary);
  padding-inline: 8px;
}

.lt-section {
  padding: 78px 0;
  background: #ffffff;
}

.lt-section-alt {
  background: var(--lt-paper);
}

.lt-home-summary {
  padding: 64px 0 68px;
  border-top: 1px solid rgba(26, 54, 93, 0.08);
}

.lt-section-header {
  max-width: 760px;
  margin: 0 0 34px;
}

.lt-section-header--center {
  margin-inline: auto;
  text-align: center;
}

.lt-section-title {
  margin: 10px 0 10px;
  color: var(--lt-ink);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.34;
}

.lt-section-desc {
  margin: 0;
  color: var(--lt-muted);
  font-size: 1rem;
  line-height: 1.75;
  word-break: keep-all;
}

.lt-grid {
  display: grid;
  gap: 18px;
}

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

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

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

.lt-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--lt-line);
  border-radius: 8px;
  background: var(--lt-panel);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.035);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.lt-card:hover {
  border-color: var(--lt-line-strong);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.lt-card-kicker {
  color: var(--lt-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.lt-card h2,
.lt-card h3 {
  margin: 0;
  color: var(--lt-ink);
  font-size: 1.18rem;
  line-height: 1.42;
  letter-spacing: 0;
  word-break: keep-all;
}

.lt-card p {
  margin: 0;
  color: var(--lt-muted);
  font-size: 0.94rem;
  line-height: 1.7;
  word-break: keep-all;
}

.lt-card-actions {
  margin-top: auto;
  padding-top: 6px;
}

.lt-home-summary-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.lt-card-link {
  display: inline-flex;
  align-items: center;
  color: var(--lt-primary);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.lt-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.lt-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid var(--lt-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--lt-soft);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
}

.lt-mini-proof {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.lt-mini-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid var(--lt-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--lt-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.lt-start-proof {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.lt-start-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--lt-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--lt-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.lt-segment-grid {
  margin-top: 42px;
}

.lt-segment-card {
  min-height: 260px;
}

.lt-segment-card h2 {
  font-size: 1.26rem;
}

.lt-step-list {
  counter-reset: lt-step;
}

.lt-step-card {
  position: relative;
}

.lt-step-card::before {
  counter-increment: lt-step;
  content: counter(lt-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--lt-primary);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 900;
}

.lt-product-logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.lt-product-logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid var(--lt-line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--lt-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.lt-product-logo img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.lt-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}

.lt-filter-btn {
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--lt-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--lt-muted);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.lt-filter-btn.is-active {
  border-color: var(--lt-primary);
  background: var(--lt-primary);
  color: #ffffff;
}

.lt-empty-state {
  padding: 36px;
  border: 1px dashed var(--lt-line-strong);
  border-radius: 8px;
  background: #ffffff;
  color: var(--lt-muted);
  text-align: center;
}

.lt-cta-band {
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: var(--lt-primary);
  color: #ffffff;
}

.lt-cta-band h2 {
  margin: 0 0 10px;
  font-family: var(--font-serif, "Noto Serif KR"), "Noto Sans KR", serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.36;
  letter-spacing: 0;
  color: #ffffff;
}

.lt-cta-band p {
  margin: 0 0 22px;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.7;
}

.lt-cta-band .lt-btn-primary {
  background: #ffffff;
  color: var(--lt-primary);
  box-shadow: none;
}

.lt-cta-band .lt-btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.42);
}

.lt-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.lt-start-layout {
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
}

.lt-side-panel {
  position: sticky;
  top: 104px;
  padding: 24px;
  border: 1px solid var(--lt-line);
  border-radius: 8px;
  background: #ffffff;
}

.lt-start-panel {
  border-color: rgba(26, 54, 93, 0.18);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.lt-side-panel h2 {
  margin: 0 0 10px;
  color: var(--lt-ink);
  font-size: 1.18rem;
}

.lt-side-panel p {
  margin: 0;
  color: var(--lt-muted);
  line-height: 1.7;
}

.lt-start-panel-note {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--lt-paper);
  color: var(--lt-soft);
  font-size: 0.84rem;
  font-weight: 700;
}

.lt-choice-grid {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.lt-choice-btn {
  position: relative;
  width: 100%;
  padding: 17px 42px 17px 16px;
  border: 1px solid var(--lt-line);
  border-radius: 8px;
  background: #ffffff;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.lt-choice-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  opacity: 0.38;
}

.lt-choice-btn:hover {
  border-color: var(--lt-line-strong);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

.lt-choice-btn strong {
  display: block;
  margin-bottom: 4px;
  color: var(--lt-ink);
  font-size: 0.98rem;
}

.lt-choice-btn span {
  display: block;
  color: var(--lt-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.lt-choice-btn.is-active {
  border-color: var(--lt-primary);
  box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.10);
}

.lt-choice-btn.is-active::after {
  opacity: 1;
}

.lt-form-shell {
  padding: 28px;
  border: 1px solid var(--lt-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.lt-form-header {
  margin-bottom: 22px;
}

.lt-form-header h2 {
  margin: 0 0 8px;
  color: var(--lt-ink);
  font-size: 1.35rem;
}

.lt-form-header p {
  margin: 0;
  color: var(--lt-muted);
  line-height: 1.65;
}

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

.lt-form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.lt-form-field--full {
  grid-column: 1 / -1;
}

.lt-form-field label,
.lt-checkbox-label {
  color: var(--lt-ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.lt-form-field input,
.lt-form-field select,
.lt-form-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--lt-line-strong);
  border-radius: 8px;
  background: #ffffff;
  color: var(--lt-ink);
  font: inherit;
  font-size: 0.94rem;
}

.lt-form-field textarea {
  min-height: 118px;
  resize: vertical;
}

.lt-form-field input:focus,
.lt-form-field select:focus,
.lt-form-field textarea:focus,
.lt-choice-btn:focus,
.lt-filter-btn:focus {
  outline: 3px solid rgba(37, 99, 235, 0.18);
  border-color: var(--lt-focus);
}

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

.lt-checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-height: 40px;
  padding: 10px;
  border: 1px solid var(--lt-line);
  border-radius: 8px;
  background: var(--lt-paper);
  color: var(--lt-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.lt-checkbox-item input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex: 0 0 auto;
}

.lt-form-note {
  margin: 16px 0 0;
  color: var(--lt-soft);
  font-size: 0.84rem;
  line-height: 1.6;
}

.lt-form-status {
  margin-top: 16px;
  color: var(--lt-primary);
  font-weight: 800;
}

.lt-form-status.is-error {
  color: #b91c1c;
}

.lt-footer-lite {
  padding: 36px 0;
  border-top: 1px solid var(--lt-line);
  background: #ffffff;
}

.lt-footer-lite .lt-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--lt-soft);
  font-size: 0.86rem;
}

.lt-footer-lite a {
  color: var(--lt-muted);
  text-decoration: none;
  font-weight: 700;
}

.lt-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

  .lt-split {
    grid-template-columns: 1fr;
  }

  .lt-side-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .lt-container {
    width: min(100% - 28px, 1180px);
  }

  .lt-hero {
    padding: 104px 0 48px;
  }

  .lt-section {
    padding: 56px 0;
  }

  .lt-grid-2,
  .lt-grid-3,
  .lt-grid-4 {
    grid-template-columns: 1fr;
  }

  .lt-segment-grid {
    margin-top: 34px;
  }

  .lt-card {
    padding: 20px;
  }

  .lt-segment-card {
    min-height: auto;
  }

  .lt-form-grid,
  .lt-checkbox-grid {
    grid-template-columns: 1fr;
  }

  .lt-cta-band {
    padding: 28px 20px;
  }

  .lt-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .lt-home-summary-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .lt-btn {
    width: 100%;
  }
}

@media (min-width: 520px) and (max-width: 720px) {
  .lt-segment-grid,
  .lt-home-summary .lt-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
