:root {
  color-scheme: light;
  --pink: #ff4f7b;
  --pink-soft: #fff1f5;
  --blue: #2766c7;
  --green: #1e957a;
  --ink: #111114;
  --muted: #666670;
  --faint: #f6f6f8;
  --line: #ececf0;
  --surface: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: ui-rounded, "SF Pro Rounded", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

main {
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(236, 236, 240, 0.9);
  backdrop-filter: blur(16px);
  max-width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 950;
  font-size: 22px;
  letter-spacing: 0;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 760;
}

.nav a {
  text-decoration: none;
}

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

.language-link {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
}

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

.hero {
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: clamp(48px, 7vw, 90px) clamp(20px, 5vw, 72px) clamp(42px, 5vw, 64px);
  background: #fff;
  overflow: hidden;
}

.hero-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 0.9fr);
  align-items: center;
  gap: clamp(34px, 6vw, 92px);
  min-width: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--pink);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(58px, 10vw, 118px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(54px, 7vw, 96px);
  line-height: 1.02;
}

.keep-line {
  white-space: nowrap;
}

.hero .eyebrow {
  color: var(--ink);
  font-size: 18px;
  text-transform: none;
}

html[lang="ko"] .hero h1 {
  font-size: clamp(46px, 6.6vw, 82px);
  line-height: 1.1;
}

@media (min-width: 941px) {
  html[lang="en"] .hero h1 {
    font-size: clamp(54px, 5.9vw, 80px);
    line-height: 1.04;
  }
}

.lead {
  max-width: 650px;
  color: #303036;
  font-size: clamp(20px, 2.45vw, 31px);
  line-height: 1.24;
  font-weight: 780;
  overflow-wrap: anywhere;
}

.message-clouds {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 620px;
  margin-top: 26px;
}

.message-clouds span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 8px;
  color: var(--pink);
  background: var(--pink-soft);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 10px 24px rgba(255, 79, 123, 0.12);
}

.message-clouds span:nth-child(2) {
  color: #2b67c8;
  background: #e8f1ff;
  transform: rotate(-2deg);
}

.message-clouds span:nth-child(3) {
  transform: rotate(2deg);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 850;
}

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

.button.secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.language-choice {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  padding: 28px;
  text-align: center;
  background: #fff;
}

.language-choice img {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  filter: drop-shadow(0 16px 22px rgba(17, 17, 20, 0.16));
}

.language-choice h1 {
  margin: 8px 0 0;
  font-size: clamp(44px, 10vw, 72px);
}

.language-choice p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 760;
}

.language-choice .actions {
  margin-top: 10px;
  justify-content: center;
}

.phone-stage {
  position: relative;
  width: min(620px, 100%);
  height: clamp(560px, 74vh, 820px);
  justify-self: center;
  max-width: 100%;
}

.device-shot {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 26px 34px rgba(17, 17, 20, 0.24));
}

.hero-phone {
  position: absolute;
  top: 0;
  transform-origin: center;
}

.hero-phone.home {
  left: 24%;
  z-index: 3;
  width: min(310px, 52%);
}

.hero-phone.lock {
  left: 0;
  top: 12%;
  z-index: 1;
  width: min(250px, 42%);
  transform: rotate(-8deg);
}

.hero-phone.widget {
  right: 0;
  top: 18%;
  z-index: 2;
  width: min(255px, 43%);
  transform: rotate(7deg);
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
  overflow-x: hidden;
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  min-width: 0;
}

.section h2 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.section-text {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
  overflow-wrap: anywhere;
}

.feature-section {
  background: var(--pink-soft);
}

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

.feature {
  min-height: 172px;
  padding: 22px;
  border: 0;
  border-radius: 8px;
  background: var(--surface);
  min-width: 0;
  box-shadow: 0 18px 40px rgba(255, 79, 123, 0.1);
}

.feature strong {
  display: block;
  margin-bottom: 10px;
  font-size: 23px;
  overflow-wrap: anywhere;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  overflow-wrap: anywhere;
}

.split-section {
  background: #fff;
}

.split-section h2,
.dark-section h2 {
  color: var(--ink);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 0.7fr);
  align-items: center;
  gap: clamp(34px, 7vw, 96px);
  min-width: 0;
}

.split-layout > * {
  min-width: 0;
}

.split-layout.reverse {
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 0.8fr);
  direction: rtl;
}

.split-layout.reverse > * {
  direction: ltr;
}

.feature-phone {
  width: min(360px, 88vw);
  justify-self: center;
}

.dark-section {
  color: var(--ink);
  background: var(--pink-soft);
  overflow: hidden;
}

.dark-section .section-text {
  color: var(--muted);
}

.dark-section .eyebrow {
  color: var(--pink);
}

.paired-phones {
  position: relative;
  min-height: 680px;
}

.paired-phone {
  position: absolute;
  width: min(310px, 52%);
}

.paired-phone.detail {
  left: 0;
  top: 0;
  z-index: 2;
}

.paired-phone.compose {
  right: 0;
  top: 110px;
  z-index: 1;
}

.support-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.support-item {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
}

.support-item h3 {
  margin-bottom: 8px;
  font-size: 20px;
  overflow-wrap: anywhere;
}

.support-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.page {
  padding: 56px clamp(20px, 5vw, 72px) 96px;
}

.page article {
  width: min(860px, 100%);
  margin: 0 auto;
  min-width: 0;
}

.page h1 {
  margin-bottom: 16px;
  font-size: clamp(42px, 7vw, 78px);
  overflow-wrap: anywhere;
}

.page h2 {
  margin: 36px 0 12px;
  font-size: 28px;
  overflow-wrap: anywhere;
}

.page p,
.page li {
  color: #3a3a42;
  font-size: 18px;
  overflow-wrap: anywhere;
}

html[lang="ko"] .lead,
html[lang="ko"] .section h2,
html[lang="ko"] .section-text,
html[lang="ko"] .feature strong,
html[lang="ko"] .feature p,
html[lang="ko"] .support-item h3,
html[lang="ko"] .support-item p,
html[lang="ko"] .page h1,
html[lang="ko"] .page h2,
html[lang="ko"] .page p,
html[lang="ko"] .page li,
html[lang="ko"] .button,
html[lang="ko"] .nav a {
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: anywhere;
}

.page ul {
  padding-left: 22px;
}

.callout {
  margin: 28px 0;
  padding: 22px;
  border-radius: 8px;
  background: var(--faint);
}

.callout p {
  margin: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
  max-width: 100%;
}

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

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

@media (max-width: 940px) {
  .hero {
    min-height: auto;
    background: #fff;
  }

  .hero-inner,
  .split-layout,
  .split-layout.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .phone-stage {
    height: 650px;
    width: min(560px, 100%);
  }

  .split-section {
    background: #fff;
  }

  .paired-phones {
    min-height: 620px;
    width: min(560px, 100%);
    justify-self: center;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    overflow-x: clip;
  }

  .nav {
    flex-wrap: wrap;
    max-width: calc(100vw - 40px);
  }

  .hero {
    padding-top: 40px;
    overflow-x: clip;
  }

  .hero-copy,
  .section-inner,
  .page article {
    width: 100%;
    max-width: calc(100vw - 40px);
  }

  .lead,
  .section h2,
  .section-text,
  .feature strong,
  .feature p,
  .support-item h3,
  .support-item p {
    width: calc(100vw - 40px);
    max-width: 100%;
  }

  .button {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  h1 {
    font-size: clamp(58px, 18vw, 84px);
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 58px);
    line-height: 1.08;
  }

  html[lang="ko"] .hero h1 {
    font-size: clamp(40px, 10.8vw, 50px);
    line-height: 1.14;
  }

  .lead {
    font-size: 20px;
  }

  .message-clouds {
    margin-top: 22px;
  }

  .message-clouds span {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 15px;
  }

  html[lang="ko"] .lead {
    font-size: 19px;
    line-height: 1.35;
    word-break: break-all;
  }

  html[lang="ko"] .section h2 {
    font-size: clamp(31px, 8.6vw, 38px);
    line-height: 1.08;
    word-break: break-all;
  }

  html[lang="ko"] .section-text {
    font-size: 17px;
    line-height: 1.62;
    word-break: break-all;
  }

  html[lang="ko"] .feature strong,
  html[lang="ko"] .feature p,
  html[lang="ko"] .support-item h3,
  html[lang="ko"] .support-item p,
  html[lang="ko"] .page h1,
  html[lang="ko"] .page h2,
  html[lang="ko"] .page p,
  html[lang="ko"] .page li {
    word-break: break-all;
  }

  .phone-stage {
    height: 540px;
  }

  .hero-phone.home {
    left: 20%;
    width: 60%;
  }

  .hero-phone.lock {
    left: -5%;
    width: 48%;
  }

  .hero-phone.widget {
    right: -5%;
    width: 48%;
  }

  .feature-grid,
  .support-list {
    grid-template-columns: 1fr;
  }

  .paired-phones {
    min-height: 540px;
  }

  .paired-phone {
    width: 58%;
  }

  .paired-phone.compose {
    top: 86px;
  }

}
