:root {
  --coral: #f2857a;
  --coral-deep: #f3675a;
  --peach: #ffd2bd;
  --ink: #3a2e2b;
  --muted: #7a6c68;
  --bg: #fffaf7;
  --card: #ffffff;
  --line: #f0e2db;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard",
    "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* Hero */
.hero {
  text-align: center;
  padding: 72px 0 56px;
  background: linear-gradient(180deg, var(--peach) 0%, var(--coral-deep) 100%);
  color: #fff;
}
.hero .sub { color: rgba(255, 255, 255, 0.92); }

.logo-mark {
  width: 96px; height: 96px; margin: 0 auto 20px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
}
.face {
  position: relative;
  width: 60px; height: 60px;
  background: #fffaf2;
  border-radius: 50%;
}
.face .eye {
  position: absolute; top: 26px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--ink);
}
.face .eye:first-child { left: 16px; }
.face .eye:nth-child(2) { right: 16px; }
.face .smile {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 13px;
  border: 3px solid var(--coral-deep); border-top: none;
  border-radius: 0 0 26px 26px;
}

h1 { font-size: 40px; letter-spacing: -0.02em; margin-bottom: 14px; }
.tagline { font-size: 21px; font-weight: 600; margin-bottom: 14px; }
.sub { font-size: 15px; }

/* Features */
.features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin: 48px 0 40px;
}
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; padding: 22px;
}
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--muted); }

/* Links */
.links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 8px 0 56px; }
.links a {
  display: inline-block; padding: 12px 22px;
  background: var(--coral); color: #fff; text-decoration: none;
  border-radius: 999px; font-weight: 600; font-size: 15px;
}
.links a:hover { background: var(--coral-deep); }

/* Footer */
footer { text-align: center; padding: 32px 0 56px; color: var(--muted); font-size: 14px; }
footer a { color: var(--coral-deep); }

/* Document pages */
.doc { padding: 56px 0; }
.doc h1 { color: var(--ink); font-size: 30px; margin-bottom: 8px; }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.doc h2 { font-size: 22px; margin: 36px 0 12px; border-top: 1px solid var(--line); padding-top: 28px; }
.doc h3 { font-size: 17px; margin: 22px 0 8px; }
.doc p, .doc li { color: #4a3d3a; font-size: 15.5px; margin-bottom: 10px; }
.doc ul { padding-left: 22px; }
.doc a { color: var(--coral-deep); }
.doc .back { display: inline-block; margin-bottom: 28px; color: var(--coral-deep); text-decoration: none; font-weight: 600; }
.doc .lang-switch { margin: 24px 0 8px; color: var(--muted); font-size: 14px; }

@media (max-width: 600px) {
  .features { grid-template-columns: 1fr; }
  h1 { font-size: 32px; }
  .tagline { font-size: 18px; }
}
