:root {
  color-scheme: light;
  --ink: #222322;
  --muted: #646763;
  --paper: #f8f8f6;
  --line: #dededa;
  --accent: #2f8a4c;
  --globe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M2.5 12h19'/%3E%3Cpath d='M12 2.5c2.6 2.7 3.9 5.9 3.9 9.5s-1.3 6.8-3.9 9.5c-2.6-2.7-3.9-5.9-3.9-9.5S9.4 5.2 12 2.5z'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
:lang(ko) { word-break: keep-all; }  /* Korean wraps between words, not syllables */
a { color: inherit; text-underline-offset: 5px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }

.wrap { width: min(820px, calc(100% - 48px)); margin: auto; }
header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px 0; }
.wordmark { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; text-decoration: none; }
nav { font-size: 14px; }

.hero { padding: 42px 0 48px; border-bottom: 1px solid var(--line); }
.hero > img { width: 112px; height: 112px; border-radius: 50%; display: block; margin-bottom: 28px; box-shadow: 0 6px 24px rgba(0,0,0,.12); }
.eyebrow { font-size: 14px; color: var(--muted); margin: 0 0 16px; }
h1 { font-size: clamp(38px, 7vw, 66px); letter-spacing: -0.045em; line-height: 1.08; margin: 0 0 12px; font-weight: 800; }
.subtitle { font-size: clamp(20px, 3vw, 26px); font-weight: 650; letter-spacing: -0.02em; margin: 0 0 24px; }
.lead { font-size: 18px; line-height: 1.7; color: var(--muted); margin: 0 0 16px; max-width: 640px; }
.store-links { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 22px 10px 18px;
  border-radius: 999px; background: var(--ink); color: var(--paper);
  text-decoration: none; font-weight: 600; font-size: 15px;
}
[dir="rtl"] .button { padding: 10px 18px 10px 22px; }
.button:hover { background: #000; }
.apple-logo { flex: none; margin-top: -2px; }

section { padding: 36px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: 0; }
h2 { font-size: 24px; letter-spacing: -0.035em; margin: 0 0 24px; }
h3 { font-size: 18px; margin: 0 0 8px; }
section p, li { font-size: 16px; color: var(--muted); line-height: 1.75; }
section p { margin: 0; }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 48px; }
h2.label { font-size: 14px; letter-spacing: 0.06em; color: var(--accent); margin: 0 0 16px; }
.feature-icon { display: block; width: 40px; height: 40px; color: var(--ink); margin-bottom: 16px; }
.feature h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; color: var(--ink); margin: 0 0 10px; }
.feature p, .feature li { font-size: 16px; line-height: 1.6; color: #3d403e; }
.feature ul { margin: 0; padding: 0; list-style: none; }
.feature ul li { padding: 2px 0; }
.feature ul + p, .feature p + ul { margin-top: 8px; }
ol { margin: 0; padding-inline-start: 24px; }
ol li { padding-block: 5px; padding-inline-start: 8px; }
.guide { margin-top: 18px !important; font-size: 15px !important; }
.guide a { color: var(--accent); font-weight: 600; }
.note { margin-top: 16px !important; font-size: 13px !important; }
.lang-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.lang-link::before {
  content: ""; width: 15px; height: 15px; flex: none; opacity: .7;
  background-color: currentColor;
  -webkit-mask: var(--globe) center / contain no-repeat;
  mask: var(--globe) center / contain no-repeat;
}
.languages h2 { font-size: 15px; color: var(--muted); font-weight: 600; margin-bottom: 14px; letter-spacing: 0; }
.language-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }
.language-links a { color: var(--muted); }
.language-links a[aria-current="page"] { color: var(--ink); font-weight: 650; text-decoration: none; }

/* Watch screenshots: black screens, so frame them like a watch display */
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 16px; }
.shots figure { margin: 0; }
.shots img {
  width: 100%; height: auto; display: block;
  background: #000; border-radius: 22%/18%;
  border: 6px solid #1b1b1b; box-shadow: 0 8px 24px rgba(0,0,0,.14);
}
.shots figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 10px; }

details { border-top: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { border-top: 0; padding-top: 0; }
summary { font-size: 17px; font-weight: 550; cursor: pointer; line-height: 1.6; }
details p { padding-top: 12px; }

footer { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 13px; padding: 28px 0 40px; border-top: 1px solid var(--line); }

.prose { padding: 20px 0 48px; }
.prose h1 { font-size: clamp(32px, 6vw, 48px); letter-spacing: -0.04em; line-height: 1.1; margin: 0 0 12px; }
.prose h1 + p { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.prose h2 { font-size: 21px; margin: 40px 0 12px; }
.prose h3 { font-size: 17px; margin: 28px 0 8px; }
.prose h4 { font-size: 15px; margin: 22px 0 6px; }
.prose p, .prose li { font-size: 16px; line-height: 1.75; color: var(--muted); }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 14px; padding-inline-start: 22px; }
.prose li { padding: 2px 0; }
.prose strong { color: var(--ink); }

@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  header { padding: 24px 0; }
  .hero { padding-top: 28px; }
  .hero > img { width: 90px; height: 90px; }
  .lead { font-size: 17px; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .shots img { border-width: 4px; }
  .features { grid-template-columns: 1fr; gap: 36px; }
  h2 { font-size: 22px; }
}
