/* 유어플랜 소개 사이트 — 앱 디자인 토큰(app/design-system.css)과 같은 값 */
:root {
  --bg: #FAFAF9; --surface: #FFFFFF; --ink: #2A2830; --sub: #6B6972; --muted: #A9A7AE;
  --line: #EDECEC; --line-2: #DCDBDD; --primary: #2A2830; --on-primary: #FAFAF9;
  --primary-soft: #ECEBFB; --accent: #6461C4; --empty: #F1F0F1;
  --sage-soft: #E1F6EC; --sage: #469878; --sage-text: #036C4D;
  --sky-soft: #E2F3FF; --sky: #4C8EBA; --sky-text: #13618D;
  --apricot-soft: #FFECE3; --apricot-text: #884627;
  --lavender-soft: #EEEEFF; --lavender-text: #565190;
  --mustard-soft: #F8EFDD; --mustard-text: #735601;
  --shadow: 0 24px 60px rgba(42, 40, 48, 0.14);
  --phone-border: #2A2830;
  --radius: 16px;
  --max: 1120px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #151417; --surface: #201F24; --ink: #F1F0F3; --sub: #A9A7AE; --muted: #77757D;
    --line: #2E2C33; --line-2: #3B3941; --primary: #F1F0F3; --on-primary: #17161A;
    --primary-soft: #2E2D45; --accent: #AFACF5; --empty: #26252A;
    --sage-soft: #1A372B; --sage: #73C4A2; --sage-text: #73C4A2;
    --sky-soft: #1B3343; --sky: #77B9E8; --sky-text: #77B9E8;
    --apricot-soft: #42291E; --apricot-text: #E49E7E;
    --lavender-soft: #2E2D45; --lavender-text: #AAA9EB;
    --mustard-soft: #3A2F16; --mustard-text: #CDAD68;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    --phone-border: #3B3941;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-ui);
  font-synthesis: none;
  font-size: 16px; line-height: 1.7; letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums; word-break: keep-all; overflow-wrap: break-word;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--primary); color: var(--on-primary); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* 머리 */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.3px; }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; color: var(--sub); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 12px; font-size: 16px; font-weight: 600; text-decoration: none; border: 1px solid transparent; transition: transform .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; border-radius: 10px; }

/* 첫 화면 */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 48px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--accent); background: var(--primary-soft); padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 68px); line-height: 1.15; font-weight: 700; letter-spacing: -0.04em; margin: 20px 0 20px; }
.hero .lead { font-size: clamp(17px, 2vw, 20px); color: var(--sub); max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.hero-phones { position: relative; display: flex; justify-content: center; align-items: center; min-height: 600px; }
.hero-phones .phone:nth-child(1) { transform: rotate(-4deg) translate(-70px, 20px); z-index: 1; }
.hero-phones .phone:nth-child(2) { position: absolute; transform: rotate(4deg) translate(110px, -10px); z-index: 2; }

/* 휴대폰 틀 */
.phone { width: 270px; flex-shrink: 0; border-radius: 40px; padding: 9px; background: var(--phone-border); box-shadow: var(--shadow); }
.phone img { width: 100%; height: auto; border-radius: 32px; aspect-ratio: 390 / 820; object-fit: cover; object-position: top; background: #FAFAF9; }
.phone.sm { width: 240px; }

/* 구역 공통 */
section { scroll-margin-top: 72px; }
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 12px; }
.section h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.3; font-weight: 700; letter-spacing: -0.03em; }
.section-head p { margin-top: 16px; color: var(--sub); font-size: 17px; }

/* 이런 분께 */
.who { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.who-card { border-radius: var(--radius); padding: 24px; }
.who-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.who-card p { color: var(--sub); font-size: 15px; }
.tone-sage { background: var(--sage-soft); } .tone-sage h3 { color: var(--sage-text); }
.tone-sky { background: var(--sky-soft); } .tone-sky h3 { color: var(--sky-text); }
.tone-apricot { background: var(--apricot-soft); } .tone-apricot h3 { color: var(--apricot-text); }
.tone-lavender { background: var(--lavender-soft); } .tone-lavender h3 { color: var(--lavender-text); }
.tone-mustard { background: var(--mustard-soft); } .tone-mustard h3 { color: var(--mustard-text); }

/* 기능 줄 */
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; padding: 48px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.reverse .feature-media { order: -1; }
.feature-media { display: flex; justify-content: center; padding: 32px 0; border-radius: 28px; }
.feature h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1.35; font-weight: 700; letter-spacing: -0.03em; margin: 8px 0 16px; }
.feature .tag { font-size: 14px; font-weight: 600; }
.feature p { color: var(--sub); font-size: 17px; }
.points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.points li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.points li::before { content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 3px; border-radius: 6px; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23FAFAF9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .points li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2317161A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); } }

/* 작은 기능 묶음 */
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.mini .icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--empty); margin-bottom: 16px; }
.mini .icon svg { width: 22px; height: 22px; stroke: var(--ink); }
.mini h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.mini p { font-size: 15px; color: var(--sub); }

/* 약속 */
.promise { background: var(--primary); color: var(--on-primary); border-radius: 28px; padding: 56px 48px; }
.promise h2 { color: var(--on-primary); }
.promise .kicker { color: color-mix(in srgb, var(--on-primary) 70%, transparent); }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; }
.promise-grid h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.promise-grid p { font-size: 15px; color: color-mix(in srgb, var(--on-primary) 72%, transparent); }

/* 요금 */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; margin: 0 auto; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--accent); }
.plan-name { font-size: 15px; font-weight: 600; color: var(--sub); }
.plan.featured .plan-name { color: var(--accent); }
.plan-price { font-size: 32px; font-weight: 700; letter-spacing: -0.03em; margin: 8px 0 4px; }
.plan-desc { font-size: 15px; color: var(--sub); min-height: 3.2em; }
.plan .points { margin-top: 20px; flex: 1; }
.plan .points li { font-size: 15px; }
.plan.featured .points li::before { background-color: var(--accent); }
.plan-foot { margin-top: 24px; font-size: 14px; color: var(--muted); }
.pricing-note { text-align: center; margin-top: 24px; font-size: 14px; color: var(--muted); }

/* 자주 묻는 질문 */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 4px; font-size: 17px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 22px; color: var(--sub); font-size: 16px; }

/* 마지막 안내 */
.final { text-align: center; padding: 96px 0 112px; }
.final h1, .final h2 { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.25; font-weight: 700; letter-spacing: -0.035em; }
.final p { color: var(--sub); margin: 16px auto 32px; font-size: 17px; max-width: 32em; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--sub); font-size: 14px; }
.store strong { display: block; color: var(--ink); font-size: 15px; line-height: 1.2; }
.store svg { width: 22px; height: 22px; fill: var(--ink); }

/* 바닥 */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 14px; color: var(--sub); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.biz { margin-top: 20px; font-size: 13px; color: var(--muted); line-height: 1.8; }

/* 문서 페이지(개인정보·약관·고객센터) */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 20px 96px; }
.doc h1 { font-size: clamp(28px, 4vw, 36px); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 8px; }
.doc .meta { color: var(--muted); font-size: 14px; margin-bottom: 40px; }
.doc h2 { font-size: 20px; font-weight: 600; margin: 40px 0 12px; }
.doc p, .doc li { color: var(--sub); font-size: 16px; }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 1.3em; margin: 12px 0; }
.doc li + li { margin-top: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; border-bottom: 1px solid var(--line); padding: 12px 8px; vertical-align: top; color: var(--sub); }
.doc th { color: var(--ink); font-weight: 600; background: var(--empty); }
.table-scroll { overflow-x: auto; }
.draft { background: var(--mustard-soft); color: var(--mustard-text); border-radius: 12px; padding: 14px 16px; font-size: 14px; margin-bottom: 32px; }
.fill { background: var(--primary-soft); color: var(--accent); border-radius: 4px; padding: 0 4px; font-weight: 600; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 24px 0; }
.contact-card a { font-size: 20px; font-weight: 600; color: var(--accent); text-decoration: none; }

/* 나타나기 */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}

/* 반응형 */
@media (max-width: 960px) {
  .hero-grid, .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature.reverse .feature-media { order: 0; }
  .hero { padding-top: 48px; }
  .hero-phones { min-height: 520px; }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .promise-grid, .who-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 640px) {
  .nav-links .hide-sm { display: none; }
  .nav-links { gap: 16px; }
  .section { padding: 72px 0; }
  .hero-phones { min-height: 440px; }
  .phone { width: 210px; border-radius: 32px; padding: 7px; }
  .phone img { border-radius: 26px; }
  .hero-phones .phone:nth-child(1) { transform: rotate(-4deg) translate(-52px, 16px); }
  .hero-phones .phone:nth-child(2) { transform: rotate(4deg) translate(66px, -8px); }
  .phone.sm { width: 220px; }
  .mini-grid, .plans { grid-template-columns: 1fr; }
  .promise { padding: 40px 24px; border-radius: 22px; }
  .hero-cta .btn { flex: 1 1 100%; }
}
@media (max-width: 380px) {
  .phone { width: 180px; }
  .hero-phones .phone:nth-child(1) { transform: rotate(-4deg) translate(-44px, 14px); }
  .hero-phones .phone:nth-child(2) { transform: rotate(4deg) translate(54px, -6px); }
}
/* Supplied symbol with the compact English wordmark across supporting pages. */
body:not(.landing) .brand{font-family:Arial,sans-serif;font-size:28px;letter-spacing:-1.5px;gap:4px}
body:not(.landing) .brand img{width:35px;height:35px}
@media(prefers-color-scheme:dark){body:not(.landing) .brand img{filter:brightness(1.6)}}
