/* The same palette as the app: rice paper, vermilion, gold and jade. */
:root {
  --paper: #f6eedd; --ink: #29201a; --muted: #6b5d52; --jade: #1b6b5d; --jade-soft: #e6efe6; --card: #fffbf1; --line: #e0cf9f;
  --red: #c6322a; --deep: #7e1618; --gold: #c69a43; --pale: #f1d89a; --cream: #fdf7e9;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #16110e; --ink: #f2ebdc; --muted: #b3a595; --jade: #66c7b0; --jade-soft: #1e2a25; --card: #261d18; --line: #5a4826; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }
header.site { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "New York", Georgia, serif; font-weight: 600; font-size: 20px; color: var(--ink); text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; }
nav a:hover { color: var(--jade); }
h1, h2, h3 { font-family: "New York", Georgia, serif; font-weight: 600; line-height: 1.15; margin: 0 0 12px; }
h1 { font-size: clamp(36px, 8vw, 56px); letter-spacing: -0.01em; }
h2 { font-size: 28px; margin-top: 56px; }
h2::after { content: ""; display: block; width: 74px; height: 3px; margin-top: 8px; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 12px); }
h3 { font-size: 20px; margin-top: 28px; }
p { margin: 0 0 16px; }
.lede { font-size: 20px; color: var(--muted); }
a { color: var(--jade); }
.hero { margin: 12px 0 8px; padding: 40px 28px 30px; border-radius: 14px; color: var(--cream); position: relative;
  background-color: var(--red);
  background-image: radial-gradient(circle at 0 0, transparent 22px, rgba(241,216,154,.16) 23px, transparent 24px), radial-gradient(circle at 24px 24px, transparent 22px, rgba(241,216,154,.16) 23px, transparent 24px), linear-gradient(135deg, var(--red), var(--deep));
  background-size: 48px 48px, 48px 48px, 100% 100%; box-shadow: 0 6px 18px rgba(0,0,0,.16); }
.hero::after { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(241,216,154,.75); border-radius: 9px; pointer-events: none; }
.hero .lede { color: var(--pale); }
.hero h1 { color: var(--cream); }
.card { background: var(--card); border: 1px solid var(--gold); border-radius: 12px; padding: 24px; margin: 24px 0; box-shadow: 0 3px 10px rgba(0,0,0,.05); }
label { display: block; font-size: 14px; color: var(--muted); margin: 14px 0 6px; }
input[type=date], input[type=time] { width: 100%; font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); min-height: 48px; }
.check { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 16px; color: var(--ink); }
.check input { width: 20px; height: 20px; accent-color: var(--jade); }
button.go, a.go { display: inline-block; width: 100%; margin-top: 20px; padding: 14px 18px; border: 0; border-radius: 14px; background: var(--jade); color: #fff; font: inherit; font-weight: 600; text-align: center; text-decoration: none; cursor: pointer; }
@media (prefers-color-scheme: dark) { button.go, a.go { color: #0d1513; } }
a.go.soon { background: var(--jade-soft); color: var(--jade); cursor: default; }
#result { display: none; }
#result.show { display: block; }
.sign { text-align: center; padding: 8px 0 4px; }
.medal { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle, #fdf7e9 15%, #f1d89a 100%); box-shadow: inset 0 0 0 6px var(--gold), inset 0 0 0 11px #fdf3da, inset 0 0 0 12.5px rgba(198,50,40,.75); }
.medal img { width: 108px; height: 108px; }
.sign .small { color: var(--muted); font-size: 15px; }
.sign .name { font-family: "New York", Georgia, serif; font-weight: 600; font-size: 44px; line-height: 1.1; margin: 4px 0 8px; }
.chips span { display: inline-block; background: var(--jade-soft); color: var(--jade); border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 500; margin: 3px; }
.two { background: var(--jade-soft); border-radius: 16px; padding: 18px; margin-top: 20px; }
.two h3 { margin-top: 0; }
.two .answer { margin-top: 12px; }
.two .answer b { font-family: "New York", Georgia, serif; font-size: 22px; display: block; }
.muted, .two small { color: var(--muted); font-size: 15px; }
dl { margin: 20px 0 0; }
dt { color: var(--muted); font-size: 14px; margin-top: 14px; }
dd { margin: 2px 0 0; }
dd b { font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-top: 18px; }
.grid div { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 18px; }
.grid h3 { margin: 0 0 6px; font-size: 18px; }
.grid p { margin: 0; color: var(--muted); font-size: 15px; }
.price { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .price { grid-template-columns: 1fr; } nav a:not(.keep) { display: none; } }
.price div { background: var(--card); border: 1px solid var(--gold); border-radius: 10px; padding: 20px; }
.price .amount { font-family: "New York", Georgia, serif; font-size: 34px; font-weight: 600; }
.price ul { padding-left: 18px; margin: 10px 0 0; color: var(--muted); font-size: 15px; }
footer { margin-top: 72px; padding: 28px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); margin-right: 16px; }
.legal h2 { font-size: 22px; margin-top: 36px; }
.legal { padding-top: 24px; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0 6px; }
.shots img { width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(0,0,0,.14); display: block; }
@media (max-width: 560px) { .shots { grid-template-columns: repeat(3, 62%); overflow-x: auto; padding-bottom: 8px; } }
.publisher { color: var(--muted); font-size: 15px; }
