:root {
  --green-500: #40ce2b;
  --green-600: #31b31f;
  --green-700: #268c18;
  --green-50: #effaec;
  --green-100: #dcf5d6;
  --cream: #fff6e6;
  --ink: #17201a;
  --ink-2: #3d4a40;
  --muted: #6b776e;
  --line: #e6ebe4;
  --bg: #ffffff;
  --bg-soft: #f7fbf5;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(23, 32, 26, 0.08);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(var(--max), 100% - 40px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.brand img {
  height: 30px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 600;
}

.nav a {
  text-decoration: none;
  color: var(--ink-2);
}

.nav a:hover {
  color: var(--green-700);
}

.nav .nav-cta {
  background: var(--ink);
  color: #fff;
  padding: 9px 16px;
  border-radius: 999px;
}

.nav .nav-cta:hover {
  background: var(--green-700);
  color: #fff;
}

/* Buttons */
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  padding: 12px 20px 12px 16px;
  border-radius: 14px;
  min-width: 180px;
  transition: transform 0.15s, background 0.15s;
}

.store-btn:hover {
  background: #000;
  transform: translateY(-2px);
}

.store-btn svg {
  width: 26px;
  height: 26px;
  flex: none;
}

.store-btn span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-btn small {
  font-size: 11px;
  opacity: 0.75;
  font-weight: 500;
}

.store-btn strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1200px 500px at 85% 10%, var(--green-100), transparent 60%),
    linear-gradient(180deg, var(--bg-soft), #fff 85%);
  padding: 72px 0 40px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--green-700);
  background: #fff;
  border: 1px solid var(--green-100);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(36px, 5.4vw, 60px);
  line-height: 1.18;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
  font-weight: 800;
}

.hero h1 em {
  font-style: normal;
  color: var(--green-600);
}

.hero .lead {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--ink-2);
  margin: 0 0 32px;
  max-width: 34em;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 480px;
}

.hero-visual .phone {
  width: 54%;
  max-width: 300px;
  filter: drop-shadow(0 24px 40px rgba(23, 32, 26, 0.16));
}

.hero-visual .phone.back {
  position: absolute;
  right: 4%;
  top: 48px;
  transform: rotate(6deg);
  opacity: 0.98;
}

.hero-visual .phone.front {
  position: relative;
  margin-right: 28%;
  z-index: 1;
}

.hero-visual .mascot {
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 30%;
  max-width: 170px;
  z-index: 2;
}

/* Sections */
section {
  padding: 96px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.kicker {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--green-700);
  margin: 0 0 12px;
}

h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  font-weight: 800;
}

.section-head p {
  color: var(--muted);
  margin: 0;
  font-size: 18px;
}

/* Problem strip */
.problem {
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.problem p {
  margin: 0;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.6;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink-2);
  text-align: center;
}

.problem strong {
  color: var(--ink);
}

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

.feature {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.feature .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(23, 32, 26, 0.06);
}

.feature h3 {
  font-size: 21px;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.feature p {
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split.reverse .split-media {
  order: 2;
}

.split-media {
  display: flex;
  justify-content: center;
  background: var(--bg-soft);
  border-radius: 28px;
  padding: 40px 24px 0;
  overflow: hidden;
}

.split-media.cream {
  background: var(--cream);
}

.split-media img {
  width: 72%;
  max-width: 340px;
  margin-bottom: -8%;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 18px;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--green-500);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.steps strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.steps span {
  color: var(--muted);
  font-size: 15.5px;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 28px 0 32px;
  display: grid;
  gap: 12px;
}

.checks li {
  position: relative;
  padding-left: 32px;
  color: var(--ink-2);
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-500)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 20px no-repeat;
}

.text-link {
  font-weight: 700;
  color: var(--green-700);
  text-decoration: none;
  border-bottom: 2px solid var(--green-100);
}

.text-link:hover {
  border-bottom-color: var(--green-500);
}

/* Partners band */
.partners {
  background: var(--bg-soft);
}

.partner-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.partner-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.partner-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.partner-card p {
  margin: 0 0 18px;
  color: var(--ink-2);
}

/* CTA */
.cta {
  padding: 0 0 96px;
}

.cta-box {
  position: relative;
  background: linear-gradient(135deg, #2fb51d, #40ce2b 55%, #6bdc59);
  color: #fff;
  border-radius: 32px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  overflow: hidden;
}

.cta-box h2 {
  color: #fff;
  margin-bottom: 10px;
}

.cta-box p {
  margin: 0 0 28px;
  opacity: 0.92;
  font-size: 18px;
}

.cta-box .store-btn {
  background: #fff;
  color: var(--ink);
}

.cta-box .store-btn:hover {
  background: var(--ink);
  color: #fff;
}

.cta-box .app-icon {
  width: 160px;
  border-radius: 36px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 56px;
  font-size: 14px;
  color: var(--muted);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-top img {
  height: 26px;
  width: auto;
  margin-bottom: 12px;
}

.footer-top p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer-links a {
  text-decoration: none;
  color: var(--ink-2);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--green-700);
}

.footer-links a.strong {
  color: var(--ink);
  font-weight: 800;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}

/* Legal pages */
.legal {
  padding: 56px 0 96px;
}

.legal .container {
  width: min(780px, 100% - 40px);
}

.legal-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.legal-head .crumb {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 8px;
}

.legal-head .crumb a {
  color: var(--green-700);
  text-decoration: none;
  font-weight: 700;
}

.legal-head h1 {
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}

.legal-head .effective {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.legal-body {
  font-size: 16px;
  color: var(--ink-2);
}

.legal-body h1 {
  display: none;
}

.legal-body h3 {
  color: var(--ink);
  font-size: 18px;
  letter-spacing: -0.01em;
  margin: 36px 0 10px;
  scroll-margin-top: 80px;
}

.legal-body strong {
  color: var(--ink);
}

.legal-body ol,
.legal-body ul {
  padding-left: 1.4em;
}

.legal-body li {
  margin: 6px 0;
}

.legal-body li ul {
  list-style: none;
  padding-left: 0.4em;
}

.legal-nav {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.legal-nav a {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-2);
}

.legal-nav a[aria-current="page"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* 404 */
.notfound {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.notfound img {
  width: 160px;
  margin: 0 auto 16px;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .store-btn {
    transition: none;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .nav a:not(.nav-cta) {
    display: none;
  }
  .hero {
    padding-top: 48px;
  }
  .hero .container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-visual {
    min-height: 0;
    padding-bottom: 8px;
  }
  .features,
  .partner-cards {
    grid-template-columns: 1fr;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .split.reverse .split-media {
    order: 0;
  }
  .cta-box {
    grid-template-columns: 1fr;
    padding: 40px 28px;
  }
  .cta-box .app-icon {
    display: none;
  }
  section {
    padding: 72px 0;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }
  .container {
    width: calc(100% - 32px);
  }
  .store-btn {
    flex: 1 1 100%;
  }
  .hero-visual .phone {
    width: 58%;
  }
  .feature,
  .partner-card {
    padding: 26px 22px;
  }
}

.section-sub {
  color: var(--muted);
  margin: 0;
  font-size: 17px;
}

/* Contact dialog */
.contact-dialog {
  width: min(440px, calc(100% - 32px));
  border: 0;
  border-radius: 24px;
  padding: 32px 28px 24px;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(23, 32, 26, 0.25);
}

.contact-dialog::backdrop {
  background: rgba(23, 32, 26, 0.45);
}

.contact-dialog h2 {
  font-size: 22px;
  margin: 0 0 20px;
}

.contact-close-form {
  position: absolute;
  top: 12px;
  right: 12px;
  margin: 0;
}

.contact-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-soft);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-2);
}

.contact-address {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 12px 12px 16px;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 14px;
}

.contact-copy {
  flex: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
}

.contact-copy:hover {
  border-color: var(--green-500);
}

.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.contact-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--ink);
}

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

.contact-btn:hover {
  border-color: var(--green-500);
}

.contact-hint {
  min-height: 1.5em;
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--green-700);
}

@media (max-width: 480px) {
  .contact-actions {
    grid-template-columns: 1fr;
  }
}
