:root {
  --paper: #f7f1e5;
  --paper-soft: #fbf7ee;
  --ink: #2a2521;
  --muted: #74695c;
  --line: rgba(70, 50, 34, .16);
  --seal: #a84432;
  --seal-dark: #8e3525;
  --gold: #b08a52;
  --shadow: 0 22px 60px rgba(73, 48, 29, .12);
  --sans: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  --serif: "Nanum Myeongjo", "Noto Serif KR", "Songti SC", serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  color: var(--ink);
  background:
    radial-gradient(1100px 500px at 8% -10%, rgba(168, 68, 50, .10), transparent 60%),
    radial-gradient(920px 500px at 100% 6%, rgba(176, 138, 82, .12), transparent 60%),
    var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.start-nav {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.seal {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--seal); color: #fff8ee;
  font-family: var(--serif); font-size: 22px; font-weight: 700;
  box-shadow: 0 8px 18px rgba(168, 68, 50, .22);
}
.brand-text b { display: block; font-family: var(--serif); font-size: 19px; letter-spacing: -.02em; }
.brand-text small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; letter-spacing: .06em; }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.quiet { padding: 9px 13px; border-radius: 999px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.quiet em { font-style: normal; font-size: 11px; opacity: .72; }
.quiet:hover { background: rgba(255, 255, 255, .55); color: var(--ink); }

.start-hero {
  width: min(1180px, calc(100% - 48px));
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, .82fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}
.start-copy { padding: clamp(12px, 3vw, 42px) 0 0; }
.eyebrow { margin: 0 0 14px; color: var(--seal); font-size: 11px; font-weight: 700; letter-spacing: .18em; }
h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 5.2vw, 70px);
  line-height: 1.08;
  letter-spacing: -.055em;
  font-weight: 700;
}
.zh-title { margin: 16px 0 0; color: var(--ink); font-size: 17px; letter-spacing: .02em; }
.lede { margin: 20px 0 0; max-width: 640px; color: #4f463d; font-size: 15px; line-height: 1.88; }
.zh-lede { margin: 9px 0 0; max-width: 640px; color: var(--muted); font-size: 13px; line-height: 1.85; }

.steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.steps li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.steps li > span { flex: 0 0 auto; color: var(--gold); font-family: var(--serif); font-size: 20px; font-weight: 700; }
.steps b { display: block; font-size: 14px; font-weight: 700; }
.steps b em { font-style: normal; margin-left: 7px; color: var(--seal); font-size: 11px; font-weight: 600; }
.steps small { display: block; margin-top: 5px; color: var(--muted); font-size: 12.5px; line-height: 1.7; }

.privacy-note {
  margin: 24px 0 0;
  padding: 17px 19px;
  border-left: 3px solid var(--seal);
  background: rgba(255, 252, 245, .66);
  border-radius: 0 12px 12px 0;
}
.privacy-note b { font-size: 13px; }
.privacy-note p { margin: 7px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.8; }
.privacy-note p span { display: block; margin-top: 3px; color: #8b7f72; }

.start-card {
  position: sticky;
  top: 18px;
  padding: 8px;
  border-radius: 24px;
  background: rgba(255, 253, 247, .86);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.mode-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5px;
  padding: 4px; border-radius: 17px;
  background: #efe7d8;
}
.mode-tabs button {
  border: 0; border-radius: 13px; padding: 12px 8px;
  background: transparent; color: #7b6d5e;
  font-size: 13px; font-weight: 700; cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.mode-tabs button em { font-style: normal; margin-left: 5px; font-size: 10.5px; font-weight: 600; opacity: .8; }
.mode-tabs button.active {
  color: var(--seal-dark);
  background: #fffdf8;
  box-shadow: 0 4px 13px rgba(84, 57, 35, .12);
}
.panel { padding: 22px 20px 20px; }
.panel-title { margin: 0 0 18px; font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.panel-title span { display: block; margin-top: 5px; color: var(--muted); font-family: var(--sans); font-size: 11.5px; font-weight: 500; letter-spacing: .03em; }

.field { display: block; margin: 0 0 14px; }
.field > span { display: block; margin: 0 0 6px; font-size: 12px; font-weight: 700; color: #5b5043; }
.field > span em { font-style: normal; margin-left: 4px; color: var(--muted); font-size: 10.5px; font-weight: 500; }
.field > span small { float: right; color: #a29482; font-size: 10px; font-weight: 500; }
.field input, .field select {
  width: 100%; height: 46px;
  border: 1px solid rgba(85, 60, 38, .18);
  border-radius: 12px;
  background: #fffdf8;
  color: var(--ink);
  padding: 0 13px;
  font-size: 14px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field input::placeholder { color: #b1a594; }
.field input:focus, .field select:focus {
  border-color: rgba(168, 68, 50, .55);
  box-shadow: 0 0 0 3px rgba(168, 68, 50, .10);
  background: #fff;
}
.field select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, #8a7c6c 50%), linear-gradient(135deg, #8a7c6c 50%, transparent 50%); background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px; background-size: 5px 5px; background-repeat: no-repeat; }
.field-row { display: grid; grid-template-columns: 1fr .72fr; gap: 10px; }
.phone-row { display: flex; align-items: stretch; gap: 8px; }
.phone-row input { flex: 1 1 auto; min-width: 0; width: auto; }
.send-code {
  flex: 0 0 auto; min-width: 118px; height: 46px; padding: 0 11px;
  border: 1px solid rgba(168, 68, 50, .32); border-radius: 12px;
  background: #fffaf3; color: var(--seal-dark); font-size: 12px; font-weight: 700;
  cursor: pointer; white-space: nowrap;
}
.send-code em { display: block; margin-top: 1px; color: var(--muted); font-style: normal; font-size: 9.5px; font-weight: 500; }
.send-code:hover { background: #fff; border-color: rgba(168, 68, 50, .5); }
.send-code:disabled { opacity: .55; cursor: default; }
.field-hint { margin: 7px 0 0; color: #918574; font-size: 10.5px; line-height: 1.65; }
.code-status {
  margin: 7px 0 0; padding: 8px 10px; border-radius: 9px;
  background: #eef5e9; color: #42623a; font-size: 11.5px; line-height: 1.55;
}

.form-error {
  margin: 4px 0 12px; padding: 10px 12px;
  border-radius: 10px;
  background: #fdf0eb; color: #9b3526;
  font-size: 12.5px; line-height: 1.6;
}
.primary {
  width: 100%; height: 50px;
  border: 0; border-radius: 13px;
  background: linear-gradient(180deg, #b34c38, var(--seal-dark));
  color: #fff9ef;
  font-size: 14px; font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(142, 53, 37, .22);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.primary em { font-style: normal; margin-left: 7px; font-size: 10.5px; opacity: .8; }
.primary:hover { transform: translateY(-1px); box-shadow: 0 15px 28px rgba(142, 53, 37, .26); }
.primary:active { transform: translateY(0); }
.primary:disabled { opacity: .65; cursor: wait; transform: none; }
.fine { margin: 12px 0 0; color: #918574; font-size: 11px; line-height: 1.7; text-align: center; }
.fine span { display: block; color: #a19688; }
.fine a { color: var(--seal); font-weight: 700; }

.start-bottom {
  width: min(1180px, calc(100% - 48px));
  margin: 68px auto 0;
  padding: 34px 0 38px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 44px;
  align-items: start;
}
.start-bottom h2 { margin: 0; font-family: var(--serif); font-size: clamp(26px, 3.2vw, 40px); line-height: 1.28; letter-spacing: -.04em; }
.start-bottom .zh { margin: 10px 0 0; color: var(--muted); font-size: 12.5px; }
.bottom-points { display: grid; gap: 0; border-top: 1px solid var(--line); }
.bottom-points p { margin: 0; padding: 15px 0; border-bottom: 1px solid var(--line); }
.bottom-points b { display: block; font-size: 13.5px; }
.bottom-points span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.7; }

.start-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 34px;
  display: flex; justify-content: space-between; gap: 18px;
  color: #908474; font-size: 11.5px;
}
.start-footer nav { display: flex; gap: 18px; }
.start-footer em { font-style: normal; color: #aaa091; }

@media (max-width: 920px) {
  .start-hero { grid-template-columns: 1fr; gap: 30px; }
  .start-card { position: static; }
  .start-copy { padding-top: 8px; }
  .start-bottom { grid-template-columns: 1fr; gap: 24px; margin-top: 52px; }
}
@media (max-width: 560px) {
  .start-nav, .start-hero, .start-bottom, .start-footer { width: calc(100% - 32px); }
  .start-nav { padding-top: 18px; align-items: flex-start; }
  .nav-actions { flex-direction: column; align-items: flex-end; gap: 0; }
  .quiet { padding: 5px 8px; font-size: 11.5px; }
  .start-hero { margin-top: 12px; }
  .start-copy h1 { font-size: 38px; }
  .zh-title { font-size: 15px; }
  .start-card { padding: 6px; border-radius: 19px; }
  .panel { padding: 19px 14px 17px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .steps, .privacy-note { display: none; }
  .start-footer { flex-direction: column; }
}
/* 首页专用布局 */
.home-hero{max-width:1180px;margin:0 auto;padding:72px 28px 40px;display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center}
.home-hero h1{font-size:clamp(42px,5.4vw,76px);line-height:1.08;letter-spacing:-.03em;margin:18px 0 26px;color:#2c2622}
.home-hero .lede{max-width:560px}
.home-actions{display:flex;gap:12px;flex-wrap:wrap;margin:32px 0 18px}
.as-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.hero-note{font-size:13px;line-height:1.8;color:#8d8073;max-width:520px}
.home-hero-visual{margin:0;background:#fff;padding:14px 14px 10px;border:1px solid #e8ddcc;box-shadow:0 26px 60px rgba(91,66,38,.13);transform:rotate(1.2deg)}
.home-hero-visual img{width:100%;display:block;aspect-ratio:4/3;object-fit:cover}
.home-hero-visual figcaption{display:flex;justify-content:space-between;gap:12px;padding:10px 4px 2px;font-size:11px;color:#8d8073;letter-spacing:.08em}
.home-stats{max-width:1180px;margin:10px auto 0;padding:0 28px;display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #ded2bf;border-bottom:1px solid #ded2bf}
.home-stats div{padding:24px 20px 24px 0;border-right:1px solid #e8ddcc}
.home-stats div:last-child{border-right:0}
.home-stats b{display:block;font-size:15px;color:#2c2622;margin-bottom:6px}
.home-stats span{font-size:12.5px;line-height:1.7;color:#8d8073}
.home-steps{max-width:1180px;margin:0 auto;padding:88px 28px 72px}
.section-head{max-width:760px;margin-bottom:36px}
.section-head h2{font-size:clamp(30px,3.8vw,48px);line-height:1.2;letter-spacing:-.02em;margin:14px 0 14px}
.section-head p{color:#8d8073;line-height:1.8}
.step-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.step-grid article{background:#fffaf0;border:1px solid #e8ddcc;padding:28px 26px 30px}
.step-grid article>span{font-family:Georgia,serif;font-size:13px;color:#a8814f;letter-spacing:.16em}
.step-grid h3{font-size:19px;margin:16px 0 10px}
.step-grid p{font-size:13.5px;line-height:1.85;color:#6f6256}
.home-feature{max-width:1180px;margin:0 auto;padding:20px 28px 78px;display:grid;grid-template-columns:.9fr 1.1fr;gap:64px;align-items:start}
.feature-copy h2{font-size:clamp(30px,3.6vw,46px);line-height:1.2;letter-spacing:-.02em;margin:14px 0 18px}
.feature-copy p{color:#6f6256;line-height:1.9;max-width:460px}
.text-link{display:inline-block;margin-top:18px;color:#9b3a30;font-size:13px;text-decoration:none;border-bottom:1px solid #d9a39c;padding-bottom:3px}
.feature-list{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#e2d6c4;border:1px solid #e2d6c4}
.feature-list div{background:#fffaf0;padding:24px 22px;min-height:120px}
.feature-list b{display:block;font-size:14px;margin-bottom:8px}
.feature-list span{font-size:12.5px;line-height:1.8;color:#8d8073}
.home-cta{max-width:1180px;margin:0 auto 56px;padding:38px 40px;background:#9b3a30;color:#fff8ee;display:flex;justify-content:space-between;align-items:center;gap:28px}
.home-cta .eyebrow{color:#f0c9a8}
.home-cta h2{font-size:clamp(26px,3vw,40px);margin:10px 0 10px;letter-spacing:-.02em}
.home-cta p{color:#f4d9c9;font-size:13px}
.home-cta .primary{background:#fff8ee;color:#8f2e25;box-shadow:none;white-space:nowrap}
.home-footer{position:static;max-width:1180px;margin:0 auto;padding:22px 28px 40px;border-top:1px solid #e2d6c4}
@media (max-width:900px){
 .home-hero{grid-template-columns:1fr;gap:32px;padding:40px 20px 28px}
 .home-hero-visual{transform:none;order:-1;max-width:520px}
 .home-stats{grid-template-columns:1fr 1fr;padding:0 20px}
 .home-stats div{border-bottom:1px solid #e8ddcc}
 .home-steps,.home-feature{padding-left:20px;padding-right:20px}
 .step-grid{grid-template-columns:1fr}
 .home-feature{grid-template-columns:1fr;gap:28px}
 .feature-list{grid-template-columns:1fr}
 .home-cta{margin:0 20px 40px;padding:28px 24px;display:block}
 .home-cta .primary{margin-top:18px;width:100%}
}
.home-actions .primary{width:auto;height:52px;padding:0 30px;flex:0 0 auto}
.secondary{display:inline-flex;align-items:center;justify-content:center;height:52px;padding:0 24px;border:1px solid #cbbba5;border-radius:13px;background:#fffaf0;color:#5c4a39;font-size:13px;font-weight:600;text-decoration:none;transition:.15s ease}
.secondary:hover{border-color:#a98f70;transform:translateY(-1px)}
.guide-main{max-width:1080px;margin:0 auto;padding:0 28px 70px}
.guide-head{padding:70px 0 44px;border-bottom:1px solid #e2d6c4}
.guide-head h1{font-size:clamp(38px,5vw,64px);line-height:1.1;letter-spacing:-.03em;margin:14px 0 20px}
.guide-head .lede{max-width:620px}
.guide-toc{display:flex;flex-wrap:wrap;gap:9px;margin-top:28px}
.guide-toc a{font-size:12px;color:#6f6256;text-decoration:none;border:1px solid #d8cab6;border-radius:99px;padding:8px 13px;background:#fffaf0}
.guide-toc a:hover{border-color:#a98f70;color:#8f2e25}
.guide-section{display:grid;grid-template-columns:64px 1fr;gap:28px;padding:48px 0;border-bottom:1px solid #e8ddcc}
.guide-num{font-family:Georgia,serif;font-size:38px;color:#b08a58;line-height:1}
.guide-body h2{font-size:clamp(24px,3vw,34px);letter-spacing:-.02em;margin:0 0 12px}
.guide-lead{color:#7d6f61;line-height:1.9;max-width:720px;margin-bottom:26px}
.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.guide-grid article{background:#fffaf0;border:1px solid #e8ddcc;padding:24px 22px}
.guide-grid h3{font-size:16px;margin:0 0 14px}
.guide-grid ol{margin:0;padding-left:19px;color:#6f6256;font-size:13px;line-height:1.9}
.guide-grid li{margin-bottom:7px}
.guide-grid code{background:#f1e9db;padding:1px 5px;border-radius:4px;font-size:12px;color:#8f4b35}
.guide-grid a{color:#9b3a30;text-decoration:none;border-bottom:1px dotted #c99a90}
.guide-tip{margin-top:18px;border-left:3px solid #b18a54;background:#fbf4e7;padding:18px 22px}
.guide-tip b{display:block;font-size:13px;margin-bottom:6px}
.guide-tip p{font-size:12.5px;line-height:1.85;color:#7d6f61;margin:0}
.faq{display:grid;gap:1px;background:#e8ddcc;border:1px solid #e8ddcc}
.faq details{background:#fffaf0;padding:18px 20px}
.faq summary{cursor:pointer;font-size:14px;font-weight:600;color:#2c2622}
.faq p{font-size:13px;line-height:1.85;color:#6f6256;margin:12px 0 0}
@media (max-width:760px){
 .guide-main{padding:0 20px 50px}
 .guide-head{padding:44px 0 30px}
 .guide-section{grid-template-columns:1fr;gap:12px;padding:36px 0}
 .guide-num{font-size:26px}
 .guide-grid{grid-template-columns:1fr}
}
.code-field{display:block}
.code-row{display:flex;gap:9px}
.code-row input{flex:1;min-width:0}
.code-btn{flex:0 0 auto;height:48px;padding:0 14px;border:1px solid #cbb9a2;border-radius:12px;background:#fffaf0;color:#8f2e25;font-size:12px;font-weight:600;white-space:nowrap;cursor:pointer}
.code-btn:disabled{opacity:.55;cursor:not-allowed}
/* 统一页脚（参考中国蒲公英安心关怀） */
.site-footer{background:#1f1a16;color:#efe6d8;margin-top:0;padding:56px 0 26px}
.footer-inner{max-width:1180px;margin:0 auto;padding:0 28px 36px;display:grid;grid-template-columns:1.5fr .8fr .8fr .8fr;gap:36px;border-bottom:1px solid rgba(255,255,255,.1)}
.footer-logo{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.footer-logo .seal{width:38px;height:38px;font-size:17px}
.footer-logo b{font-size:19px;letter-spacing:.02em}
.footer-brand p{font-size:12px;line-height:2;color:#bdb2a3;margin:0}
.footer-col h4{font-size:12px;letter-spacing:.12em;color:#d9c8ae;margin:0 0 14px;font-weight:600}
.footer-col a{display:block;font-size:12px;line-height:1.9;color:#bdb2a3;text-decoration:none;margin-bottom:6px}
.footer-col a:hover{color:#fff3df}
.unattended-note{max-width:1180px;margin:0 auto;padding:22px 28px;font-size:12px;line-height:1.9;color:#d8cbb9;border-bottom:1px solid rgba(255,255,255,.1)}
.unattended-note b{color:#f0c9a8}
.footer-bottom{max-width:1180px;margin:0 auto;padding:18px 28px 0;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:11px;color:#9f927f}
.footer-bottom a{color:#bdb2a3;text-decoration:none;margin-left:14px}
.footer-bottom a:hover{color:#fff3df}
@media (max-width:900px){
 .footer-inner{grid-template-columns:1fr 1fr;gap:24px;padding:0 20px 28px}
 .unattended-note,.footer-bottom{padding-left:20px;padding-right:20px}
 .footer-bottom{display:block;line-height:1.9}
 .footer-bottom nav{margin-top:8px}
 .footer-bottom a{margin:0 12px 0 0}
}
