/*
  Clay system spec for the design bank component library.
  Source: source/claude-design-systems/clay/project/README.md (the written guide).
  tokens.json in the same folder describes a different, claymorphism palette
  (#f7eee6 canvas, Inter, blur shadows) that contradicts the README, so the
  README wins and tokens.json is not used. See COMPARE.md.
  Values without a comment come from the README.
  Values marked "from live site" were measured from reference/clay-live-01.jpg
  and reference/clay-live-long.jpg.
  Font stand-ins: Roobert -> Hanken Grotesk. Space Mono is the real face.
*/

:root {
  /* Swatch palette (README section 2) */
  --sw-matcha-300: #84e7a5;
  --sw-matcha-600: #078a52;
  --sw-matcha-800: #02492a;
  --sw-slushie-500: #3bd3fd;
  --sw-slushie-800: #0089ad;
  --sw-lemon-400: #f8cc65;
  --sw-lemon-500: #fbbd41;
  --sw-lemon-700: #d08a11;
  --sw-lemon-800: #9d6a09;
  --sw-ube-300: #c1b0ff;
  --sw-ube-800: #43089f;
  --sw-ube-900: #32037d;
  --sw-pomegranate-400: #fc7981;
  --sw-blueberry-800: #01418d;
  --sw-dragonfruit: #c10b9c;      /* from live site: the README names Dragonfruit but gives no hex */
  --sw-oat-200: #eee9df;          /* README names oat-200 for the white button hover, value taken from Oat Light */
  --sw-hover-default: #434346;    /* README playful hover example */

  /* Neutrals and surfaces */
  --x-cream: #faf9f7;
  --x-oat: #dad4c8;
  --x-oat-light: #eee9df;
  --x-cool-border: #e6e8ec;
  --x-dark-border: #525a69;
  --x-frost: #eff1f3;
  --x-silver: #9f9b93;            /* Warm Silver. 2.63:1 on cream, so used for decoration only, never for text */
  --x-charcoal: #55534e;
  --x-dark-charcoal: #333333;
  --x-outline: #717989;           /* ghost button and input border */
  --x-badge-bg: #f0f8ff;
  --x-badge-fg: #3859f9;
  --x-band: #f4f3ef;              /* from live site: logo band, infrastructure container, nav demo button */
  --x-illus: #f0e7d8;             /* from live site: sand floor behind every 3D illustration */
  --x-shadow-clay: rgba(0,0,0,0.1) 0px 1px 1px, rgba(0,0,0,0.04) 0px -1px 1px inset, rgba(0,0,0,0.05) 0px -0.5px 1px;
  --x-shadow-hard: rgb(0,0,0) -7px 7px;
  --x-features-display: "ss01", "ss03", "ss10", "ss11", "ss12";
  --x-features-body: "ss03", "ss10", "ss11", "ss12";

  /* Colour roles */
  --c-bg: #faf9f7;                /* Warm Cream */
  --c-surface: #ffffff;           /* Pure White */
  --c-surface-2: #f4f3ef;         /* from live site */
  --c-inverse: #000000;           /* Clay Black */
  --c-on-inverse: #ffffff;
  --c-fg: #000000;
  --c-fg-2: #000000;              /* README: body text is Clay Black */
  --c-muted: #55534e;             /* Warm Charcoal. The guide's Warm Silver #9f9b93 fails AA (2.63:1) */
  --c-border: #dad4c8;            /* Oat Border */
  --c-accent: #000000;            /* from live site: primary CTA is solid black */
  --c-on-accent: #ffffff;
  --c-accent-hover: #434346;
  --c-link: #333333;              /* Dark Charcoal */
  --c-focus: 0 0 0 2px rgb(20, 110, 245);

  /* Type families */
  --f-display: "Hanken Grotesk", "Roobert", Arial, sans-serif;
  --f-body: "Hanken Grotesk", "Roobert", Arial, sans-serif;
  --f-mono: "Space Mono", ui-monospace, monospace;
  --f-features: "ss03", "ss10", "ss11", "ss12";

  /* Type roles */
  --t-display-size: 80px; --t-display-weight: 600; --t-display-lh: 1; --t-display-track: -3.2px;
  --t-h2-size: 44px; --t-h2-weight: 600; --t-h2-lh: 1.1; --t-h2-track: -1.32px;
  --t-h3-size: 20px; --t-h3-weight: 600; --t-h3-lh: 1.4; --t-h3-track: -0.4px;
  --t-lead-size: 20px; --t-lead-weight: 400; --t-lead-lh: 1.4;
  --t-body-size: 16px; --t-body-weight: 400; --t-body-lh: 1.5;
  --t-small-size: 14px; --t-small-weight: 400; --t-small-lh: 1.5;
  --t-label-size: 12px; --t-label-weight: 600; --t-label-track: 1.08px; --t-label-case: uppercase; --t-label-font: var(--f-body);
  --t-button-size: 16px; --t-button-weight: 500; --t-button-track: -0.16px; --t-button-case: none;
  --t-nav-size: 15px; --t-nav-weight: 500;

  /* Layout and spacing */
  --s-container: 1280px;          /* from live site: feature panels span about 1280px at 1440 */
  --s-gutter: 24px;               /* from live site */
  --s-section: 96px;              /* from live site */
  --s-section-sm: 64px;           /* from live site */
  --s-stack: 20px;                /* README spacing scale step */
  --s-grid-gap: 16px;             /* README spacing scale step */
  --s-list-gap: 12px;

  /* Shape and depth */
  --r-sm: 4px; --r-md: 12px; --r-lg: 24px; --r-pill: 1584px;
  --r-section: 40px;
  --r-badge: 11px;
  --shadow-1: var(--x-shadow-clay);
  --shadow-2: var(--x-shadow-hard);
  --border-w: 1px;

  /* Components */
  --nav-height: 58px;             /* from live site */
  --nav-bg: #ffffff;              /* from live site: the bar is white over the hero scene */
  --nav-border: #dad4c8;
  --nav-radius: 0 0 24px 24px;    /* from live site */
  --nav-inset: 0px;
  --btn-height: 40px;             /* from live site */
  --btn-pad-x: 12.8px;
  --btn-radius: 12px;
  --btn-primary-bg: #000000; --btn-primary-fg: #ffffff; --btn-primary-border: transparent; --btn-primary-hover-bg: #000000;
  --btn-secondary-bg: #ffffff; --btn-secondary-fg: #000000; --btn-secondary-border: transparent; --btn-secondary-hover-bg: #ffffff;
  --btn-hover-transform: none;    /* the jump lives on .x-jump::after so the hit area never moves */
  --btn-active-transform: none;
  --btn-transition: 200ms cubic-bezier(.3, 1.6, .5, 1); /* guess: springy, the guide gives no timing */
  --card-bg: #ffffff; --card-border: #dad4c8; --card-radius: 24px; --card-pad: 24px; --card-shadow: var(--x-shadow-clay); --card-media-radius: 24px;
  --tag-bg: var(--x-badge-bg); --tag-fg: var(--x-badge-fg); --tag-radius: 11px; --tag-pad: 4px 10px;
  --field-bg: #ffffff; --field-border: #717989; --field-radius: 4px; --field-height: 44px;
  --list-marker-colour: #000000; --list-divider: 1px solid #dad4c8;
  --quote-size: 32px; --quote-font: var(--f-display); --quote-weight: 600; --quote-lh: 1.1;
  --stat-size: 60px; --stat-weight: 600; --stat-colour: #000000; --stat-font: var(--f-display);
  --cta-bg: #02492a; --cta-fg: #ffffff; --cta-radius: 40px;
  --footer-bg: #ffffff; --footer-fg: #55534e; --footer-border: #dad4c8;
  --media-radius: 24px; --media-shadow: none;
}

/* Base: stylistic sets, headings get all five */
body { background: var(--c-bg); }
.c-display, .c-h2, .c-h3, .x-h-card, .c-nav__brand { font-feature-settings: var(--x-features-display); }
.c-h2 { letter-spacing: -1.32px; }

/* Visually hidden helper */
.x-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ========== Playful hover buttons ========== */
/* The visible face copies the label from data-label, tilts -8deg, jumps up 80% and
   casts the hard offset shadow. The anchor itself stays put, so the pointer never
   loses it and there is no hover flicker. */
.x-jump { position: relative; isolation: isolate; --jump-bg: var(--sw-hover-default); --jump-fg: #ffffff; }
.x-jump::after {
  content: attr(data-label) / "";
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  padding-inline: inherit; border-radius: inherit; white-space: nowrap;
  background: var(--jump-bg); color: var(--jump-fg);
  font: inherit; letter-spacing: inherit;
  box-shadow: var(--x-shadow-hard);
  transform: none; visibility: hidden; pointer-events: none;
  transition: transform var(--btn-transition), visibility 0s linear 200ms;
}
.x-jump:hover::after { visibility: visible; transform: rotateZ(-8deg) translateY(-80%); transition: transform var(--btn-transition), visibility 0s; }
.x-jump.is-slushie { --jump-bg: var(--sw-slushie-500); --jump-fg: #000; }
.x-jump.is-matcha { --jump-bg: var(--sw-matcha-300); --jump-fg: #000; }
.x-jump.is-lemon { --jump-bg: var(--sw-lemon-500); --jump-fg: #000; }
.x-jump.is-ube { --jump-bg: var(--sw-ube-300); --jump-fg: #000; }
.x-jump.is-pom { --jump-bg: var(--sw-pomegranate-400); --jump-fg: #000; }
.x-jump.is-oat { --jump-bg: var(--sw-oat-200); --jump-fg: #000; }
.x-jump.is-dragon { --jump-bg: var(--sw-dragonfruit); --jump-fg: #fff; }
@media (prefers-reduced-motion: reduce) {
  /* No tilt, no jump: the face sits flat on the button and only the colour changes */
  .x-jump:hover::after { transform: none; box-shadow: none; }
}
@media (hover: none) { .x-jump::after { display: none; } }

.c-btn { font-feature-settings: var(--x-features-body); white-space: nowrap; }
.x-btn-lg { min-height: 48px; padding-inline: 20px; font-size: 20px; letter-spacing: -0.2px; } /* from live site: hero buttons */
.x-btn-sm { min-height: 34px; padding-inline: 12.8px; font-size: 12.8px; letter-spacing: -0.128px; }
.x-btn-oat { background: var(--x-band); color: #000; }
.x-btn-ghost { background: transparent; color: #000; border-color: var(--x-outline); border-radius: 4px; padding-inline: 8px; }
.x-btn-lime { background: #cbd80f; color: #000; }  /* from live site: green section demo button */
.x-arrow svg { width: 1em; height: 1em; flex: none; }

/* ========== Nav ========== */
.x-nav { position: sticky; top: 0; z-index: 20; }
.x-nav .c-nav__bar {
  width: min(100% - 2 * 36px, 1368px); margin-inline: auto; /* from live site */
  border: 0; border-radius: var(--nav-radius); padding-inline: 24px; box-shadow: var(--x-shadow-clay);
  gap: 28px;
}
.x-nav .c-nav__links { gap: 28px; }
.x-nav .c-nav__links a { color: #000; line-height: 1.6; }
.x-nav .c-nav__links a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--x-oat); }
.x-nav .c-nav__actions { align-items: center; gap: 10px; }
.x-wordmark { display: inline-flex; align-items: center; gap: 6px; font-size: 26px; font-weight: 700; letter-spacing: -1px; }
.x-wordmark__mark { width: 26px; height: 20px; border-radius: 13px 13px 3px 3px; background: conic-gradient(from 200deg at 50% 100%, var(--sw-slushie-500), var(--sw-lemon-500), var(--sw-pomegranate-400), var(--sw-slushie-500)); }
.x-kbd { display: inline-flex; align-items: center; gap: 4px; color: #000; font-size: 13px; padding-right: 12px; border-right: 1px solid var(--x-oat); }
.x-kbd kbd { font: 500 12px/1 var(--f-body); min-width: 20px; height: 20px; display: inline-grid; place-items: center; border-radius: 4px; background: #fff; box-shadow: var(--x-shadow-clay); }
.x-kbd svg { width: 15px; height: 15px; }
.x-nav-text { color: #000; text-decoration: none; font-size: 15px; font-weight: 500; padding: 6.4px; }
.x-menu { display: none; margin-left: auto; position: relative; }
.x-menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--x-band); }
.x-menu summary::-webkit-details-marker { display: none; }
.x-menu summary span, .x-menu summary span::before, .x-menu summary span::after { display: block; width: 18px; height: 2px; background: #000; border-radius: 2px; position: relative; }
.x-menu summary span::before, .x-menu summary span::after { content: ""; position: absolute; left: 0; }
.x-menu summary span::before { top: -6px; } .x-menu summary span::after { top: 6px; }
.x-menu ul { position: absolute; right: 0; top: 52px; width: min(80vw, 280px); list-style: none; margin: 0; padding: 12px; background: #fff; border: 1px solid var(--x-oat); border-radius: 24px; box-shadow: var(--x-shadow-clay); display: grid; gap: 4px; }
.x-menu ul a { display: block; padding: 10px 12px; color: #000; text-decoration: none; font-weight: 500; border-radius: 12px; }
.x-menu ul a:hover { background: var(--x-band); }
@media (max-width: 1100px) { .x-kbd { display: none; } }
@media (max-width: 900px) {
  .x-menu { display: block; }
  .x-nav .c-nav__actions { margin-left: 0; }
  .x-nav .c-nav__actions .is-desktop { display: none; }
  .x-nav .c-nav__bar { width: min(100% - 2 * 12px, 1368px); padding-inline: 16px; gap: 12px; }
}
@media (max-width: 479px) { .x-nav .c-nav__actions .c-btn { display: none; } }

/* ========== Hero over an illustrated scene ========== */
.x-hero { position: relative; margin-top: calc(-1 * var(--nav-height)); padding-top: calc(var(--nav-height) + 150px); padding-bottom: 0; overflow: hidden; }
.x-hero__scene {
  position: absolute; inset: 0 0 auto 0; height: 1040px; z-index: 0; border-radius: 0; aspect-ratio: auto;
  align-items: start; padding-top: calc(var(--nav-height) + 16px); color: #1f4d3a;
  /* from live site: sky, cloud band and green hills, as flat placeholder tints */
  background:
    radial-gradient(70% 30% at 12% 62%, #9cc8a4 0 60%, transparent 61%),
    radial-gradient(70% 28% at 88% 64%, #a6cfae 0 60%, transparent 61%),
    linear-gradient(#d7e9e9 0, #bfe6ef 20%, #9fdcec 38%, #b9dcc8 56%, #cfe3d6 74%, #faf9f7 100%);
}
.x-hero__scene span { background: rgba(255,255,255,.75); padding: 4px 10px; border-radius: 11px; font-size: 12px; }
.x-hero__inner { position: relative; z-index: 1; text-align: center; display: grid; justify-items: center; gap: 20px; }
.x-hero .c-display { max-width: 12ch; }
.x-hero .c-lead { color: #000; }
@media (max-width: 991px) { .x-hero { padding-top: calc(var(--nav-height) + 110px); } .x-hero__scene { height: 640px; } }
@media (max-width: 767px) { :root { --t-display-size: 48px; --t-display-track: -1.92px; } .x-hero { padding-top: calc(var(--nav-height) + 72px); } }
@media (min-width: 768px) and (max-width: 991px) { :root { --t-display-size: 60px; --t-display-track: -2.4px; } }

/* ========== Tab row of use cases ========== */
.x-tabs {
  display: flex; gap: 8px; width: min(100%, 1210px); margin: 40px auto 0; padding: 4px 24px;
  overflow-x: auto; scrollbar-width: none; justify-content: safe center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.x-tabs::-webkit-scrollbar { display: none; }
.x-tab {
  flex: none; font: 500 14px/1.5 var(--f-body); letter-spacing: -0.14px; color: #000;
  background: rgba(255,255,255,.86); border: 1px solid rgba(255,255,255,.9); border-radius: 8px;
  min-height: 40px; padding: 6.4px 16px; cursor: pointer; box-shadow: var(--x-shadow-clay);
}
.x-tab:hover { background: #fff; }
.x-tab[aria-selected="true"] { background: #b9ecfb; border-color: #8ad9f2; color: #005f78; } /* from live site, text darkened from Slushie 800 for AA */

/* ========== Product UI floating in front ========== */
.x-product { position: relative; margin-top: 32px; padding-bottom: 40px; }
.x-product__band {
  position: absolute; left: 0; right: 0; top: 120px; bottom: 0; border-radius: 40px;
  background: linear-gradient(180deg, var(--sw-slushie-500) 0, #8fe6ff 55%, #dff7ff 100%); /* from live site */
}
.x-product__stage { position: relative; padding: 0 48px; }
.x-table {
  position: relative; margin-top: 70px; background: #fff; border-radius: 24px; border: 1px solid var(--x-cool-border);
  box-shadow: var(--x-shadow-clay); padding: 16px 20px 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent);
}
.x-table__head { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; padding-bottom: 12px; }
.x-table__logo { width: 16px; height: 12px; border-radius: 8px 8px 2px 2px; background: var(--sw-slushie-500); }
.x-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.x-table th, .x-table td { text-align: left; padding: 8px 10px; border-top: 1px solid var(--x-cool-border); white-space: nowrap; }
.x-table th { color: var(--x-charcoal); font-weight: 500; }
.x-table td { color: #000; }
.x-table td:first-child, .x-table th:first-child { width: 40px; color: var(--x-charcoal); font-family: var(--f-mono); font-size: 12px; }
.x-filter {
  position: absolute; z-index: 2; top: 0; left: calc(48px + 16%); width: 420px;
  background: #fff; border: 1px solid var(--x-cool-border); border-radius: 12px; box-shadow: var(--x-shadow-clay), 0 12px 0 -6px rgba(0,0,0,.02);
  padding: 14px; font-size: 13px; display: grid; gap: 12px;
}
.x-filter__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.x-chipbtn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--x-cool-border); border-radius: 8px; padding: 4px 10px; font-weight: 500; background: #fff; }
.x-seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--x-cool-border); border-radius: 8px; overflow: hidden; }
.x-seg span { text-align: center; padding: 6px; color: var(--x-charcoal); }
.x-seg span.is-on { color: var(--x-badge-fg); outline: 1.5px solid var(--x-badge-fg); outline-offset: -1.5px; border-radius: 6px; background: var(--x-badge-bg); }
.x-filter p { line-height: 1.9; }
.x-filter u { text-decoration-thickness: 1.5px; text-underline-offset: 3px; font-weight: 600; }
.x-summary {
  position: absolute; z-index: 2; top: 140px; left: calc(48px + 16% + 440px); width: 270px;
  background: #fff; border: 1px solid var(--x-cool-border); border-radius: 12px; box-shadow: var(--x-shadow-clay);
  padding: 14px; font-size: 12px; display: grid; gap: 8px; justify-items: start;
}
.x-summary b { font-weight: 600; }
.x-summary span { display: inline-flex; gap: 10px; align-items: center; border: 1px solid var(--x-cool-border); border-radius: 6px; padding: 3px 8px; }
.x-summary span::after { content: "\00d7"; font-size: 14px; line-height: 1; }
@media (max-width: 1100px) { .x-summary { display: none; } }
@media (max-width: 767px) {
  .x-product__stage { padding: 0 12px; }
  .x-filter { position: relative; left: 0; width: auto; }
  .x-table { margin-top: -20px; }
  .x-product__band { top: 160px; border-radius: 24px; }
  .x-table th:nth-child(n+4), .x-table td:nth-child(n+4) { display: none; }
}

/* ========== Logo band ========== */
.x-logos { background: var(--x-band); border-radius: 40px; padding: 40px 32px; text-align: center; display: grid; gap: 24px; }
.x-logos ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 40px; }
.x-logo { width: 104px; height: 28px; border-radius: 6px; border: 1px dashed var(--x-oat); display: grid; place-items: center; font-size: 11px; color: var(--x-charcoal); }

/* ========== Build prompt box ========== */
.x-build { text-align: center; display: grid; justify-items: center; gap: 28px; grid-template-columns: minmax(0, 1fr); }
.x-build .c-h2 { font-size: 44px; }
.x-prompt { width: min(100%, 640px); text-align: left; }
.x-prompt__box { background: #fff; border: 1px solid var(--x-oat-light); border-radius: 24px 24px 24px 24px; box-shadow: var(--x-shadow-clay); padding: 16px 18px; position: relative; z-index: 1; }
.x-prompt__box label { display: block; font-size: 13px; color: var(--x-charcoal); }
.x-prompt__box textarea { display: block; width: 100%; min-height: 110px; resize: vertical; border: 0; padding: 6px 0 0; font: 400 16px/1.5 var(--f-body); color: #000; background: transparent; }
.x-prompt__box textarea:focus-visible { box-shadow: none; outline: none; }
.x-prompt__box:focus-within { box-shadow: var(--x-shadow-clay), 0 0 0 2px rgb(20, 110, 245); }
.x-prompt__tray { margin: -14px 12px 0; padding: 26px 12px 12px; background: var(--x-band); border-radius: 0 0 20px 20px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.x-prompt__tray .x-chip { font: 500 12.8px/1.5 var(--f-body); color: var(--x-charcoal); background: #fff; border: 0; border-radius: 8px; padding: 6.4px 12.8px; box-shadow: var(--x-shadow-clay); cursor: pointer; }
.x-prompt__tray .x-chip:hover { color: #000; }
.x-prompt__send { margin-left: auto; width: 36px; height: 36px; border-radius: 10px; border: 0; background: #000; color: #fff; display: grid; place-items: center; cursor: pointer; }
.x-prompt__send svg { width: 16px; height: 16px; }

/* ========== Colour-tinted feature panels ========== */
.x-panels { display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); }
.x-panel {
  --p-bg: #eef5ff; --p-ink: #0b1a45; --p-accent: #3859f9; --p-tail: #cfe0ff;
  background: var(--p-bg); border-radius: 40px; padding: 24px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 576px); gap: 24px; min-height: 740px;
  margin-top: -16px; /* from live site: panels tuck into each other */
}
.x-panel:first-child { margin-top: 0; }
.x-panel__text { padding: 24px 24px 24px 24px; display: flex; flex-direction: column; gap: 20px; color: var(--p-ink); }
.x-panel__text .c-h2 { color: var(--p-ink); }
.x-panel__text .c-h2 em { font-style: normal; color: var(--p-accent); display: block; }
.x-panel__text > p { font-size: 16px; line-height: 1.5; max-width: 44ch; }
.x-panel__proof { margin-top: auto; display: grid; gap: 10px; font-size: 13px; line-height: 1.45; max-width: 34ch; color: var(--x-charcoal); }
.x-panel__proof b { color: #000; font-weight: 600; }
.x-proof-logos { display: inline-flex; align-items: center; gap: 6px; background: #fff; border-radius: 8px; padding: 6px 8px; box-shadow: var(--x-shadow-clay); width: max-content; }
.x-proof-logos i { width: 18px; height: 14px; border-radius: 3px; background: #d9d4ca; }
.x-proof-logos i:first-child { background: #1a1a1a; }
.x-panel__ctas { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 12px; }
.x-panel__ctas .c-btn--primary { background: var(--p-accent); }
.x-panel__media { display: flex; }
.x-panel__media .c-ph { width: 100%; aspect-ratio: auto; min-height: 100%; border-radius: 24px; }

/* Eyebrow pill: solid swatch pill with a lighter tail, Badge type */
.x-eyebrow { display: inline-flex; align-items: center; width: max-content; border-radius: 1584px; background: var(--p-tail); padding-right: 22px; }
.x-eyebrow span { background: var(--p-accent); color: #fff; font: 600 9.6px/1 var(--f-body); letter-spacing: 1.08px; text-transform: uppercase; padding: 6px 12px; border-radius: 1584px; font-feature-settings: var(--x-features-body); }

/* Illustration placeholders tinted to their panel swatch */
.x-ill { color: #3a342b; text-align: center; padding: 24px; font-size: 13px; align-items: end; }
.x-ill span { background: rgba(255,255,255,.7); border-radius: 11px; padding: 4px 10px; max-width: 30ch; }
.x-ill { background: linear-gradient(180deg, #f6f1e8 0 40%, var(--x-illus) 40.5% 100%); }
.x-ill.is-blue { background: radial-gradient(90px 80px at 50% 50%, #7da3ff 0 98%, transparent), linear-gradient(180deg, #f6f1e8 0 52%, var(--x-illus) 52.5%); }
.x-ill.is-orange { background: radial-gradient(80px 110px at 50% 42%, #f2a77c 0 98%, transparent), linear-gradient(180deg, #f6f1e8 0 52%, var(--x-illus) 52.5%); }
.x-ill.is-lime { background: radial-gradient(85px 80px at 50% 50%, #b6dc3c 0 98%, transparent), linear-gradient(180deg, #f6f1e8 0 55%, var(--x-illus) 55.5%); }
.x-ill.is-pink { background: radial-gradient(95px 65px at 55% 52%, #f39ad8 0 98%, transparent), linear-gradient(180deg, #f6f1e8 0 40%, var(--x-illus) 40.5%); }

.x-panel.is-data { --p-bg: #eef5ff; --p-ink: #0b1a45; --p-accent: #3859f9; --p-tail: #cddcff; } /* Badge Blue, tint from live site */
.x-panel.is-agents { --p-bg: #fef3ef; --p-ink: #3b1406; --p-accent: #c2410c; --p-tail: #fbd3c2; } /* from live site */
.x-panel.is-orch { --p-bg: #fbfee1; --p-ink: #262b05; --p-accent: #6f7012; --p-tail: #e6f08f; }  /* from live site */
.x-panel.is-orch .c-h2 em { color: #8a8a12; }
.x-panel.is-act { --p-bg: #fff0fa; --p-ink: #3d0730; --p-accent: var(--sw-dragonfruit); --p-tail: #fac6ea; }
@media (max-width: 991px) {
  .x-panel { grid-template-columns: minmax(0, 1fr); min-height: 0; border-radius: 32px; padding: 16px; }
  .x-panel__media .c-ph { min-height: 360px; aspect-ratio: 4 / 3; }
  .x-panel__text { padding: 16px 8px 8px; }
}
@media (max-width: 767px) { :root { --t-h2-size: 32px; --t-h2-track: -0.64px; } .x-build .c-h2 { font-size: 32px; } }

/* ========== Infrastructure container ========== */
.x-infra { background: var(--x-band); border-radius: 40px; padding: 48px; display: grid; gap: 40px; }
.x-infra__top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.x-infra .c-label { color: #006f8c; }
.x-infra .c-h2 em { font-style: normal; color: #0089ad; display: block; }
.x-infra__aside { display: grid; gap: 24px; font-size: 18px; line-height: 1.6; letter-spacing: -0.36px; }
.x-infra__aside .x-panel__proof { grid-template-columns: auto 1fr; align-items: center; gap: 16px; max-width: none; margin: 0; font-size: 13px; letter-spacing: normal; }
.x-textlink { display: inline-flex; gap: 6px; align-items: center; color: #000; font-weight: 500; font-size: 14px; text-decoration: underline; text-decoration-color: var(--x-oat); text-underline-offset: 4px; }
.x-textlink:hover { text-decoration-color: #000; }
.x-infra .c-ph { aspect-ratio: 1184 / 560; } /* from live site */
@media (max-width: 991px) { .x-infra { padding: 24px; border-radius: 32px; } .x-infra__top { grid-template-columns: minmax(0, 1fr); gap: 24px; } .x-infra .c-ph { aspect-ratio: 4 / 3; } }

/* ========== Video testimonial carousel ========== */
.x-videos { text-align: center; display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
.x-videos .c-h2 { max-width: 16ch; margin-inline: auto; }
.x-carousel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 970px) minmax(0, 1fr); gap: 12px; align-items: stretch; }
.x-carousel .x-video { aspect-ratio: 970 / 545; border-radius: 24px; } /* from live site */
.x-carousel .x-peek { aspect-ratio: auto; border-radius: 24px; color: transparent; }
.x-peek.is-left { background: linear-gradient(#f3ecea 0 55%, #e7a9b4 55%); }
.x-peek.is-right { background: linear-gradient(#e9eef3 0 55%, #7cb4e6 55%); }
.x-video { position: relative; background: linear-gradient(160deg, #e4e1da, #bdb8ae); color: #2c2924; }
.x-video__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 56px; height: 56px; border: 0; border-radius: 12px; background: rgba(255,255,255,.85); display: grid; place-items: center; cursor: pointer; box-shadow: var(--x-shadow-clay); }
.x-video__play svg { width: 18px; height: 18px; }
.x-video__cap { position: absolute; left: 20px; bottom: 18px; text-align: left; font-size: 14px; color: #000; background: rgba(255,255,255,.85); padding: 6px 12px; border-radius: 12px; }
.x-video__label { position: absolute; top: 16px; left: 16px; font-size: 12px; background: rgba(255,255,255,.7); padding: 4px 10px; border-radius: 11px; }
.x-carousel__nav { display: flex; justify-content: center; gap: 8px; }
.x-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--x-oat); }
.x-dot.is-on { background: #000; width: 24px; border-radius: 4px; }
@media (max-width: 767px) { .x-carousel { grid-template-columns: 24px minmax(0, 1fr) 24px; gap: 8px; } .x-carousel .x-video { aspect-ratio: 4 / 5; } }

/* ========== Learn cards ========== */
.x-learn { display: grid; gap: 40px; text-align: center; grid-template-columns: minmax(0, 1fr); }
.x-learn__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px; text-align: left; }
.x-event { text-decoration: none; background: var(--sw-ube-900); color: #fff; border-radius: 24px; padding: 32px; min-height: 340px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.x-event::before { content: ""; position: absolute; left: -40px; top: -60px; width: 220px; height: 160px; border-radius: 50%; background: var(--sw-ube-300); }
.x-event__word { position: relative; font: 700 72px/0.9 var(--f-display); letter-spacing: -2px; font-feature-settings: var(--x-features-display); }
.x-event p { position: relative; color: var(--sw-ube-300); font-size: 14px; }
.x-event .c-label { position: relative; color: #fff; }
.x-guide { background: var(--x-band); border-radius: 24px; padding: 32px; display: grid; grid-template-columns: 1fr 260px; gap: 24px; align-items: center; border: 1px dashed var(--x-oat); }
.x-guide .x-h-card { font: 600 20px/1.4 var(--f-display); letter-spacing: -0.4px; color: #000; }
.x-guide p { font-size: 14px; color: var(--x-charcoal); max-width: 36ch; margin-top: 12px; }
.x-guide .x-textlink { margin-top: 20px; }
.x-guide .c-ph { aspect-ratio: 4 / 3; padding: 12px; text-align: center; font-size: 12px; background: linear-gradient(#e9f2ff 0 35%, #a7d6a0 35%); color: #183a1e; }
@media (max-width: 991px) { .x-learn__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .x-guide { grid-template-columns: minmax(0, 1fr); } .x-event__word { font-size: 56px; } }

/* ========== Swatch CTA section (README agent prompt: Matcha 800) ========== */
.x-cta { background: var(--sw-matcha-800); color: var(--sw-matcha-300); border-radius: 40px; padding: 64px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.x-cta .c-h2 { color: #fff; font-size: 60px; letter-spacing: -2.4px; line-height: 1; }
.x-cta p { font-size: 18px; line-height: 1.6; letter-spacing: -0.36px; }
.x-cta__card { background: #fff; color: #000; border: 1px solid var(--x-oat); border-radius: 24px; padding: 24px; display: grid; gap: 14px; }
.x-cta__card .c-field input { width: 100%; }
.x-cta__card .c-small { color: var(--x-charcoal); }
@media (max-width: 991px) { .x-cta { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; border-radius: 32px; } .x-cta .c-h2 { font-size: 40px; letter-spacing: -1.2px; } }

/* ========== Footer in a 40px container ========== */
.x-footer { border-top: 0; padding-block: 0 24px; background: transparent; }
.x-footer__box { background: #fff; border: 1px solid var(--x-oat); border-radius: 40px; padding: 48px; display: grid; gap: 40px; }
.x-footer .c-footer__cols { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); }
.x-footer h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 1.08px; font-weight: 600; color: #000; }
.x-footer a:hover { color: #000; text-decoration: underline; }
.x-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px dashed var(--x-oat); padding-top: 20px; font-family: var(--f-mono); font-size: 12px; }
@media (max-width: 991px) { .x-footer__box { padding: 32px 24px; border-radius: 32px; } .x-footer .c-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Section rhythm */
.x-gap-lg { padding-block: 120px; } /* from live site: space around the prompt and video sections */
@media (max-width: 767px) { .x-gap-lg { padding-block: 72px; } :root { --s-section: 64px; } }

.x-event:hover .x-event__word { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.x-guide .c-ph span { background: rgba(255,255,255,.75); border-radius: 11px; padding: 4px 8px; }

@media (max-width: 479px) { .x-panel__ctas .c-btn, .x-cta .c-buttons .c-btn { white-space: normal; } }
