/* Wish Tree public pages (site/seo/build.mjs). The design is decomytree.link's, our own other product (user 11-21:
   "bizim decomytree.link'ten al: tasarım, design, SEO"; tokens, sizes, buttons, cards, snow and FAQ copied from its
   css/site.css): black page, Poppins, big short headlines set tight, white pill buttons, painted gifts as stickers, long
   texts on white sheets. Wish Tree's own: no boxed picture (user 11-21: "kart gibi duruyor") — the tree stands on a
   full-width painted ground under snow, as on decomytree.net's home; butter (the app's button colour) marks numbers,
   prices and glowing gifts. */

@font-face { font-family: 'Poppins'; src: url('/assets/fonts/poppins-400.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/assets/fonts/poppins-600.woff') format('woff'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/assets/fonts/poppins-700.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Patrick Hand'; src: url('/assets/fonts/patrick-hand-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --bg: #0a0a0b; --bg-2: #161618; --bg-3: #222225; --line: rgba(255, 255, 255, 0.14);
  --text: #fff; --text-2: rgba(255, 255, 255, 0.76); --text-3: rgba(255, 255, 255, 0.58);
  --ink: #111113; --ink-2: #55555c; --ink-3: #6e6e76; --rule: #e7e4df; --soft: #f5f3ef;
  --butter: #ffd45c; --butter-2: #f2b52c;
  --radius-xl: clamp(28px, 4vw, 40px); --radius-lg: 28px; --radius: 18px;
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --hand: 'Patrick Hand', 'Segoe Print', 'Comic Sans MS', cursive;
  --gutter: clamp(12px, 3vw, 24px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; background: var(--bg); }
body { margin: 0; min-height: 100vh; font-family: var(--font); font-size: 1.02rem; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
main { overflow-x: clip; }   /* stickers and grounds may reach past the edge; the page never scrolls sideways */
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.wrap { width: min(100% - 2 * var(--gutter), 1120px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- type ---------- */
.display-1, .display-2 { font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
.display-1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.9rem); line-height: 1.02; margin: 0 0 18px; }
.display-2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.7rem); line-height: 1.05; margin: 0 0 12px; }
.lead { max-width: 56ch; margin: 0 0 24px; color: var(--text-2); font-size: clamp(1.05rem, 1rem + 0.3vw, 1.18rem); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  font-family: var(--font); font-size: 1.02rem; font-weight: 600; line-height: 1.1; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #ececec; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px #fff; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1.08rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); }
.header-in { display: flex; align-items: center; gap: 18px; height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; color: #fff; font-size: 1.22rem; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; }
.logo img { width: 34px; height: 34px; border-radius: 10px; }
.nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav-link { display: inline-flex; align-items: center; height: 40px; padding: 0 12px; border-radius: 999px; color: var(--text-2); font-size: 0.95rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav-link:hover, .nav-link[aria-current] { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav + .header-actions { margin-left: 0; }
.header-cta { min-height: 40px; padding: 0 18px; background: #fff; color: var(--ink); font-size: 0.94rem; }
.header-cta:hover { background: #ececec; }
.menu { display: none; position: relative; }
.menu summary { display: grid; place-content: center; gap: 4px; width: 42px; height: 42px; border-radius: 50%; background: var(--bg-2); list-style: none; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 17px; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.2s ease, opacity 0.2s ease; }
.menu[open] summary span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu[open] summary span:nth-child(2) { opacity: 0; }
.menu[open] summary span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); display: grid; gap: 2px; width: min(86vw, 320px); padding: 10px; border-radius: 22px; background: #fff; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8); }
.menu-panel a { padding: 10px 12px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.menu-panel a:hover, .menu-panel a[aria-current] { background: var(--soft); }
@media (max-width: 1020px) { .nav { display: none; } .menu { display: block; } .nav + .header-actions { margin-left: auto; } }
@media (max-width: 420px) { .header-in { gap: 10px; } .header-actions { gap: 8px; } .header-cta { padding: 0 14px; font-size: 0.88rem; } .logo { font-size: 1.1rem; } }
@media (max-width: 340px) { .logo span { display: none; } }

/* ---------- wishes running across the top (decomytree.link .marquee) ---------- */
.marquee { overflow: hidden; padding: 4px 0 12px; color: var(--text-2); font-size: 0.88rem; font-weight: 600; white-space: nowrap; }
.marquee-track { display: inline-flex; animation: marquee 70s linear infinite; }
.marquee-track span::before { content: '\2022'; margin: 0 14px; color: var(--text-3); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- falling snow, petals or sparks (decomytree.link .snow): each flake is a column as tall as its box that
   slides down by its own height, the flake swaying at its top. Snow on Christmas, petals on Birthday, sparks on Wish. */
.snow { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.snow i { position: absolute; top: 0; height: 100%; width: 0; animation: snow-fall var(--t, 11s) linear var(--d, 0s) infinite; will-change: transform; }
.snow i::after {
  content: ''; position: absolute; top: calc(-1 * var(--s, 4px)); left: 0; width: var(--s, 4px); height: var(--s, 4px); border-radius: 50%;
  background: #eef5ff; box-shadow: 0 0 5px #eef5ff; opacity: var(--o, 0.8); animation: snow-sway var(--w, 3s) ease-in-out var(--wd, 0s) infinite alternate;
}
.snow.petals i::after { width: calc(var(--s) * 2.1); height: calc(var(--s) * 1.3); border-radius: 80% 0 80% 0; background: #ffc9d8; box-shadow: none; animation-name: petal-sway; }
.snow.sparks i::after { width: calc(var(--s) * 0.8); height: calc(var(--s) * 0.8); background: #fff2c4; box-shadow: 0 0 8px 2px rgba(255, 226, 150, 0.55); }
@keyframes snow-fall { 0% { transform: translateY(0); opacity: 0; } 6%, 90% { opacity: 1; } 100% { transform: translateY(100%); opacity: 0; } }
@keyframes snow-sway { from { transform: translateX(calc(-1 * var(--x, 14px))); } to { transform: translateX(var(--x, 14px)); } }
@keyframes petal-sway { from { transform: translateX(calc(-1 * var(--x, 14px))) rotate(-40deg); } to { transform: translateX(var(--x, 14px)) rotate(50deg); } }
@media (prefers-reduced-motion: reduce) { .snow { display: none; } }

/* ---------- home hero: no card. Title and button over the night, the tree on a full-width ground under the snow;
   stacked on phones, side by side on computers as on decomytree.link (copy left, tree right, the hill's top under it) */
.hero { position: relative; isolation: isolate; overflow: hidden; text-align: center; --gw: max(1000px, 120vw); --gh: calc(var(--gw) / var(--ga)); --gx: 50%; padding-bottom: calc(var(--gh) * 0.8); }
.hero::before {   /* a warm light behind the tree, as in the app icon */
  content: ''; position: absolute; left: var(--gx); bottom: calc(var(--gh) * 0.5); z-index: -1; width: min(1100px, 150vw); aspect-ratio: 1.3; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 214, 140, 0.15), rgba(255, 214, 140, 0.05) 55%, rgba(255, 214, 140, 0) 75%);
}
.hero .ground { position: absolute; left: var(--gx); bottom: 0; z-index: 0; width: var(--gw); max-width: none; transform: translateX(-50%); -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 100%); mask-image: linear-gradient(180deg, #000 50%, transparent 100%); }
.hero-grid { position: relative; z-index: 1; display: grid; justify-items: center; }
.hero-in { display: grid; justify-items: center; max-width: 960px; padding: clamp(32px, 6vw, 72px) 20px 0; }
.hero-title { max-width: 13ch; margin: 0 0 18px; font-size: clamp(2.7rem, 1.1rem + 7vw, 6.2rem); font-weight: 700; line-height: 0.94; letter-spacing: -0.045em; text-wrap: balance; }
.hero-text { max-width: 31ch; margin: 0 auto 28px; color: rgba(255, 255, 255, 0.92); font-size: clamp(1.08rem, 1rem + 0.45vw, 1.3rem); line-height: 1.45; text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin: 0 0 18px; }
.hero-trust { margin: 0; color: var(--text-3); font-size: 0.95rem; font-weight: 600; }
.stage { position: relative; width: min(600px, 88vw); margin: clamp(8px, 3vw, 24px) 0 calc(min(600px, 88vw) * -0.023); container-type: inline-size; }
.stage .tree { width: 100%; }
@media (max-width: 600px) {
  .hero .btn-ghost { display: none; }
}
@media (min-width: 1000px) {
  .hero { --gx: 74%; text-align: start; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: end; column-gap: clamp(16px, 3vw, 48px); max-width: 1240px; margin: 0 auto; padding: 0 clamp(24px, 4vw, 56px); }
  .hero-in { align-self: center; justify-items: start; padding: 40px 0 calc(var(--gh) * 0.12); }
  .hero-title { max-width: 12ch; font-size: clamp(4rem, 1.6rem + 3.8vw, 5.5rem); }
  .hero .hero-text { margin-inline: 0; }
  .hero .hero-actions { justify-content: flex-start; }
  .stage { width: min(100%, 580px); margin: 24px 0 calc(min(100%, 580px) * -0.023); }
}
.tags { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.tags li { position: absolute; transform: translateX(-50%); padding: 0 0.7em; border-radius: 999px; background: #fff; color: #1b1b1b; font-size: clamp(0.62rem, 2.3cqw, 0.82rem); font-weight: 600; line-height: 1.6; white-space: nowrap; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); }
.tags li.glow { background: linear-gradient(180deg, #fff6d6, var(--butter)); }
/* one wish opened at the top right, where the tree leaves room: the app's letter, small */
.note { position: absolute; top: 7%; right: -2%; z-index: 3; width: 32cqw; margin: 0; padding: 8.5cqw 4.4cqw 4cqw; border-radius: 6px; background: linear-gradient(180deg, #fffbf3, #f5f2e6); color: #1f3a32; font-family: var(--hand); text-align: left; transform: rotate(5deg); box-shadow: 0 18px 34px -8px rgba(0, 0, 0, 0.6); }
.note::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2.6cqw; border-radius: 6px 6px 0 0; background: repeating-linear-gradient(-45deg, #c8443b 0 6px, #fffbf3 6px 12px, #2f8a5f 12px 18px, #fffbf3 18px 24px); }
.type-birthday .note { color: #4a2350; background: linear-gradient(180deg, #fffaf4, #fff0ea); }
.type-birthday .note::before { background: repeating-linear-gradient(90deg, #ff6b57 0 14px, #ffd45c 14px 28px, #6fe0b4 28px 42px, #b9a8ff 42px 56px); }
.type-wish .note { color: #3a2f7a; background: linear-gradient(180deg, #fffaf2, #f4efff); }
.type-wish .note::before { background: #9c8bf0; }
.note-gift { position: absolute; top: -6.5cqw; left: 50%; width: 13cqw; height: 13cqw; padding: 1.4cqw; transform: translateX(-50%); border: 2px solid #e3b341; border-radius: 50%; background: #fffbf3; box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); }
.note p { margin: 0; }
.note-dear { font-size: 5cqw; line-height: 1.1; }
.note-text { margin-top: 1.4cqw !important; font-size: 4.2cqw; line-height: 1.22; }
.note-from { margin-top: 1.8cqw !important; text-align: right; opacity: 0.7; font-size: 4cqw; }
@media (min-width: 601px) and (max-width: 999px) { .note { top: 8%; right: -4%; width: 30cqw; } }   /* below the line above, inside the screen */
@media (min-width: 1000px) { .note { right: -4%; top: 5%; width: 34cqw; } }

/* ---------- big centered blocks on black (decomytree.link .block) ---------- */
.block { position: relative; padding: clamp(56px, 8vw, 100px) var(--gutter); text-align: center; }
.block-title { position: relative; max-width: 14ch; margin: 0 auto 18px; font-size: clamp(2.4rem, 1.2rem + 5.2vw, 4.8rem); font-weight: 700; line-height: 0.98; letter-spacing: -0.045em; text-wrap: balance; }
.block-text { position: relative; max-width: 40ch; margin: 0 auto 26px; color: var(--text-2); font-size: clamp(1.05rem, 1rem + 0.35vw, 1.22rem); line-height: 1.5; text-wrap: pretty; }
.block-link { position: relative; margin: 30px 0 0; color: var(--text-2); }
.block-link a { color: #fff; font-weight: 600; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.block-text a { color: #fff; font-weight: 600; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.chip { position: relative; display: inline-block; margin: 0; padding: 8px 16px; border-radius: 999px; background: var(--bg-2); color: var(--text-2); font-size: 0.95rem; font-weight: 600; }

/* What is: four numbers, each with a sticker */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 1040px; margin: 36px auto 0; padding: 0; list-style: none; text-align: left; }
.stats li { position: relative; display: grid; align-content: end; gap: 2px; min-height: 210px; padding: 22px; overflow: hidden; border-radius: var(--radius-lg); background: var(--bg-2); }
.stats img { position: absolute; top: 14px; right: 12px; width: 88px; height: 88px; object-fit: contain; transform: rotate(8deg); filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.5)); }
.stats b { font-size: clamp(2.6rem, 2rem + 2vw, 3.7rem); font-weight: 700; line-height: 1; letter-spacing: -0.05em; }
.stats span { color: var(--text-2); font-weight: 600; line-height: 1.35; }
@media (max-width: 880px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats li { min-height: 176px; padding: 18px; } .stats img { width: 66px; height: 66px; } }

/* How it works: three numbered cards (decomytree.link .how-line) */
.how-line { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 980px; margin: 30px auto 0; padding: 0; list-style: none; text-align: left; }
.how-line li { position: relative; display: grid; align-content: start; gap: 4px; padding: 22px 22px 24px; border-radius: var(--radius-lg); background: var(--bg-2); }
.how-line img { width: 84px; height: 84px; margin-bottom: 8px; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.45)); }
.how-n { position: absolute; top: 18px; right: 20px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--butter); color: var(--ink); font-weight: 700; }
.how-line b { font-size: 1.2rem; letter-spacing: -0.02em; }
.how-line span:last-child { color: var(--text-2); }
@media (max-width: 760px) {
  .how-line { grid-template-columns: 1fr; }
  .how-line li { grid-template-columns: auto 1fr; align-items: center; column-gap: 14px; padding: 14px 52px 14px 14px; }
  .how-line img { grid-row: span 2; width: 60px; height: 60px; margin: 0; }
  .how-n { top: 50%; transform: translateY(-50%); }
}

/* Pick your tree: the three types as stickers with a label, then trees in a wavy line (decomytree.link) */
.occasion-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 26px auto 0; padding: 0; list-style: none; }
.occasion-line a { display: flex; align-items: center; gap: 8px; padding: 6px 18px 6px 6px; border-radius: 999px; background: var(--bg-2); font-weight: 600; text-decoration: none; transition: background-color 0.15s ease; }
.occasion-line a:hover { background: var(--bg-3); }
.occasion-line img { width: 42px; height: 42px; }
.tree-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px clamp(4px, 1.5vw, 18px); max-width: 1120px; margin: 34px auto 0; padding: 0; list-style: none; }
.tree-line li { width: clamp(100px, 13vw, 160px); }
.tree-line li:nth-child(even) { transform: translateY(18px) rotate(3deg); }
.tree-line li:nth-child(odd) { transform: rotate(-3deg); }
.tree-line img { width: 100%; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.5)); }

/* What friends hang: the gifts with their names, no boxes */
.gift-wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 12px; max-width: 1000px; margin: 36px auto 0; padding: 0; list-style: none; }
.gift-wall figure { margin: 0; }
.gift-wall img { width: clamp(70px, 9vw, 108px); margin: 0 auto 10px; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.5)); }
.gift-wall figcaption { color: var(--text-2); font-size: 0.9rem; font-weight: 600; line-height: 1.3; }
.gift-wall .price { display: block; margin-top: 3px; color: var(--butter); }
.gift-wall.glow { grid-template-columns: repeat(8, minmax(0, 1fr)); max-width: 1080px; margin-top: 22px; }
.gift-wall.glow img { filter: drop-shadow(0 0 16px rgba(255, 210, 120, 0.6)) drop-shadow(0 12px 14px rgba(0, 0, 0, 0.5)); }
.wall-label { margin: 52px 0 0; color: var(--text-3); font-size: 0.95rem; font-weight: 600; }
.wall-label b { color: var(--butter); font-weight: 600; }
@media (max-width: 860px) { .gift-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } .gift-wall.glow { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .gift-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 8px; } .gift-wall figcaption { font-size: 0.82rem; } }

/* Who reads the wishes: the letter on one side, the rules on the other */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(36px, 6vw, 88px); max-width: 1080px; margin: 0 auto; text-align: left; }
.split .block-title { max-width: 11ch; margin-left: 0; font-size: clamp(2.3rem, 1.2rem + 4vw, 4.2rem); }
.split .block-text { margin-left: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-art { order: 2; } }
.letter { position: relative; max-width: 410px; margin: 0 auto; padding: 44px 30px 26px 36px; border-radius: 6px; background: linear-gradient(180deg, #fffaf4, #fff0ea); color: #4a2350; font-family: var(--hand); transform: rotate(-3deg); box-shadow: 0 34px 60px -14px rgba(0, 0, 0, 0.75); }
.letter::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 12px; border-radius: 6px 6px 0 0; background: repeating-linear-gradient(90deg, #ff6b57 0 22px, #ffd45c 22px 44px, #6fe0b4 44px 66px, #b9a8ff 66px 88px); }
.letter p { margin: 0; font-size: 1.5rem; line-height: 36px; background: linear-gradient(transparent 35px, rgba(255, 107, 87, 0.28) 35px) 0 0 / 100% 36px; }
.letter .from { margin-top: 10px; text-align: right; color: rgba(74, 35, 80, 0.65); background: none; }
.letter-gift { position: absolute; right: -26px; top: -40px; width: 96px; transform: rotate(10deg); filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.45)); }
@media (max-width: 600px) { .letter-gift { right: -8px; width: 80px; } }
.letter-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 34px 0 0; }
.rules { display: grid; gap: 20px; margin: 6px 0 0; padding: 0; list-style: none; }
.rules li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.rules .ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--bg-2); color: var(--butter); }
.rules svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rules b { display: block; font-size: 1.1rem; letter-spacing: -0.01em; }
.rules span { color: var(--text-2); font-size: 0.98rem; }

/* When they open: one big number with stickers around it (decomytree.link .block-count) */
.block-count { overflow: hidden; }
.sticker { position: absolute; z-index: 0; width: clamp(58px, 8vw, 108px); filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.55)); }
.sc-1 { left: 8%; top: 16%; transform: rotate(-10deg); }
.sc-2 { right: 9%; top: 12%; transform: rotate(12deg); }
.sc-3 { left: 12%; bottom: 14%; transform: rotate(8deg); }
.sc-4 { right: 10%; bottom: 18%; transform: rotate(-8deg); }
@media (max-width: 700px) {
  .sticker { width: 50px; }
  .sc-1 { left: -6px; top: 6px; } .sc-2 { right: -6px; top: 2px; } .sc-3 { left: -10px; bottom: 26px; } .sc-4 { right: -10px; bottom: 30px; }
}
.big-count { position: relative; display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 0 0.18em; margin: 6px 0 24px; font-weight: 700; line-height: 0.9; }
.big-count b { font-size: clamp(6rem, 3rem + 16vw, 13rem); letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.big-count span { font-size: clamp(1.4rem, 1rem + 2vw, 2.6rem); letter-spacing: -0.03em; }

/* Who it is for: four cards */
.who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 1120px; margin: 34px auto 0; padding: 0; list-style: none; text-align: left; }
.who a { position: relative; display: grid; align-content: start; gap: 6px; height: 100%; padding: 22px 22px 26px; border-radius: var(--radius-lg); background: var(--bg-2); text-decoration: none; transition: background-color 0.15s ease; }
.who a:hover { background: var(--bg-3); }
.who a::after { content: '\2192'; position: absolute; top: 20px; right: 22px; color: var(--text-3); font-size: 1.2rem; }
.who img { width: 76px; height: 76px; margin-bottom: 10px; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.45)); }
.who b { font-size: 1.16rem; letter-spacing: -0.02em; line-height: 1.25; }
.who span { color: var(--text-2); font-size: 0.97rem; }
@media (max-width: 980px) { .who { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .who { grid-template-columns: 1fr; } .who a { grid-template-columns: 60px 1fr; column-gap: 14px; padding: 16px 44px 16px 16px; } .who img { grid-row: span 2; width: 60px; height: 60px; margin: 0; } .who a::after { top: 50%; transform: translateY(-50%); } }
/* "Is Wish Tree safe?" on the home page: six cards, 3 then 2 then 1 per row */
.safe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 1120px; margin: 34px auto 0; padding: 0; list-style: none; text-align: left; }
.safe li { display: grid; align-content: start; gap: 6px; padding: 22px; border-radius: var(--radius-lg); background: var(--bg-2); }
.safe .ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 8px; border-radius: 15px; background: var(--bg-3); color: var(--butter); }
.safe svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.safe b { font-size: 1.12rem; letter-spacing: -0.01em; line-height: 1.25; }
.safe span:last-child { color: var(--text-2); font-size: 0.97rem; }
.safe a { color: #fff; text-underline-offset: 3px; overflow-wrap: anywhere; }
@media (max-width: 980px) { .safe { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .safe { grid-template-columns: 1fr; } .safe li { grid-template-columns: 48px 1fr; column-gap: 14px; padding: 16px; } .safe .ic { grid-row: span 2; margin: 0; } }

/* Guides (decomytree.link .blog-card) */
.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1120px; margin: 34px auto 0; padding: 0; list-style: none; text-align: left; }
.blog-card { display: grid; grid-template-rows: auto 1fr; height: 100%; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); text-decoration: none; transition: background-color 0.15s ease; }
.blog-card:hover { background: var(--bg-3); }
.blog-card img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.blog-card-body { display: grid; align-content: start; gap: 6px; padding: 18px 20px 22px; }
.blog-card-title { font-size: 1.1rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.blog-card-text { color: var(--text-3); font-size: 0.93rem; }
@media (max-width: 860px) { .guides { grid-template-columns: 1fr; max-width: 560px; } }

/* Your turn: the big call, the three trees under it */
.final { position: relative; padding: clamp(64px, 9vw, 112px) var(--gutter) 0; text-align: center; }
.final .block-title { margin-bottom: 14px; font-size: clamp(3rem, 1.2rem + 7.4vw, 6.6rem); }
.final .hero-actions { margin: 0; }
.final-trees { display: flex; justify-content: center; align-items: flex-end; margin: 34px auto 0; padding: 0; list-style: none; }
.final-trees li { width: clamp(118px, 24vw, 250px); margin: 0 -2vw; }
.final-trees li:nth-child(2) { position: relative; z-index: 1; width: clamp(150px, 30vw, 320px); }
.final-trees img { width: 100%; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.6)); }

/* Questions (decomytree.link .faq) */
.block-faq { padding-bottom: 0; }
.faq { max-width: 780px; margin: 0 auto; text-align: left; }
.faq h2 { margin: 0 0 18px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 18px 46px 18px 0; font-size: 1.05rem; font-weight: 600; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font: inherit; }
.faq summary::after { content: '+'; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq-a { padding: 0 46px 18px 0; color: var(--text-2); }
.faq-a p { margin: 0; }

/* ---------- other pages: the same night top with the tree standing on its ground, the text on a white sheet ---------- */
.page-top { position: relative; isolation: isolate; overflow: hidden; }
.page-top::before { content: ''; position: absolute; right: -10%; bottom: 0; z-index: -1; width: min(900px, 120vw); aspect-ratio: 1.3; background: radial-gradient(closest-side, rgba(255, 214, 140, 0.12), rgba(255, 214, 140, 0) 72%); }
.page-top-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: end; gap: clamp(16px, 4vw, 56px); padding-top: clamp(24px, 5vw, 60px); }
.page-copy { padding-bottom: clamp(40px, 6vw, 84px); }
.page-copy .display-1 { max-width: 17ch; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; color: var(--text-3); font-size: 0.88rem; list-style: none; }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: 0.6; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.page-art { position: relative; justify-self: center; width: 100%; max-width: 420px; padding-bottom: calc(200% / var(--ga) * 0.62); }
.page-art .tree { position: relative; z-index: 1; width: 100%; margin-bottom: -2.3%; }
.page-art .ground { position: absolute; left: 50%; bottom: 0; width: 200%; max-width: none; transform: translateX(-50%); -webkit-mask-image: radial-gradient(ellipse 50% 100% at 50% 0%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 50% 100% at 50% 0%, #000 55%, transparent 100%); }
@media (max-width: 780px) { .page-top-in { grid-template-columns: 1fr; } .page-copy { padding-bottom: 0; } .page-art { max-width: 300px; } }

/* long text on a white sheet (decomytree.link .paper) */
.paper { position: relative; max-width: 820px; margin-inline: auto; padding: clamp(22px, 5vw, 56px); border-radius: var(--radius-lg); background: #fff; color: var(--ink); font-size: 1.03rem; }
.paper > :first-child { margin-top: 0; }
.paper h2 { margin: 1.9em 0 0.5em; font-size: clamp(1.45rem, 1.15rem + 1vw, 1.95rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; scroll-margin-top: 92px; }
.paper h3 { margin: 1.5em 0 0.4em; font-size: 1.15rem; }
.paper p, .paper li { color: #303035; }
.paper strong { color: var(--ink); }
.paper a { color: var(--ink); font-weight: 600; text-decoration-color: var(--butter-2); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.paper a:hover { text-decoration-color: var(--ink); }
.paper ul, .paper ol { padding-left: 1.3em; }
.paper li { margin: 0.4em 0; }
.paper li::marker { color: var(--butter-2); font-weight: 700; }
.paper table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.paper th, .paper td { padding: 11px clamp(10px, 2.4vw, 16px); border-top: 1px solid var(--rule); text-align: left; vertical-align: top; color: #303035; }
.paper thead th { border-top: 0; background: var(--ink); color: #fff; font-size: 0.86rem; font-weight: 600; }
.paper thead th:first-child { border-radius: 10px 0 0 0; } .paper thead th:last-child { border-radius: 0 10px 0 0; }
.paper .prices td:first-child { color: var(--ink); font-weight: 700; white-space: nowrap; }
.paper .faq { max-width: none; margin-top: 52px; }
.paper .faq details { border-color: var(--rule); }
.paper .faq h2 + details { border-top: 1px solid var(--rule); }
.paper .faq-a { color: var(--ink-2); }
.byline { margin: -8px 0 22px; color: var(--text-3); font-size: 0.92rem; font-weight: 600; }
.byline a { color: inherit; text-underline-offset: 3px; }
.byline-how { margin-top: -14px; font-weight: 500; }
.paper .sources { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--rule); font-size: 0.92rem; }
.paper .sources h2 { margin: 0 0 6px; font-size: 1.15rem; letter-spacing: -0.01em; }
.paper .sources ol { margin: 0; }
.paper .sources li { margin: 0.45em 0; color: var(--ink-2); }
.paper .sources a { font-weight: 500; overflow-wrap: anywhere; }
/* our pictures inside the text, each with its caption (image SEO) */
.paper .fig { margin: 22px 0 26px; }
.fig-tree img { width: min(360px, 78%); margin: 0 auto; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.18)); }
.fig figcaption { margin-top: 10px; color: var(--ink-3); font-size: 0.88rem; line-height: 1.45; text-align: center; text-wrap: balance; }
.fig-gifts ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; padding: 14px 10px !important; border-radius: var(--radius); background: var(--soft); list-style: none; }
.fig-gifts li { margin: 0 !important; }
.fig-gifts img { width: 78px; height: 78px; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.18)); }
/* app screenshots (/how-to-use-wish-tree): phone-shaped, one centered or two side by side */
.fig-shot .shots { display: flex; justify-content: center; gap: 14px; }
.fig-shot img { width: min(270px, 74%); height: auto; border-radius: 26px; background: #0b0b0b; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 16px 34px rgba(0, 0, 0, 0.22); }
.fig-shot-pair img { width: min(250px, calc(50% - 7px)); border-radius: 20px; }
.paper ul.wishes { display: grid; gap: 8px; padding: 0 !important; list-style: none; }
.paper ul.wishes li { margin: 0 !important; padding: 12px 16px; border-radius: 14px; background: var(--soft); color: var(--ink); line-height: 1.5; }
/* "Hang this on their tree" under each list of messages: a dark pill that opens the make-a-tree page */
.paper .hang { margin: 12px 0 0; }
.paper .hang a { display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 0.94rem; font-weight: 600; text-decoration: none; }
.paper .hang a:hover { opacity: 0.88; }
.short { margin: 0 0 6px; padding: 18px 22px; border-radius: var(--radius); background: var(--soft); }
.short b { display: block; margin-bottom: 6px; color: var(--ink-2); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.short ul { margin: 0; }
.short li { margin: 0.25em 0; }
/* legal pages: "On this page" list, and tables whose rows stack on phones with each cell labelled */
.paper .toc { margin: 0 0 6px; padding: 18px 22px; border: 1px solid var(--rule); border-radius: var(--radius); }
.paper .short + .toc { margin-top: 14px; }
.paper .toc b { display: block; margin-bottom: 6px; color: var(--ink-2); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.paper .toc ol { margin: 0; columns: 2; column-gap: 32px; }
.paper .toc li { margin: 0.22em 0; break-inside: avoid; }
.paper .toc a { font-weight: 500; }
/* the Wish Tree vs Color My Tree table (deco-my-tree-alternative): the row name in bold; on phones each row stacks under its labels */
.paper table.stack-deco td:first-child { color: var(--ink); font-weight: 600; }
/* group card price tables (group-christmas-card, kudoboard-alternatives): Service | Price | Free option | Sign-up */
.paper table.stack-cards td:first-child { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) {
  .paper .toc ol { columns: 1; }
  .paper table.stack thead { display: none; }
  .paper table.stack, .paper table.stack tbody, .paper table.stack tr, .paper table.stack td { display: block; width: auto; }
  .paper table.stack tr { padding: 12px 0; border-top: 1px solid var(--rule); }
  .paper table.stack td { padding: 2px 0; border: 0; }
  .paper table.stack td + td::before { display: block; margin-top: 6px; color: var(--ink-3); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; }
  .paper table.stack-basis td:nth-child(2)::before { content: 'Why we use it'; }
  .paper table.stack-basis td:nth-child(3)::before { content: 'Legal basis'; }
  .paper table.stack-time td:first-child { color: var(--ink); font-weight: 600; }
  .paper table.stack-time td:nth-child(2)::before { content: 'How long'; }
  .paper table.stack-deco td:nth-child(2)::before { content: 'Wish Tree'; }
  .paper table.stack-deco td:nth-child(3)::before { content: 'Color My Tree'; }
  .paper table.stack-cards td:nth-child(2)::before { content: 'Price for one card'; }
  .paper table.stack-cards td:nth-child(3)::before { content: 'Free option'; }
  .paper table.stack-cards td:nth-child(4)::before { content: 'Sign-up for signers'; }
}
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0 18px; padding: 0 !important; list-style: none; }
.steps li { margin: 0 !important; padding: 18px; border-radius: var(--radius); background: var(--soft); }
.steps .n { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 10px; border-radius: 50%; background: var(--butter); color: var(--ink); font-weight: 700; font-size: 0.92rem; }
.steps b { display: block; margin-bottom: 4px; color: var(--ink); }
.steps p { margin: 0; font-size: 0.95rem; }
@media (max-width: 680px) { .steps { grid-template-columns: 1fr; } }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; margin: 14px 0 18px; padding: 0 !important; list-style: none; }
.gallery li { margin: 0 !important; }
.gallery figure { height: 100%; margin: 0; padding: 12px 6px 10px; border-radius: 16px; background: var(--soft); text-align: center; }
.gallery img { width: 74px; height: 74px; margin: 0 auto 6px; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.18)); }
.gallery.trees { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); }
.gallery.trees img { width: 110px; height: 110px; }
.gallery figcaption { color: var(--ink-2); font-size: 0.84rem; font-weight: 600; line-height: 1.3; }
.gallery .price { display: block; color: #a86d00; }
.gallery.glow figure { background: radial-gradient(circle at 50% 38%, #fff3cf, var(--soft) 70%); }
.types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0 18px; }
.type { display: block; padding: 12px 12px 16px; border-radius: var(--radius); background: var(--soft); text-decoration: none !important; text-align: center; }
.type img { width: 78%; margin: 0 auto 6px; }
.type b { display: block; color: var(--ink); font-size: 1.02rem; }
.type span { display: block; color: var(--ink-3); font-size: 0.88rem; font-weight: 500; }
@media (max-width: 600px) { .types { grid-template-columns: 1fr; } .type { display: grid; grid-template-columns: 96px 1fr; align-items: center; column-gap: 12px; text-align: left; } .type img { grid-row: span 2; width: 96px; margin: 0; } }
.countdown { margin: 14px 0 18px; padding: 22px; border-radius: var(--radius); background: var(--soft); }
.countdown label { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--ink); font-weight: 600; }
.countdown select { min-height: 46px; padding: 8px 12px; border: 1px solid var(--rule); border-radius: 12px; background: #fff; color: var(--ink); font: 600 1rem var(--font); }
.cd-out { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 18px 0 6px; }
.cd-out div { padding: 16px 4px; border-radius: 16px; background: #fff; text-align: center; }
.cd-out b { display: block; color: var(--ink); font-size: clamp(1.9rem, 6vw, 3rem); font-weight: 700; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.cd-out span { color: var(--ink-3); font-size: 0.82rem; font-weight: 600; }
.cd-line { margin: 12px 0 0; }

/* keep reading */
.related { max-width: 820px; margin: clamp(40px, 6vw, 64px) auto 0; }
.related h2 { margin: 0 0 16px; font-size: clamp(1.45rem, 1.15rem + 1vw, 1.95rem); letter-spacing: -0.02em; }
.related ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.related a { position: relative; display: block; height: 100%; padding: 20px 48px 22px 22px; border-radius: var(--radius); background: var(--bg-2); text-decoration: none; transition: background-color 0.15s ease; }
.related a:hover { background: var(--bg-3); }
.related a::after { content: '\2192'; position: absolute; top: 20px; right: 20px; color: var(--text-2); }
.related b { display: block; margin-bottom: 4px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.related span { color: var(--text-3); font-size: 0.93rem; }
@media (max-width: 640px) { .related ul { grid-template-columns: 1fr; } }

/* "Find Wish Tree on" (build.mjs listed()): the sites that list us, above the footer's last row. Six or more scroll by
   slowly and stop under the pointer or keyboard focus; fewer, or reduced motion, sit in one centred row that wraps. */
.listed { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.listed h2 { margin: 0 0 14px; color: var(--text-3); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-align: center; text-transform: uppercase; }
.listed-set { display: flex; align-items: center; gap: 14px; }
.listed-row .listed-set { flex-wrap: wrap; justify-content: center; }
.listed-viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.listed-track { display: flex; width: max-content; animation: listed-scroll var(--listed-s, 40s) linear infinite; }
.listed-track .listed-set { padding-right: 14px; }
.listed-viewport:hover .listed-track, .listed-viewport:focus-within .listed-track { animation-play-state: paused; }
@keyframes listed-scroll { to { transform: translateX(-50%); } }
.listed a { flex: none; display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); color: var(--text-2); font-size: 0.85rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.listed a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.listed a.badge { padding: 0; background: none; }
.listed a.badge img { display: block; width: auto; height: 40px; }
@media (prefers-reduced-motion: reduce) {
  .listed-viewport { -webkit-mask-image: none; mask-image: none; }
  .listed-track { width: auto; animation: none; }
  .listed-track .listed-set { flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .listed-track .listed-set[aria-hidden] { display: none; }
}

/* ---------- footer (decomytree.link .site-footer) ---------- */
.site-footer { margin-top: clamp(56px, 8vw, 100px); padding: 44px 0 28px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(7, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1180px) { .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
.footer-cta { min-height: 44px; margin-top: 18px; padding: 0 20px; font-size: 0.95rem; }
.footer-brand .footer-trust { margin: 10px 0 0; font-size: 0.85rem; }
/* our profiles (SITE.social): shown only once each account is open */
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.footer-social a { padding: 6px 14px; border-radius: 999px; background: var(--bg-2); color: var(--text-2); font-size: 0.85rem; font-weight: 600; text-decoration: none; transition: background-color 0.15s ease; }
.footer-social a:hover { background: var(--bg-3); color: #fff; }
.footer-brand p { max-width: 36ch; margin: 14px 0 0; color: var(--text-3); font-size: 0.93rem; }
.site-footer nav { display: grid; align-content: start; gap: 8px; }
.site-footer h2 { margin: 0 0 4px; font-size: 0.95rem; font-weight: 600; letter-spacing: 0; }
.site-footer nav a { color: var(--text-3); font-size: 0.93rem; text-decoration: none; }
.site-footer nav a:hover, .site-footer nav a[aria-current] { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 0.85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--text-2); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
