/* Qoohoo Absolute Color Guide 2.0; user-selected marketing treatments.
   Iris Depth 40 canvas keeps the backdrop light behind Ivory cards.
   Preserve all typography, geometry, content and illustration assets. */
:root, body.qoohoo-soft, body.editorial-home {
  --q-marketing-coral-450:color-mix(in srgb,var(--q-ref-coral-400) 50%,var(--q-ref-coral-500));
  --q-marketing-coral-550:color-mix(in srgb,var(--q-ref-coral-500) 50%,var(--q-ref-coral-600));
  /* Marketing trial: half steps between the unchanged guide primitives. */
  --q-marketing-wasabi-450:color-mix(in srgb,var(--q-ref-wasabi-400) 50%,var(--q-ref-wasabi-500));
  --q-marketing-wasabi-550:color-mix(in srgb,var(--q-ref-wasabi-500) 50%,var(--q-ref-wasabi-600));
  --q-color-bg-brand-bold:var(--q-marketing-wasabi-450);
  --q-color-action-primary-bg:var(--q-marketing-wasabi-450);
  --q-color-action-primary-pressed:var(--q-marketing-wasabi-550);
  --brand-primary:var(--q-marketing-wasabi-450);
  --brand-secondary:var(--q-marketing-coral-450);
  --brand-accent:var(--q-ref-iris-depth-300);
  --ink:var(--q-ref-neutral-ink);
  --muted:var(--q-ref-neutral-dark-2);
  /* Custom 40 tint: retain 80% of guide 50, blend with 20% white. */
  --q-marketing-iris-depth-40:color-mix(in srgb,var(--q-ref-iris-depth-50) 80%,white);
  --canvas:var(--q-marketing-iris-depth-40);
  --paper:var(--canvas);
  --racing-white:var(--canvas);
  --surface:var(--q-ref-neutral-ivory);
  --section-base:var(--canvas);
  --section-warm:var(--canvas);
  --line:var(--q-ref-neutral-line);
  --soft:var(--q-ref-wasabi-100);
  --secondary-soft:var(--q-ref-coral-50);
  --accent-soft:var(--q-ref-iris-depth-100);
  --action:var(--q-color-action-primary-bg);
  --action-text:var(--ink);
  --on-secondary:var(--ink);
  --success:var(--q-color-status-success-fg);
  --error:var(--q-color-status-error-fg);
  --warning:var(--q-color-status-warning-fg);
  --info:var(--q-color-status-info-fg);
  --soft-secondary:var(--q-color-action-secondary-bg);
  --soft-secondary-hover:var(--q-color-action-secondary-hover);
  --opening-green:var(--q-marketing-wasabi-450);
}

/* User-selected refinement: Coral/Ink actions on Wasabi fields.
   Keep the entire interaction in the Coral family, including hover. */
body.qoohoo-soft.benchmark-v2 .button:not(.outline):not(.entry-free-button),
body.qoohoo-soft #post-story.demo-simple :is(#story-try,#story-finish) {
  --button-shadow:var(--q-marketing-wasabi-550);
  --soft-button:3px 4px 0 var(--button-shadow);
  --soft-lift:3px 6px 0 var(--button-shadow);
}
body.qoohoo-soft.benchmark-v2 .hero-opening,
body.qoohoo-soft.benchmark-v2 .site-header.over-opening {
  background:var(--opening-green);
}
body.qoohoo-soft.benchmark-v2 .reference-hero .button.dark,
body.qoohoo-soft.benchmark-v2 .site-header.over-opening .nav-right .button.dark,
body.qoohoo-soft.benchmark-v2.editorial-home #free .entry-paid .button {
  --button-fill:var(--q-marketing-coral-450);
  --button-shadow:var(--q-marketing-coral-550);
  color:var(--ink);
}
body.qoohoo-soft.benchmark-v2 .reference-hero .arrow-link>span {
  background:var(--q-ref-neutral-ivory);
  color:var(--ink);
}
/* Header changes context while scrolling: change fill and text together,
   rather than briefly showing dark text on the outgoing dark fill. */
body.qoohoo-soft.benchmark-v2 .site-header .button::before {
  transition:transform .2s var(--ui-ease),box-shadow .2s ease;
}

/* Feature family: original asymmetric area allocation.
   Iris anchors the central creation card; Coral highlights new ideas. */
body.qoohoo-soft.benchmark-v2.editorial-home .partner-understand {
  --frame-fill:var(--q-marketing-wasabi-450);
  --frame-shadow:var(--q-marketing-wasabi-550);
}
body.qoohoo-soft.benchmark-v2.editorial-home .partner-plan {
  --frame-fill:var(--q-marketing-coral-450);
  --frame-shadow:var(--q-marketing-coral-550);
  --role-color:var(--ink);
}
body.qoohoo-soft.benchmark-v2.editorial-home .partner-create {
  --frame-fill:var(--q-ref-iris-500);
  --frame-shadow:var(--q-ref-iris-600);
  --role-color:var(--q-ref-neutral-white);
}
body.qoohoo-soft.benchmark-v2.editorial-home .partner-evaluate {
  --frame-fill:color-mix(in srgb,var(--q-ref-aqua-400) 50%,var(--q-ref-aqua-500));
  --frame-shadow:color-mix(in srgb,var(--q-ref-aqua-500) 50%,var(--q-ref-aqua-600));
}
body.qoohoo-soft.benchmark-v2.editorial-home .partner-learn {
  --frame-fill:color-mix(in srgb,var(--q-ref-mango-400) 50%,var(--q-ref-mango-500));
  --frame-shadow:color-mix(in srgb,var(--q-ref-mango-500) 50%,var(--q-ref-mango-600));
  --role-color:var(--ink);
}
body.qoohoo-soft.benchmark-v2.editorial-home .partner-learn h3 {
  color:var(--ink);
}
body.qoohoo-soft.benchmark-v2.editorial-home .partner-role p { opacity:1; }
body.qoohoo-soft .role-work .work-paper,
body.qoohoo-soft .role-work .lesson-paper { background:var(--q-ref-neutral-ivory); }
body.qoohoo-soft .role-work .idea-paper-back { background:var(--q-ref-coral-200); }
body.qoohoo-soft .role-work .work-spark { color:var(--q-ref-iris-depth-700); }

/* Both entry plans use Ivory; the paid offer has a Wasabi offset shadow. */
body.qoohoo-soft.benchmark-v2.editorial-home #free .entry-paid {
  --entry-fill:var(--q-ref-neutral-ivory);
}
body.qoohoo-soft.benchmark-v2.editorial-home #free .entry-free {
  --entry-fill:var(--q-ref-neutral-ivory);
}
body.qoohoo-soft.benchmark-v2.editorial-home .showcase-card-surface {
  --frame-fill:var(--q-ref-neutral-ivory);
}
body.qoohoo-soft.benchmark-v2.editorial-home #free .entry-free-button {
  --button-fill:transparent;
  --button-edge:var(--q-ref-neutral-control);
}
body.qoohoo-soft.benchmark-v2.editorial-home #free .entry-story-label,
body.qoohoo-soft.benchmark-v2 #customer-stories .showcase-story dt {
  color:var(--q-ref-iris-depth-700);
}

/* Regular actions use Wasabi; selections use a distinct Iris tint. */
body.qoohoo-soft.benchmark-v2 :is(.billing,.filter-row) button[aria-pressed=true] {
  background:var(--q-color-selection-bg);
  color:var(--q-color-selection-fg);
  border-color:var(--q-color-selection-indicator);
}
body.qoohoo-soft.benchmark-v2 :is(.billing,.filter-row) button:not([aria-pressed=true]):hover {
  background:var(--q-color-action-secondary-hover);
}
body.qoohoo-soft :is(input:not([type=checkbox]):not([type=radio]),textarea,select) {
  background:var(--q-color-field-bg);
  color:var(--q-color-field-fg);
  border-color:var(--q-color-field-border);
}
body.qoohoo-soft :is(input,textarea)::placeholder { color:var(--q-color-field-placeholder); }

/* Demo is a neutral reading area; role tint chips remain secondary to
   the sample work. Data bars use the guide's readable chart colors. */
body.qoohoo-soft.benchmark-v2.editorial-home #post-story.demo-simple .story-lead,
body.qoohoo-soft.benchmark-v2.editorial-home #post-story.demo-simple #story-tagline {
  color:var(--ink);
}
body.qoohoo-soft #post-story.demo-simple .story-note>span {
  background:var(--q-ref-wasabi-200);
  color:var(--ink);
}
body.qoohoo-soft #post-story.demo-simple .story-note:nth-child(2)>span {
  background:var(--q-ref-coral-200);
}
body.qoohoo-soft #post-story.demo-simple .story-note:nth-child(3)>span {
  background:var(--q-ref-iris-depth-100);
}
body.qoohoo-soft #post-story .metric-change,
body.qoohoo-soft #post-story .dashboard-metric-change {
  color:var(--q-color-status-success-fg);
}
body.qoohoo-soft #post-story .distribution-track {
  background:var(--q-ref-neutral-soft);
}
body.qoohoo-soft #post-story .distribution-track i {
  background:var(--q-color-chart-1);
}
body.qoohoo-soft #post-story .distribution-row:nth-of-type(2) .distribution-track i {
  background:var(--q-color-chart-2);
}

@media(hover:hover) {
  body.qoohoo-soft.benchmark-v2 .button:not(.outline):not(:disabled):hover,
  body.qoohoo-soft #post-story.demo-simple :is(#story-try,#story-finish):not(:disabled):hover {
    --button-fill:var(--q-color-action-primary-hover);
  }
  body.qoohoo-soft.benchmark-v2 .reference-hero .button.dark:hover,
  body.qoohoo-soft.benchmark-v2 .site-header.over-opening .nav-right .button.dark:hover,
  body.qoohoo-soft.benchmark-v2.editorial-home #free .entry-paid .button:hover {
    --button-fill:var(--q-ref-coral-400);
    color:var(--ink);
  }
}
body.qoohoo-soft.benchmark-v2 .button:not(.outline):not(:disabled):active,
body.qoohoo-soft #post-story.demo-simple :is(#story-try,#story-finish):not(:disabled):active {
  --button-fill:var(--q-color-action-primary-pressed);
}
body.qoohoo-soft.benchmark-v2 .reference-hero .button.dark:active,
body.qoohoo-soft.benchmark-v2 .site-header.over-opening .nav-right .button.dark:active,
body.qoohoo-soft.benchmark-v2.editorial-home #free .entry-paid .button:active {
  --button-fill:var(--q-marketing-coral-550);
  color:var(--ink);
}
body.qoohoo-soft :is(a,button,input,select,textarea,summary):focus-visible {
  outline:3px solid var(--q-color-focus-ring);
  outline-offset:5px;
}
body.qoohoo-soft :is(.hero-opening,.site-header.over-opening,.partner-role,.entry-paid) :is(a,button):focus-visible {
  outline-color:var(--ink);
  box-shadow:0 0 0 3px var(--q-ref-neutral-white);
}
@media(forced-colors:active) {
  body.qoohoo-soft.benchmark-v2.editorial-home :is(.partner-role,.showcase-card-surface,.start-paths article)::before { background:Canvas; }
  body.qoohoo-soft.benchmark-v2.editorial-home .partner-role { --role-color:CanvasText; }
}

/* A quiet returning-user action beside the primary signup button. */
.site-header .nav-login {
  display:inline-flex;align-items:center;justify-content:center;min-height:44px;
  padding:8px 4px;color:var(--ink);font:700 14px/1.3 var(--body);white-space:nowrap;
}
.site-header .nav-login:hover { text-decoration:underline;text-underline-offset:5px; }
@media(max-width:1100px) and (min-width:801px) {
  .site-header .nav-inner { gap:14px; }
  .site-header .nav-links { gap:18px; }
}
@media(max-width:800px) {
  .site-header .nav-login { font-size:13px;padding-inline:2px; }
  .site-header .nav-right { gap:6px; }
}
/* Colour swatches are flat fills throughout the site. */
:is(.brand-ink-samples,.brand-swatches,.memory-swatches,.memory-file-swatches,.mini-swatches,.swatch-set,.palette-neutral-colors) i {
  border:0;box-shadow:none;
}
