:root {
  --ink: #1c1915; --muted: #5e584f; --paper: #efeae2; --card: #fbf8f3; --line: #e3d9cc;
  --navy: #16324a; --brass: #8d6a34; --good: #1d5c45; --good-bg: #e5f2eb; --warn-bg: #f8efd8;
  --serif: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", "Helvetica Neue", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { background: #efeae2; min-height: 100%; }
body {
  margin: 0; color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.5;
  background: radial-gradient(1200px 400px at 10% -10%, rgba(141,106,52,.16), transparent 50%), var(--paper);
  padding-bottom: env(safe-area-inset-bottom);
}
[hidden] { display: none !important; }
.demo-banner { margin: 0; padding: 8px 16px; padding-top: calc(8px + env(safe-area-inset-top)); background: #7c2d2d; color: #fff; font-size: 13px; text-align: center; }
.demo-banner strong { letter-spacing: .06em; margin-right: 6px; }
.wrap { max-width: 560px; margin: 0 auto; padding: 20px 16px 32px; }
.hero { text-align: center; margin-bottom: 18px; }
.appicon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 10px 30px rgba(22,50,74,.25); }
h1 { font-family: var(--serif); color: var(--navy); font-size: 27px; line-height: 1.2; margin: 14px 0 4px; letter-spacing: -.01em; }
.sub { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.lede { margin: 0; color: var(--ink); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; margin: 16px 0; box-shadow: 0 10px 30px rgba(22,50,74,.06); }
.card.warn { background: var(--warn-bg); }
h2 { font-family: var(--serif); color: var(--navy); font-size: 21px; margin: 0 0 12px; }
.btn { display: block; width: 100%; border: 0; border-radius: 14px; background: var(--navy); color: #fff; font: inherit; font-weight: 600; cursor: pointer; padding: 14px 18px; }
.btn.big { font-size: 20px; padding: 18px; min-height: 60px; }
.btn:active { transform: translateY(1px); }
.steps { padding-left: 22px; margin: 8px 0; }
.steps li { margin: 8px 0; }
.big-steps li { margin: 0 0 18px; }
.big-steps li::marker { font-weight: 700; color: var(--navy); font-size: 19px; }
.big-steps p { margin: 0 0 10px; }
.kbd { display: inline-block; min-width: 1.6em; text-align: center; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-weight: 700; padding: 0 4px; }
.note { color: var(--muted); font-size: 15px; margin: 10px 0 0; }
.ok { background: var(--good-bg); color: var(--good); border-radius: 12px; padding: 10px 12px; margin: 12px 0 0; font-weight: 600; }
.illu { border: 1px solid var(--line); border-radius: 14px; background: #f4f4f6; padding: 10px; }
.safari-bar { display: flex; justify-content: space-around; align-items: center; color: #007aff; font-size: 22px; height: 48px; }
.sb-ico { opacity: .55; }
.sb-share { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 3px solid #c4a46a; color: #007aff; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(196,164,106,.6); } 50% { box-shadow: 0 0 0 8px rgba(196,164,106,0); } }
.sheet-row { display: flex; justify-content: space-between; align-items: center; background: #fff; padding: 11px 12px; font-size: 16px; border-bottom: 1px solid #e5e5ea; }
.sheet-row:first-child { border-radius: 10px 10px 0 0; }
.sheet-row:last-child { border-radius: 0 0 10px 10px; border-bottom: 0; }
.sheet-row.on { outline: 3px solid #c4a46a; outline-offset: -3px; font-weight: 600; }
.row-ico { color: #1c1c1e; font-size: 20px; display: grid; place-items: center; }
.link-box input { width: 100%; font: inherit; font-size: 15px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.qr { display: block; width: 240px; height: 240px; margin: 8px auto; image-rendering: pixelated; border-radius: 10px; background: #fff; }
.foot { text-align: center; font-size: 15px; margin-top: 22px; }
.foot a { color: var(--navy); }
