* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-soft: #f1f6f7;
  --text: #172026;
  --muted: #5d6874;
  --line: #d9dee5;
  --teal: #177e89;
  --blue: #2f5f98;
  --coral: #c75f4a;
  --green: #3f7d53;
  --amber: #9f6b1f;
  --shadow: 0 18px 48px rgba(23, 32, 38, 0.08);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Noto Sans KR", "Noto Sans JP", sans-serif;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #ffffff;
}

.nav {
  width: min(1120px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

.nav-links a,
.lang-switch button {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.nav-links a:hover,
.lang-switch button:hover,
.lang-switch button.active {
  color: #ffffff;
}

.lang-switch {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}

.lang-switch button {
  min-width: 42px;
  padding: 6px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
}

.lang-switch button.active {
  background: rgba(255, 255, 255, 0.18);
}

.hero {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  min-height: calc(100vh - 72px);
  padding: clamp(46px, 7vw, 82px) 0 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 8vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 1.03rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 700px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2.1vw, 1.28rem);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  background: #ffffff;
  color: var(--teal);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: #ffffff;
}

.phone {
  width: min(360px, 100%);
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 32px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.24);
}

.phone-screen {
  min-height: 610px;
  padding: 22px;
  border-radius: 24px;
  background: #ffffff;
  color: var(--text);
}

.phone-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  font-weight: 800;
}

.battery-card,
.message-card,
.draft-mini {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.battery-card {
  padding: 18px;
  margin-bottom: 14px;
}

.battery-value {
  display: block;
  margin-bottom: 10px;
  font-size: 2.6rem;
  line-height: 1;
  font-weight: 800;
  color: var(--teal);
}

.battery-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #d9e8ea;
}

.battery-fill {
  width: 42%;
  height: 100%;
  background: var(--teal);
}

.message-card {
  padding: 16px;
  margin-bottom: 14px;
  color: var(--muted);
}

.draft-mini {
  padding: 14px;
  margin-top: 10px;
  background: #ffffff;
}

.draft-mini strong {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
}

.main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0;
}

.section {
  margin-bottom: 64px;
}

.section-intro {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card p:last-child,
.content p:last-child,
.faq-item p:last-child {
  margin-bottom: 0;
}

.badge-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.badge-list li {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 800;
}

.legal-header {
  padding: 38px 0 44px;
  text-align: center;
}

.legal-header h1 {
  margin: 0 auto 12px;
  font-size: clamp(2.1rem, 7vw, 3.8rem);
}

.legal-header p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.container {
  width: min(840px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 56px;
}

.content {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.content h2 {
  padding-bottom: 12px;
  border-bottom: 2px solid var(--teal);
  color: var(--teal);
}

.content h3 {
  margin-top: 28px;
}

.content ul {
  margin: 10px 0 18px 20px;
  padding: 0;
}

.content li {
  margin-bottom: 7px;
}

.content a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 700;
}

.content a:hover {
  text-decoration: underline;
}

.meta {
  color: var(--muted);
  font-size: 0.93rem;
}

.faq-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
}

.notice {
  padding: 16px;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: var(--surface-soft);
}

.footer {
  padding: 28px 20px;
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}

.hidden {
  display: none;
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-actions {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .phone {
    margin: 0 auto;
  }

  .grid,
  .grid.two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nav,
  .hero,
  .main,
  .container {
    width: min(100% - 28px, 1120px);
  }

  .nav-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .phone-screen {
    min-height: 520px;
  }
}
