/* OhChu brand: 01 Coral / Teal (docs/OhChu_Brand_And_Web_Pack). No web fonts: system and rounded system faces. */
:root {
  --coral: #ff6b6b;
  --coral-ink: #c93c38; /* coral dark enough for small text */
  --teal: #14c9b6;
  --teal-ink: #0b7f73;
  --sun: #ffd44d;
  --sky: #5cb6ff;
  --navy: #1f2a44;
  --bg: #fff8f6;
  --surface: #ffffff;
  --soft: #fff0f0;
  --teal-soft: #dcf6f2;
  --sun-soft: #fff4cc;
  --text: #1f2a44;
  --muted: #657089;
  --line: #f6dfdc;
  --shadow: 0 18px 40px -18px rgba(31, 42, 68, 0.22);
  --blob-a: rgba(255, 107, 107, 0.16);
  --blob-b: rgba(20, 201, 182, 0.16);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --coral-ink: #ff8a87;
    --teal-ink: #4fe0cf;
    --bg: #141b2d;
    --surface: #1f2a44;
    --soft: #2a2438;
    --teal-soft: #173a44;
    --sun-soft: #3a3424;
    --text: #f6f1ef;
    --muted: #a9b2c7;
    --line: #2c3753;
    --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
    --blob-a: rgba(255, 107, 107, 0.12);
    --blob-b: rgba(20, 201, 182, 0.1);
  }
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(520px 520px at -6% -8%, var(--blob-a), transparent 70%),
    radial-gradient(640px 640px at 104% 6%, var(--blob-b), transparent 70%), var(--bg);
  background-repeat: no-repeat;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic",
    sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
h1,
h2,
h3,
.wordmark,
.pill,
.status {
  font-family:
    ui-rounded,
    "SF Pro Rounded",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Apple SD Gothic Neo",
    sans-serif;
}
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding-inline: 20px;
}
.nowrap {
  white-space: nowrap;
}

/* Header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img {
  width: 45px;
  height: auto;
}
.wordmark {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.oh {
  color: var(--text);
}
.chu {
  color: var(--coral);
  margin-left: 2px;
}
.status {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--coral-ink);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding-block: 40px 80px;
}
h1 {
  font-size: clamp(42px, 6.4vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 0 20px;
}
.lede {
  font-size: 21px;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 30em;
}
.pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.pill {
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
}
.pill.coral {
  background: var(--soft);
  color: var(--coral-ink);
}
.pill.teal {
  background: var(--teal-soft);
  color: var(--teal-ink);
}
.pill.sun {
  background: var(--sun-soft);
  color: var(--text);
}

.hero-art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 440px;
  margin-inline: auto;
  width: 100%;
}
.mascot {
  width: min(280px, 70%);
  height: auto;
  animation: bob 5s ease-in-out infinite;
}
.chat {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px 20px 18px;
  box-shadow: var(--shadow);
  width: min(360px, 92%);
}
.chat.trainer {
  align-self: flex-start;
  transform: rotate(-2deg);
  margin-top: -18px;
}
.chat.coffee {
  align-self: flex-end;
  transform: rotate(1.5deg);
  margin-top: 14px;
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.chat-head img {
  width: 36px;
  height: 36px;
}
.who {
  font-weight: 700;
  font-size: 15px;
  color: var(--muted);
}
.chip {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-ink);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.ko {
  margin: 0;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.35;
  word-break: keep-all;
}
.en {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.sparkle {
  position: absolute;
  width: 34px;
  height: 34px;
}
.sparkle.s1 {
  top: 6%;
  left: 4%;
}
.sparkle.s2 {
  top: 42%;
  right: -2%;
  width: 26px;
  height: 26px;
}

/* Features */
section.features {
  padding-block: 24px 56px;
}
h2 {
  font-size: clamp(28px, 3.6vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 24px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.card img {
  width: 72px;
  height: 72px;
  display: block;
  margin-bottom: 14px;
}
.card h3 {
  margin: 0 0 8px;
  line-height: 1.25;
  font-size: 21px;
  font-weight: 800;
}
.card p {
  margin: 0;
  color: var(--muted);
}

/* Privacy */
.privacy {
  background: var(--soft);
  border-radius: 32px;
  padding: 40px;
  margin-block: 24px 64px;
}
.checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 36px;
}
.checks li {
  position: relative;
  padding-left: 36px;
}
.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 24px;
  text-align: center;
}

/* Footer */
.foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 8px 48px;
  color: var(--muted);
  font-size: 15px;
}
.foot img {
  width: 34px;
  height: auto;
  flex: none;
}
.foot p {
  margin: 0;
}

/* 404 */
.notfound {
  padding-block: 64px;
}
.notfound a {
  color: var(--coral-ink);
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .mascot {
    animation: none;
  }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding-block: 16px 56px;
  }
  .grid,
  .checks {
    grid-template-columns: 1fr;
  }
  .privacy {
    padding: 28px 22px;
  }
}
@media (max-width: 420px) {
  .status {
    font-size: 12px;
    padding: 6px 10px;
  }
  .wordmark {
    font-size: 23px;
  }
}
