/* Carbon Labs: the CarbonWeb brand colours, set once for every page of the site (landing, left, marketplace and the
   lab pages). Loaded after the other stylesheets, so these win. Every value is a CarbonWeb Base token
   (references/brand/carbonweb-base/tokens/colors.css, the same as the CarbonWeb DS artifact 42fbiQQZ), or that token
   at an opacity. Light blue leads (cyan #5AF0FF / cyan-bright #55E7F6 / teal-soft #C9FAFF), teal underneath, green
   only as the brand gradient's tail. No other blues and no iris or purple: the brand rules out bluish-purple
   gradients. monday's own UI drawn inside the app screens keeps monday's colours, since it shows their product. */

:root {
  --cw-teal: #00B0C2;           /* the brand; CTA fills, selected states */
  --cw-teal-dark: #00828F;      /* hover and press; teal as text on white (4.6:1) */
  --cw-teal-soft: #C9FAFF;      /* tint only, never text */
  --cw-cyan: #5AF0FF;           /* light blue: start of --cw-gradient-headline */
  --cw-cyan-bright: #55E7F6;    /* light blue on the dark layer: metrics, eyebrows, tags */
  --cw-green: #69D757;          /* tail of the brand gradient */
  --cw-gradient-brand: linear-gradient(135deg, #00B0C2 0%, #69D757 100%);
  --cw-gradient-headline: linear-gradient(90deg, #5AF0FF 0%, #00828F 100%);
  --cw-dark-bg: linear-gradient(165deg, #000000 0%, #001011 100%);
}

/* dark: light blue leads */
html:not([data-theme="light"]) {
  --hero-ga: rgba(90,240,255,.46);    /* cyan #5AF0FF, the lead glow */
  --hero-gb: rgba(0,176,194,.42);     /* teal #00B0C2 */
  --hero-gc: rgba(85,231,246,.16);    /* cyan-bright bloom behind the window */
  --grad: linear-gradient(100deg, #C9FAFF 0%, #5AF0FF 42%, #00B0C2 100%);   /* teal-soft > cyan > teal */
  --accent: #55E7F6; --cyan: #55E7F6;
  --glow-a: rgba(85,231,246,.40); --glow-b: rgba(0,176,194,.30);
  --tag-blue: #55E7F6; --tag-blue-bg: rgba(85,231,246,.12); --tag-blue-line: rgba(85,231,246,.40);
  --lg-tint: #5AF0FF; --lg-glow: rgba(85,231,246,.3);
}
/* light: the brand's headline gradient and cyan washes on white */
html[data-theme="light"] {
  --hero-ga: rgba(90,240,255,.50);
  --hero-gb: rgba(0,176,194,.22);
  --hero-gc: rgba(201,250,255,.85);   /* teal-soft */
  --grad: linear-gradient(90deg, #00B0C2 0%, #69D757 100%);   /* --cw-gradient-brand, the mark's teal to green (Jack picked it over the cyan headline gradient, 2026-10-22) */
  --accent: #00828F; --cyan: #00828F;
  --glow-a: rgba(90,240,255,.42); --glow-b: rgba(0,176,194,.22);
  --tag-blue: #00828F; --tag-blue-bg: rgba(0,176,194,.10); --tag-blue-line: rgba(0,176,194,.34);
  --lg-tint: #00B0C2; --lg-glow: rgba(0,176,194,.22);
}

/* the featured experiment cards sit on the same washes as the hero, over the brand's dark layer or white */
html .xcard__shot:has(.xscene) { background: radial-gradient(120% 95% at 18% 0%, var(--hero-ga), transparent 62%), radial-gradient(90% 80% at 100% 100%, var(--hero-gb), transparent 70%), var(--cw-dark-bg); }
html[data-theme="light"] .xcard__shot:has(.xscene) { background: radial-gradient(120% 95% at 18% 0%, var(--hero-ga), transparent 62%), radial-gradient(90% 80% at 100% 100%, var(--hero-gb), transparent 70%), #fff; }

/* experiment covers and tags that were iris or purple */
html .cv-web { --cv: linear-gradient(160deg, #C9FAFF, #00828F); }
html .xtag--i { --tc: #5AF0FF; --tg: rgba(90,240,255,.5); }
html[data-theme="light"] .xtag--i { --tc: #00828F; --tg: rgba(0,176,194,.25); }
html .pill--you { color: #55E7F6; border-color: rgba(85,231,246,.5); }
html[data-theme="light"] .pill--you { color: #00828F; border-color: rgba(0,176,194,.4); }

/* the experiments marketplace: its accent and pill ink in the brand's light blue and teal-dark */
html:not([data-theme="light"]) { --ms-accent: #55E7F6; --ms-pill-ink: #00828F; }
html[data-theme="light"] { --ms-accent: #00828F; --ms-pill-ink: #00828F; }
html .ms-get--light { color: #00828F; }

/* the experiment covers by kind, all in brand colours (the label on each cover names the kind) */
html .cv-app    { --cv: linear-gradient(160deg, #00B0C2, #001011); }   /* teal on the dark layer */
html .cv-plugin { --cv: linear-gradient(160deg, #00B0C2, #69D757); }   /* --cw-gradient-brand */
html .cv-site   { --cv: linear-gradient(160deg, #55E7F6, #001011); }   /* cyan-bright on the dark layer */
html .cv-ext    { --cv: linear-gradient(160deg, #B2FFA5, #00828F); }   /* green-soft to teal-dark */

/* ═══ The shared token sheet (2026-10-22, from the brand audit; Jack's picks 1C 2A 3A 4A 5-glass stays 6B 7A 8-motion stays).
   Type, text colours, eyebrows, tags and buttons for every page, so the landing and the lab pages move together.
   Every value is a CarbonWeb Base token (references/brand/carbonweb-base/tokens). Glass stays everywhere and the
   motion stays, by Jack's choice. */

/* text colours: Base's cool neutrals on white, its dark-layer pair on black */
html[data-theme="light"] { --bg: #FFFFFF; --bg-2: #F6F7FB; --fg: #333333; --fg-2: #686A86; --fg-3: #6C6F87; --line: #E1E7F0; --line-2: #DCDFEC; }
html:not([data-theme="light"]) { --fg: #E3E1E1; --fg-2: #B9BDBD; --fg-3: #8E9496; }

/* type scale: fluid, landing on Base's tiers at 1440 (display 66, H4 28, H5 24, H6 20); Raleway 800 display, 700 headings */
html .gsec h1, html .gsec h2.big, html .gsec h2.big.idea__title, html h2 { font-weight: 800; font-size: clamp(40px, 4.6vw, 66px); line-height: 1.1; letter-spacing: -.02em; }
html .fcopy h2, html[data-layout] .fcopy h2 { font-size: clamp(44px, 4.9vw, 70px); line-height: 1.05; letter-spacing: -.02em; }   /* the hero display: Base's 60 to 70 */
html .lp-hero h1 { font-size: clamp(40px, 4.6vw, 66px); line-height: 1.1; letter-spacing: -.02em; }
html h3 { font-weight: 700; font-size: 24px; line-height: 1.3; letter-spacing: 0; }   /* H5 */
html .xcard h3, html .isteps h3, html .lp-col h3, html .lp-glass h3, html .lp-step h3 { font-size: 20px; }   /* H6 */
html .lp-tagline { font-size: 24px; line-height: 1.3; letter-spacing: -.01em; }   /* H5 */
html .lp-details h2 { font-size: 28px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }   /* H4 */
html .lp-sheet__fig h3 { font-size: 24px; }
/* body: lead 17 to 20 at 1.7, body 16 at 1.7, small 14 at 1.5, caption 12 */
html body { font-size: 16px; line-height: 1.7; }
html .gsec .sub, html .fcopy p, html .lp-lede, html .lead, html .statement__sub, html .isteps p { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.7; }
html .xcard p, html .lp-feat span, html .lp-feat .lp-feat__more, html .lp-team, html .lp-meta li, html .lp-docs a, html .lp-docs button, html .lp-fw__say, html .lp-note, html .fcopy__does li,
html .xcard__foot, html .gfoot__hint, html .lp-info dt, html .lp-kv dt, html .lp-fw__lab, html .lp-day > span, html .lp-day li, html .lp-sheet__fig li, html .lp-dm__cal span, html .lp-step p { font-size: 14px; line-height: 1.5; }
html .xcard__foot b, html .lp-feat b { font-size: 16px; }
html .lp-rel, html .lp-footer, html .lp-docs small, html .lp-ver h3 small { font-size: 12px; }   /* captions */
html .lp-info dd, html .lp-kv dd, html .lp-col li, html .lp-glass li, html .lp-ba li .lp-ba__was { font-size: 16px; }

/* eyebrows and labels: Base's eyebrow, Raleway 700 14 caps at .14em, teal-dark on white, cyan-bright on dark */
html .eyebrow { font: 700 14px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #55E7F6; }
html[data-theme="light"] .eyebrow { color: #00828F; }
html .lp-ba__h .eyebrow.lp-ba__was { color: var(--fg-3); }

/* the card tags: Base's PillBadge instead of hand lettering (Permanent Marker is no longer loaded) */
html .xtag { font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; transform: none; text-shadow: none;
  color: #55E7F6; background: rgba(85,231,246,.14); border: 1px solid rgba(85,231,246,.4); }
html .xcard--more .xtag { transform: translateX(-50%); }
html[data-theme="light"] .xtag { color: #00828F; background: rgba(0,176,194,.18); border-color: rgba(0,176,194,.3); text-shadow: none; }

/* ── buttons: Jack's glass pill (Figma "Button / On Light") recoloured in Base tokens, the primary on both layers.
   Light: teal highlight fading to cyan over a teal-soft fill, ink-2 label; the Figma shadow stack kept, its greys
   swapped for Base's cool neutrals. Dark: Base's glass pill (--cw-glass-fill / --cw-glass-line) with the teal highlight.
   Sizes keep the Figma proportions (padding 40% of height, gap 10%): sm 36, md 44, lg 56. The nav CTA and form
   buttons stay Base's flat teal pill. */
html[data-theme="light"] .btn, html:not([data-theme="light"]) .btn { height: 44px; padding: 0 18px; gap: 8px; font: 700 16px/1 var(--body); border-radius: 100px; border: 0; filter: none;
  -webkit-backdrop-filter: blur(10px) saturate(1.3); backdrop-filter: blur(10px) saturate(1.3); }
/* floats like the Figma one: a wide soft highlight bleeding from the top left, a milky fill, a white specular on
   the top edge and a soft teal shadow under it. No grey keyline and no dark inner edges (Jack: "make it float like glass"). */
html[data-theme="light"] .btn { color: #333333;
  background: radial-gradient(70% 140% at 8% 12%, rgba(0,176,194,.55) 0%, rgba(0,176,194,.18) 38%, rgba(0,176,194,0) 72%), rgba(222,251,255,.62);
  box-shadow: 0 1px 2px rgba(16,24,40,.05), 0 14px 34px -12px rgba(0,130,143,.35), inset 0 1.5px 1px rgba(255,255,255,.95), inset 0 0 0 1px rgba(255,255,255,.6), inset 0 -1px 1px rgba(0,130,143,.08); }
html[data-theme="light"] .btn:hover { filter: none; background: radial-gradient(70% 140% at 8% 12%, rgba(0,130,143,.6) 0%, rgba(0,176,194,.22) 38%, rgba(0,176,194,0) 72%), rgba(222,251,255,.78); }
html[data-theme="light"] .btn svg { color: #00828F; }
html:not([data-theme="light"]) .btn { color: #E3E1E1;
  background: radial-gradient(70% 140% at 8% 12%, rgba(0,176,194,.6) 0%, rgba(0,176,194,.2) 38%, rgba(0,176,194,0) 72%), rgba(189,240,244,.14);
  box-shadow: 0 1px 2px rgba(0,0,0,.3), 0 14px 34px -12px rgba(0,176,194,.4), inset 0 1.5px 1px rgba(255,255,255,.35), inset 0 0 0 1px rgba(189,240,244,.22), inset 0 -1px 1px rgba(0,0,0,.25); }
html:not([data-theme="light"]) .btn:hover { filter: none; background: radial-gradient(70% 140% at 8% 12%, rgba(0,176,194,.75) 0%, rgba(0,176,194,.26) 38%, rgba(105,215,87,0) 72%), rgba(189,240,244,.2); }
html:not([data-theme="light"]) .btn svg { color: #55E7F6; }
html[data-theme="light"] .btn--lg, html:not([data-theme="light"]) .btn--lg { height: 56px; padding: 0 22px; gap: 8px; font-size: 18px; }
html[data-theme="light"] .nav .btn, html:not([data-theme="light"]) .nav .btn { height: 36px; padding: 0 14px; gap: 4px; font-size: 14px; }
html[data-theme="light"] .nav .btn--ink, html:not([data-theme="light"]) .nav .btn--ink, html[data-theme="light"] .btn--teal, html:not([data-theme="light"]) .btn--teal { color: #fff; background: #00B0C2; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
html[data-theme="light"] .nav .btn--ink:hover, html:not([data-theme="light"]) .nav .btn--ink:hover, html[data-theme="light"] .btn--teal:hover, html:not([data-theme="light"]) .btn--teal:hover { background: #00828F; }
html .btn:active { opacity: .9; }
@media (prefers-reduced-transparency: reduce) { html .btn { -webkit-backdrop-filter: none; backdrop-filter: none; background-color: #C9FAFF; } }

/* ── shape and layout: the rest of the audit (Jack, 2026-10-22). Base's radii: 16 for glass cards and modals,
   18 for stat cards, pills for chips and buttons. Base's section rhythm: 64px vertical at 1440, 1140 container. */
html .xcard, html .icard, html .isteps, html .lp-fw__card, html .lp-glass, html .lp-dev__video, html .lp-sheet, html .ms-cat__ico { border-radius: 16px; }
html .lp-dm__cal { border-radius: 18px; }   /* the tear-off calendar is a stat card */
html .xcard__shot, html .xcard > :first-child { border-top-left-radius: 16px; border-top-right-radius: 16px; }
html:root { --wrap: 1140px; }
html .gsec, html .gsec.lp-gs { padding-block: clamp(48px, 4.45vw, 64px); }
html .about { padding-block: clamp(48px, 4.45vw, 64px) clamp(96px, 9vw, 130px); }   /* room for the bench below the statement */
html .gsec.lp-details { padding-block: 64px 24px; }
html .lp-hero .lp-feats { margin-top: 32px; }

/* the stage chip is Base's PillBadge: caps, Raleway 700 12 at .14em, teal-dark on the teal-18 tint, cyan-bright on dark */
html .lp-chip { gap: 0; padding: 7px 11px; font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #00828F; background: rgba(0,176,194,.18); border: 1px solid rgba(0,176,194,.3); }
html .lp-chip::before { display: none; }
html:not([data-theme="light"]) .lp-chip { color: #55E7F6; background: rgba(85,231,246,.14); border-color: rgba(85,231,246,.4); }

/* the experiment cards: sized for a one-sentence summary, the owner's face beside their name, no logos (Jack, 2026-10-22) */
html .xcard { height: 470px; }
html .xcard p { -webkit-line-clamp: 3; }
html .xcard__who { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
html .xcard__face { flex: none; width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
html .xcard__ini { display: grid; place-items: center; font: 700 10px/1 var(--num); font-style: normal; color: #fff; background: var(--grad); }
html .xcard .cover b { display: none; }   /* the generated letter mark is a logo too: the cover keeps only its kind */

/* ── the main buttons in dark mode, on every page (Amy, 2026-10-22): the solid brand-teal pill of the Stay connected CTA,
   white label and icon, the teal glow and glass light from glass.css, deep teal on hover. Ghost buttons (.btn--glass)
   and the light theme keep their own style. */
html:not([data-theme="light"]) .btn:not(.btn--glass) { color: #fff !important; background: #00B0C2 !important; }
html:not([data-theme="light"]) .btn:not(.btn--glass):hover { background: #00828F !important; }
html:not([data-theme="light"]) .btn:not(.btn--glass) svg { color: #fff; }
/* the experiments marketplace's Open pills follow the same main-button style in dark mode */
html:not([data-theme="light"]) .ms-get, html:not([data-theme="light"]) .ms-get--light { background: #00B0C2; color: #fff; }
html:not([data-theme="light"]) .ms-get:hover { filter: none; background: #00828F; }

/* the lab pages' "Watch the walkthrough" play button wears the main CTA button: the same fill per theme, the glass rim,
   the teal glow, and on hover the 2px lift, the deeper fill and the light inside the glass */
html .lp-play__i { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #00B0C2;
  box-shadow: var(--au-glass-stack), var(--au-glow-teal); transition: transform 200ms cubic-bezier(.16,1,.3,1), background 200ms ease, box-shadow 420ms ease; }
html .lp-play__i::before { content: ""; position: absolute; inset: -30%; z-index: -1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(45% 45% at 35% 30%, rgba(242,254,255,.62), rgba(201,250,255,.28) 45%, transparent 72%); opacity: 0; transition: opacity 420ms ease; }
html .lp-dev__out:hover .lp-play__i, html .lp-dev__out:focus-visible .lp-play__i { transform: translateY(-2px); background: #00828F; }
html .lp-dev__out:hover .lp-play__i::before, html .lp-dev__out:focus-visible .lp-play__i::before { opacity: 1; }
html[data-theme="light"] .lp-play__i { color: #00828F;
  background: radial-gradient(70% 140% at 8% 12%, rgba(0,176,194,.55) 0%, rgba(0,176,194,.18) 38%, rgba(0,176,194,0) 72%), rgba(222,251,255,.62);
  box-shadow: 0 1px 2px rgba(16,24,40,.05), 0 14px 34px -12px rgba(0,130,143,.35), inset 0 1.5px 1px rgba(255,255,255,.95), inset 0 0 0 1px rgba(255,255,255,.6); }
html[data-theme="light"] .lp-dev__out:hover .lp-play__i { background: radial-gradient(70% 140% at 8% 12%, rgba(0,130,143,.6) 0%, rgba(0,176,194,.22) 38%, rgba(0,176,194,0) 72%), rgba(222,251,255,.78); }
@media (prefers-reduced-motion: reduce) { html .lp-play__i { transition: none; } html .lp-dev__out:hover .lp-play__i { transform: none; } }

/* ── light mode keeps the glass pill for the main buttons (above): Jack's audit pick, 2026-10-22, confirmed again on
   2026-10-23 after a solid-teal light-mode override was published twice from another session. Dark mode is solid teal. */
