/* Tree Lot Notes: a Christmas tree lot sign. Wood planks and pine green carry the page, red is only a price-tag accent, bulbs and light snow sit on the header. */
:root {
  --paper: #fbf5e6;
  --paper-2: #f2e7cc;
  --ink: #2a2118;
  --muted: #65563f;
  --pine: #1f4d2b;
  --pine-deep: #143520;
  --leaf: #3e7d3a;
  --wood: #8a5a2b;
  --wood-dark: #5c3a1a;
  --straw: #d9b26a;
  --red: #b8231a;
  --snow: #f4f7fa;
  --bulb: #ffd54a;
  --shade: rgba(60, 36, 12, 0.18);
  --flake: rgba(255, 255, 255, 0.85);
  --radius: 10px;
  --font-head: "Fredoka", "Trebuchet MS", "Segoe UI", sans-serif;
  --font-body: "Nunito", "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pine); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--red); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; font-family: var(--font-head); }
h2 { font-weight: 600; font-size: 34px; color: var(--pine-deep); }
h3 { font-size: 19px; font-weight: 600; }
p { margin: 0 0 16px; }
code { font-family: var(--font-mono); }
.ct-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.ct-prose { max-width: 70ch; }
.ct-small { font-size: 14px; color: var(--muted); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--bulb); color: var(--ink); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

.ct-top { position: relative; background: repeating-linear-gradient(180deg, var(--pine) 0, var(--pine) 30px, var(--pine-deep) 30px, var(--pine-deep) 32px); color: var(--snow); border-bottom: 6px solid var(--wood); }
.ct-top-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 22px; flex-wrap: wrap; }
.ct-brand { display: flex; align-items: center; gap: 12px; color: var(--snow); text-decoration: none; }
.ct-brand:hover { color: var(--snow); }
.ct-tree { position: relative; width: 34px; height: 40px; display: block; }
.ct-tree i { position: absolute; left: 50%; transform: translateX(-50%); display: block; width: 0; height: 0; border-left: 14px solid transparent; border-right: 14px solid transparent; border-bottom: 16px solid var(--leaf); }
.ct-tree i:nth-child(1) { top: 0; border-left-width: 9px; border-right-width: 9px; border-bottom-width: 12px; }
.ct-tree i:nth-child(2) { top: 9px; border-left-width: 12px; border-right-width: 12px; }
.ct-tree i:nth-child(3) { top: 20px; border-left-width: 16px; border-right-width: 16px; border-bottom-width: 14px; }
.ct-tree::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 6px; height: 6px; margin-left: -3px; background: var(--straw); }
.ct-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.ct-brand-name { font-family: var(--font-head); font-weight: 700; font-size: 28px; }
.ct-brand-sub { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--straw); margin-top: 4px; }
.ct-nav { display: flex; gap: 4px 18px; flex-wrap: wrap; }
.ct-nav a { color: var(--snow); text-decoration: none; font-size: 16px; font-weight: 700; padding: 8px 0; border-bottom: 3px solid transparent; }
.ct-nav a:hover { border-bottom-color: var(--bulb); color: var(--snow); }
.ct-bulbs { height: 18px; background: radial-gradient(circle at 12px 9px, var(--red) 0 4px, transparent 5px), radial-gradient(circle at 36px 9px, var(--bulb) 0 4px, transparent 5px), radial-gradient(circle at 60px 9px, var(--snow) 0 4px, transparent 5px), radial-gradient(circle at 84px 9px, var(--paper-2) 0 4px, transparent 5px); background-size: 96px 18px; background-repeat: repeat-x; border-top: 2px solid var(--pine-deep); }

.ct-snow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: 0.9; background-image: radial-gradient(2px 2px at 20px 30px, var(--flake), transparent), radial-gradient(3px 3px at 90px 80px, var(--flake), transparent), radial-gradient(2px 2px at 150px 20px, var(--flake), transparent), radial-gradient(3px 3px at 60px 150px, var(--flake), transparent), radial-gradient(2px 2px at 180px 120px, var(--flake), transparent); background-size: 200px 200px; animation: ct-fall 14s linear infinite; }
@keyframes ct-fall { from { background-position: 0 0; } to { background-position: 40px 200px; } }
@media (prefers-reduced-motion: reduce) { .ct-snow { animation: none; } }

.ct-hero { position: relative; background: radial-gradient(circle at 85% 0%, var(--leaf), transparent 55%), var(--pine); color: var(--snow); padding: 44px 0 40px; border-bottom: 6px solid var(--wood); }
.ct-hero-in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; }
.ct-kicker { font-size: 14px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.ct-hero .ct-kicker { color: var(--bulb); }
.ct-h1 { font-weight: 700; font-size: 46px; margin-bottom: 16px; }
.ct-h1-page { font-size: 40px; color: var(--pine-deep); }
.ct-lead { font-size: 18px; }
.ct-hero .ct-lead a { color: var(--bulb); }
.ct-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.ct-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: var(--radius); background: var(--red); border: 3px solid var(--red); color: var(--snow); font-family: var(--font-head); font-weight: 600; font-size: 17px; text-decoration: none; }
.ct-btn:hover { background: var(--wood-dark); border-color: var(--wood-dark); color: var(--snow); }
.ct-btn.ghost { background: transparent; border-color: var(--straw); color: var(--snow); }
.ct-btn.ghost:hover { background: var(--pine-deep); color: var(--snow); }
.ct-hero-fig { margin: 0; }
.ct-hero-fig img, .ct-fig img { border: 8px solid var(--wood); border-radius: 6px; box-shadow: 0 10px 24px var(--shade); background: var(--wood); }
.ct-hero figcaption { color: var(--straw); }
figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.ct-fig { margin: 0 0 24px; }

.ct-chart { position: relative; margin-top: -22px; background: var(--paper); border: 2px solid var(--wood); border-radius: var(--radius); padding: 16px 24px; box-shadow: 0 6px 16px var(--shade); }
.ct-chart-title { font-family: var(--font-head); font-weight: 600; font-size: 22px; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ct-chart-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 24px; margin: 0 0 12px; }
.ct-chart-cell { border-top: 2px dotted var(--straw); padding-top: 8px; }
.ct-chart-cell dt { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.ct-chart-cell dd { margin: 0; font-family: var(--font-head); font-size: 20px; font-weight: 600; }

.tag { display: inline-block; font-family: var(--font-body); font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; border: 2px solid currentColor; vertical-align: middle; }
.tag-ok { color: var(--leaf); }
.tag-rep { color: var(--wood); }
.tag-no { color: var(--red); }

.ct-toc { padding-top: 24px; padding-bottom: 8px; }
.ct-toc-label { font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.ct-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ct-toc a { display: inline-block; padding: 6px 14px; border: 2px solid var(--straw); border-radius: 999px; background: var(--paper); color: var(--wood-dark); text-decoration: none; font-weight: 700; font-size: 15px; }
.ct-toc a:hover { background: var(--pine); border-color: var(--pine); color: var(--snow); }
.ct-guides { padding-top: 16px; padding-bottom: 8px; }
.ct-guides-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.ct-guides-list li { background: var(--paper); border: 2px solid var(--straw); border-left: 6px solid var(--leaf); border-radius: var(--radius); padding: 12px 16px; }
.ct-guides-list a { display: block; font-family: var(--font-head); font-weight: 600; font-size: 18px; margin-bottom: 4px; }
.ct-guides-list span { display: block; font-size: 14px; color: var(--muted); }

.ct-sec { padding: 48px 0; }
.ct-sec-alt { background: var(--paper-2); border-top: 2px dashed var(--straw); border-bottom: 2px dashed var(--straw); }
.ct-entry { font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.ct-quote { margin: 24px 0 0; padding: 12px 20px; border-left: 6px solid var(--straw); background: var(--paper); border-radius: 0 var(--radius) var(--radius) 0; }
.ct-quote p { font-family: var(--font-head); font-size: 20px; margin: 0 0 4px; }
.ct-quote cite { font-size: 14px; color: var(--muted); font-style: normal; }
.ct-note { font-size: 15px; color: var(--muted); border-left: 4px solid var(--straw); padding-left: 12px; margin-top: 16px; }
.ct-more { margin-top: 16px; font-weight: 800; }
.ct-more a::after { content: " \2192"; }

.ct-steps { list-style: none; counter-reset: ct; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; max-width: 80ch; }
.ct-step { counter-increment: ct; position: relative; background: var(--paper); border: 2px solid var(--straw); border-radius: var(--radius); padding: 14px 16px 6px 64px; }
.ct-step::before { content: counter(ct); position: absolute; left: 14px; top: 12px; width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: var(--snow); font-family: var(--font-head); font-weight: 700; font-size: 20px; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 -4px 0 var(--wood-dark); }
.ct-step h3 { margin-bottom: 6px; }

.ct-tags { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.ct-pricetag { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 12px 42px; background: var(--straw); color: var(--ink); clip-path: polygon(22px 0, 100% 0, 100% 100%, 22px 100%, 0 50%); min-height: 96px; }
.ct-pricetag::before { content: ""; position: absolute; left: 18px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--wood); }
.ct-pricetag code { font-size: 22px; font-weight: 800; letter-spacing: 1px; color: var(--pine-deep); word-break: break-all; }
.ct-tag-reward { font-weight: 700; line-height: 1.3; }
.ct-pricetag .ct-small { color: var(--wood-dark); }
.ct-pricetag.is-new::after { content: "NEW"; position: absolute; right: 0; top: 0; background: var(--red); color: var(--snow); font-size: 12px; font-weight: 800; letter-spacing: 1px; padding: 3px 10px 3px 12px; border-bottom-left-radius: 8px; }
.ct-tags-old { margin-top: 10px; }
.ct-pricetag.is-old { background: var(--paper-2); color: var(--muted); min-height: 0; }
.ct-pricetag.is-old code { color: var(--muted); text-decoration: line-through; font-size: 18px; }
.ct-expired-label { margin: 24px 0 0; font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }

.ct-checks { list-style: none; margin: 20px 0 0; padding: 0; max-width: 76ch; display: grid; gap: 10px; }
.ct-checks li { position: relative; padding-left: 34px; }
.ct-checks li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 14px solid var(--leaf); }

.ct-tablewrap { overflow-x: auto; margin-top: 24px; border: 2px solid var(--wood); border-radius: var(--radius); background: var(--paper); }
.ct-ledger, .ct-body table { width: 100%; border-collapse: collapse; font-size: 16px; }
.ct-ledger th, .ct-ledger td, .ct-body th, .ct-body td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--straw); vertical-align: top; }
.ct-ledger thead th, .ct-body thead th { background: var(--wood); color: var(--snow); font-family: var(--font-head); font-weight: 600; border-bottom: 0; }
.ct-ledger tbody th { font-weight: 800; white-space: nowrap; }
.ct-body table { margin: 20px 0; border: 2px solid var(--wood); background: var(--paper); display: block; overflow-x: auto; }

.ct-tips { list-style: none; counter-reset: tip; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.ct-tip { counter-increment: tip; background: var(--paper); border: 2px solid var(--straw); border-top: 6px solid var(--wood); border-radius: var(--radius); padding: 14px 16px 4px; }
.ct-tip h3::before { content: "#" counter(tip) " "; color: var(--red); }

.ad-slot { max-width: 340px; margin: 32px auto; text-align: center; }
.ad-label { display: block; font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ad-box { min-height: 250px; width: 300px; max-width: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: var(--paper-2); border: 1px dashed var(--straw); }

.ct-faq details { background: var(--paper); border: 2px solid var(--straw); border-left: 6px solid var(--wood); border-radius: var(--radius); margin-bottom: 10px; padding: 0 16px; }
.ct-faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 18px; padding: 12px 0; }
.ct-faq details[open] summary { color: var(--pine); }
.ct-faq details p { margin: 0 0 14px; }
.ct-sources { padding-left: 20px; }
.ct-legend { font-size: 14px; color: var(--muted); }

.ct-page { padding-top: 24px; padding-bottom: 48px; }
.ct-crumbs { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.ct-article { max-width: 78ch; }
.ct-answer { background: var(--paper-2); border: 2px solid var(--leaf); border-left: 8px solid var(--pine); border-radius: var(--radius); padding: 14px 18px 2px; margin: 0 0 24px; }
.ct-answer-label { font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--pine); margin-bottom: 4px; }
.ct-body h2 { margin-top: 36px; }
.ct-body h3 { margin-top: 24px; }
.ct-body ul, .ct-body ol { padding-left: 24px; }
.ct-body li { margin-bottom: 6px; }
.ct-body code { background: var(--paper-2); padding: 1px 6px; border-radius: 4px; font-weight: 800; color: var(--pine-deep); }
.ct-page-faq { margin-top: 32px; }
.ct-related { margin-top: 32px; padding: 16px 20px; background: var(--paper-2); border-radius: var(--radius); }
.ct-related ul { margin: 0; padding-left: 20px; }
.ct-legal .ct-body h2 { font-size: 26px; }
.ct-lost { text-align: left; }

.ct-foot { margin-top: 24px; background: var(--wood-dark); color: var(--paper-2); border-top: 6px solid var(--wood); padding: 28px 0 16px; }
.ct-foot a { color: var(--straw); }
.ct-foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ct-foot-name { font-family: var(--font-head); font-weight: 700; font-size: 22px; margin-bottom: 6px; }
.ct-foot .ct-small { color: var(--straw); }
.ct-foot-about { max-width: 60ch; }
.ct-foot-links { display: flex; gap: 8px 20px; flex-wrap: wrap; align-content: flex-start; }
.ct-copy { margin-top: 16px; }

@media (max-width: 780px) {
  .ct-wrap { padding: 0 16px; }
  .ct-hero-in { grid-template-columns: 1fr; }
  .ct-h1 { font-size: 36px; }
  .ct-h1-page { font-size: 32px; }
  h2 { font-size: 28px; }
  .ct-chart-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-sec { padding: 36px 0; }
  .ct-step { padding-left: 58px; }
  .ct-tags { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}


