:root {
  --color-bg: #fbf7f0;
  --color-text: #2d2a26;
  --color-primary: #ff7a59;
  --color-primary-dark: #e6603f;
  --color-secondary: #7bc96f;
  --color-secondary-dark: #5fae54;
  --tint-peach: #ffe3da;
  --tint-yellow: #fff3d6;
  --tint-blue: #e0f1fd;
  --tint-green: #e6f5e3;
  --tint-purple: #f3e6fb;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --font-sans: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo .plus {
  color: var(--color-primary);
}

.nav-cta {
  background: var(--color-text);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
}

/* Hero */
.hero {
  text-align: center;
  padding: 40px 24px 60px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  color: var(--color-primary-dark);
  background: var(--tint-peach);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.hero h1 strong {
  font-weight: 700;
}

.hero p.lead {
  font-size: 17px;
  color: #6b665e;
  max-width: 520px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: var(--radius-lg);
  font-size: 16px;
  font-weight: 500;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-secondary {
  background: var(--color-secondary);
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--color-text);
  border: 1px solid #e8e1d6;
}

.btn-dark {
  background: var(--color-text);
  color: #fff;
}

.btn-danger {
  background: #fff;
  color: #d64545;
  border: 1px solid #f3caca;
}
.btn-danger:hover {
  background: #fdf1f1;
}

/* Class code card */
.code-card {
  background: #fff;
  border: 1px solid #f0e9dc;
  border-radius: var(--radius-lg);
  padding: 24px;
  max-width: 360px;
  margin: 0 auto 40px;
}

.code-card label {
  display: block;
  font-size: 14px;
  color: #6b665e;
  margin-bottom: 10px;
}

.code-card .code-row {
  display: flex;
  gap: 8px;
}

.code-card input {
  flex: 1;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid #e8e1d6;
  font-size: 16px;
  font-family: var(--font-sans);
  letter-spacing: 0.1em;
  text-align: center;
}

.code-card button {
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: none;
  background: var(--color-text);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

/* Mode quick links */
.mode-grid {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.mode-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 96px;
  padding: 16px 8px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid #f0e9dc;
  font-size: 13px;
}

.mode-chip .emoji {
  font-size: 26px;
}

/* Section */
.section {
  padding: 60px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section h2 {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 40px;
}

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

.step {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid #f0e9dc;
}

.step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.step p {
  margin: 0;
  font-size: 14px;
  color: #6b665e;
}

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

.feature-card {
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  border: 1px solid #f0e9dc;
}

.feature-card .icon {
  font-size: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  color: #6b665e;
}

.tint-peach { background: var(--tint-peach); }
.tint-yellow { background: var(--tint-yellow); }
.tint-blue { background: var(--tint-blue); }
.tint-green { background: var(--tint-green); }
.tint-purple { background: var(--tint-purple); }

.cta-section {
  text-align: center;
  padding: 70px 24px;
  background: var(--color-text);
  color: #fff;
  border-radius: var(--radius-lg);
  max-width: var(--max-width);
  margin: 0 auto 60px;
}

.cta-section h2 {
  color: #fff;
  margin-bottom: 12px;
}

.cta-section p {
  color: #cfc9bd;
  margin: 0 0 28px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  padding: 30px 24px 50px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #948d80;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer .links {
  display: flex;
  gap: 18px;
}

/* Simple content pages (privacy/terms/coming-soon) */
.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 50px 24px 80px;
}

.doc h1 {
  font-size: 30px;
  margin-bottom: 8px;
}

.doc .updated {
  font-size: 13px;
  color: #948d80;
  margin-bottom: 36px;
}

.doc h2 {
  font-size: 19px;
  margin: 36px 0 12px;
}

.doc p, .doc li {
  font-size: 15px;
  color: #4a453e;
}

.doc ul {
  padding-left: 20px;
}

.coming-soon {
  text-align: center;
  padding: 100px 24px;
  max-width: 480px;
  margin: 0 auto;
}

.coming-soon .emoji {
  font-size: 48px;
  margin-bottom: 20px;
}

.coming-soon h1 {
  font-size: 24px;
  margin: 0 0 10px;
}

.coming-soon p {
  color: #6b665e;
  margin: 0 0 28px;
}

@media (max-width: 720px) {
  .hero h1 { font-size: 32px; }
  .steps, .feature-grid { grid-template-columns: 1fr; }
  .site-header { flex-direction: row; }
}
