:root {
  color-scheme: light;
  --bg: #f7faf8;
  --paper: #ffffff;
  --ink: #14231f;
  --muted: #63756d;
  --line: #dce8e2;
  --leaf: #12664f;
  --leaf-dark: #0b3f36;
  --mint: #e7f5ee;
  --sky: #e7f0ff;
  --coral: #f47c57;
  --sun: #ffd166;
  --shadow: 0 18px 48px rgba(18, 102, 79, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, #f7faf8 0%, #eef8f3 48%, #f6f9ff 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

.site-header,
main,
.footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--leaf-dark);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(20, 35, 31, 0.12);
}

.nav-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a,
.footer a {
  text-decoration: none;
}

.nav-links a:hover,
.footer a:hover {
  color: var(--leaf);
}

main {
  display: grid;
  gap: 24px;
  padding-bottom: 48px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  align-items: center;
  gap: 32px;
  min-height: calc(100svh - 86px);
  padding: 34px 0 44px;
}

.hero-copy {
  display: grid;
  gap: 22px;
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--leaf);
  font-size: 14px;
  font-weight: 800;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  max-width: 12ch;
  font-size: clamp(44px, 8vw, 82px);
}

h2 {
  max-width: 14ch;
  font-size: clamp(30px, 4.6vw, 52px);
}

.intro,
.split-section p,
.privacy-section p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 19px);
}

.intro {
  max-width: 56ch;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

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

.button.secondary {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--leaf-dark);
}

.phone-stage {
  position: relative;
  min-height: 620px;
}

.phone {
  width: min(295px, 52vw);
  border: 10px solid #101f1a;
  border-radius: 34px;
  background: #101f1a;
  box-shadow: var(--shadow);
}

.phone-main {
  position: absolute;
  right: 16%;
  top: 0;
  z-index: 2;
}

.phone-side {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(245px, 43vw);
  transform: rotate(4deg);
}

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

.feature-strip article,
.policy-grid a,
.privacy-section,
.split-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(20, 35, 31, 0.06);
}

.feature-strip article {
  padding: 22px;
}

.feature-strip strong,
.policy-grid strong {
  display: block;
  font-size: 20px;
}

.feature-strip p,
.policy-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: 28px;
  padding: 34px;
}

.split-section.reverse {
  grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.15fr);
}

.split-section.reverse div {
  order: 2;
}

.split-section > div,
.privacy-section > div,
.section-heading {
  display: grid;
  gap: 12px;
}

.wide-image {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mint);
}

.solo-phone {
  justify-self: center;
  width: min(270px, 70vw);
}

.privacy-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(231, 245, 238, 0.96), rgba(231, 240, 255, 0.9));
}

.policy-section {
  display: grid;
  gap: 22px;
  padding: 28px 0;
}

.policy-grid a {
  display: block;
  min-height: 142px;
  padding: 22px;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.policy-grid a:hover,
.policy-grid a:focus-visible {
  border-color: var(--leaf);
  transform: translateY(-2px);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 40px;
  color: var(--muted);
}

.footer span {
  color: var(--leaf-dark);
  font-weight: 800;
}

@media (max-width: 920px) {
  .hero,
  .split-section,
  .split-section.reverse,
  .privacy-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .phone-stage {
    min-height: 560px;
  }

  .phone-main {
    left: 8%;
    right: auto;
  }

  .phone-side {
    right: 8%;
  }

  .split-section.reverse div {
    order: 0;
  }
}

@media (max-width: 680px) {
  .site-header,
  main,
  .footer {
    width: min(100% - 24px, 1120px);
  }

  .site-header,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  h1 {
    font-size: clamp(40px, 16vw, 58px);
  }

  .phone-stage {
    min-height: 500px;
  }

  .phone {
    width: min(250px, 72vw);
  }

  .phone-side {
    width: min(205px, 58vw);
  }

  .feature-strip,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .split-section,
  .privacy-section {
    padding: 24px;
  }
}
