@font-face {
  font-family: "Pretendard";
  src: url("fonts/Pretendard-Regular.subset.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Pretendard";
  src: url("fonts/Pretendard-Bold.subset.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

/* 색: 퇴근 무렵 저녁 하늘의 남색(신뢰)과 노을의 주황(쉼). 회사 이름 블랙카우의 검정은 글자색에 둔다. */
:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-soft: #f3f2ee;
  --ink: #15182a;
  --muted: #575d72;
  --line: #e4e2db;
  --brand: #24306b;
  --brand-strong: #18214f;
  --brand-ink: #ffffff;
  --warm: #f0a35a;
  --warm-strong: #e48a3a;
  --warm-ink: #2a1400;
  --warm-soft: #fbead8;
  --hero-from: #1c2657;
  --hero-to: #2e2a5e;
  --glow: rgba(240, 163, 90, 0.3);
  --shadow: 0 24px 60px rgba(21, 24, 42, 0.16);
  --radius: 18px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f111a;
    --surface: #171a26;
    --surface-soft: #1c2030;
    --ink: #e7e9f2;
    --muted: #a3a8bd;
    --line: #2a2f42;
    --brand: #9aa6ec;
    --brand-strong: #b8c1f3;
    --brand-ink: #0d1022;
    --warm: #f0a35a;
    --warm-strong: #f5b77a;
    --warm-ink: #2a1400;
    --warm-soft: #33261a;
    --hero-from: #151b3d;
    --hero-to: #231e45;
    --glow: rgba(240, 163, 90, 0.18);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f111a;
  --surface: #171a26;
  --surface-soft: #1c2030;
  --ink: #e7e9f2;
  --muted: #a3a8bd;
  --line: #2a2f42;
  --brand: #9aa6ec;
  --brand-strong: #b8c1f3;
  --brand-ink: #0d1022;
  --warm: #f0a35a;
  --warm-strong: #f5b77a;
  --warm-ink: #2a1400;
  --warm-soft: #33261a;
  --hero-from: #151b3d;
  --hero-to: #231e45;
  --glow: rgba(240, 163, 90, 0.18);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.28; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }

.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--surface); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--warm); outline-offset: 3px; }

.eyebrow { font-size: 14px; font-weight: 700; color: var(--brand); margin-bottom: 14px; }
.eyebrow.on-dark { color: var(--warm); }
.section { padding: 112px 0; }
.section-head { margin-bottom: 44px; }
.section-head h2, .report-copy h2, .company h2, .ai-head h2 { font-size: 40px; line-height: 1.3; }
.section-lead { color: var(--muted); font-size: 20px; line-height: 1.75; margin-top: 18px; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 12px;
  background: var(--brand); color: var(--brand-ink);
  font-weight: 700; text-decoration: none; border: 1px solid transparent;
  transition: background 0.15s ease;
}
.button:hover { background: var(--brand-strong); }
.button-small { min-height: 40px; padding: 0 16px; font-size: 0.92rem; border-radius: 10px; }
.button-warm { background: var(--warm); color: var(--warm-ink); }
.button-warm:hover { background: var(--warm-strong); }
.button-ghost { background: transparent; color: #ffffff; border-color: rgba(255, 255, 255, 0.5); }
.button-ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* 머리글 */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #24306b; }
.brand-mark { width: 34px; height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; font-weight: 700; color: var(--ink); font-size: 1.08rem; }
.brand-text small { font-weight: 400; color: var(--muted); font-size: 0.74rem; margin-top: 3px; }
.main-nav { display: flex; gap: 24px; margin-left: auto; }
.main-nav a { text-decoration: none; color: var(--muted); font-size: 0.94rem; font-weight: 700; }
.main-nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0; }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.theme-toggle .icon-moon { fill: currentColor; stroke: none; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}

/* 첫 화면 */
.hero { position: relative; background: linear-gradient(165deg, var(--hero-from) 0%, var(--hero-to) 100%); color: #ffffff; padding: 88px 0 150px; overflow: hidden; }
.hero::before { content: ""; position: absolute; left: 50%; bottom: -55%; width: 90%; height: 110%; transform: translateX(-50%); background: radial-gradient(closest-side, var(--glow), transparent); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr); gap: 56px; align-items: center; }
.hero h1 { font-size: 58px; line-height: 1.36; letter-spacing: -0.035em; }
.hero .lead { margin-top: 24px; font-size: 20px; line-height: 1.75; color: rgba(255, 255, 255, 0.84); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-visual { position: relative; margin: 0; padding-bottom: 28px; }
.hero-visual figcaption { position: absolute; left: 0; bottom: -18px; font-size: 13px; color: rgba(255, 255, 255, 0.68); }
.laptop { width: 100%; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.35)); }
.laptop-screen { background: #0b0d16; border-radius: 14px 14px 0 0; padding: 10px 10px 0; border: 1px solid rgba(255, 255, 255, 0.14); border-bottom: 0; }
.laptop-screen img { border-radius: 6px 6px 0 0; aspect-ratio: 1440 / 900; object-fit: cover; object-position: top center; width: 100%; height: auto; }
.laptop-base { height: 16px; margin: 0 -5%; background: linear-gradient(#d9dae1, #aeb0bb); border-radius: 0 0 14px 14px; }
.phone { position: absolute; right: -10px; bottom: 6px; width: 27%; min-width: 120px; border-radius: 28px; padding: 8px; background: #0b0d16; box-shadow: 0 30px 50px rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.16); }
.phone img { border-radius: 21px; aspect-ratio: 390 / 760; object-fit: cover; object-position: top; width: 100%; height: auto; }
.hero-curve { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; fill: var(--bg); }

/* 문제 */
.problems { padding-top: 72px; }
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.problem-grid article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; border-top: 4px solid var(--warm); }
.problem-grid h3 { font-size: 20px; }
.problem-grid p { color: var(--muted); font-size: 15px; margin-top: 10px; }

/* 사용 방법 */
.how { background: var(--surface-soft); }
.how-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.how-steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.how-steps span { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-weight: 700; }
.how-steps h3 { font-size: 20px; margin-top: 18px; }
.how-steps p { color: var(--muted); margin-top: 8px; }

/* 결과물 격자 */
.output-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.output-grid article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.output-grid svg { width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: var(--warm-soft); fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.output-grid h3 { font-size: 20px; margin-top: 18px; }
.output-grid p { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* 학부모 리포트 */
.report { background: var(--surface-soft); }
.report-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; align-items: center; }
.report-visual { position: relative; display: flex; justify-content: center; }
.phone-flat { position: relative; right: auto; bottom: auto; width: min(320px, 80%); min-width: 0; box-shadow: var(--shadow); }
.phone-flat img { aspect-ratio: 390 / 720; object-position: 0 0; }
.visual-tag { position: absolute; left: 6%; bottom: 28px; background: var(--surface); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); }
.check-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 36px; font-size: 16px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); }
.check-list li::after { content: ""; position: absolute; left: 7px; top: 9px; width: 8px; height: 5px; border-left: 2px solid var(--brand-ink); border-bottom: 2px solid var(--brand-ink); transform: rotate(-45deg); }

/* 다른 점 */
.value-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; box-shadow: 0 12px 30px rgba(21, 24, 42, 0.06); }
.value-card::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 2px; background: var(--warm); margin-bottom: 22px; }
.value-card h3 { font-size: 20px; }
.value-card p { color: var(--muted); margin-top: 12px; }

/* AI 문장 다듬기 */
.ai { background: linear-gradient(165deg, var(--hero-from) 0%, var(--hero-to) 100%); color: #ffffff; }
.ai-head { max-width: 780px; }
.ai .section-lead { color: rgba(255, 255, 255, 0.82); }
.ai-steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ai-steps li { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius); padding: 26px 24px; }
.ai-steps span { display: inline-block; font-weight: 700; color: var(--warm); font-size: 14px; }
.ai-steps h3 { font-size: 20px; margin-top: 10px; }
.ai-steps p { color: rgba(255, 255, 255, 0.78); font-size: 15px; margin-top: 8px; }
.ai-rule { margin-top: 28px; padding: 16px 20px; border-radius: 12px; background: rgba(0, 0, 0, 0.2); color: rgba(255, 255, 255, 0.92); font-weight: 700; }

/* 도입 과정 */
.start-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.start-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.start-steps span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--warm-soft); color: var(--brand); font-weight: 700; font-size: 1.1rem; }
.start-steps h3 { font-size: 20px; }
.start-steps p { color: var(--muted); font-size: 15px; margin-top: 6px; }
/* 요금 */
.pricing { background: var(--surface-soft); }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 920px; }
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; }
.plan-main { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan-tag { display: inline-block; align-self: flex-start; padding: 3px 12px; border-radius: 999px; background: var(--warm-soft); color: var(--brand); font-size: 13px; font-weight: 700; }
.plan h3 { font-size: 20px; margin-top: 14px; }
.plan-price { margin: 22px 0 0; display: grid; gap: 8px; }
.plan-price div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.plan-price dt { color: var(--muted); }
.plan-price dd { margin: 0; }
.plan-price strong { font-size: 1.5rem; letter-spacing: -0.02em; }
.plan .check-list { margin: 24px 0 28px; flex: 1; align-content: start; }
.plan .check-list li { font-size: 15px; }
.plan .button { align-self: stretch; }
.button-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.button-outline:hover { background: var(--warm-soft); }
.fineprint { color: var(--muted); font-size: 14px; margin-top: 20px; max-width: 920px; }

/* 마지막 권유 */
.cta { background: linear-gradient(165deg, var(--hero-from) 0%, var(--hero-to) 100%); color: #ffffff; padding: 64px 0; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta h2 { font-size: 46px; line-height: 1.3; }

/* 자주 묻는 질문 */
.faq { background: var(--bg); }
.faq-list { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform 0.15s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; }

/* 바닥글: 시프티처럼 회사 신원 정보를 바닥글에 둔다 */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--muted); font-size: 14px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; }
.footer-brand strong { color: var(--ink); font-size: 1.05rem; margin-right: 8px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--ink); text-decoration: underline; }
.footer-about { margin-top: 18px; }
.footer-info { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.footer-info li { overflow-wrap: anywhere; }
.footer-info li:not(:last-child)::after { content: "|"; margin: 0 10px; color: var(--line); }

/* 개인정보처리방침 쪽 */
.legal h1 { font-size: 40px; line-height: 1.3; }
.legal h2 { font-size: 20px; margin-top: 44px; }
.legal p, .legal ul { margin-top: 12px; }
.legal ul { padding-left: 1.2em; }
.legal-lead { font-size: 16px; margin-top: 20px; }
.legal-note { color: var(--muted); background: var(--surface-soft); border-radius: 12px; padding: 14px 18px; }
.legal-table { overflow-x: auto; margin-top: 16px; }
.legal-table table { width: 100%; border-collapse: collapse; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-top: 1px solid var(--line); }
.legal-table th { width: 30%; font-weight: 700; background: var(--surface-soft); }
.footer-nav a.footer-privacy { color: var(--ink); }

/* 반응형 */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 720px; }
  .problem-grid, .output-grid, .ai-steps { grid-template-columns: repeat(2, 1fr); }
  .start-steps { grid-template-columns: 1fr; }
  .main-nav { gap: 18px; }
  .main-nav a:nth-child(5) { display: none; }
}
@media (max-width: 768px) {
  .wrap { width: min(1160px, 100% - 32px); }
  .main-nav { display: none; }
  .header-actions { margin-left: auto; }
  .section { padding: 80px 0; }
  .hero { padding: 56px 0 120px; }
  .problems { padding-top: 48px; }
  .hero-visual { padding-bottom: 58px; }
  .hero-visual figcaption { bottom: 0; }
  .hero .phone { bottom: 50px; }
  .br-wide { display: none; }
  .how-steps, .value-cards, .report-grid, .plan-grid { grid-template-columns: 1fr; }
  .report-grid { gap: 40px; }
  .footer-info { flex-direction: column; }
  .footer-info li:not(:last-child)::after { content: none; }
  .report-visual { order: 2; }
  .ai-steps { grid-template-columns: 1fr; margin-top: 32px; }
  .output-grid article { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; padding: 22px 20px; }
  .output-grid svg { grid-row: 1 / 3; }
  .output-grid h3 { margin-top: 0; }
  .output-grid p { margin-top: 4px; }
}
/* 시프티 576px 이하 글꼴 크기(2026-11-17 실측: h1 48px, h2 24px, 20px 글은 16px, 15px 글은 14px) */
@media (max-width: 576px) {
  .hero h1 { font-size: 48px; }
  .legal h1 { font-size: 24px; }
  .section-head h2, .report-copy h2, .company h2, .ai-head h2, .cta h2 { font-size: 24px; }
  .hero .lead, .section-lead { font-size: 16px; }
  .problem-grid h3, .how-steps h3, .output-grid h3, .value-card h3, .ai-steps h3, .start-steps h3, .plan h3 { font-size: 16px; }
  .problem-grid p, .output-grid p, .ai-steps p, .start-steps p, .plan .check-list li { font-size: 14px; }
}
@media (max-width: 480px) {
  .hero-actions .button { width: 100%; }
  .hero .phone { width: 34%; right: -4px; border-radius: 20px; padding: 5px; }
  .hero .phone img { border-radius: 15px; }
  .phone-flat { width: 72%; }
  .problem-grid, .output-grid { grid-template-columns: 1fr; }
  .plan { padding: 26px 22px; }
  .cta .button { width: 100%; }
  .brand-text small { display: none; }
  .faq details { padding: 0 16px; }
}

@media print {
  .site-header, .hero-curve, .theme-toggle { display: none; }
  .hero, .ai { background: #ffffff; color: #15182a; }
  .hero .lead, .ai .section-lead, .ai-steps p, .ai-rule { color: #15182a; }
}
