/* Wishmood — журнал желаний: кремовая бумага, шоколадные чернила, антиква. Те же цвета, что в приложении. */
:root {
  --paper: #F2E9DD;
  --surface: #FAF5EE;
  --ink: #4A3428;
  --muted: #8C786A;
  --rose: #C98B7A;
  --hairline: rgba(74, 52, 40, 0.14);
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, "PT Serif", "Noto Serif SC", "Noto Serif JP", "Noto Serif KR", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans", "Apple SD Gothic Neo", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 560px;
  margin: 0 auto;
  padding: 28px 20px 64px;
}

.mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--muted);
  text-transform: uppercase;
}

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

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 13vw, 72px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 36px 0 12px;
  text-align: center;
}

.kicker {
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.lead {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.45;
  text-align: center;
  margin: 18px auto 0;
  max-width: 420px;
}

.art { display: block; margin: 28px auto 0; max-width: 78%; height: auto; }

.card {
  background: var(--surface);
  border: 0.75px solid var(--hairline);
  border-radius: 24px;
  padding: 24px;
  margin-top: 28px;
  box-shadow: 0 18px 40px rgba(74, 52, 40, 0.06);
}

.thing { display: block; width: 100%; max-height: 300px; object-fit: contain; filter: drop-shadow(0 14px 14px rgba(0, 0, 0, 0.16)); }

.title {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 18px 0 6px;
}

.meta { font-size: 14px; color: var(--muted); line-height: 1.5; }
.note { font-family: var(--serif); font-style: italic; font-size: 17px; margin-top: 12px; }
.price { font-family: var(--serif); font-size: 22px; margin-top: 10px; }

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 54px;
  margin-top: 14px;
  border-radius: 999px;
  border: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  text-decoration: none;
  cursor: pointer;
}

.btn.main { background: var(--ink); color: var(--paper); }
.btn.quiet { background: var(--surface); color: var(--ink); border: 0.75px solid rgba(74, 52, 40, 0.3); }
.btn[disabled] { opacity: 0.45; }

.secret { text-align: center; font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 15px; margin-top: 16px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--rose); margin-right: 6px; vertical-align: middle; }

.steps { margin-top: 36px; }
.step { display: flex; gap: 16px; align-items: flex-start; margin-top: 22px; }
.step b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 34px; color: var(--rose); line-height: 1; min-width: 30px; }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 21px; margin: 0 0 4px; }
.step p { margin: 0; color: var(--muted); line-height: 1.5; font-size: 15px; }

.store { display: block; width: 180px; margin: 32px auto 0; }

footer { text-align: center; font-size: 12px; color: var(--muted); margin-top: 48px; letter-spacing: 0.04em; }
footer a { color: inherit; }

.prose h2 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 32px 0 8px; }
.prose p, .prose li { line-height: 1.6; font-size: 16px; }

#apple-sign-in-button { display: flex; justify-content: center; margin-top: 14px; min-height: 0; }
.hidden { display: none !important; }
