:root {
  --ivory: #fff8e7;
  --ivory-deep: #fbefd2;
  --orange: #e8730c;
  --orange-soft: #fde3c8;
  --navy: #1b2a4a;
  --navy-soft: #3d4b6b;
  --green: #2e7d46;
  --card: #ffffff;
  --line: #ecdcb8;
  --radius: 20px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--navy);
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  font-size: 20px;
  line-height: 1.7;
  word-break: keep-all;
}

a { color: var(--navy); }

img, svg { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max); margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}

/* 상단 */
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 26px; text-decoration: none; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange); display: grid; place-items: center;
}
.top-link { font-size: 18px; font-weight: 700; text-decoration: none; padding: 10px 16px; border-radius: 12px; }
.top-link:hover { background: var(--ivory-deep); }

/* 첫 화면 */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
  padding-top: 32px; padding-bottom: 64px;
}
.eyebrow { display: inline-block; background: var(--orange-soft); padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 17px; }
h1 { font-size: clamp(36px, 6vw, 56px); line-height: 1.25; margin: 18px 0 16px; letter-spacing: -0.02em; }
h1 em { font-style: normal; color: var(--orange); }
.lead { font-size: 22px; color: var(--navy-soft); margin: 0 0 28px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 72px; padding: 0 32px; border-radius: var(--radius);
  font-size: 24px; font-weight: 800; text-decoration: none; border: 0; cursor: pointer;
}
.btn-primary { background: var(--orange); color: var(--navy); box-shadow: 0 6px 0 #b9590a; }
.btn-primary:hover { transform: translateY(1px); box-shadow: 0 5px 0 #b9590a; }
.btn-primary:active { transform: translateY(6px); box-shadow: none; }
.btn-ghost { background: transparent; color: var(--navy); border: 3px solid var(--navy); }
.btn:focus-visible, .top-link:focus-visible { outline: 4px solid var(--navy); outline-offset: 4px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.cta-note { font-size: 17px; color: var(--navy-soft); margin-top: 14px; }

/* 휴대폰 그림 */
.phone {
  justify-self: center; width: min(320px, 100%); aspect-ratio: 9 / 18.5;
  background: var(--navy); border-radius: 44px; padding: 14px;
  box-shadow: 0 30px 60px rgba(27, 42, 74, 0.25);
}
.screen {
  height: 100%; background: var(--ivory); border-radius: 32px;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 26px 18px 20px; text-align: center;
}
.screen-date { font-size: 17px; font-weight: 700; }
.screen-time { font-size: 34px; font-weight: 800; line-height: 1.1; }
.mic {
  width: 150px; height: 150px; border-radius: 50%; background: var(--orange);
  display: grid; place-items: center; box-shadow: 0 0 0 14px rgba(232, 115, 12, 0.18);
}
.screen-say { font-size: 24px; font-weight: 800; }
.screen-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
.screen-nav span { background: var(--navy); color: #fff; border-radius: 12px; padding: 8px 0; font-size: 15px; font-weight: 700; }

/* 구역 */
section { padding: 56px 0; }
.section-alt { background: var(--ivory-deep); }
h2 { font-size: clamp(30px, 4.5vw, 40px); line-height: 1.3; margin: 0 0 12px; letter-spacing: -0.01em; }
.section-lead { color: var(--navy-soft); margin: 0 0 32px; font-size: 21px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.card {
  background: var(--card); border-radius: var(--radius); padding: 28px 24px;
  border: 2px solid var(--line);
}
.card h3 { font-size: 25px; margin: 0 0 8px; }
.card p { margin: 0; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--orange); color: var(--navy);
  display: grid; place-items: center; font-weight: 800; font-size: 26px; margin-bottom: 14px;
}

.say {
  margin-top: 14px; background: var(--ivory); border-radius: 14px; padding: 12px 16px;
  font-weight: 700;
}
.say::before { content: "“"; }
.say::after { content: "”"; }
.result { margin-top: 8px; color: var(--green); font-weight: 700; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature-icon {
  flex: none; width: 60px; height: 60px; border-radius: 16px; background: var(--orange-soft);
  display: grid; place-items: center;
}

.shortcuts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.faq details {
  background: var(--card); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; margin-bottom: 14px;
}
.faq summary { font-weight: 800; font-size: 22px; cursor: pointer; list-style-position: outside; }
.faq details p { margin: 12px 0 0; }

.install {
  background: var(--navy); color: #fff; border-radius: 28px; padding: 44px 32px; text-align: center;
}
.install h2 { color: #fff; }
.install p { color: #dfe5f2; }
.install .btn-primary { margin-top: 12px; }
.install .cta-note { color: #c7cfe0; }

footer { padding-top: 36px; padding-bottom: 48px; font-size: 17px; color: var(--navy-soft); }
.footer-row { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; }
footer a { font-weight: 700; }
.biz { margin-top: 16px; font-size: 15px; line-height: 1.8; color: var(--navy-soft); }
.biz a { font-weight: 400; }

/* 개인정보 처리방침 */
.doc { max-width: 820px; padding-top: 16px; padding-bottom: 40px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); }
.doc h2 { font-size: 28px; margin-top: 44px; }
.doc table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 14px; overflow: hidden; font-size: 18px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.doc th { background: var(--orange-soft); }
.table-scroll { overflow-x: auto; }
.notice { background: var(--orange-soft); border-radius: 14px; padding: 16px 18px; font-size: 18px; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 6px 0; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 12px; }
  .phone { width: min(280px, 80%); }
  .steps, .shortcuts { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  body { font-size: 18px; line-height: 1.65; }
  h1 { font-size: 34px; line-height: 1.3; margin-top: 14px; }
  .lead { font-size: 19px; line-height: 1.7; }
  .eyebrow { font-size: 15px; }
  .brand { font-size: 23px; }
  .brand-mark { width: 40px; height: 40px; }
  .top-link { font-size: 17px; padding: 8px 10px; }
  h2 { font-size: 28px; }
  .section-lead { font-size: 18px; }
  .card { padding: 22px 18px; }
  .card h3 { font-size: 22px; }
  .faq summary { font-size: 19px; }
  .btn { width: 100%; font-size: 22px; min-height: 64px; padding: 0 20px; }
  .install { padding: 32px 18px; }
  .doc h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-primary:hover, .btn-primary:active { transform: none; }
}
