/* 귀기울임 사이트. 앱의 색(종이 같은 아이보리, 부드러운 검정)과 명조체를 그대로 따른다.
   글꼴은 기기에 있는 것만 쓴다. 외부 글꼴 서버를 부르지 않으므로 방문자 정보가 어디로도 나가지 않는다. */
:root {
  --bg: #F8F4EE;
  --text: #171717;
  --body: #3d3a35;
  --muted: #8C877C;
  --line: #DEDACF;
  --card: #FDFAF4;
  --button: #1C1A17;
  --button-text: #F2F1ED;
  --ring: #C9C2B4;
  --shadow: 0 1px 2px rgba(23, 23, 23, .05), 0 12px 32px rgba(23, 23, 23, .07);
  --serif: "Nanum Myeongjo", "AppleMyungjo", "Apple SD Gothic Neo", "Noto Serif KR", "Noto Serif CJK KR", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Hiragino Sans", "Noto Sans JP", sans-serif;
}
:lang(ja) {
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "Noto Serif CJK JP", serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16150F; --text: #EDEAE1; --body: #C9C4B8; --muted: #948E80; --line: #322F27;
    --card: #1E1C16; --button: #EDEAE1; --button-text: #16150F; --ring: #4A463C;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0 24px 80px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
}
/* 한국어는 어절 단위로 줄을 바꾼다(앱도 같다). */
:lang(ko) body, body:lang(ko) { word-break: keep-all; overflow-wrap: break-word; }
a { color: var(--text); }
img { max-width: 100%; }

/* ---------- 방침·보도자료 같은 읽는 페이지 ---------- */
.wrap { max-width: 640px; margin: 0 auto; }
.wrap > header { padding: 72px 0 40px; border-bottom: 1px solid var(--line); }
.brand { font-size: 15px; letter-spacing: 1px; color: var(--muted); margin: 0 0 10px; }
h1 { font-family: var(--serif); font-size: 30px; font-weight: 600; margin: 0; letter-spacing: -0.01em; }
.lead { margin: 18px 0 0; color: var(--muted); font-size: 15px; }
h2 { font-family: var(--serif); font-size: 17px; font-weight: 700; margin: 40px 0 8px; }
p { margin: 0 0 14px; font-size: 15px; color: var(--body); }
.note { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; margin: 28px 0; }
.note p { margin: 0; font-size: 14.5px; }
.wrap > footer { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.wrap > footer a { color: var(--muted); }
.wrap nav { margin-top: 22px; font-size: 14px; }
.wrap nav a { margin-right: 16px; color: var(--muted); }

/* ---------- 홈 ---------- */
.page { max-width: 1040px; margin: 0 auto; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 28px 0 0; }
.top .mark { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.top .mark img { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line); }
.top .mark span { font-family: var(--serif); font-size: 18px; letter-spacing: .5px; }
.langs { font-size: 13px; color: var(--muted); display: flex; gap: 14px; }
.langs a { color: var(--muted); text-decoration: none; }
.langs a[aria-current="page"] { color: var(--text); border-bottom: 1px solid var(--text); }

.hero {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  padding: 72px 0 88px;
}
.eyebrow { font-size: 13px; letter-spacing: 2px; color: var(--muted); margin: 0 0 18px; text-transform: uppercase; }
.hero h1 { font-size: clamp(34px, 5.4vw, 54px); line-height: 1.28; font-weight: 400; letter-spacing: -.02em; }
.hero .sub { font-size: 17px; margin: 26px 0 0; color: var(--body); max-width: 30em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-width: 190px; padding: 12px 22px; border-radius: 14px;
  background: var(--button); color: var(--button-text); text-decoration: none; line-height: 1.35;
}
.btn small { font-size: 11.5px; opacity: .7; letter-spacing: .4px; }
.btn strong { font-size: 16px; font-weight: 600; }
.btn:hover { opacity: .88; }
.cta-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }

.stage { position: relative; display: grid; place-items: center; }
.rings { position: absolute; inset: -8% -12%; width: 124%; height: 116%; z-index: 0; pointer-events: none; }
.rings circle { fill: none; stroke: var(--ring); stroke-width: 1; }
.rings .dot { fill: var(--ring); stroke: none; }
.phone {
  position: relative; z-index: 1;
  width: min(100%, 290px); margin: 0;
  border-radius: 38px; overflow: hidden; background: var(--card);
  border: 1px solid var(--line); box-shadow: var(--shadow); line-height: 0;
}
.phone img { width: 100%; height: auto; display: block; }

section.block { padding: 72px 0; border-top: 1px solid var(--line); }
.block > h2 { font-size: 13px; letter-spacing: 2px; color: var(--muted); font-family: var(--sans); font-weight: 500; margin: 0 0 40px; text-transform: uppercase; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step { margin: 0; }
.step figcaption { margin-top: 18px; font-family: var(--serif); font-size: 16px; line-height: 1.6; color: var(--text); }
.step .phone { width: 100%; border-radius: 30px; }

.points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px 56px; }
.points h3 { font-family: var(--serif); font-size: 21px; font-weight: 700; margin: 0 0 10px; letter-spacing: -.01em; }
.points p { font-size: 15.5px; margin: 0; }
.promise { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.promise > div { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 30px 30px 26px; }
.promise h3 { font-family: var(--serif); font-size: 20px; margin: 0 0 10px; }
.promise p { margin: 0; font-size: 15px; }

.get { text-align: center; padding: 96px 0 40px; border-top: 1px solid var(--line); }
.get h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 400; margin: 0 0 12px; letter-spacing: -.01em; }
.get p { color: var(--muted); }
.get .cta { justify-content: center; }
.contact { margin-top: 72px; padding: 40px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.contact h2 { font-family: var(--serif); font-size: 24px; font-weight: 700; margin: 0 0 10px; letter-spacing: -.01em; }
.contact h3 { font-size: 12px; letter-spacing: 2px; color: var(--muted); font-weight: 500; margin: 6px 0 10px; text-transform: uppercase; }
.contact p { margin: 0; font-size: 15px; }
.contact .mail { display: inline-block; margin-top: 14px; font-family: var(--serif); font-size: 21px; color: var(--text); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--ring); word-break: break-all; }
.contact strong { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--text); }

.foot { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
.foot a { color: var(--muted); }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding: 48px 0 64px; }
  .stage { margin-top: 12px; }
  .stage .phone { width: min(70%, 250px); }
  .rings { inset: -2% -2%; width: 104%; height: 104%; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 34px 18px; }
  .points, .promise { grid-template-columns: 1fr; gap: 32px; }
  .promise { gap: 16px; }
  section.block { padding: 56px 0; }
  .contact { grid-template-columns: 1fr; gap: 28px; padding: 28px 24px; margin-top: 56px; }
  .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .rings circle { animation: breathe 9s ease-in-out infinite; }
  .rings circle:nth-child(2) { animation-delay: -1.5s; }
  .rings circle:nth-child(3) { animation-delay: -3s; }
  .rings circle:nth-child(4) { animation-delay: -4.5s; }
  .rings circle:nth-child(5) { animation-delay: -6s; }
  @keyframes breathe { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
}
