:root {
  --ink: #171713;
  --paper: #f8f5ee;
  --accent: #171713;
  --line: rgba(23, 23, 19, 0.16);
  --muted: #6c6961;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", sans-serif;
  word-break: keep-all;
}

a { color: inherit; text-decoration: none; }

.hero {
  min-height: 100svh;
  padding: 28px clamp(24px, 6vw, 88px) 64px;
  overflow: hidden;
}

nav, footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -0.04em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-link { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 650; }
.nav-link:hover { background: var(--ink); color: var(--paper); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.language-switcher { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.language-switcher a { padding: 7px 10px; border-radius: 999px; color: var(--muted); font-size: 12px; font-weight: 750; }
.language-switcher a:hover, .language-switcher a.active { color: var(--paper); background: var(--ink); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: center;
  gap: clamp(48px, 7vw, 120px);
  max-width: 1280px;
  min-height: calc(100svh - 100px);
  margin: 0 auto;
}

.eyebrow { margin: 0 0 22px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .2em; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 30px; font-size: clamp(54px, 8vw, 112px); line-height: .94; letter-spacing: -.075em; }
h1 em { color: var(--ink); font-family: inherit; font-style: normal; font-weight: 800; }
.lede { max-width: 580px; color: var(--muted); font-size: clamp(18px, 2vw, 23px); line-height: 1.65; letter-spacing: -.025em; }
.app-store-badge { display: inline-block; margin-top: 26px; }
.app-store-badge img { display: block; width: auto; height: 48px; }

.visual { position: relative; aspect-ratio: 1; }
.visual::before { content: ""; position: absolute; inset: 7%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 3%, #cbc9c2 3.5% 5%, transparent 5.5%), linear-gradient(145deg, #e9e7e0, #d8d6cf); box-shadow: 0 35px 80px rgba(23,23,19,.16); }
.orbit { position: absolute; inset: 0; border: 1px solid rgba(23,23,19,.16); border-radius: 50%; }
.orbit-two { inset: 20%; border-style: dashed; }
.icon-card { position: absolute; inset: 31%; display: grid; place-items: center; border-radius: 25%; background: rgba(255,255,255,.35); backdrop-filter: blur(18px); box-shadow: 0 20px 55px rgba(23,23,19,.18); transform: rotate(-4deg); }
.icon-card img { width: 78%; border-radius: 23%; box-shadow: 0 12px 28px rgba(23,23,19,.16); }
.pin { position: absolute; z-index: 2; width: 18px; height: 18px; background: var(--accent); border: 4px solid var(--paper); border-radius: 50% 50% 50% 0; box-shadow: 0 5px 15px rgba(23,23,19,.22); transform: rotate(-45deg); }
.pin span { position: absolute; left: 18px; top: -14px; padding: 6px 9px; color: var(--ink); background: #fff; border-radius: 7px; font-size: 10px; font-weight: 750; transform: rotate(45deg); }
.pin-one { top: 19%; right: 19%; }
.pin-two { bottom: 20%; left: 10%; }
.pin-three { bottom: 8%; right: 26%; }

.story { padding: 120px clamp(24px, 6vw, 88px); color: #f9f5ed; background: var(--ink); }
.section-heading, .feature-grid { max-width: 1280px; margin-inline: auto; }
.section-heading { display: flex; align-items: end; justify-content: space-between; }
h2 { max-width: 800px; margin-bottom: 70px; font-size: clamp(42px, 6vw, 78px); line-height: 1.05; letter-spacing: -.06em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.2); }
.feature-grid article { padding: 36px clamp(0px, 3vw, 42px) 0; }
.feature-grid article + article { border-left: 1px solid rgba(255,255,255,.2); }
.feature-grid article:first-child { padding-left: 0; }
.number { color: #8d8980; font-size: 24px; font-weight: 750; letter-spacing: -.03em; }
h3 { margin: 48px 0 14px; font-size: 24px; letter-spacing: -.04em; }
.feature-grid p { color: #aaa79f; font-size: 16px; line-height: 1.7; }

.quote { display: grid; min-height: 66svh; padding: 80px 24px; place-items: center; text-align: center; }
.quote p { font-size: clamp(34px, 5vw, 68px); font-weight: 750; line-height: 1.25; letter-spacing: -.055em; }
.quote span { color: var(--ink); font-family: inherit; font-style: normal; font-weight: 800; }

footer { padding: 32px clamp(24px, 6vw, 88px); border-top: 1px solid var(--line); }
footer p { margin: 0; color: var(--muted); font-size: 12px; }
.legal { display: grid; max-width: 620px; gap: 6px; text-align: right; }
.footer-nav { margin: 0; }
.footer-nav a { font-size: 14px; font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }
.footer-brand img { width: 28px; height: 28px; border-radius: 8px; }

.document-page { background: var(--paper); }
.document-page { word-break: normal; overflow-wrap: break-word; }
.document-shell { max-width: 1080px; margin: 0 auto; padding: 28px clamp(24px, 6vw, 72px) 120px; }
.document-nav { padding-bottom: 88px; }
.document-hero { max-width: 820px; margin-bottom: 72px; }
.document-hero h1 { margin-bottom: 28px; font-size: clamp(42px, 6vw, 68px); line-height: 1.08; letter-spacing: -.055em; }
.document-hero .lede { max-width: 760px; }
.document-meta { margin-top: 26px; color: var(--muted); font-size: 14px; }
.document-toc { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 90px; padding: 0; list-style: none; }
.document-toc a { display: block; padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 700; }
.document-toc a:hover { color: var(--paper); background: var(--ink); }
.document-section { padding: 72px 0; border-top: 1px solid var(--line); }
.document-section > h2 { margin-bottom: 44px; font-size: clamp(34px, 5vw, 52px); line-height: 1.15; letter-spacing: -.045em; }
.document-section h3 { margin: 54px 0 16px; font-size: 24px; line-height: 1.35; letter-spacing: -.03em; }
.document-section h4 { margin: 34px 0 10px; font-size: 18px; }
.document-section p, .document-section li { color: #4e4b45; font-size: 16px; line-height: 1.8; }
.document-section ul, .document-section ol { padding-left: 22px; }
.document-section li + li { margin-top: 8px; }
.document-section a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.policy-note { margin: 24px 0; padding: 20px 22px; background: #ece9e1; border-radius: 16px; }
.table-wrap { margin: 24px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.document-table { width: 100%; min-width: 760px; border-collapse: collapse; background: rgba(255,255,255,.4); }
.document-table th, .document-table td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 14px; line-height: 1.6; }
.document-table th { color: var(--ink); background: #ece9e1; }
.document-table tr:last-child td { border-bottom: 0; }
.document-footer { max-width: 1080px; }

@media (max-width: 760px) {
  .hero { min-height: auto; padding-top: 20px; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding: 100px 0 30px; }
  .visual { width: min(100%, 480px); margin: 0 auto; }
  .story { padding-block: 90px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { padding: 32px 0; }
  .feature-grid article + article { border-top: 1px solid rgba(255,255,255,.2); border-left: 0; }
  h3 { margin-top: 30px; }
  footer { align-items: flex-start; gap: 28px; flex-direction: column; }
  .legal { text-align: left; }
  .document-nav { padding-bottom: 64px; }
  .document-nav { align-items: flex-start; gap: 18px; }
  .document-nav .nav-actions { align-items: flex-end; flex-direction: column-reverse; }
  .document-hero h1 { font-size: clamp(38px, 12vw, 54px); }
  .document-section { padding: 56px 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .visual { animation: arrive .9s cubic-bezier(.2,.75,.2,1) both; }
  .pin { animation: float 3.5s ease-in-out infinite; }
  .pin-two { animation-delay: -1.2s; }
  .pin-three { animation-delay: -2.3s; }
  @keyframes arrive { from { opacity: 0; transform: translateY(25px) scale(.96); } }
  @keyframes float { 0%, 100% { margin-top: 0; } 50% { margin-top: -10px; } }
}
