/* Palit brand palette (chosen Nov 17, 2026): "Deep blue" (cobalt-navy with a warm marigold pop)
   on a warm off-white base. Layers on top of the Fable theme (themes.css) and only swaps color.
   Load after themes.css on every page. Tweak the tokens in the last block to adjust the brand. */

:root[data-theme='fable'] {
  --bg: #f8f5ee; /* linen */
  --bg-tint: #efe9dd; /* oat */
  --surface: #fffdf8;
  --ink: #232a20; /* deep green-black */
  --ink-2: #424a3c;
  --muted: #5c6355;
  --line: #e5dfd2;
  --line-strong: #d2c9b7;
  --accent: #55724a; /* moss */
  --accent-ink: #445d3a;
  --accent-soft: #e2e9d6;
  --ok: #3f6b45;

  --shadow-sm: 0 1px 2px rgba(60, 52, 36, 0.05), 0 2px 10px rgba(60, 52, 36, 0.05);
  --shadow-md: 0 2px 4px rgba(60, 52, 36, 0.04), 0 14px 36px rgba(60, 52, 36, 0.09);
  --shadow-lg: 0 4px 10px rgba(60, 52, 36, 0.04), 0 30px 80px rgba(60, 52, 36, 0.13);

  --bg-rgb: 248, 245, 238;
  --surface-rgb: 255, 253, 248;
  --ink-rgb: 35, 42, 32;
  --accent-rgb: 85, 114, 74;
  --surface-2: #fbf8f2;
  --field: #fffdf8;
  --selected-bg: #eef2e6;
  --primary: #3e5638; /* olive buttons, cream text */
  --primary-hover: #34492f;
  --on-primary: #fbf8f1;
  --on-primary-2: #dfe6d4;
  --accent-hover: #627f55;
  --on-accent: #fbf8f1;
  --accent-line: #c3d1b1;
  --check: #55724a;
  --on-check: #fbf8f1;
  --ico: #55724a;
  --step-num: #fbf8f1;
  --progress: #6f8a5e;
  --ok-soft: #e6eedd;
  --ok-ink: #3f6b45;
  --ok-line: #c6d8bd;
  --disabled-bg: #e5dfd2;
  --mark-bg: #dfe8d2;
  --warn-bg: #f6eedb;
  --warn-line: #e5d4ad;
  --warn-ink: #5e4512;
  --stage-0: #fffdf8;
  --stage-1: #f3eee4;
  --stage-2: #e7dfd0;
  --pc-stack-1: #e9eedf;
  --pc-stack-2: #dbe3cd;
  --pc-tote: #c9a576;
  --wood: #c9a576;
  --band-a: #efe9dd;
  --band-b: #efe9dd;
  --banner-bg: #e6ecdc;
  --banner-ink: #33472f;
  --panel: #2b3a2e;
  --on-panel: #f8f5ee;
  --on-panel-2: #cfd8c4;
  --on-panel-strong: #ffffff;
  --panel-line: rgba(248, 245, 238, 0.14);
  /* waitlist / order card: deep olive with cream type */
  --cta-bg: #3e5638;
  --cta-ink: #fbf8f1;
  --cta-text: #e4e9da;
  --cta-label: #f3f1e9;
  --cta-muted: #c9d3bc;
  --cta-eyebrow: #cfdcb8;
  --cta-ok: #cfe8b8;
  --cta-err: #ffc9b3;
  --cta-glow: rgba(207, 220, 184, 0.35);
  --cta-focus: #fbf8f1;
  --placeholder: #7a7d70;

  --scene-body: #c9a576;
  --scene-lids: #c9a576;
  --scene-label: #55724a;
  --scene-label-ink: #fbf8f1;
  --scene-tag-bg: #2b3a2e;
  --scene-tag-ink: #f8f5ee;
  --scene-hi: #6f8a5e;
  --scene-kraft: #cfa875;
  --scene-kraft-edge: #8a6a3e;
  --scene-tape: #6f8a5e;
  --scene-tape-ink: #fbf8f1;
}

/* ---- surfaces ---- */
:root[data-theme='fable'] body { background: var(--bg); }
:root[data-theme='fable'] .site-header { background: rgba(248, 245, 238, 0.88); }
:root[data-theme='fable'] .app-header { background: rgba(248, 245, 238, 0.92); }
:root[data-theme='fable'] .hero-visual .stage {
  background: radial-gradient(90% 70% at 50% 15%, #fffdf8 0%, #f6f1e7 55%, #ebe3d4 100%);
}
:root[data-theme='fable'] .price-card.is-featured { background: var(--surface); }
:root[data-theme='fable'] .switch-band { background: #2b3a2e; }
:root[data-theme='fable'] .switch-band h2 { color: #f8f5ee; }

/* the one dark section (dashboard preview): forest instead of black */
:root[data-theme='fable'] #storage-room { background: #2b3a2e; }
:root[data-theme='fable'] #storage-room .section-head {
  --ink: #f8f5ee;
  --ink-2: #dbe2d0;
  --muted: #bfc9b3;
  --accent-ink: #c4d6a8;
  color: #f8f5ee;
}
:root[data-theme='fable'] #storage-room .section-head h2 { color: #f8f5ee; }
:root[data-theme='fable'] #storage-room .section-head .section-sub { color: #dbe2d0; }

/* ---- green chips carry cream text (Fable put black text on orange) ---- */
:root[data-theme='fable'] .badge,
:root[data-theme='fable'] .step-num,
:root[data-theme='fable'] .hero-callout .lbl,
:root[data-theme='fable'] .bx b,
:root[data-theme='fable'] .fetch-btn,
:root[data-theme='fable'] .seg button.is-on .seg-tag,
:root[data-theme='fable'] .box-num,
:root[data-theme='fable'] .box-badge,
:root[data-theme='fable'] .btn-fetch,
:root[data-theme='fable'] .sample-ribbon,
:root[data-theme='fable'] .sd-num {
  color: #fbf8f1;
}
:root[data-theme='fable'] .box-card.is-empty .box-num { color: var(--muted); }
:root[data-theme='fable'] .faq details[open] summary::after {
  background-image: linear-gradient(#fbf8f1, #fbf8f1), linear-gradient(#fbf8f1, #fbf8f1);
}

/* softer, lower-contrast shadows instead of orange glow */
:root[data-theme='fable'] .btn-primary { box-shadow: 0 8px 20px rgba(62, 86, 56, 0.22); }
:root[data-theme='fable'] .btn-primary:hover { box-shadow: 0 12px 26px rgba(62, 86, 56, 0.28); }
:root[data-theme='fable'] .mark-ok { box-shadow: 0 4px 10px rgba(62, 86, 56, 0.22); }
:root[data-theme='fable'] .badge { box-shadow: 0 6px 14px rgba(62, 86, 56, 0.22); }
:root[data-theme='fable'] .btn-fetch { box-shadow: 0 8px 20px rgba(62, 86, 56, 0.22); }

:root[data-theme='fable'] .pill {
  background: var(--accent-soft);
  border-color: var(--accent-line);
  color: var(--accent-ink);
}

/* comparison: Palit column is a calm olive block */
:root[data-theme='fable'] .compare-new {
  background: var(--primary);
  color: #fbf8f1;
}
:root[data-theme='fable'] .compare-new li { border-color: rgba(251, 248, 241, 0.16); }
:root[data-theme='fable'] .compare-new .wordmark,
:root[data-theme='fable'] .compare-new .wordmark * { color: #fbf8f1; }
:root[data-theme='fable'] .compare-new .mark-ok {
  background: #fbf8f1;
  color: var(--primary);
}

:root[data-theme='fable'] .price-card.is-featured,
:root[data-theme='fable'] .price-card.is-featured:hover {
  box-shadow: var(--shadow-lg), 0 0 0 2px var(--accent);
}

:root[data-theme='fable'] .sticky-cta {
  background: var(--primary);
  color: #fbf8f1;
  box-shadow: 0 14px 40px rgba(43, 58, 46, 0.3);
}
:root[data-theme='fable'] .sticky-cta small { color: #dfe6d4; }
:root[data-theme='fable'] .sticky-cta .btn { background: #fbf8f1; color: var(--ink); }

/* ---- hero: soft sage band; founder: warm oat band ---- */
:root[data-theme='fable'] .hero,
:root[data-theme='fable'] #founder {
  --ink-2: #3d4636;
  --muted: #4f5747;
  --accent-ink: #3e5638;
  --primary: #3e5638;
  --primary-hover: #34492f;
  --on-primary: #fbf8f1;
  --line-strong: rgba(35, 42, 32, 0.25);
}
:root[data-theme='fable'] .hero { background: #e1e6d4; }
:root[data-theme='fable'] #founder { background: #ece3d3; }
:root[data-theme='fable'] .hero h1 .accent { color: var(--accent); }
:root[data-theme='fable'] .hero .pill {
  background: #fbf8f1;
  border-color: #fbf8f1;
  color: #3e5638;
}
:root[data-theme='fable'] .hero .btn-primary,
:root[data-theme='fable'] .hero .btn-primary:hover { box-shadow: 0 10px 22px rgba(43, 58, 46, 0.22); }
:root[data-theme='fable'] .hero .btn-ghost {
  background: #fbf8f1;
  border-color: #fbf8f1;
  color: var(--ink);
}
:root[data-theme='fable'] .hero .btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
:root[data-theme='fable'] .hero-facts svg { color: var(--accent); }
:root[data-theme='fable'] #founder .eyebrow::before { background: var(--accent); }
:root[data-theme='fable'] #founder .founder-img { box-shadow: 0 24px 60px rgba(60, 52, 36, 0.2); }

/* rounder, softer corners */
:root[data-theme='fable'] {
  --r-sm: 16px;
  --r-md: 24px;
  --r-lg: 34px;
}


/* bold structure: navy hero, blue blocks, dark sections */
:root[data-theme='fable'] .hero {
  background: var(--v-hero);
  color: #fff;
  --ink: #ffffff;
  --ink-2: rgba(255, 255, 255, 0.86);
  --muted: rgba(255, 255, 255, 0.78);
  --accent-ink: var(--v-hero-pop);
  --primary: var(--v-btn);
  --primary-hover: var(--v-btn);
  --on-primary: var(--v-btn-ink);
  --line-strong: rgba(255, 255, 255, 0.35);
}
:root[data-theme='fable'] .hero h1,
:root[data-theme='fable'] .hero .hero-brand { color: #fff; }
:root[data-theme='fable'] .hero h1 .accent,
:root[data-theme='fable'] .hero .wordmark span { color: var(--v-hero-pop); }
:root[data-theme='fable'] .hero .btn-primary {
  background: var(--v-btn);
  color: var(--v-btn-ink);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}
:root[data-theme='fable'] .hero .btn-primary:hover { filter: brightness(1.06); }
:root[data-theme='fable'] .hero .btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
:root[data-theme='fable'] .hero .btn-ghost:hover { border-color: #fff; color: #fff; }
:root[data-theme='fable'] .hero .pill { background: #fff; border-color: #fff; color: var(--v-hero); }
:root[data-theme='fable'] .hero-facts svg { color: var(--v-hero-pop); }

:root[data-theme='fable'] .section-orange {
  background: var(--v-block);
  color: #fff;
  --ink: #ffffff;
  --ink-2: rgba(255, 255, 255, 0.9);
  --muted: rgba(255, 255, 255, 0.82);
  --accent-ink: #ffffff;
  --line-strong: rgba(255, 255, 255, 0.35);
}
:root[data-theme='fable'] .security-points li::before { border-color: var(--v-hero-pop); }

:root[data-theme='fable'] #founder { background: var(--v-tint-2); }
:root[data-theme='fable'] #storage-room,
:root[data-theme='fable'] .switch-band { background: var(--v-dark); }
:root[data-theme='fable'] #storage-room .section-head { --accent-ink: var(--v-hero-pop); }
:root[data-theme='fable'] .section-tint,
:root[data-theme='fable'] #pricing.section-tint,
:root[data-theme='fable'] .site-footer { background: var(--v-tint); }
:root[data-theme='fable'] .vs-table .vs-palit { background: var(--v-tint); }
:root[data-theme='fable'] .vs-table thead .vs-palit { background: var(--primary); color: #fff; }
:root[data-theme='fable'] .btn-primary { color: #fff; box-shadow: 0 8px 22px rgba(var(--ink-rgb), 0.18); }
:root[data-theme='fable'] .site-header { background: rgba(255, 255, 255, 0.9); }
:root[data-theme='fable'] body { background: var(--bg); }

/* hero animation: its orange labels follow the variant color */
:root[data-theme='fable'] .hero-anim [fill='#f26b1d'] { fill: var(--accent); }
:root[data-theme='fable'] .hero-anim [fill='#d85a12'] { fill: var(--accent-ink); }
:root[data-theme='fable'] .hero-anim.hx .ha-cap-n { background: var(--accent); }



/* Deep blue: cobalt-navy hero with a warm marigold pop */
:root[data-theme='fable'] {
  --bg: #f7f6f2;
  --bg-tint: #ebeff7;
  --band-a: #ebeff7;
  --band-b: #ebeff7;
  --ink: #111a33;
  --ink-2: #353f5c;
  --muted: #535c75;
  --ink-rgb: 17, 26, 51;
  --line: #e0e3eb;
  --line-strong: #c8cedb;
  --v-hero: #142f6b;
  --v-hero-pop: #ffc94d;
  --v-btn: #ffc94d;
  --v-btn-ink: #111a33;
  --v-block: #1f45b5;
  --v-dark: #0b1838;
  --v-tint: #ebeff7;
  --v-tint-2: #d8e1f3;
  --accent: #1f45b5;
  --accent-ink: #1a3a99;
  --accent-soft: #e1e8f8;
  --accent-line: #b0c0ea;
  --accent-hover: #2a53c9;
  --primary: #142f6b;
  --primary-hover: #0f2554;
  --check: #1f45b5;
  --ico: #1f45b5;
  --progress: #2a53c9;
  --mark-bg: #dde5f8;
  --selected-bg: #eef2fb;
  --ok-soft: #e1e8f8;
  --cta-bg: #142f6b;
  --cta-eyebrow: #ffc94d;
  --cta-text: #dfe6f7;
  --cta-muted: #b9c6e6;
  --panel: #0b1838;
  --banner-bg: #e1e8f8;
  --banner-ink: #1a2b5c;
  --pc-stack-1: #e1e8f8;
  --pc-stack-2: #d0dbf3;
  --scene-label: #1f45b5;
  --scene-tape: #142f6b;
  --scene-hi: #2a53c9;
  --scene-tag-bg: #0b1838;
}

