/* Same look as the app's invitation: paper, forest green, red capitals, Pinyon Script and Helvetica Neue. */
@font-face{font-family:"Pinyon Script";src:url("/adventpost/PinyonScript-Regular.ttf") format("truetype");font-display:swap}
:root{--forest:#1A4208;--ink:#353B2C;--red:#C81E1D;--paper-top:#F3EFE7;--paper-bottom:#ECE9DF}
*{box-sizing:border-box}
html{min-height:100%;background-color:var(--paper-bottom);background-attachment:fixed;
  background-image:url("/adventpost/grain.png"),linear-gradient(var(--paper-top),var(--paper-bottom));background-size:160px 160px,auto}
body{margin:0;background:none;min-height:100vh;min-height:100dvh;color:var(--ink);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:300;-webkit-font-smoothing:antialiased}
.page{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;align-items:center;max-width:480px;margin:0 auto;padding:max(env(safe-area-inset-top),22px) 26px max(env(safe-area-inset-bottom),22px);text-align:center}
.top{padding-top:14px}
.mid{width:100%;margin:auto 0}
.eyebrow{color:var(--red);font-weight:400;font-size:11px;letter-spacing:.16em;text-transform:uppercase}
h1{font-family:"Pinyon Script",cursive;font-weight:400;color:var(--forest);font-size:36px;line-height:1.15;margin:0;white-space:pre-line}
.lede{font-size:15px;line-height:1.6;margin:18px auto 0;max-width:330px}
.soon{font-size:12px;line-height:1.6;margin:34px auto 0;max-width:330px;opacity:.8}
.rule{height:1px;background:var(--forest);border:0;margin:0}
.codebox{padding:16px 0}
.code{color:var(--forest);font-size:30px;letter-spacing:.14em;margin-top:8px}
.tap{text-decoration:none;padding:12px 24px;animation:pulse 2.4s ease-in-out infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.35}}
/* A link with a code: show the letter, nothing else. */
.is-gift .mid{flex:1;margin:0;padding-top:10px}
.is-gift h1{font-size:54px;line-height:1.25;margin:50px 0 34px}
.is-gift .lede,.is-gift .soon{display:none}
.is-gift .page{cursor:pointer}
@media (prefers-reduced-motion:reduce){.tap{animation:none}}
[hidden]{display:none!important}

/* Text pages (privacy policy, support) */
.doc{max-width:640px;margin:0 auto;padding:max(env(safe-area-inset-top),28px) 26px 60px;text-align:left}
.doc .eyebrow{text-align:center}
.doc h1{font-size:44px;text-align:center;margin:18px 0 6px}
.doc .meta{text-align:center;font-size:12px;opacity:.7;margin:0 0 30px}
.doc h2{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--red);margin:32px 0 10px;padding-top:14px;border-top:1px solid var(--forest)}
.doc p,.doc li{font-size:15px;line-height:1.65}
.doc p{margin:0 0 12px}
.doc ul{margin:0 0 12px;padding-left:20px}
.doc li{margin-bottom:8px}
.doc b{font-weight:400;color:var(--forest)}
.doc a{color:var(--forest)}
.doc .foot{margin-top:40px;text-align:center;font-size:12px;opacity:.7}

/* About page: the intro stays at the top; "More from us", "Say hello" and the links sit at the bottom of the screen. */
.doc.about{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
.doc.about .bottom-group{margin-top:auto}
.doc.about .bottom-group h2:first-child{margin-top:48px}
.doc.about{padding-bottom:max(env(safe-area-inset-bottom),16px)}
.doc.about .foot{margin-top:28px;margin-bottom:0}
