/* The other pages, built from the landing's world (site.css): a night hero with snow and the gold
   script, the wooden table with paper on it, the night again for questions, the final under the
   stars with the hills, the same footer. */
a { color: var(--gold); }
main { display: block; }

/* the first screen: night, snow, the headline in the landing's voice */
.hero { position: relative; overflow: hidden; padding: 128px 0 78px; background: var(--deep); }
.hero .glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(760px 480px at 78% 38%, rgba(255, 180, 90, .17), rgba(255, 180, 90, 0) 70%), radial-gradient(900px 520px at 10% -10%, #182a63, rgba(6, 11, 29, 0) 62%); }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(180deg, rgba(6, 11, 29, 0), var(--deep)); pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero { padding-top: 108px; } .hero .wrap { grid-template-columns: 1fr; gap: 40px; } }
.crumbs { margin-bottom: 18px; font: 700 13px/1.4 var(--ui); color: var(--ink-3); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--ink-2); }
.hero h1 { font-size: clamp(38px, 5.4vw, 70px); line-height: 1; }
.hero h1 .script { display: block; margin-top: 4px; font-family: var(--hand); font-weight: 400; letter-spacing: 0; color: var(--gold); font-size: 1.18em; line-height: .95; transform: rotate(-3deg); transform-origin: left; }
.hero .flourish { display: block; width: min(320px, 70%); margin: 4px 0 0 30px; }
.hero .flourish path { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.6s .5s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero .sub { max-width: 32em; margin: 22px 0 0; color: var(--ink-2); font-size: clamp(17px, 1.5vw, 19px); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* the short answer: a note on paper, taped */
.note { position: relative; padding: 34px 30px 26px; border-radius: 4px; color: var(--paper-ink); transform: rotate(1.2deg);
  background: radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 60%), linear-gradient(180deg, #fbf1db, #f0dcb2);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .5); font: 700 18px/1.55 var(--ui); }
.note::before { content: ''; position: absolute; top: -13px; left: 50%; width: 128px; height: 28px; margin-left: -64px; transform: rotate(-3deg); background: rgba(250, 236, 200, .8); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.note .lbl { display: block; margin-bottom: 8px; font: 400 30px/1 var(--hand); color: #8a1c2a; }
.note b { color: #8a1c2a; }
.note a { color: #8a1c2a; }
.note .seal { position: absolute; right: -16px; bottom: -22px; width: 70px; transform: rotate(14deg); filter: drop-shadow(0 4px 4px rgba(90, 20, 20, .4)); }
.note .seal svg { width: 100%; height: auto; display: block; }
@media (max-width: 900px) { .note { transform: rotate(.6deg); } .note .seal { right: 10px; } }

/* the wooden table holds the paper */
.table .wrap { position: relative; }
.table .intro p b { color: #ffe7b8; }

/* prices are gift tags on ribbons */
.tags { display: grid; grid-template-columns: repeat(4, 230px); justify-content: center; gap: 80px 30px; padding-top: 60px; }
@media (max-width: 1080px) { .tags { grid-template-columns: repeat(2, 230px); gap: 80px 40px; } }
@media (max-width: 560px) { .tags { grid-template-columns: 250px; } }
.tag { position: relative; }
.tag::before { content: ''; position: absolute; left: 50%; top: -62px; width: 3px; height: 74px; margin-left: -1.5px; background: linear-gradient(90deg, #8f1324, #d34356, #8f1324); }
.tag .body { position: relative; padding: 52px 20px 22px; text-align: center; color: var(--paper-ink); background: linear-gradient(170deg, #fbf2dc, #efd9ad);
  clip-path: polygon(50% 0, 100% 13%, 100% 100%, 0 100%, 0 13%); filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .5)); }
.tag .body::before { content: ''; position: absolute; left: 50%; top: 18px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: #3a2010; box-shadow: inset 0 0 0 3px #c9a05a; }
.tag:nth-child(odd) { transform: rotate(-2.5deg); }
.tag:nth-child(even) { transform: rotate(2deg); }
.tag .for { font: 400 25px/1.1 var(--hand); color: var(--paper-ink-2); }
.tag .sum { margin: 10px 0 6px; font: 800 34px/1 var(--head); letter-spacing: -.035em; color: #7c1424; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tag .sum.long { font-size: 27px; }
.tag .sum small { font-size: 18px; }
.tag .what { font: 700 14.5px/1.4 var(--ui); color: var(--paper-ink); }
.tag .when { margin-top: 10px; padding-top: 10px; border-top: 1.5px dashed rgba(120, 78, 40, .3); font: 400 20px/1.2 var(--hand); color: var(--paper-ink-2); }
.table .src { margin: 54px auto 0; max-width: 640px; text-align: center; font: 700 14px/1.5 var(--ui); color: rgba(255, 236, 210, .55); }

/* letters on the table */
.sheets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 46px 34px; max-width: 980px; margin: 0 auto; }
@media (max-width: 760px) { .sheets { grid-template-columns: 1fr; gap: 40px; } }
.sheet { position: relative; }
.sheet .paper { position: relative; inset: auto; padding: 40px 30px 30px; border-radius: 4px; color: #2e2342; box-shadow: 0 26px 50px rgba(0, 0, 0, .5); font: 400 22px/1.5 var(--hand);
  background: radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 60%), radial-gradient(70% 60% at 0% 100%, rgba(190, 130, 60, .16), rgba(190, 130, 60, 0) 70%), linear-gradient(180deg, #fbf1db, #f2e0b9); }
.sheet:nth-child(odd) .paper { transform: rotate(-1.2deg); }
.sheet:nth-child(even) .paper { transform: rotate(1deg); }
.sheet .paper em { font-style: normal; color: #8a1c2a; border-bottom: 1.5px dashed rgba(138, 28, 42, .55); }
.sheet .age { position: absolute; top: -14px; left: 22px; z-index: 2; padding: 7px 13px; border-radius: 6px; background: linear-gradient(180deg, #c4283c, #8f1324); color: #fff3ea; font: 900 12px/1 var(--ui); letter-spacing: .07em; text-transform: uppercase; box-shadow: 0 6px 14px rgba(0, 0, 0, .35); }
.sheet .sig { margin-top: 12px; text-align: right; font-size: 26px; }
.sheet .seal { position: absolute; left: 22px; bottom: 16px; width: 54px; transform: rotate(-12deg); filter: drop-shadow(0 3px 3px rgba(90, 20, 20, .35)); }
.sheet .seal svg { width: 100%; height: auto; display: block; }
.sheet .make { display: inline-block; margin: 16px 0 0 6px; font: 800 15px/1.3 var(--ui); color: #ffe7b8; text-decoration: none; }
.sheet .make:hover { text-decoration: underline; }

/* steps pinned to the table */
.pins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 26px; }
@media (max-width: 980px) { .pins { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pins { grid-template-columns: 1fr; } }
.pin { position: relative; padding: 30px 22px 22px; border-radius: 4px; color: var(--paper-ink);
  background: radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 60%), linear-gradient(180deg, #fbf1db, #f0dcb2);
  box-shadow: 0 22px 40px rgba(0, 0, 0, .45); }
.pin:nth-child(3n+1) { transform: rotate(-1.5deg); }
.pin:nth-child(3n+2) { transform: rotate(.8deg); }
.pin:nth-child(3n) { transform: rotate(-.4deg); }
.pin::before { content: ''; position: absolute; top: -9px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe6a8, #c98a2b 60%, #7a4c10); box-shadow: 0 3px 5px rgba(0, 0, 0, .4); }
.pin .n { position: absolute; top: -18px; left: -14px; width: 50px; height: 50px; border-radius: 48% 52% 50% 47% / 52% 47% 53% 48%; display: grid; place-items: center;
  background: radial-gradient(circle at 34% 28%, #d0475a, #8f1324 62%, #6e0b1a); color: #ffe1d6; font: 800 19px/1 var(--head); box-shadow: 0 6px 12px rgba(0, 0, 0, .35); transform: rotate(-8deg); }
.pin b { display: block; font: 800 18px/1.3 var(--head); color: #3b2213; }
.pin span { display: block; margin-top: 8px; font: 600 15.5px/1.5 var(--ui); color: var(--paper-ink-2); }
.pin a { color: #8a1c2a; }

/* the night between: tips and choices */
.night { position: relative; padding: 100px 0; background: var(--night); }
.night h2, .more-sec h2 { text-align: center; font-size: clamp(32px, 4vw, 48px); margin-bottom: 14px; }
.night .lead, .more-sec .lead { max-width: 620px; margin: 0 auto 40px; text-align: center; color: var(--ink-2); font-size: 18px; }
.tips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 980px; margin: 0 auto; }
@media (max-width: 760px) { .tips { grid-template-columns: 1fr; } }
.tip { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 16px; padding: 22px; border-radius: 22px; background: var(--night-2); }
.tip .ic { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, rgba(244, 198, 111, .3), rgba(244, 198, 111, .08)); color: var(--gold); }
.tip .ic svg { width: 26px; height: 26px; }
.tip b { display: block; font: 800 18px/1.3 var(--head); }
.tip span { display: block; margin-top: 6px; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1040px; margin: 0 auto; }
@media (max-width: 860px) { .options { grid-template-columns: 1fr; } }
.opt { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; border-radius: 24px; background: var(--night-2); text-decoration: none; color: var(--ink); transition: transform .2s, background .2s; }
.opt:hover { transform: translateY(-4px); background: #17255a; }
.opt .ic { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, rgba(244, 198, 111, .3), rgba(244, 198, 111, .08)); color: var(--gold); }
.opt .ic svg { width: 26px; height: 26px; }
.opt b { font: 800 21px/1.2 var(--head); }
.opt span { color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.opt .go { margin-top: auto; padding-top: 8px; color: var(--gold); font: 900 15px/1 var(--ui); }
.opt .badge { position: absolute; top: 22px; right: 22px; padding: 6px 11px; border-radius: 999px; font: 900 11.5px/1 var(--ui); letter-spacing: .06em; text-transform: uppercase; background: rgba(127, 211, 154, .14); color: #8fe0a9; }
.opt .badge.paid { background: rgba(244, 198, 111, .16); color: var(--gold); }

/* more to read */
.more-sec { padding: 90px 0 100px; background: var(--night); }
.more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 900px; margin: 0 auto; }
@media (max-width: 700px) { .more { grid-template-columns: 1fr; } }
.more a { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 20px; background: var(--night-2); color: var(--ink); text-decoration: none; transition: background .2s, transform .2s; }
.more a:hover { background: #17255a; transform: translateY(-2px); }
.more a b { display: block; font: 800 17px/1.3 var(--head); }
.more a small { display: block; margin-top: 4px; color: var(--ink-3); font: 700 14px/1.35 var(--ui); }
.more a i { margin-left: auto; flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(244, 198, 111, .14); color: var(--gold); font-style: normal; font-weight: 900; }

/* the final: a small film of the sample, and the way to the video */
.final .clip { position: relative; width: 190px; margin: 0 auto 30px; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 5px rgba(244, 198, 111, .25), 0 30px 60px rgba(0, 0, 0, .55); }
.final .clip video { width: 100%; height: 100%; object-fit: cover; }
.final h2 { position: relative; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.02; }
.final h2 .script { display: block; font-family: var(--hand); font-weight: 400; letter-spacing: 0; color: var(--gold); font-size: 1.12em; }
.final .days { position: relative; margin-top: 22px; color: var(--ink-3); font: 700 15px/1.4 var(--ui); }
.final .days b { color: var(--gold); }
.mx { width: 26px; height: 26px; flex: none; display: block; }

/* questions and «more» follow each other on the same night: no double gap */
.faqs + .more-sec { padding-top: 10px; }
.night + .faqs { padding-top: 10px; }

/* legal documents: the text on paper, readable as a document */
.doc-hero { padding-bottom: 50px; }
.doc-hero .wrap { grid-template-columns: 1fr; }
.doc-hero h1 { font-size: clamp(36px, 5vw, 60px); }
.doc-hero .date { margin-top: 12px; color: var(--ink-3); font: 700 14px/1.4 var(--ui); }
.doc-table { padding: 70px 0 100px; }
.doc { position: relative; max-width: 880px; margin: 0 auto; padding: 56px 60px 50px; border-radius: 6px; color: #3a2416;
  background: radial-gradient(120% 60% at 50% 0%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 60%), linear-gradient(180deg, #fbf3df, #f3e4c3);
  box-shadow: 0 34px 70px rgba(0, 0, 0, .5); font: 500 16.5px/1.7 var(--ui); }
@media (max-width: 640px) { .doc { padding: 34px 22px 30px; font-size: 15.5px; } }
.doc h2 { margin: 34px 0 10px; font: 800 21px/1.3 var(--head); color: #2e1a0f; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { margin: 20px 0 6px; font: 800 17px/1.3 var(--head); color: #2e1a0f; }
.doc p { margin: 0 0 12px; }
.doc ul, .doc ol { margin: 0 0 14px; padding-left: 1.3em; }
.doc li { margin: 5px 0; }
.doc li::marker { color: #a3182b; }
.doc .n { color: #a3182b; font-weight: 800; }
.doc a { color: #8a1c2a; }
.doc .card { margin: 10px 0 16px; padding: 16px 18px; border-radius: 12px; background: rgba(120, 78, 40, .08); box-shadow: 0 0 0 1px rgba(120, 78, 40, .15) inset; }
.doc table { width: 100%; border-collapse: collapse; margin: 10px 0 16px; font-size: 15px; }
.doc th, .doc td { padding: 9px 10px; border-bottom: 1px solid rgba(120, 78, 40, .2); text-align: left; vertical-align: top; }
