:root {
  --brand: #70c3fc;
  --brand-dark: #99daff;
  --brand-soft: #e9f5fe;
  --text: #191f28;
  --text-sub: #4e5968;
  --text-light: #8b95a1;
  --line: #e5e8eb;
  --bg-gray: #fafbfc;
  --bg-gray-2: #f4f6f8;
  --footer: #1f2937;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.08);
  --max-w: 1200px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    "Pretendard",
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    Roboto,
    sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ============== NAV ============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo {
  font-weight: 900;
  font-size: 26px;
  color: var(--brand);
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-tag {
  font-size: 12px;
  color: var(--brand);
  font-weight: 600;
  opacity: 0.85;
}
.menu {
  display: flex;
  gap: 36px;
  align-items: center;
}
.menu a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-sub);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.menu a:hover {
  color: var(--text);
}
.menu a.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
  font-weight: 700;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-right .login {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-sub);
}
.nav-right .login:hover {
  color: var(--text);
}
.btn-signup {
  background: var(--brand);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s;
}
.btn-signup:hover {
  background: var(--brand-dark);
}

.menu-toggle {
  display: none;
  font-size: 24px;
  color: var(--text);
}

/* ============== PAGE BASE ============== */
.page {
  display: none;
}
.page.active {
  display: block;
}
.section {
  padding: 140px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-tight {
  padding: 80px 32px;
}
.section-bg {
  background: var(--bg-gray);
}
.section-bg-2 {
  background: var(--bg-gray-2);
}
.bg-wrap {
  width: 100%;
}

/* ============== HERO (HOME) ============== */
.hero {
  text-align: center;
  padding: 160px 32px 120px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero h1 {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 32px;
}
.hero .sub {
  font-size: 20px;
  color: var(--text-sub);
  margin-bottom: 48px;
  font-weight: 500;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  padding: 18px 40px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  transition:
    transform 0.15s,
    box-shadow 0.2s,
    background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(112, 195, 252, 0.35);
}
.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(112, 195, 252, 0.45);
}

/* dashboard mockup */
.dash {
  margin: 88px auto 0;
  max-width: 880px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  border: 1px solid var(--line);
}
.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.dash-title {
  font-size: 18px;
  font-weight: 800;
}
.dash-pill {
  font-size: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
}
.dash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.dash-stat {
  background: var(--bg-gray);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.dash-stat .label {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 6px;
}
.dash-stat .val {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.dash-charts {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}
.dash-bars {
  background: var(--bg-gray);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 160px;
  gap: 8px;
}
.dash-bar {
  flex: 1;
  background: var(--brand);
  border-radius: 6px 6px 0 0;
  opacity: 0.85;
}
.dash-donut {
  background: var(--bg-gray);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.donut {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: conic-gradient(var(--brand) 0 65%, var(--brand-soft) 65% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.donut::before {
  content: "";
  position: absolute;
  inset: 14px;
  background: var(--bg-gray);
  border-radius: 50%;
}
.donut-label {
  position: relative;
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
}

/* ============== FEATURE ============== */
.feature {
  padding: 160px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.feature h2 {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 20px;
}
.feature p {
  font-size: 18px;
  color: var(--text-sub);
  font-weight: 500;
}

.placeholder-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.placeholder {
  aspect-ratio: 1/1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  padding: 20px;
}
.placeholder.alt {
  background: var(--bg-gray-2);
}

/* ============== PRICING TITLE  ============== */
.pricing-title {
  text-align: center;
  padding: 120px 32px 60px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.pricing-title h2 {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.pricing-title p {
  font-size: 18px;
  color: var(--text-sub);
}

/* ============== FOOTER ============== */
.footer {
  background: var(--footer);
  color: #fff;
  padding: 64px 32px 48px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-brand .logo {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
}
.footer-brand .tag {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}
.footer-brand .tag a {
  text-decoration: none;
  color: inherit;
  transition: color 0.15s;
}
.footer-brand .tag a:hover {
  color: rgba(255, 255, 255, 0.9);
}
.footer-info {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.9;
}
.footer-info div + div {
  margin-top: 2px;
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* ============== FAQ PAGE (TASK-557) ============== */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 32px 120px;
}
.faq-group {
  font-size: 15px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.04em;
  margin: 0 0 14px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  position: relative;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-light);
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-answer {
  padding: 0 24px 22px;
  border-top: 1px solid var(--line);
}
.faq-answer p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-sub);
  margin: 16px 0 0;
}
.faq-answer .faq-note {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 8px;
}
.faq-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: #1677c7;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.faq-btn:hover {
  background: #d8edfd;
}
@media (max-width: 600px) {
  .faq-wrap {
    padding: 0 20px 80px;
  }
  .faq-item summary {
    font-size: 15px;
    padding: 16px 48px 16px 18px;
  }
}

/* ============== ABOUT PAGE ============== */
.page-header {
  text-align: center;
  padding: 140px 32px 80px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.page-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.15em;
  background: var(--brand-soft);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.page-header h1 {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 20px;
}
.page-header p {
  font-size: 18px;
  color: var(--text-sub);
}

.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 120px 32px;
}
.about-section h2 {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin: 12px 0 18px;
}
.about-section .small-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.15em;
}
.about-section p {
  font-size: 17px;
  color: var(--text-sub);
  line-height: 1.7;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-w);
  margin: 60px auto 0;
  padding: 0 32px;
}
.guide-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 28px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.guide-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 18px;
}
.guide-card h3 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 10px;
}
.guide-card p {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.6;
}

.company-minimal {
  text-align: center;
  padding: 120px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.company-minimal .label {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.15em;
  margin-bottom: 32px;
}
.company-minimal .line {
  font-size: 15px;
  color: var(--text);
  margin: 8px 0;
  font-weight: 600;
}

/* ============== NOTICE ============== */
.notice-list {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 32px 80px;
}
.notice-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.notice-row:hover {
  background: var(--bg-gray);
}
.notice-cat {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  background: var(--brand-soft);
  color: var(--brand);
  padding: 6px 12px;
  border-radius: 999px;
  min-width: 78px;
  text-align: center;
}
.notice-cat.maint {
  background: #fff1e0;
  color: #e67e00;
}
.notice-cat.event {
  background: #ffe5ef;
  color: #e0407a;
}
.notice-cat.etc {
  background: #eef1f5;
  color: var(--text-sub);
}
.notice-title {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.notice-date {
  font-size: 13px;
  color: var(--text-light);
  flex-shrink: 0;
}

/* ============== AUTH (LOGIN / SIGNUP) ============== */
.auth-wrap {
  min-height: calc(100vh - 280px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 32px;
}
.auth-card {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 36px 32px;
}
.auth-tab {
  display: flex;
  gap: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.auth-tab a {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.auth-tab a.on {
  color: var(--brand);
  border-bottom-color: var(--brand);
}
.auth-card .field {
  margin-bottom: 16px;
}
.auth-card .field input {
  padding: 12px 14px;
  font-size: 14px;
}
.auth-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 18px;
}
.auth-row .link {
  color: var(--text-light);
}
.auth-row .link:hover {
  color: var(--brand);
}
.auth-row label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.auth-card .btn-submit {
  padding: 14px;
  font-size: 14px;
}
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  font-size: 12px;
  color: var(--text-light);
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.social {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.social button {
  width: 100%;
  padding: 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition:
    background 0.2s,
    border-color 0.2s;
}
.social button:hover {
  background: var(--bg-gray);
  border-color: var(--text-light);
}
.auth-bottom {
  text-align: center;
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 8px;
}
.auth-bottom a {
  color: var(--brand);
  font-weight: 700;
  margin-left: 6px;
}
.terms {
  margin: 8px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.terms label {
  font-size: 12px;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.terms label .req {
  color: var(--brand);
  font-weight: 700;
}

/* ============== MODAL ============== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s;
}
.modal-backdrop.show {
  display: flex;
  opacity: 1;
}
.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.modal.wide {
  max-width: 560px;
}
.modal-backdrop.show .modal {
  transform: translateY(0) scale(1);
}
.modal-head {
  padding: 28px 32px 20px;
  position: sticky;
  top: 0;
  background: #fff;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  z-index: 1;
}
.modal-head h3 {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
  padding-right: 36px;
  line-height: 1.3;
}
.modal-head p {
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 6px;
}
.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-gray);
  color: var(--text-sub);
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.15s,
    color 0.15s;
}
.modal-close:hover {
  background: var(--brand-soft);
  color: var(--brand);
}
.modal-body {
  padding: 0 32px 28px;
}
.modal-foot {
  padding: 20px 32px 28px;
  display: flex;
  gap: 10px;
}
.modal-foot .btn-cancel {
  flex: 1;
  padding: 14px;
  border-radius: 999px;
  background: var(--bg-gray);
  color: var(--text-sub);
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s;
}
.modal-foot .btn-cancel:hover {
  background: var(--bg-gray-2);
}
.modal-foot .btn-primary-sm {
  flex: 1;
  padding: 14px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  transition: background 0.2s;
}
.modal-foot .btn-primary-sm:hover {
  background: var(--brand-dark);
}
.modal-foot .btn-primary-sm.full {
  flex: 1;
}
.modal-foot.single .btn-primary-sm {
  flex: 1;
}
.modal .field {
  margin-bottom: 14px;
}
.modal .field input,
.modal .field select,
.modal .field textarea {
  padding: 12px 14px;
  font-size: 14px;
}
.modal .field textarea {
  min-height: 90px;
}
.modal .field label {
  font-size: 12px;
  margin-bottom: 6px;
}
.modal .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.modal .row-2 .field {
  margin-bottom: 0;
}

/* terms modal */
.terms-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.terms-tabs button {
  flex: 1;
  padding: 12px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.terms-tabs button.on {
  color: var(--brand);
  border-bottom-color: var(--brand);
}
.terms-content {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.75;
  max-height: 380px;
  overflow-y: auto;
  padding: 0 4px 12px 0;
}
.terms-content h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin: 16px 0 8px;
}
.terms-content h4:first-child {
  margin-top: 0;
}
.terms-content p {
  margin-bottom: 10px;
}
.terms-content ul {
  padding-left: 20px;
  margin-bottom: 10px;
}
.terms-content li {
  margin-bottom: 4px;
}
.terms-pane {
  display: none;
}
.terms-pane.on {
  display: block;
}

.terms label .view-link {
  margin-left: auto;
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  background: transparent;
  padding: 2px 6px;
}
.terms label .view-link:hover {
  text-decoration: underline;
}
.terms label {
  justify-content: space-between;
}
.terms label > span:first-of-type {
  flex: 1;
}

.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text);
  color: #fff;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s,
    transform 0.25s;
  z-index: 200;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 600px) {
  .modal {
    max-width: 100%;
    border-radius: var(--radius);
  }
  .modal-head,
  .modal-body,
  .modal-foot {
    padding-left: 22px;
    padding-right: 22px;
  }
  .modal .row-2 {
    grid-template-columns: 1fr;
  }
}

/* ============== RESPONSIVE ============== */
@media (max-width: 980px) {
  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
  }
  .menu.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .nav-right .login {
    display: none;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero .sub {
    font-size: 16px;
  }
  .feature {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 100px 32px;
  }
  .feature h2 {
    font-size: 32px;
  }
  .about-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 80px 32px;
  }
  .guide-grid {
    grid-template-columns: 1fr 1fr;
    padding: 0 32px;
    gap: 16px;
  }
  .page-header h1 {
    font-size: 38px;
  }
  .dash {
    padding: 20px;
  }
  .dash-grid,
  .dash-charts {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .nav-inner {
    padding: 14px 20px;
  }
  .hero {
    padding: 100px 24px 80px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .section {
    padding: 80px 24px;
  }
  .guide-grid {
    grid-template-columns: 1fr;
    padding: 0 24px;
  }
  .feature {
    padding: 80px 24px;
  }
  .feature h2 {
    font-size: 26px;
  }
  .pricing-title h2,
  .pricing-title h2,
  .page-header h1 {
    font-size: 30px;
  }
  .auth-card {
    padding: 28px 22px;
  }
  .about-section h2 {
    font-size: 28px;
  }
}

/* =====================================================================
   TASK-593 랜딩 다시 만들기 — 실제 화면 · 사용 가이드 · 공지 · 자주 묻는 질문(API) · 도입 문의
   ===================================================================== */
.menu .menu-inquiry {
  color: var(--brand);
  font-weight: 700;
}
.hero-v2 {
  padding: 120px 32px 100px;
}
.hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #0e6aaa;
  background: var(--brand-soft);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.hero-v2 h1 .accent {
  color: var(--brand);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}
.hero-actions.left {
  justify-content: flex-start;
  margin-top: 28px;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 17px 32px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--text);
  transition:
    border-color 0.2s,
    transform 0.15s;
}
.btn-ghost:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}
.btn-link {
  font-size: 15px;
  font-weight: 600;
  color: #0e6aaa;
  padding: 8px 6px;
}
.btn-link:hover {
  text-decoration: underline;
}

/* 실제 화면 틀(브라우저 · 휴대폰) */
.shot {
  display: block;
  width: 100%;
  height: auto;
}
.frame-browser {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  background: var(--bg-gray-2);
  border-bottom: 1px solid var(--line);
}
.frame-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d9dde3;
}
.frame-bar span {
  margin-left: 10px;
  font-size: 12px;
  color: var(--text-light);
  background: #fff;
  border-radius: 6px;
  padding: 3px 12px;
}
.frame-phone {
  width: 100%;
  max-width: 280px;
  border-radius: 36px;
  padding: 10px;
  background: #1f2329;
  box-shadow: var(--shadow-lg);
}
.frame-phone .shot {
  border-radius: 28px;
}
.phones {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: flex-start;
}
.phones .frame-phone:nth-child(2) {
  margin-top: 56px;
}

.hero-visual {
  position: relative;
  margin: 72px auto 0;
  max-width: 1080px;
  padding-right: 120px;
}
.hero-phone {
  position: absolute;
  right: 0;
  bottom: -40px;
  width: 230px;
}

/* 이런 문제를 풉니다 */
.pain {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 100px 32px;
  text-align: center;
}
.pain h2 {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pain-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}
.pain-card b {
  font-size: 18px;
  color: #0e6aaa;
}
.pain-card span {
  font-size: 14.5px;
  color: var(--text-sub);
  line-height: 1.6;
}

/* 기능 = 글 5 : 화면 7 */
.feature {
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  padding: 120px 32px;
}
.feature.reverse {
  grid-template-columns: 7fr 5fr;
}
.feature-points {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-points li {
  position: relative;
  padding-left: 26px;
  font-size: 15.5px;
  color: var(--text-sub);
}
.feature-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 900;
}

/* 이런 분들이 */
.who {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 110px 32px;
  text-align: center;
}
.who h2 {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 44px;
}
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}
.who-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}
.who-icon {
  font-size: 34px;
  margin-bottom: 14px;
}
.who-card b {
  display: block;
  font-size: 19px;
  margin-bottom: 10px;
}
.who-card p {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.65;
}

/* 마지막 가입 띠 */
.cta-band {
  text-align: center;
  padding: 110px 32px 120px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.cta-band h2 {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.cta-band p {
  font-size: 17px;
  color: var(--text-sub);
  margin-bottom: 36px;
}

/* 사용 가이드 */
.guide-toc {
  position: sticky;
  top: 72px;
  z-index: 5;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.guide-toc-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
}
.guide-toc-item span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.guide-toc-item:hover {
  border-color: var(--brand);
  color: var(--text);
}
.guide-steps {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 32px 40px;
}
.guide-step {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 140px;
}
.guide-step.reverse {
  grid-template-columns: 8fr 4fr;
}
.guide-step.reverse .guide-text {
  order: 2;
}
.guide-step-num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--brand);
  margin-bottom: 14px;
}
.guide-text h2 {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.guide-points {
  list-style: none;
  counter-reset: guide;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.guide-points li {
  counter-increment: guide;
  position: relative;
  padding-left: 34px;
  font-size: 15.5px;
  color: var(--text-sub);
  line-height: 1.65;
}
.guide-points li::before {
  content: counter(guide);
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: #0e6aaa;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.guide-points b {
  color: var(--text);
}
.guide-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  padding: 0 32px;
}

/* 공지 = 줄을 누르면 본문 펼침 */
.notice-item summary {
  list-style: none;
}
.notice-item summary::-webkit-details-marker {
  display: none;
}
.notice-item[open] .notice-row {
  background: var(--bg-gray);
}
.notice-body {
  padding: 20px 24px 28px 110px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-sub);
  border-bottom: 1px solid var(--line);
}
.notice-body a,
.faq-answer a {
  color: #0e6aaa;
  text-decoration: underline;
}
.content-loading,
.content-empty {
  text-align: center;
  padding: 60px 0;
  color: var(--text-light);
}

/* 자주 묻는 질문 분류 칩 · 맨 아래 문의 */
.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.faq-tabs button {
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-sub);
  background: #fff;
}
.faq-tabs button.on {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: #0e6aaa;
}
.faq-more {
  margin-top: 48px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg-gray);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.faq-more p {
  font-size: 16px;
  font-weight: 700;
}
.footer-links {
  margin-top: 6px;
}

@media (max-width: 980px) {
  .hero-visual {
    padding-right: 0;
  }
  .hero-phone {
    display: none;
  }
  .pain-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feature,
  .feature.reverse,
  .guide-step,
  .guide-step.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .guide-step.reverse .guide-text {
    order: 0;
  }
  .who-grid {
    grid-template-columns: 1fr;
  }
  .guide-toc {
    top: 60px;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .guide-toc-item {
    flex-shrink: 0;
  }
}
@media (max-width: 600px) {
  .hero-v2 {
    padding: 80px 20px 60px;
  }
  .btn-ghost,
  .btn-primary {
    padding: 15px 26px;
    font-size: 16px;
  }
  .pain {
    padding: 70px 20px;
  }
  .pain h2,
  .who h2,
  .cta-band h2 {
    font-size: 26px;
  }
  .pain-grid {
    grid-template-columns: 1fr;
  }
  .phones .frame-phone {
    max-width: 46%;
  }
  .phones .frame-phone:nth-child(2) {
    margin-top: 32px;
  }
  .guide-steps {
    padding: 0 20px 20px;
  }
  .guide-text h2 {
    font-size: 25px;
  }
  .notice-body {
    padding: 16px 12px 24px;
  }
}

/* =====================================================================
   TASK-595 랜딩 다듬기 — 입력 칸 기본 모양 · 도입 문의 창 배치 · 산뜻 엠블럼 · 사용 가이드 등장 효과
   ===================================================================== */
/* 입력 칸 기본(예전에 기본 규칙이 없어 칸이 창 밖으로 넘치고 고르기 · 내용 칸이 이름 옆에 붙던 문제) */
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  outline: none;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #b0b8c1;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%238b95a1' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.field textarea {
  resize: vertical;
  line-height: 1.6;
}
.modal .field label {
  font-size: 13px;
  margin-bottom: 8px;
}
.modal .row-2 {
  gap: 12px;
  margin-bottom: 16px;
}
.modal .field {
  margin-bottom: 16px;
}
.modal .field:last-child {
  margin-bottom: 0;
}

/* 산뜻이란 — 엠블럼(예전 포트폴리오 화면 자리) */
.brand-emblem {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
}
.brand-emblem::before {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-soft) 0%, rgba(233, 245, 254, 0) 70%);
}
.brand-emblem img {
  position: relative;
  width: 72%;
  height: auto;
  filter: drop-shadow(0 18px 36px rgba(14, 106, 170, 0.18));
  animation: emblem-float 6s ease-in-out infinite;
}
@keyframes emblem-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* 사용 가이드 — 지금 보는 단계 표시 */
.guide-toc-item {
  transition:
    border-color 0.25s,
    background 0.25s,
    color 0.25s;
}
.guide-toc-item.on {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: #0e6aaa;
  font-weight: 700;
}

/* 사용 가이드 — 단계 뒤 큰 숫자 */
.guide-text {
  position: relative;
  isolation: isolate;
}
.guide-text[data-num]::before {
  content: attr(data-num);
  position: absolute;
  top: -78px;
  left: -8px;
  z-index: -1;
  font-size: 150px;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  color: var(--brand-soft);
  pointer-events: none;
}
.guide-steps {
  overflow-x: clip; /* 옆에서 들어오는 글이 가로 스크롤을 만들지 않게 */
}
.guide-visual {
  position: relative;
  isolation: isolate;
}
.guide-visual::before {
  content: "";
  position: absolute;
  inset: -8% -6%;
  z-index: -1;
  border-radius: 40px;
  background: radial-gradient(ellipse at center, rgba(112, 195, 252, 0.22) 0%, rgba(112, 195, 252, 0) 68%);
}

/* 다 나타난 뒤 화면 그림에 마우스를 올리면 살짝 떠오름 */
.guide-step.in .guide-visual .frame-browser,
.guide-step.in .guide-visual .frame-phone {
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s;
}
.guide-step.in .guide-visual:hover .frame-browser,
.guide-step.in .guide-visual:hover .frame-phone {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(14, 106, 170, 0.16);
}

@media (max-width: 980px) {
  .guide-text[data-num]::before {
    top: -54px;
    font-size: 104px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .brand-emblem img {
    animation: none;
  }
}

/* TASK-595: 단계 바로 가기 7개가 넓은 화면에서 한 줄에 들어가게(예전 1280에서 두 줄) */
.guide-toc {
  gap: 6px;
  padding: 12px 20px;
}
.guide-toc-item {
  font-size: 13.5px;
  padding: 6px 12px 6px 6px;
  gap: 7px;
}

/* =====================================================================
   TASK-596 등장 효과 = 랜딩 전체(홈 · 소개 · 사용 가이드 · 공지 · 질문 머리) · 위아래로 다시 · 가볍게
   js/landing-content.js setupReveal(): 구역 = .rv(+ 화면 안 = .in), 안의 조각 = data-rv="text | visual | item"
   --d = 조각 순서 지연(초) · --dir = 들어오는 방향(아래에서 1 · 위에서 -1) · --side = 글이 들어오는 옆(왼쪽 -1 · 오른쪽 1)
   가볍게: transform · opacity만(흐림 · 글자 간격 움직임 없앰 — 다시 그리기 없음), 숨길 때는 바로(화면 밖이라 안 보임)
   ===================================================================== */
.rv [data-rv],
.rv .guide-text[data-num]::before,
.rv .guide-visual::before {
  transition:
    opacity 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--d, 0) * 1s);
}
.rv:not(.in) [data-rv],
.rv:not(.in) .guide-text[data-num]::before,
.rv:not(.in) .guide-visual::before {
  transition: none;
  opacity: 0;
}
.rv:not(.in) [data-rv="text"] {
  transform: translate3d(calc(var(--side, -1) * 36px), 0, 0);
}
.rv:not(.in) [data-rv="item"] {
  transform: translate3d(0, calc(var(--dir, 1) * 18px), 0);
}
.rv:not(.in) [data-rv="visual"] {
  transform: perspective(1200px) translate3d(0, calc(var(--dir, 1) * 48px), 0)
    rotateX(calc(var(--dir, 1) * 7deg)) scale(0.96);
}
.rv [data-rv="visual"] {
  transform-origin: 50% calc(50% + var(--dir, 1) * 50%);
}
.rv:not(.in) .guide-text[data-num]::before {
  transform: translate3d(0, calc(var(--dir, 1) * 24px), 0) scale(0.88);
}
.rv.in .guide-text[data-num]::before {
  transition-delay: 0.05s;
}
.rv:not(.in) .guide-visual::before {
  transform: scale(0.7);
}
.rv.in .guide-visual::before {
  transition-delay: 0.2s;
}
@media (max-width: 980px) {
  /* 한 줄로 쌓이는 좁은 화면 = 글도 위아래로 */
  .rv:not(.in) [data-rv="text"] {
    transform: translate3d(0, calc(var(--dir, 1) * 20px), 0);
  }
}
/* 홈 · 소개 화면 그림도 다 나타난 뒤 마우스를 올리면 살짝 떠오름
   (등장 transform과 따로 — 개별 속성 translate · 지연 없이) */
.feature.rv.in > .frame-browser,
.about-section.rv.in > .frame-browser {
  transition:
    opacity 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) calc(var(--d, 0) * 1s),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--d, 0) * 1s),
    translate 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s;
}
.feature.rv.in > .frame-browser:hover,
.about-section.rv.in > .frame-browser:hover {
  translate: 0 -6px;
  box-shadow: 0 28px 60px rgba(14, 106, 170, 0.16);
}

/* =====================================================================
   TASK-597 → TASK-600 산뜻 소개 — 산뜻 이야기(다산 정약용의 정신) · 다산의 정신 세 가지 → 투명한 예산
   (TASK-597 두 권의 책 · 아이콘 탄생기는 사용자 요청으로 없앰)
   ===================================================================== */
.about-section .about-more {
  margin-top: 14px;
}
.about-section .about-more b {
  color: #0e6aaa;
}
.spirit {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 120px 32px;
}
.books-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.books-head .small-label {
  font-size: 14px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.04em;
}
.books-head h2 {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.3;
  margin: 12px 0 16px;
}
.books-head .lead {
  font-size: 17px;
  color: var(--text-sub);
  line-height: 1.7;
}
.spirit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.spirit-card {
  position: relative;
  overflow: hidden;
  padding: 36px 30px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  isolation: isolate;
}
/* 뒤 큰 한자(淸 · 精 · 實) — 붓글씨 느낌 명조 */
.spirit-char {
  position: absolute;
  top: -18px;
  right: -6px;
  z-index: -1;
  font-family: "Noto Serif KR", "Nanum Myeongjo", "AppleMyungjo", serif;
  font-size: 150px;
  font-weight: 700;
  line-height: 1;
  color: var(--brand-soft);
}
.spirit-card h3 {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.spirit-then {
  font-size: 15.5px;
  color: var(--text-sub);
  line-height: 1.65;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px dashed var(--line);
}
.spirit-now {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
}
.spirit-now b {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #0e6aaa;
  margin-bottom: 6px;
}
.story-end {
  margin-top: 48px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-sub);
}
.story-end b {
  color: var(--brand);
  font-weight: 900;
  font-size: 24px;
}
/* 영문 머리 글자 → 한국어(TASK-600): 한글엔 넓은 글자 간격이 어색해 줄임 */
.about-section .small-label,
.page-label,
.company-minimal .label {
  letter-spacing: 0.04em;
}
.guide-step-num {
  letter-spacing: 0.02em;
  font-size: 14px;
}
@media (max-width: 980px) {
  .spirit-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .spirit {
    padding: 80px 20px;
  }
  .books-head h2 {
    font-size: 26px;
  }
  .spirit-char {
    font-size: 120px;
  }
}

/* =====================================================================
   TASK-598 자주 묻는 질문 검색 · 한국어 낱말 단위 줄바꿈
   ===================================================================== */
/* 사용자 "단어 중간에 다음 줄로 넘어가는 문장이 많음 — 한 단어를 읽을 수 있게":
   낱말(띄어쓰기) 단위로만 줄바꿈 · 너무 긴 주소 같은 것만 어쩔 수 없을 때 끊음 · 제목은 줄 길이 고르게 */
body {
  word-break: keep-all;
  overflow-wrap: break-word;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
p,
li,
figcaption,
.faq-answer,
.pain-card span {
  text-wrap: pretty;
}

.faq-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  height: 56px;
  margin-bottom: 18px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text-light);
  box-shadow: var(--shadow-sm);
  cursor: text;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.faq-search:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
  color: var(--brand);
}
.faq-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: var(--text);
}
.faq-search input::placeholder {
  color: #b0b8c1;
}
.faq-search-count {
  font-size: 13px;
  font-weight: 700;
  color: #0e6aaa;
  white-space: nowrap;
}
.faq-tabs {
  margin-bottom: 28px;
}
.faq-item mark {
  background: #fff1a8;
  color: inherit;
  border-radius: 3px;
  padding: 0 1px;
}
.faq-empty {
  line-height: 1.7;
}
@media (max-width: 600px) {
  .faq-search {
    height: 50px;
  }
  .faq-search input {
    font-size: 15px;
  }
}
.faq-tabs button.empty {
  opacity: 0.45;
}

/* TASK-605 자주 묻는 질문 답 그림(답 글의 [그림: …] 줄) — 가로 그림 = 폭에 맞춤 · 세로(휴대폰) 그림 = 높이 제한 */
.faq-answer .faq-figure {
  margin: 14px 0 18px;
}
.faq-answer .faq-figure img {
  display: block;
  max-width: 100%;
  max-height: 560px;
  width: auto;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  background: #fff;
}
.faq-answer .faq-figure a:hover img {
  border-color: var(--brand);
}
.faq-answer .faq-figure figcaption {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-light);
}

/* =====================================================================
   TASK-606 산뜻 소개 › 브랜드 표시(CI) — 엠블럼 6 · 로고(기본 · 흰색) · 색 · 쓸 때 지킬 것
   ===================================================================== */
.ci {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 120px 32px;
}
.ci-block {
  margin-top: 56px;
}
.ci-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.ci-title span {
  font-size: 14px;
  font-weight: 800;
  color: var(--brand);
}
.ci-note {
  font-size: 14.5px;
  color: var(--text-sub);
  margin: -6px 0 18px;
}
.ci-grid {
  display: grid;
  gap: 18px;
}
.ci-six {
  grid-template-columns: repeat(3, 1fr);
}
.ci-pairs {
  grid-template-columns: 1fr 1fr;
}
.ci-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 28px 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  transition:
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.2s;
}
.ci-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.ci-tile.dark {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.ci-art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 190px;
  margin-bottom: 14px;
}
.ci-art img {
  max-width: 78%;
  max-height: 100%;
  width: auto;
  height: auto;
}
.ci-tile.wide .ci-art {
  height: 150px;
}
.ci-tile.wide .ci-art img {
  max-width: 82%;
}
.ci-name {
  font-size: 15.5px;
  font-weight: 800;
}
.ci-use {
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
}
.ci-tile.dark .ci-use {
  color: rgba(255, 255, 255, 0.85);
}
.ci-dl {
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: #0e6aaa;
  opacity: 0;
  transition: opacity 0.2s;
}
.ci-tile.dark .ci-dl {
  color: #fff;
}
.ci-tile:hover .ci-dl,
.ci-tile:focus-visible .ci-dl {
  opacity: 1;
}
.ci-colors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.ci-color {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.ci-chip {
  display: block;
  height: 88px;
  border-radius: 12px;
  margin-bottom: 10px;
}
.ci-chip-white {
  border: 1px solid var(--line);
}
.ci-color b {
  font-size: 15px;
}
.ci-color code {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 13.5px;
  color: var(--text);
}
.ci-color small {
  font-size: 12.5px;
  color: var(--text-light);
}
.ci-rules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.ci-rule {
  padding: 22px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}
.ci-rule b {
  display: block;
  font-size: 15.5px;
  margin-bottom: 10px;
}
.ci-rule.ok b {
  color: #0e6aaa;
}
.ci-rule.no b {
  color: #d9480f;
}
.ci-rule ul {
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14.5px;
  color: var(--text-sub);
  line-height: 1.6;
}
@media (max-width: 980px) {
  .ci-six,
  .ci-colors {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .ci {
    padding: 80px 20px;
  }
  .ci-pairs,
  .ci-rules {
    grid-template-columns: 1fr;
  }
  .ci-art {
    height: 140px;
  }
}
.ci-colors + .ci-note {
  margin: 16px 0 0;
}

/* TASK-608: 엠블럼 = 두 개씩 짝(기본-배지 · 선-선비만 · 반전-반전 두 겹) 2열 */
.ci-grid.ci-six {
  grid-template-columns: 1fr 1fr;
}
.ci-six .ci-art {
  height: 230px;
}
@media (max-width: 600px) {
  .ci-six .ci-art {
    height: 140px;
  }
}

/* TASK-610 휴대폰 앱 = 체험판(웹인앱으로 시험 중) 표시 — 앱 화면 그림 위 띠 · 안내 줄 */
.frame-phone {
  position: relative;
}
.frame-phone::after {
  content: "체험판 · 웹인앱";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 4px 12px;
  border-radius: 999px;
  background: #ff8a3d;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 10px rgba(255, 138, 61, 0.35);
  z-index: 2;
}
.trial-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff4ec;
  border: 1px solid #ffd9bf;
  color: #9a4a12;
  font-size: 14px;
  line-height: 1.6;
}
.feature .trial-note {
  margin-top: 16px;
}
.trial-tag {
  flex-shrink: 0;
  margin-top: 1px;
  padding: 1px 8px;
  border-radius: 999px;
  background: #ff8a3d;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
