/* No beige (Leo, 17 Nov 2026): the warm paper and warm neutrals are swapped for the cool near-white grays of
   powercommerce.com (paper #F5F6F8, secondary ground #ECEEF1, neutrals #E8EAEE … #64666C), same contrast. */
/* Design House refresh: Power Commerce design system v2 over this site's v1 styles.
   Loaded last on every page that uses the v1 CSS (home, projects, case studies, pricing; build.mjs head()).
   It swaps the v1 tokens for the v2 ones (ink #1F1F1F, paper ground, coral as a fill, purple as accent type,
   Bricolage Grotesque + Instrument Serif, 6/8/12px corners, hairlines over shadows) and fixes the v1 rules that break
   v2's contrast rule (coral is never text on light). Source of the system: ~/_DEV/design-house/powercommerce.
   The support pages don't load this file: they use assets/pc-v2/pc.css directly. */

:root {
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-body: var(--font-display);
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* ink + warm neutrals */
  --ink-50: #ECEEF1;
  --ink-100: #E8EAEE;
  --ink-200: #DFE2E7;   /* solid, not translucent ink: v1 also uses these as text and fills on dark */
  --ink-300: #C9CDD4;
  --ink-400: #9A9CA2;
  --ink-500: #64666C;   /* secondary numbers on light: 5:1 on paper */
  --ink-600: #5C5C60;
  --ink-700: #3A3A3E;
  --ink-800: #27272A;
  --ink-900: #1F1F1F;
  --ink-950: #1F1F1F;

  /* v1 "coral-600" was coral used as text and hover: v2 puts accent type on light in purple */
  --coral-100: #ECE6F7;
  --coral-600: #5F46A7;
  --purple: #5F46A7;
  --lavender: #997DD6;

  --paper: #F5F6F8;
  --bg-page: #F5F6F8;
  --bg-paper: #ECEEF1;
  --bg-dark: #1F1F1F;
  --surface-card: #FFFFFF;
  --surface-card-dark: #27272A;
  --text-primary: #1F1F1F;
  --text-secondary: #5C5C60;
  --text-muted: #686A70;   /* 4.8:1 on paper */
  --text-inverse: #F5F6F8;
  --text-inverse-secondary: #A6A8AE;
  --border: rgba(31, 31, 31, .12);
  --border-dark: rgba(245, 246, 248, .1);
  --link: #1F1F1F;
  --link-hover: #5F46A7;
  --accent-hover: #5F46A7;
  --brand-navy: #1F1F1F;
  --focus-ring: 0 0 0 2px #F5F6F8, 0 0 0 4px #5F46A7;

  --weight-heading: 500;
  --tracking-heading: -0.035em;
  --leading-heading: 1.04;
  --tracking-label: .14em;

  --radius-card: 8px;
  --radius-input: 6px;
  --radius-tile: 6px;
  --shadow-card: 0 1px 3px rgba(0, 0, 0, .06);
  --shadow-pop: 0 1px 3px rgba(0, 0, 0, .06);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

body { background: var(--bg-page); }
::selection { background: #FF6B6B; color: #1F1F1F; }

/* Type: Editorial headlines are medium, tight; numerals in the serif */
.display { font-weight: 500; letter-spacing: -0.045em; line-height: .98; }
.hero3 .display { letter-spacing: -0.045em; font-size: clamp(44px, 5.4vw, 80px); }
.h2, .h3, .h4, h2, h3, h4 { font-weight: 500; }
.eyebrow--accent { color: var(--text-secondary); }
.section--dark .eyebrow--accent, .eyebrow--dark { color: var(--text-inverse-secondary); }
.stat__value, .plan__price, .addon__price b, .pricing-jump b, .project-card__stats .v, .stat-row b,
.showcase__chip .v, .enquire__plans b, .pillar__price b, .score__num, .lh-card b {
  font-family: var(--font-serif); font-weight: 400; letter-spacing: -.03em;
}
.stat__value .from, .project-card__stats .v .from, .showcase__chip .v .from { font-weight: 400; text-decoration-color: #FF6B6B; }
.stat__value .arrow, .project-card__path .arr, .track__n, .marquee span i, .callout__quote em { color: var(--purple); }
.method-card__n, .pillar__n, .plan__n { color: var(--text-secondary); font-weight: 600; }
.callout__quote em, .decision__why b { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

/* The hero's accent word: serif italic on the coral highlighter (v2 .pc-em--mark), never coral type on light */
.hero3 .display em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em;
  color: #1F1F1F; background: #FF6B6B; padding: 0 .14em 0 .08em; border-radius: .08em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero3:not(.hero3--light) .display em { background: none; color: #FF6B6B; padding: 0; }   /* on ink, coral works as type */
.hero3--light { background: var(--bg-page); }
.hero3--light::before { background: radial-gradient(50% 45% at 90% 6%, rgba(153, 125, 214, .16) 0%, rgba(153, 125, 214, 0) 70%); }

/* Buttons: ink pills that turn purple; coral fills carry ink type (white on coral fails contrast) */
.btn { font-weight: 600; letter-spacing: -.005em; }
.btn--primary:hover { background: var(--purple); color: #F5F6F8; }
.btn--accent { background: #FF6B6B; color: #1F1F1F; }
.btn--accent:hover { background: var(--purple); color: #F5F6F8; }
.btn--outline { border-color: rgba(31, 31, 31, .22); }
.btn--outline:hover { background: transparent; border-color: #1F1F1F; }
.btn--inverse:hover { background: #FF6B6B; color: #1F1F1F; }
.btn--link.on-dark:hover, .site-footer__more a:hover { color: #FF6B6B; }
.plan--featured .btn--accent:hover, .section--dark .btn--accent:hover { background: #F5F6F8; color: #1F1F1F; }

/* Surfaces: white cards on paper, hairlines, one quiet shadow */
.tag--accent { background: #ECE6F7; color: var(--purple); border-color: transparent; }
.site-header { background: rgba(245, 246, 248, .94); }
.site-header nav a { font-weight: 500; }
.site-header .logo img { height: 20px; width: auto; }
.plan--featured { background: #1F1F1F; border-color: #1F1F1F; box-shadow: none; }
.plan--featured .plan__check { color: #FF6B6B; }
.plan__check { color: var(--purple); }
.hero3--light .showcase__dot.is-active span { background: #FF6B6B; }
.hero3--light .showcase__browser { box-shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 24px 60px rgba(31, 31, 31, .12); }
.hero3--light .showcase__arrow { background: transparent; }
.hero3--light .marquee { background: transparent; }

/* Footer: the v2 footer is paper with a hairline, ink logo */
.site-footer { background: var(--bg-page); color: var(--text-secondary); border-top: 1px solid var(--border); }
.site-footer .top { border-bottom-color: var(--border); }
.site-footer h4 { color: #1F1F1F; font-weight: 600; letter-spacing: 0; text-transform: none; font-size: 14px; }
.site-footer a, .site-footer .bottom a { color: var(--text-secondary); }
.site-footer a:hover, .site-footer .bottom a:hover { color: #1F1F1F; }
.site-footer__more a { color: #1F1F1F; }
.site-footer__more a:hover { color: var(--purple); }
.site-footer .logo img { height: 20px; width: auto; }
.site-footer .partners { color: var(--text-secondary); }
.site-footer .partners img { filter: none; opacity: .85; }
.site-footer .partners img[src*="shopline"] { filter: brightness(0); }   /* Shopify uses its own ink file (pc-v2/shopify-ink.svg), so its "S" stays cut out */

/* Bricolage sets wider than Archivo: let the "coming soon" band's links wrap on phones instead of pushing the page sideways */
@media (max-width: 720px) {
  .coming-soon-band__cta { flex: 1 1 100%; min-width: 0; }
  .coming-soon-band__cta .btn { white-space: normal; }
}

/* Dark-on-dark layering. v1 had two darks (ink-950 cards, ink-900 boxes inside them); v2 has one ink, so boxes that
   sit inside a dark card use the v2 raised tile colour (#27272A) and a paper hairline instead. */
.pillar--accent .tag, .plan--featured .plan__turn, .section--dark .seg { background: #27272A; border-color: rgba(245, 246, 248, .12); color: #F5F6F8; }
.pillar--accent .pillar__price { background: #27272A; border-color: rgba(245, 246, 248, .12); color: #A6A8AE; }
.pillar--accent .tag--dark { background: #F5F6F8; color: #1F1F1F; border-color: #F5F6F8; }

/* Light price box inside a white pillar card: paper, not a grey slab */
.pillar__price { background: var(--bg-page); border-color: var(--border); align-items: center; }
.pillar__price b { font-size: 28px; line-height: 1; }

/* Contrast fixes found by the page-by-page check */
.stat__value .from, .project-card__stats .v .from, .showcase__chip .v .from { color: #686A70; }
.compare__label--after, .decision__shots figure + figure figcaption { color: #1F1F1F; }   /* coral fill carries ink type */
.plan--featured .plan__n, .pillar--accent .pillar__n { color: #A6A8AE; }
.scorecard__total small { color: #A6A8AE; }   /* small print inside the dark total row */

/* Pillar price line: a hairline row, not a filled box (v2 separates with lines) */
.pillar__price, .pillar--accent .pillar__price { background: transparent; border: 0; border-top: 1px solid var(--border); border-radius: 0; padding: 14px 0 0; }
.pillar--accent .pillar__price { border-top-color: rgba(245, 246, 248, .14); }
.callout__quote { font-weight: 500; }
/* The highlighter box sits inside its own line, so it never covers the line above (seen on phones) */
.hero3--light .display em { display: inline-block; line-height: .98; padding-top: .04em; }
