:root {
  --paper: #f7f3ec;
  --ink: #1d1b17;
  --muted: #6e675c;
  --accent: #e8543f;
  --card: #fffdf8;
  --radius: 18px;
  font-size: 16px;
}
* { box-sizing: border-box; margin: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", "Noto Sans JP", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, .tagline { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; word-break: keep-all; }

.top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; max-width: 720px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: .01em; }
.brand-icon { width: 32px; height: 32px; border-radius: 8px; }
#lang-switcher {
  border: 1px solid #d8d1c5; background: var(--card); color: var(--ink);
  border-radius: 999px; padding: 6px 12px; font-size: .85rem; appearance: none;
}

main { max-width: 720px; margin: 0 auto; padding: 0 20px 80px; }
section { margin-top: 64px; }

.hero { text-align: center; margin-top: 40px; }
.tagline { color: var(--accent); font-style: italic; font-size: 1.15rem; }
h1 { font-size: clamp(2.4rem, 8vw, 3.6rem); line-height: 1.12; margin: 12px 0 16px; letter-spacing: -0.01em; }
.sub { color: var(--muted); max-width: 34em; margin: 0 auto; }
.cta {
  display: inline-block; margin-top: 28px; background: var(--accent); color: #fff;
  text-decoration: none; padding: 14px 30px; border-radius: 999px; font-weight: 600;
  box-shadow: 0 10px 24px -10px rgba(232, 84, 63, .55);
  transition: transform .15s ease, box-shadow .15s ease;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(232, 84, 63, .6); }
.hero-visual { margin-top: 44px; }
.hero-visual img {
  width: 100%; max-width: 560px; border-radius: var(--radius);
  box-shadow: 0 24px 60px -24px rgba(29, 27, 23, .35);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-.4deg); } 50% { transform: translateY(-10px) rotate(.4deg); } }
@media (prefers-reduced-motion: reduce) { .hero-visual img { animation: none; } }

.how h2, .notify h2 { font-size: 2rem; margin-bottom: 20px; }
.steps { list-style: none; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  background: var(--card); border: 1px dashed #cfc6b6; border-radius: var(--radius);
  padding: 22px 20px;
}
.step-num {
  display: inline-grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; background: var(--ink); color: var(--paper);
  font-size: .9rem; font-weight: 700; margin-bottom: 10px;
}
.steps h3 { font-size: 1.05rem; margin-bottom: 4px; }
.steps p { color: var(--muted); font-size: .92rem; }

.notify {
  background: var(--card); border-radius: calc(var(--radius) + 6px);
  border: 1px solid #e7e0d3; padding: 32px 24px; text-align: center;
  box-shadow: 0 30px 70px -40px rgba(29, 27, 23, .3);
}
.notify > p { color: var(--muted); max-width: 32em; margin: 0 auto 24px; }
.platform-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; margin-bottom: 16px; }
.platform-q { width: 100%; font-size: .9rem; color: var(--muted); }
.platform-row label {
  border: 1px solid #d8d1c5; border-radius: 999px; padding: 8px 20px;
  cursor: pointer; font-size: .95rem; background: var(--paper);
  position: relative;
}
.platform-row input { position: absolute; opacity: 0; pointer-events: none; }
.platform-row label:has(input:checked) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.email-row { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; }
#email {
  flex: 1; min-width: 0; padding: 13px 16px; border-radius: 12px;
  border: 1px solid #d8d1c5; background: var(--paper); font-size: 1rem; color: var(--ink);
}
#email:focus { outline: 2px solid var(--accent); border-color: transparent; }
#submit-btn {
  background: var(--accent); color: #fff; border: 0; border-radius: 12px;
  padding: 13px 20px; font-size: 1rem; font-weight: 600; cursor: pointer; white-space: nowrap;
}
#submit-btn:disabled { opacity: .6; cursor: default; }
#hp-company { position: absolute; left: -5000px; }
.form-error { color: var(--accent); margin-top: 12px; font-size: .9rem; }
.form-success h3 { font-size: 1.4rem; }
.form-success p { color: var(--muted); }
@media (max-width: 420px) { .email-row { flex-direction: column; } }

footer { text-align: center; color: var(--muted); font-size: .85rem; padding: 24px 0 40px; }
