:root {
  --red: rgb(196, 49, 38);
  --ink: #111111;
  --muted: #666666;
  --paper: #fbf8f3;
  --line: #ebe4da;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #ffffff 0%, var(--paper) 58%, #f6efe6 100%);
  color: var(--ink);
  line-height: 1.5;
}

.wrap {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
}

header {
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
}

.lang {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
}

.lang button {
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--muted);
  cursor: pointer;
  padding: 6px 8px;
}

.lang button.active {
  color: var(--red);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.divider { color: var(--line); }

.hero {
  padding: 64px 0 70px;
  text-align: center;
}

.app-icon {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(0,0,0,.10);
  margin-bottom: 28px;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 8vw, 104px);
  line-height: .94;
  letter-spacing: -0.06em;
  margin: 0;
}

h1 span { color: var(--red); }

.lead {
  font-size: clamp(22px, 3vw, 32px);
  max-width: 760px;
  margin: 28px auto 0;
  letter-spacing: -0.03em;
}

.manifest {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.04em;
  margin: 30px auto 0;
  max-width: 720px;
}

.manifest p { margin: 12px 0; }

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 9px 18px 10px;
  min-width: 190px;
  border-radius: 14px;
  background: #000;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0,0,0,.16);
}

.app-store-badge:hover {
  transform: translateY(-1px);
}

.apple-mark {
  font-size: 34px;
  line-height: 1;
  margin-top: -2px;
}

.app-store-badge span:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
}

.app-store-badge small {
  font-size: 11px;
  letter-spacing: .02em;
}

.app-store-badge strong {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.preview {
  width: min(100%, 720px);
  display: block;
  margin: 54px auto 0;
  border-radius: 36px;
  box-shadow: 0 28px 70px rgba(0,0,0,.10);
}

section {
  padding: 76px 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 0 0 20px;
}

.privacy {
  background: rgba(255,255,255,.70);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 34px;
  text-align: left;
  max-width: 820px;
  margin: 0 auto;
}

.privacy h2 { text-align: center; }

.privacy h3 {
  margin-top: 28px;
  margin-bottom: 8px;
}

.privacy p {
  color: var(--muted);
  margin: 0;
}

footer {
  padding: 36px 0 60px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

footer p { margin: 4px 0; }

@media (max-width: 720px) {
  header { gap: 16px; }
  .hero { padding-top: 42px; }

  .preview {
    border-radius: 24px;
    margin-top: 38px;
  }

  .privacy { padding: 24px; }
}
