/* Wise Fox Finds shared design system. Production and preview use this same file. */
:root {
  --wff-paper: #fff9ec;
  --wff-ink: #12392a;
  --wff-gold: #aa761e;
  --wff-border: #d8c9ab;
  --wff-muted: #43584c;
  --wff-emerald: #064c3c;
  --wff-surface: #f3ecdc;
  --wff-white: #ffffff;
  --wff-metallic: linear-gradient(115deg,#916622 0%,#d6b566 18%,#fff0bb 38%,#e6cc88 49%,#d6b566 64%,#a77c35 82%,#e5c985 100%);
  --wff-radius: .65rem;
  --wff-max: 74rem;
  --wff-sticky-height: calc(120px + env(safe-area-inset-bottom, 0px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin:0; background:var(--wff-paper); color:var(--wff-ink); font:1rem/1.65 Arial, sans-serif; }
a { color:var(--wff-emerald); text-underline-offset:.22em; overflow-wrap:anywhere; }
a:hover { text-decoration-thickness:2px; }
:focus-visible { outline:3px solid var(--wff-gold); outline-offset:4px; }
img { display:block; max-width:100%; height:auto; }
svg { flex-shrink:0; }
h1,h2,h3 { line-height:1.15; color:var(--wff-ink); }
h1,h2 { font-family:Georgia,serif; font-weight:400; letter-spacing:-.025em; }
h1 { font-size:clamp(2.25rem,5vw,4rem); margin:.3em 0 .5em; }
h2 { font-size:clamp(1.65rem,3vw,2.35rem); margin:0 0 1rem; }
h3 { font-size:1.3rem; margin:1rem 0 .65rem; }
p { margin:0 0 1rem; }
li { margin:.45rem 0; }
button,input,select,textarea { font:inherit; }
button,a,input,select,textarea { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; }
button:disabled { cursor:not-allowed; opacity:.65; }
[hidden] { display:none!important; }
.wrap { width:min(var(--wff-max),calc(100% - 2.5rem)); margin-inline:auto; }
main { min-width:0; }
.section,.page-content { padding:2.5rem 0; }
section[id] { scroll-margin-top:1.5rem; }
.skip { position:absolute; top:-100px; left:1rem; z-index:100; padding:.8rem 1rem; background:var(--wff-paper); color:var(--wff-ink); }
.skip:focus { top:1rem; }
.site-header { background:var(--wff-emerald); border-bottom:2px solid var(--wff-gold); }
.site-header .nav { display:flex; align-items:center; gap:1.5rem; padding-block:1rem; flex-wrap:wrap; }
.brand { display:inline-flex; align-items:center; gap:.75rem; color:#fff0bb; text-decoration:none; font:700 1.15rem/1.2 Georgia,serif; letter-spacing:.06em; }
.brand em { font-style:normal; }
.brand small { display:block; font: .75rem/1.7 Arial,sans-serif; letter-spacing:.08em; }
.fox-emblem { width:52px; height:52px; flex:0 0 52px; }
.fox-emblem img { width:52px; height:52px; object-fit:contain; }
#main-nav { display:flex; flex-wrap:wrap; gap:.5rem; margin-left:auto; }
#main-nav a { display:inline-flex; align-items:center; min-height:44px; padding:.55rem .85rem; border:1px solid #c8a04d; border-radius:.4rem; background:var(--wff-metallic); color:var(--wff-ink); font-weight:700; font-size:.9rem; text-decoration:none; box-shadow:inset 0 1px 0 #fff5d8,inset 0 -2px 2px #805c2355; }
.menu-button { display:none; background:var(--wff-metallic); color:var(--wff-ink); border:1px solid var(--wff-border); border-radius:.4rem; min-width:44px; min-height:44px; }
.guide-hero,.page-hero,.sauna-hero,.wff-product-intro { padding:clamp(2rem,5vw,4rem) 0; background:var(--wff-emerald); color:var(--wff-paper); border-bottom:2px solid var(--wff-gold); }
:is(.guide-hero,.page-hero,.sauna-hero,.wff-product-intro) :is(h1,h2,h3) { color:var(--wff-paper); }
:is(.guide-hero,.page-hero,.sauna-hero,.wff-product-intro) a:not(.button):not(.sauna-button):not(.c3-shop) { color:#fff0bb; }
.eyebrow { font-weight:700; font-size:.8rem; text-transform:uppercase; letter-spacing:.1em; color:#785112; }
:is(.guide-hero,.page-hero,.sauna-hero,.wff-product-intro) .eyebrow { color:#edd498; }
.guide-dek,.sauna-dek,.lead { font-size:1.15rem; max-width:66ch; }
.breadcrumb { display:inline-block; font-size:.875rem; margin-bottom:1rem; }
.article-meta { display:flex; gap:.75rem 1.5rem; flex-wrap:wrap; font-size:.8rem; }
.guide-shortcuts { display:flex; flex-wrap:wrap; gap:.75rem 1.5rem; margin-top:1.5rem; }
.guide-shortcuts a { min-height:44px; display:inline-flex; align-items:center; font-size:.9rem; }
.button,.sauna-button,.c3-shop,.planner-print,.gold-button { display:inline-flex; justify-content:center; align-items:center; min-height:48px; padding:.8rem 1.2rem; border:1px solid var(--wff-gold); border-radius:.45rem; font-weight:700; font-size:1rem; text-align:center; text-decoration:none; color:var(--wff-ink); background:var(--wff-metallic); box-shadow:inset 0 1px 0 #fff5d8,inset 0 -2px 2px #805c2355,0 2px 4px #0002; }
:is(.button,.sauna-button,.c3-shop,.planner-print,.gold-button):hover { filter:brightness(1.06); color:var(--wff-ink); }
.button.secondary,.sauna-button.secondary { background:var(--wff-paper); color:var(--wff-ink); border-color:var(--wff-border); box-shadow:none; }
.hero-actions,.sauna-actions,.c3-buy-first,.tool-actions,.purchase-actions,.sauna-controls { display:flex; flex-wrap:wrap; align-items:center; gap:1rem; margin:1.25rem 0; }
.hero-actions .secondary-link,.c3-plan { font-weight:700; min-height:44px; display:inline-flex; align-items:center; }
.affiliate-note,.c3-disclosure,.sauna-disclosure { font-size:.875rem; margin:.75rem 0 0; }
.wff-value-strip { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; list-style:none; padding:1rem 0; margin:1.2rem 0; border-block:1px solid #d6b56670; }
.wff-value-strip li { padding:0 .75rem 0 0; margin:0; font-weight:700; font-size:.9rem; color:inherit; }
.article-layout { display:grid; grid-template-columns:180px minmax(0,1fr); gap:2.5rem; padding-block:2.5rem; }
.article-nav { display:flex; flex-direction:column; gap:.7rem; align-self:start; position:sticky; top:1.5rem; font-size:.9rem; }
.article-nav a { min-height:30px; }
.guide-content { min-width:0; }
.guide-content>section { margin-bottom:2.5rem; }
.guide-content p,.content-card p { max-width:78ch; }
.grid,.future-grid,.verdict-grid,.offer-grid,.step-cards,.next-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.25rem; }
.step-cards { grid-template-columns:repeat(3,minmax(0,1fr)); }
.card,.content-card,.verdict-card,.offer-card,.future-grid article,.step-cards>div,.shop-chair { padding:1.5rem; background:var(--wff-surface); border:1px solid var(--wff-border); border-radius:var(--wff-radius); min-width:0; }
.verdict-card,.offer-card { border-top:3px solid var(--wff-gold); }
.page-content .wrap { max-width:60rem; }
.content-card { margin-bottom:1.5rem; }
.callout,.note,.transparency-note { padding:1rem 1.25rem; background:var(--wff-surface); border-left:4px solid var(--wff-gold); color:var(--wff-ink); margin:1.25rem 0; }
.transparency-note { font-size:.9rem; }
.transparency-note h2 { font-size:1.4rem; }
.small,.thin,.table-hint,.fine { font-size:.875rem; color:var(--wff-muted); }
.guide-hero .small,.sauna-hero .small { color:var(--wff-paper); }
.table-scroll,.sauna-table { max-width:100%; overflow-x:auto; border:1px solid var(--wff-border); border-radius:var(--wff-radius); }
table { width:100%; border-collapse:collapse; min-width:620px; }
th,td { padding:1rem; border-bottom:1px solid var(--wff-border); text-align:left; vertical-align:top; }
thead { background:var(--wff-ink); color:var(--wff-paper); }
tbody th { background:var(--wff-surface); }
caption { text-align:left; padding:1rem; font-weight:700; }
input:not([type=checkbox]):not([type=radio]),select,textarea { display:block; width:100%; min-height:46px; padding:.65rem .75rem; border:1px solid #8b8067; border-radius:.35rem; background:var(--wff-white); color:var(--wff-ink); margin-top:.35rem; }
input[type=checkbox],input[type=radio] { width:20px; height:20px; accent-color:var(--wff-emerald); flex:none; }
label { font-weight:600; }
fieldset { min-width:0; border:1px solid var(--wff-border); border-radius:var(--wff-radius); padding:1.25rem; }
legend { font-weight:700; padding-inline:.35rem; }
.cost-grid,.budget-inputs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem 1.5rem; }
.cost-grid label,.budget-inputs label { display:flex; flex-direction:column; justify-content:end; }
.checks label,.checklist label { display:flex; align-items:start; gap:.6rem; padding:.65rem 0; }
.checks input,.checklist input { margin-top:.25rem; }
.budget-result,.projector-result,.sauna-total { background:var(--wff-surface); border:1px solid var(--wff-border); border-radius:var(--wff-radius); padding:1.5rem; }
.budget-result strong { display:block; font-size:1.8rem; }
summary { cursor:pointer; font-weight:700; padding:1rem 0; }
.sources { font-size:.9rem; overflow-wrap:anywhere; }
.wff-presets { margin:1rem 0 1.5rem; padding:1.25rem; border:1px solid var(--wff-border); border-radius:var(--wff-radius); background:var(--wff-surface); }
.wff-presets .tool-actions { margin:.5rem 0; }
.wff-presets p { font-size:.9rem; }
.wff-preset-status { min-height:1.65em; }
.wff-plan-summary { margin:2rem 0; padding:1.5rem; border:2px solid var(--wff-gold); border-radius:var(--wff-radius); }
.wff-summary-text { white-space:pre-wrap; overflow-wrap:anywhere; font: .95rem/1.65 Arial,sans-serif; }
.wff-plan-summary textarea { min-height:16rem; }
.footer { background:#082c23; color:var(--wff-paper); padding:2.5rem 0; }
.footer a { color:#f3dca0; }
.footer .brand { color:#fff0bb; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr; gap:2rem; }
.footer h3 { color:var(--wff-paper); }
.footer ul { padding-left:1rem; }
.footer-bottom { border-top:1px solid #d6b56660; margin-top:1.5rem; padding-top:1.5rem; font-size:.875rem; }
.social-links { display:flex; gap:1rem; flex-wrap:wrap; margin:1rem 0; }
.social-links a { display:inline-flex; align-items:center; gap:.4rem; min-height:44px; }
.analytics-settings { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem; }
.analytics-settings button { min-height:44px; padding:.5rem .75rem; border:1px solid #d6b566; border-radius:.3rem; background:var(--wff-paper); color:var(--wff-ink); }
.c3-mobile-buy { display:none; }
.wff-sun-offer { padding:1.25rem; margin:1.25rem 0; background:var(--wff-surface); border:1px solid var(--wff-border); border-radius:var(--wff-radius); }
.wff-sun-offer h2 { font-size:1.5rem; }
.contact-strip { padding:1.5rem; background:var(--wff-surface); border-left:4px solid var(--wff-gold); }
@media(max-width:900px) {
  .article-layout { grid-template-columns:1fr; gap:1rem; }
  .article-nav { position:static; flex-direction:row; flex-wrap:wrap; border-bottom:1px solid var(--wff-border); padding-bottom:1rem; }
}
@media(max-width:700px) {
  .wrap { width:calc(100% - 2rem); }
  .site-header .nav { gap:.75rem; }
  #main-nav { margin:0; width:100%; }
  #main-nav a { flex:1 1 auto; justify-content:center; }
  .wff-value-strip { grid-template-columns:1fr; gap:.65rem; }
  .grid,.future-grid,.verdict-grid,.offer-grid,.step-cards,.next-grid,.footer-grid { grid-template-columns:1fr; }
  .hero-actions { align-items:stretch; }
  .hero-actions>.button,.hero-actions>.secondary-link { flex:1 1 100%; justify-content:center; }
  .cost-grid,.budget-inputs { grid-template-columns:1fr; }
  body.has-mobile-buy { padding-bottom:var(--wff-sticky-height); }
  .has-mobile-buy .wff-chrome-footer { padding-bottom:2.5rem; }
  .c3-mobile-buy { display:block; position:fixed; z-index:50; bottom:0; left:0; right:0; padding:.65rem 1rem calc(.65rem + env(safe-area-inset-bottom)); background:var(--wff-paper); border-top:1px solid var(--wff-gold); box-shadow:0 -3px 16px #12392a22; text-align:center; }
  .c3-mobile-buy a { width:100%; }
  .c3-mobile-buy small { display:block; margin-top:.3rem; color:var(--wff-muted); font-size:.8rem; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
@media print {
  body { background:white; color:black; padding:0!important; }
  .site-header,.footer,.c3-mobile-buy,.guide-shortcuts,.article-nav,.tool-actions,.wff-presets,.hero-actions { display:none!important; }
  .wrap { width:100%; }
  input,select,textarea { border:1px solid #777; }
  body.wff-summary-print>* { display:none!important; }
  body.wff-summary-print>#wff-print-summary { display:block!important; }
  #wff-print-summary { white-space:pre-wrap; font:11pt/1.5 Arial,sans-serif; color:black; }
  table { min-width:0; }
  tr { break-inside:avoid; }
}

.external-icon { display:inline-block; vertical-align:middle; }
