/* Shared look for the thank-you and legal pages: same font, navy and button as the product page. */
@font-face { font-family: "Instrument Sans"; font-weight: 400 700; font-display: swap; src: url(/bbb/instrument-sans.woff2) format("woff2"); }
:root { --ink: #14212b; --muted: #55636f; --paper: #fff; --rule: #d7e0e8; --gift: #2f6fd0; }
@media (prefers-color-scheme: dark) { :root { --ink: #e8eef4; --muted: #9aabb8; --paper: #0e161d; --rule: #24333f; --gift: #7fb0f5; color-scheme: dark; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 "Instrument Sans", "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
main { max-width: 40rem; margin: 0 auto; padding: clamp(48px, 10vw, 96px) 20px; }
h1 { font-size: clamp(32px, 5vw, 44px); line-height: 1.1; letter-spacing: -.03em; font-weight: 600; margin: 0 0 12px; text-wrap: balance; }
h2 { font-size: 21px; letter-spacing: -.02em; font-weight: 600; margin: 36px 0 8px; }
p, li { color: var(--ink); } .muted { color: var(--muted); }
a { color: var(--gift); }
a:focus-visible { outline: 2px solid var(--gift); outline-offset: 3px; border-radius: 6px; }
.dl { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 999px; background: #14212b; color: #fff; font: 600 17px/1 inherit; text-decoration: none; }
.dl[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.icon { width: 88px; height: 88px; border-radius: 20px; display: block; margin-bottom: 24px; }
.home { display: inline-block; margin-bottom: 32px; color: var(--muted); text-decoration: none; font-size: 15px; }
footer { border-top: 1px solid var(--rule); margin-top: 56px; padding-top: 20px; font-size: 14px; color: var(--muted); }

/* Thanks page: the sleigh flies over a little sky and drops a present (bbb/thanks.js). */
.ty-sky { position: relative; height: 190px; margin-bottom: 32px; border-radius: 24px; overflow: hidden; background: linear-gradient(#8EC9EE, #c4e3f7); }
.ty-hill { position: absolute; left: -10%; right: -10%; bottom: -60px; height: 110px; border-radius: 50%; background: #fff; }
.ty-hill + .ty-hill { left: 40%; right: -30%; bottom: -70px; background: #eef5fb; }
.ty-flight { position: absolute; top: 22px; left: 0; transform: translateX(-100%); display: flex; align-items: center; gap: 2px; white-space: nowrap; }
.ty-flight span { padding: 7px 14px; border-radius: 5px; background: #fff; color: #14212b; font-weight: 600; font-size: 15px; line-height: 1.2; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.ty-flight i { width: 18px; border-top: 1.5px solid #14212b; opacity: .5; }
.ty-flight .sl { width: 78px; } .ty-flight .dr { width: 46px; margin-left: -4px; }
.ty-drop { position: absolute; left: 0; top: 0; width: 84px; height: 84px; transform-origin: 50% 100%; overflow: visible; }
.ty-drop .lid { transform-box: fill-box; transform-origin: 20% 100%; }
.ty-spark { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px #f2c14e; }
.dl { position: relative; overflow: hidden; transition: transform 150ms ease; }
.dl:active { transform: scale(.96); transition-duration: 80ms; }
.dl-flight { position: absolute; left: 0; top: 50%; display: flex; align-items: center; gap: 1px; pointer-events: none; }
.dl-flight b { padding: 3px 7px; border-radius: 3px; background: #fff7e6; color: #14212b; box-shadow: 0 1px 3px rgba(0,0,0,.18); font-size: 13px; }
.dl-flight i { width: 8px; border-top: 1px solid #fff; opacity: .6; }
.dl-flight img { width: 34px; }
@media (prefers-reduced-motion: reduce) { .dl { transition: none; } .dl:active { transform: none; } }
