/* ==========================================================================
   Concept storefront mockups
   --------------------------------------------------------------------------
   Browser, phone, and brand-sheet compositions built in HTML, CSS, and inline
   SVG for the four fictional concept brands (no client screenshots exist yet).
   Each mock is role="img" with a label, so its interface text is decorative.

   Theme per brand, set inline on .mock:
     --m-bg / --m-ink / --m-accent / --m-soft   page, text, buttons, image tiles
     --m-font / --m-weight / --m-case           the brand's display type
     --m-radius / --m-img-radius                button and image corner radii
   Display faces load from Google Fonts on pages that use mocks
   (Fraunces, Barlow Condensed, Bricolage Grotesque, Fredoka).
   Everything is sized in em from a container-query font size, so a mock
   keeps its proportions at any width.
   ========================================================================== */

.mock {
  --m-bg: #FFFFFF;
  --m-ink: #1F1936;
  --m-accent: #45358D;
  --m-soft: #EEEBF8;
  --m-font: var(--font-display);
  --m-weight: 700;
  --m-case: none;
  --m-radius: 0.5em;
  --m-img-radius: 0.6em;
  --m-btn-ink: #FFFFFF;
  --m-line: color-mix(in srgb, var(--m-ink) 12%, transparent);
  container-type: inline-size;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: var(--m-bg);
  color: var(--m-ink);
  font-family: var(--font-body);
  line-height: 1.25;
  text-align: left;
  user-select: none;
}
.mock * { margin: 0; }
.mock svg { display: block; }
.mock__inner { font-size: 1.55cqi; }
.mock__page { position: relative; }

/* Browser chrome */
.mock__chrome {
  display: flex;
  align-items: center;
  gap: 0.55em;
  height: 2.7em;
  padding: 0 1.1em;
  background: #EFEEF3;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.mock__chrome i { width: 0.8em; height: 0.8em; border-radius: 50%; background: #D5D2DE; }
.mock__chrome i:first-child { background: #E5A3A3; }
.mock__chrome i:nth-child(2) { background: #E9CF8E; }
.mock__chrome i:nth-child(3) { background: #9FD3B5; }
.mock__url {
  flex: 0 1 30em;
  margin-left: 1.4em;
  padding: 0.35em 1em;
  border-radius: 0.6em;
  background: #FFFFFF;
  color: #6D6880;
  font-size: 0.85em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Shared storefront pieces */
.mock__announce { padding: 0.65em 1em; background: var(--m-ink); color: var(--m-bg); font-size: 0.85em; text-align: center; letter-spacing: 0.02em; }
.mock__nav { display: flex; align-items: center; gap: 2.2em; padding: 1.3em 3em; border-bottom: 1px solid var(--m-line); }
.mock__logo { display: inline-flex; align-items: center; gap: 0.45em; font-family: var(--m-font); font-weight: var(--m-weight); font-size: 1.7em; letter-spacing: -0.01em; line-height: 1; text-transform: var(--m-case); white-space: nowrap; }
.mock__logo-mark { display: grid; place-items: center; width: 1.2em; height: 1.2em; border-radius: calc(var(--m-img-radius) * 0.8); background: var(--m-accent); flex-shrink: 0; }
.mock__logo-mark svg { width: 70%; height: 70%; }
.mock__links { display: flex; gap: 1.7em; font-size: 0.95em; }
.mock__icons { display: flex; align-items: center; gap: 1.2em; margin-left: auto; }
.mock__icon { width: 1.35em; height: 1.35em; flex-shrink: 0; }
.mock__bag { position: relative; display: inline-flex; }
.mock__bag b { position: absolute; top: -0.45em; right: -0.65em; display: grid; place-items: center; min-width: 1.35em; height: 1.35em; border-radius: 1em; background: var(--m-accent); color: var(--m-btn-ink); font-size: 0.7em; }

.mock__kicker { margin-bottom: 0.9em; color: var(--m-accent); font-size: 0.9em; font-weight: 700; }
.mock__title { margin-bottom: 0.4em; font-family: var(--m-font); font-weight: var(--m-weight); font-size: 3.7em; line-height: 0.98; letter-spacing: -0.02em; text-transform: var(--m-case); text-wrap: balance; }
.mock__text { max-width: 24em; margin-bottom: 1.6em; font-size: 1.05em; line-height: 1.5; opacity: 0.78; }
.mock__btns { display: flex; flex-wrap: wrap; gap: 0.7em; }
.mock__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85em 1.5em;
  border-radius: var(--m-radius);
  background: var(--m-accent);
  color: var(--m-btn-ink);
  font-size: 0.95em;
  font-weight: 700;
  white-space: nowrap;
}
.mock__btn--ghost { background: transparent; color: var(--m-ink); box-shadow: inset 0 0 0 1.5px currentColor; }
.mock__btn--block { display: flex; width: 100%; }
.mock__btn--sm { padding: 0.45em 1em; font-size: 0.8em; }
.mock__fine { display: block; font-size: 0.78em; line-height: 1.4; opacity: 0.62; }

/* Home hero */
.mock__hero { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 3em; align-items: center; padding: 2.6em 3em 3em; }
.mock__art { overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--m-img-radius); background: var(--m-soft); }
.mock__art > svg { width: 100%; height: 100%; }

.mock__section { padding: 0 3em 3em; }
.mock__section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.2em; }
.mock__h { font-family: var(--m-font); font-weight: var(--m-weight); font-size: 1.8em; letter-spacing: -0.01em; text-transform: var(--m-case); }
.mock__more { font-size: 0.9em; text-decoration: underline; opacity: 0.75; }

/* Product cards */
.mock__grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 1.8em 1.3em; }
.mock__card { min-width: 0; }
.mock__tile {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 1 / 1.12;
  margin-bottom: 0.8em;
  border-radius: var(--m-img-radius);
  background: radial-gradient(85% 70% at 50% 34%, color-mix(in srgb, var(--m-soft) 45%, #FFFFFF), var(--m-soft));
}
.mock__tile svg { width: 64%; height: auto; }
.mock__tile--sm { width: 100%; margin: 0; aspect-ratio: 1; }
.mock__badge { position: absolute; top: 0.7em; left: 0.7em; padding: 0.3em 0.65em; border-radius: calc(var(--m-radius) * 0.6); background: var(--m-bg); font-size: 0.75em; font-weight: 700; }
.mock__name { display: block; margin-bottom: 0.25em; overflow: hidden; font-size: 0.95em; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.mock__meta-row { display: flex; justify-content: space-between; align-items: center; gap: 0.5em; }
.mock__price { font-size: 0.9em; opacity: 0.75; }
.mock__dots { display: flex; gap: 0.3em; }
.mock__dots i { width: 0.8em; height: 0.8em; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
.mock__spec { display: block; margin-top: 0.2em; font-size: 0.8em; opacity: 0.6; }

/* Collection page */
.mock__crumbs { margin-bottom: 0.8em; font-size: 0.8em; opacity: 0.6; }
.mock__collection-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3em; align-items: end; padding: 2.4em 3em 2em; }
.mock__collection-head .mock__title { margin: 0; font-size: 3.4em; }
.mock__collection-head > p { font-size: 1em; line-height: 1.5; opacity: 0.78; }
.mock__shop { display: grid; grid-template-columns: 12em minmax(0, 1fr); gap: 2.6em; padding: 0 3em 3em; }
.mock__filters { display: grid; align-content: start; gap: 1.5em; font-size: 0.9em; }
.mock__filter b { display: block; margin-bottom: 0.4em; padding-bottom: 0.55em; border-bottom: 1px solid var(--m-line); }
.mock__check { display: flex; align-items: center; gap: 0.55em; margin-top: 0.5em; }
.mock__check i { display: grid; place-items: center; width: 1.1em; height: 1.1em; border-radius: 0.25em; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--m-ink) 35%, transparent); color: var(--m-btn-ink); }
.mock__check i svg { width: 80%; height: 80%; }
.mock__check.is-on i { background: var(--m-accent); box-shadow: none; }
.mock__toolbar { display: flex; align-items: center; gap: 1.5em; margin-bottom: 1.5em; padding-bottom: 1em; border-bottom: 1px solid var(--m-line); font-size: 0.85em; }
.mock__toolbar > span:nth-child(2) { margin-left: auto; opacity: 0.65; }
.mock__chips { display: flex; gap: 0.5em; }
.mock__chip { display: inline-flex; align-items: center; gap: 0.4em; padding: 0.35em 0.8em; border-radius: 2em; background: var(--m-soft); font-weight: 600; }
.mock__chip svg { width: 0.9em; height: 0.9em; }

/* Product page */
.mock__pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3.2em; padding: 2em 3em 3em; }
.mock__gallery { display: grid; grid-template-columns: 4.4em minmax(0, 1fr); gap: 0.9em; align-items: start; }
.mock__thumbs { display: grid; gap: 0.7em; }
.mock__thumbs span { display: grid; place-items: center; aspect-ratio: 1; border-radius: calc(var(--m-img-radius) * 0.6); background: var(--m-soft); }
.mock__thumbs span.is-on { box-shadow: inset 0 0 0 2px var(--m-ink); }
.mock__thumbs svg { width: 70%; }
.mock__main-img { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1.08; border-radius: var(--m-img-radius); background: radial-gradient(85% 70% at 50% 34%, color-mix(in srgb, var(--m-soft) 45%, #FFFFFF), var(--m-soft)); }
.mock__main-img svg { width: 62%; }
.mock__pdp .mock__title { margin-bottom: 0.25em; font-size: 2.8em; }
.mock__pdp-price { display: block; margin-bottom: 1.3em; font-size: 1.35em; font-weight: 700; }
.mock__opt { margin-bottom: 1.2em; }
.mock__opt b { display: block; margin-bottom: 0.55em; font-size: 0.85em; }
.mock__swatches { display: flex; gap: 0.65em; }
.mock__swatches i { width: 2em; height: 2em; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
.mock__swatches i.is-on { box-shadow: 0 0 0 2px var(--m-bg), 0 0 0 3.5px var(--m-ink); }
.mock__swatches--sm i { width: 1.5em; height: 1.5em; }
.mock__sizes { display: flex; flex-wrap: wrap; gap: 0.5em; }
.mock__sizes span { min-width: 3em; padding: 0.6em 0.85em; border-radius: calc(var(--m-radius) * 0.5); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--m-ink) 25%, transparent); font-size: 0.85em; text-align: center; }
.mock__sizes span.is-on { box-shadow: inset 0 0 0 2px var(--m-ink); font-weight: 700; }
.mock__buy { display: flex; gap: 0.7em; margin: 1.5em 0 1em; }
.mock__qty { display: grid; place-items: center; width: 6em; border-radius: var(--m-radius); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--m-ink) 25%, transparent); font-size: 0.9em; }
.mock__buy .mock__btn { flex: 1; }
.mock__note { display: flex; align-items: center; gap: 0.5em; font-size: 0.85em; opacity: 0.85; }
.mock__note svg { width: 1.3em; height: 1.3em; }
.mock__acc { margin-top: 1.4em; border-top: 1px solid var(--m-line); }
.mock__acc > div { padding: 0.85em 0; border-bottom: 1px solid var(--m-line); }
.mock__acc b { display: flex; justify-content: space-between; font-size: 0.9em; }
.mock__acc b::after { content: "+"; font-weight: 400; }
.mock__acc .is-open b::after { content: "−"; }
.mock__acc p { margin-top: 0.5em; font-size: 0.85em; line-height: 1.5; opacity: 0.75; }

/* Cart drawer */
.mock--cart .mock__dim { position: relative; }
.mock--cart .mock__dim::after { content: ""; position: absolute; inset: 0; background: var(--m-ink); opacity: 0.4; }
.mock__drawer {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2em;
  width: 40%;
  padding: 2em 2.2em;
  background: var(--m-bg);
  box-shadow: -1em 0 3em rgba(0, 0, 0, 0.2);
}
.mock__drawer-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--m-font); font-weight: var(--m-weight); font-size: 1.7em; text-transform: var(--m-case); }
.mock__drawer-head svg { width: 0.8em; height: 0.8em; }
.mock__progress { font-size: 0.85em; font-weight: 600; }
.mock__bar { display: block; overflow: hidden; height: 0.5em; margin-top: 0.55em; border-radius: 1em; background: var(--m-soft); }
.mock__bar i { display: block; height: 100%; border-radius: inherit; background: var(--m-accent); }
.mock__line { display: grid; grid-template-columns: 5em minmax(0, 1fr) auto; gap: 1em; align-items: center; padding-bottom: 1.2em; border-bottom: 1px solid var(--m-line); }
.mock__stepper { display: inline-block; margin-top: 0.6em; padding: 0.3em 0.8em; border-radius: 2em; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--m-ink) 25%, transparent); font-size: 0.8em; }
.mock__upsell { display: flex; justify-content: space-between; align-items: center; gap: 1em; padding: 0.9em 1em; border-radius: calc(var(--m-img-radius) * 0.7); background: var(--m-soft); font-size: 0.85em; }
.mock__total { display: flex; justify-content: space-between; margin-top: auto; font-weight: 700; }

/* Brand-specific feature screens */
.mock__feature { padding: 2.6em 3em 3em; }
.mock__feature-head { max-width: 34em; margin-bottom: 2em; }
.mock__feature-head .mock__title { font-size: 3em; }
.mock__feature-head .mock__text { margin-bottom: 0; }
.mock__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4em; }
.mock__step { padding: 1.1em; border-radius: var(--m-img-radius); box-shadow: inset 0 0 0 1px var(--m-line); }
.mock__step.is-on { box-shadow: inset 0 0 0 2px var(--m-accent); }
.mock__step-n { display: block; margin-bottom: 0.8em; font-family: var(--m-font); font-weight: var(--m-weight); font-size: 1.25em; }
.mock__pick { display: inline-flex; align-items: center; gap: 0.35em; margin-top: 0.8em; color: var(--m-accent); font-size: 0.85em; font-weight: 700; }
.mock__pick svg { width: 1.1em; height: 1.1em; }
.mock__summary { display: flex; justify-content: space-between; align-items: center; gap: 1em; margin-top: 1.6em; padding: 1em 1.3em; border-radius: var(--m-img-radius); background: var(--m-soft); font-weight: 700; }

.mock__compare { display: grid; grid-template-columns: 9em repeat(var(--n), minmax(0, 1fr)); font-size: 0.95em; }
.mock__compare > span { padding: 0.85em 1em; border-bottom: 1px solid var(--m-line); }
.mock__compare > span.is-on { background: color-mix(in srgb, var(--m-soft) 70%, transparent); font-weight: 700; }
.mock__compare-col { padding-top: 0 !important; }
.mock__compare-col .mock__tile { aspect-ratio: 1.3 / 1; }
.mock__compare-col .mock__name { font-family: var(--m-font); font-size: 1.35em; text-transform: var(--m-case); }
.mock__compare-k { font-weight: 700; opacity: 0.7; }

.mock__sub { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2.4em; align-items: start; }
.mock__sub-steps { display: grid; gap: 1.4em; }
.mock__sub-step b { display: block; margin-bottom: 0.6em; font-family: var(--m-font); font-weight: var(--m-weight); font-size: 1.3em; }
.mock__sub-step .mock__sizes span { padding: 0.8em 1.1em; font-size: 0.95em; }
.mock__sub-card { display: grid; gap: 0.5em; padding: 1.4em; border-radius: var(--m-img-radius); background: var(--m-soft); }
.mock__sub-card .mock__tile { aspect-ratio: 1.4 / 1; margin-bottom: 0.4em; background: var(--m-bg); }
.mock__sub-card .mock__pdp-price { margin-bottom: 0.4em; }

.mock__size { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3em; align-items: center; }
.mock__size-art { padding: 1.5em; border-radius: var(--m-img-radius); background: color-mix(in srgb, var(--m-soft) 50%, var(--m-bg)); }
.mock__size-table > div { display: grid; grid-template-columns: 6em 7em minmax(0, 1fr); gap: 1em; padding: 1em 1.2em; border-radius: calc(var(--m-img-radius) * 0.6); font-size: 0.95em; }
.mock__size-table > div + div { margin-top: 0.4em; }
.mock__size-table > div.is-on { background: var(--m-soft); box-shadow: inset 0 0 0 2px var(--m-ink); }
.mock__size-table .mock__fine { margin-top: 1em; }

/* Phone */
.mock--phone { padding: 3.4%; border-radius: 15% / 7.2%; background: #1D1A2B; }
.mock--phone .mock__screen { container-type: inline-size; position: relative; overflow: hidden; aspect-ratio: 9 / 19.2; border-radius: 12% / 5.8%; background: var(--m-bg); }
.mock--phone .mock__inner { font-size: 4.1cqi; }
.mock__status { display: flex; justify-content: space-between; align-items: center; padding: 0.9em 1.6em 0.4em; font-size: 0.85em; }
.mock__status span { display: flex; gap: 0.25em; }
.mock__status i { width: 0.35em; height: 0.8em; border-radius: 0.1em; background: currentColor; }
.mock__status i:first-child { height: 0.45em; align-self: end; }
.mock__status i:nth-child(2) { height: 0.62em; align-self: end; }
.mock--phone .mock__announce { font-size: 0.75em; }
.mock__nav--phone { gap: 0; justify-content: space-between; padding: 0.9em 1.2em; }
.mock__nav--phone .mock__logo { font-size: 1.35em; }
.mock__phone-hero { padding: 1em 1.2em 1.4em; }
.mock__phone-hero .mock__art { margin-bottom: 1em; aspect-ratio: 1 / 0.8; }
.mock--phone .mock__title { font-size: 2.1em; }
.mock--phone .mock__section { padding: 0 1.2em 1.2em; }
.mock--phone .mock__h { font-size: 1.3em; }
.mock--phone .mock__grid { gap: 0.8em; }
.mock--phone > .mock__screen > .mock__inner > .mock__main-img { margin: 0.4em 1.2em 0; aspect-ratio: 1 / 0.95; }
.mock__pager { position: absolute; bottom: 0.8em; left: 50%; display: flex; gap: 0.35em; transform: translateX(-50%); }
.mock__pager i { width: 0.45em; height: 0.45em; border-radius: 50%; background: var(--m-ink); opacity: 0.25; }
.mock__pager i.is-on { opacity: 0.9; }
.mock__phone-pdp { padding: 1.1em 1.2em 6em; }
.mock__phone-pdp .mock__title { font-size: 1.9em; }
.mock__phone-pdp .mock__pdp-price { margin-bottom: 0.9em; font-size: 1.15em; }
.mock__sticky { position: absolute; left: 0; right: 0; bottom: 0; padding: 0.9em 1.2em 1.4em; background: var(--m-bg); box-shadow: 0 -0.5em 1.5em rgba(0, 0, 0, 0.1); }

/* Brand identity sheet */
.mock--brand .mock__inner { font-size: 1.9cqi; padding: 2.6em; }
.mock__sheet { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.2em; }
.mock__sheet > div { padding: 1.6em; border-radius: var(--m-img-radius); background: color-mix(in srgb, var(--m-soft) 55%, var(--m-bg)); }
.mock__sheet-logo { display: grid; align-content: space-between; gap: 2em; min-height: 13em; background: var(--m-accent) !important; color: var(--m-btn-ink); }
.mock__sheet-logo .mock__logo-mark { background: var(--m-bg); }
.mock__sheet-logo .mock__logo-mark svg path, .mock__sheet-logo .mock__logo-mark svg rect, .mock__sheet-logo .mock__logo-mark svg circle, .mock__sheet-logo .mock__logo-mark svg ellipse { fill: var(--m-accent); stroke: var(--m-accent); }
.mock__logo--xl { font-size: 3em; }
.mock__sheet-small { display: grid; align-content: space-between; gap: 1.4em; }
.mock__sizes-row { display: flex; align-items: flex-end; gap: 1em; }
.mock__sizes-row .mock__logo-mark { width: 1em; height: 1em; border-radius: 0.24em; }
.mock__tag { display: grid; place-items: center; width: 4.2em; height: 4.2em; border-radius: 50%; background: #C9A45C; box-shadow: inset 0 0 0 0.25em rgba(255, 255, 255, 0.35); margin-left: auto; }
.mock__tag .mock__logo-mark { width: 2em; height: 2em; }
.mock__sheet-type b { display: block; font-family: var(--m-font); font-weight: var(--m-weight); font-size: 5.4em; line-height: 0.9; text-transform: none; }
.mock__type-name { display: block; margin: 0.5em 0 0.2em; font-weight: 700; }
.mock__sheet-palette { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6em; padding: 0 !important; background: transparent !important; }
.mock__sheet-palette i { display: grid; align-content: end; min-height: 4.6em; padding: 0.7em 0.9em; border-radius: calc(var(--m-img-radius) * 0.7); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); font-style: normal; font-size: 0.85em; }
.mock__sheet-palette span { opacity: 0.8; font-size: 0.85em; }
.mock__sheet-icons { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1em; padding: 1em !important; }
.mock__sheet-icons span { display: grid; place-items: center; aspect-ratio: 1.6; border-radius: calc(var(--m-img-radius) * 0.7); background: var(--m-bg); }
.mock__sheet-icons svg { width: 38%; }

/* ==========================================================================
   Service visuals (one per service page)
   Neutral "app" chrome around concept-brand content, plus an integration
   diagram, a search/structure visual, and an annotated product page.
   ========================================================================== */

.app { --m-ink: #1F1936; --app-line: #E4E2EC; --app-soft: #F5F4F9; background: #FFFFFF; box-shadow: var(--shadow-lg); }
.app .mock__inner { font-size: 1.45cqi; }
.app__bar { display: flex; align-items: center; gap: 1em; height: 3.6em; padding: 0 1.4em; border-bottom: 1px solid var(--app-line); font-size: 1.05em; }
.app__logo { width: 1.6em; height: 1.6em; border-radius: 0.8em 0.8em 0.25em 0.25em; background: var(--purple-700); }
.app__logo--square { border-radius: 0.3em; background: var(--ink); }
.app__select { padding: 0.35em 0.9em; border-radius: 0.5em; background: var(--app-soft); }
.app__pill { margin-left: auto; padding: 0.3em 0.8em; border-radius: 2em; background: #FFF4D6; color: #6B4E00; font-size: 0.85em; font-weight: 700; }
.app__pill--ok { background: var(--green-100); color: var(--green-700); }
.app__btn { padding: 0.45em 1.1em; border-radius: 0.5em; background: var(--purple-700); color: #FFFFFF; font-weight: 700; }
.app__icon-btn { display: grid; place-items: center; width: 1.8em; height: 1.8em; border-radius: 0.4em; background: var(--ink); color: #FFFFFF; font-weight: 700; }
.app__muted { color: var(--graypurple-700); font-size: 0.9em; }
.app__spacer { flex: 1; }
.app__body { display: grid; min-height: 36em; background: var(--app-soft); }
.app__side { padding: 1.4em; background: #FFFFFF; border-right: 1px solid var(--app-line); font-size: 0.95em; }
.app__side--right { border-right: 0; border-left: 1px solid var(--app-line); }
.app__label { margin-bottom: 1em !important; font-weight: 700; }
.app__row { display: flex; align-items: center; gap: 0.7em; padding: 0.65em 0.7em; border-radius: 0.5em; }
.app__row.is-on { background: var(--purple-100); color: var(--purple-900); font-weight: 700; }
.app__grip { width: 0.6em; height: 1em; background: radial-gradient(circle, #B3AEC4 1.2px, transparent 1.6px) 0 0 / 0.3em 0.33em; }
.app__add { margin-top: 0.8em !important; padding: 0.6em 0.7em; color: var(--purple-700); font-weight: 700; }
.app__field { display: grid; gap: 0.4em; margin-bottom: 1.1em !important; }
.app__field > span:first-child { color: var(--graypurple-700); font-size: 0.85em; }
.app__field b { padding: 0.55em 0.7em; border-radius: 0.4em; box-shadow: inset 0 0 0 1px var(--app-line); font-weight: 500; }
.app__swatches { display: flex; gap: 0.5em; }
.app__swatches i { width: 1.8em; height: 1.8em; border-radius: 0.4em; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
.app__swatches i.is-on { box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 3.5px var(--purple-700); }
.app__seg { display: flex; padding: 0.2em; border-radius: 0.5em; background: var(--app-soft); }
.app__seg i { flex: 1; padding: 0.4em; border-radius: 0.35em; font-style: normal; font-size: 0.85em; text-align: center; }
.app__seg i.is-on { background: #FFFFFF; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12); font-weight: 700; }
.app__tabs { display: flex; gap: 1.4em; margin-bottom: 1.2em !important; border-bottom: 1px solid var(--app-line); }
.app__tabs span { padding-bottom: 0.6em; }
.app__tabs .is-on { box-shadow: inset 0 -2px 0 var(--purple-700); font-weight: 700; }
.app__toggle { position: relative; width: 2.6em; height: 1.4em; border-radius: 1em; background: #C9C5D6; }
.app__toggle.is-on { background: var(--purple-700); }
.app__toggle::after { content: ""; position: absolute; top: 0.2em; right: 0.2em; width: 1em; height: 1em; border-radius: 50%; background: #FFFFFF; }

/* Theme editor */
.app__body--editor { grid-template-columns: 15em minmax(0, 1fr) 15em; }
.app__canvas { padding: 1.6em; }
.app__preview { --m-line: color-mix(in srgb, var(--m-ink) 12%, transparent); overflow: hidden; border-radius: 0.6em; background: var(--m-bg); color: var(--m-ink); box-shadow: 0 2px 12px rgba(31, 25, 54, 0.12); font-size: 0.8em; }
.app__selected { position: relative; margin: 0 0.6em; border-radius: 0.3em; box-shadow: 0 0 0 2px var(--purple-700); }
.app__tag { position: absolute; top: -0.9em; left: 0.8em; z-index: 1; padding: 0.2em 0.7em; border-radius: 0.35em; background: var(--purple-700); color: #FFFFFF; font-size: 0.85em; font-weight: 700; }
.app__preview .mock__title { font-size: 3.2em; }

/* Block editor */
.app__body--blocks { grid-template-columns: minmax(0, 1fr) 16em; }
.app__doc { --m-line: color-mix(in srgb, var(--m-ink) 12%, transparent); width: min(44em, 88%); margin: 1.8em auto; padding: 2.6em 3em; border-radius: 0.4em; background: var(--m-bg); color: var(--m-ink); box-shadow: 0 2px 12px rgba(31, 25, 54, 0.1); }
.app__doc-title { margin-bottom: 0.7em !important; font-family: var(--m-font); font-weight: var(--m-weight); font-size: 2.6em; line-height: 1.05; }
.app__doc-p { margin-bottom: 1.2em !important; font-size: 1.05em; line-height: 1.55; }
.app__doc-p--faint { margin-bottom: 0 !important; opacity: 0.45; }
.app__doc-img { overflow: hidden; aspect-ratio: 2.6 / 1; margin-bottom: 1.4em; border-radius: var(--m-img-radius); }
.app__doc-img svg { width: 100%; height: 100%; }
.app__block { position: relative; margin: 2.4em 0 1.4em; padding: 1em; border-radius: 0.3em; }
.app__block.is-on { box-shadow: 0 0 0 2px var(--purple-700); }
.app__toolbar { position: absolute; top: -2.2em; left: 0; display: flex; align-items: center; gap: 0.5em; padding: 0.4em 0.7em; border-radius: 0.35em; background: #FFFFFF; box-shadow: 0 0 0 1px var(--ink); font-size: 0.85em; }
.app__toolbar i { width: 1em; height: 1em; border-radius: 0.2em; background: #CFCBDA; }
.app__spot { display: grid; grid-template-columns: 10em minmax(0, 1fr); gap: 1.4em; align-items: center; padding: 1.2em; border-radius: var(--m-img-radius); background: var(--m-soft); }
.app__spot .mock__tile { margin: 0; background: var(--m-bg); }
.app__spot .mock__text { margin-bottom: 1em; }

/* Care plan */
.app--care .mock__inner { font-size: 1.75cqi; }
.app__body--care { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.4em; min-height: 0; padding: 1.6em; }
.care__checks, .care__log { padding: 1.6em; border-radius: 0.8em; background: #FFFFFF; box-shadow: 0 1px 3px rgba(31, 25, 54, 0.08); }
.care__check { display: grid; grid-template-columns: 1.2em 7em minmax(0, 1fr); gap: 0.8em; align-items: center; padding: 0.9em 0; border-bottom: 1px solid var(--app-line); }
.care__check i { width: 0.9em; height: 0.9em; border-radius: 0.5em 0.5em 0.15em 0.15em; background: var(--green-500); }
.care__check--wait i { background: #E9B949; }
.care__check span { color: var(--graypurple-700); font-size: 0.95em; }
.care__time { display: grid; gap: 0.6em; margin-top: 1.4em; }
.care__time .mock__bar { --m-soft: var(--purple-100); --m-accent: var(--purple-700); height: 0.7em; }
.care__when { margin: 1.2em 0 0.6em !important; color: var(--graypurple-700); font-size: 0.85em; font-weight: 700; }
.care__item { position: relative; margin-left: 0.4em !important; padding: 0.55em 0 0.55em 1.4em; border-left: 2px solid var(--purple-200); }
.care__item::before { content: ""; position: absolute; left: -0.45em; top: 0.85em; width: 0.7em; height: 0.7em; border-radius: 50%; background: #FFFFFF; box-shadow: inset 0 0 0 2px var(--purple-700); }

/* Narrow app visuals keep the part that tells the story */
@container (max-width: 560px) {
  .app__body--editor, .app__body--blocks { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .app__body--editor .app__side, .app__body--blocks .app__side { display: none; }
  .app__canvas { padding: 1em; }
  .app__preview, .app__doc { font-size: 1.5em; }
  .app__doc { width: auto; margin: 1em; padding: 1.6em; }
  .app__body--care { grid-template-columns: minmax(0, 1fr); }
  .app--care .mock__inner, .app .mock__inner { font-size: 2.6cqi; }
  .app__pill, .app__select { display: none; }
}

/* Integration diagram */
.diagram { margin: 0; padding: clamp(1rem, 3vw, 2rem); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.diagram svg { width: 100%; height: auto; font-family: var(--font-body); }
.dg__edge { stroke: var(--purple-200); stroke-width: 2.5; }
.dg__arrow { fill: var(--purple-500); }
.dg__pill { fill: var(--white); stroke: var(--purple-200); stroke-width: 1.5; }
.dg__pill-t { fill: var(--purple-900); font-size: 10px; font-weight: 600; text-anchor: middle; }
.dg__node { fill: var(--mint-50); stroke: #CBE6D7; stroke-width: 1.5; }
.dg__node-t { fill: var(--ink); font-size: 12px; font-weight: 700; text-anchor: middle; }
.dg__core { fill: var(--purple-700); }
.dg__door { fill: var(--green-500); }
.dg__core-t { fill: var(--white); font-family: var(--font-display); font-size: 19px; font-weight: 900; text-anchor: middle; }
.dg__core-s { fill: #DCD7F0; font-size: 10.5px; text-anchor: middle; }

/* SEO visual */
.seo-visual { display: grid; gap: var(--space-4); }
@media (min-width: 560px) { .seo-visual { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; } }
.seo-card { padding: var(--space-5); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); font-size: 0.875rem; }
.seo-card__query { margin: 0 0 var(--space-4); padding: 0.55rem 1rem; border-radius: 2rem; box-shadow: inset 0 0 0 1px var(--color-border); color: var(--ink); }
.seo-card__result { margin: 0 calc(var(--space-3) * -1) var(--space-3); padding: var(--space-3); border-radius: var(--radius); background: var(--mint-50); box-shadow: inset 0 0 0 2px var(--green-500); }
.seo-card__url { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.25rem; color: var(--graypurple-700); font-size: 0.8125rem; }
.seo-card__fav { width: 1rem; height: 1rem; border-radius: 50%; background: #2E4A62; flex-shrink: 0; }
.seo-card__title { margin: 0 0 0.3rem; color: #2B3F9E; font-size: 1rem; font-weight: 600; line-height: 1.3; }
.seo-card__desc { margin: 0; color: var(--ink); line-height: 1.45; }
.seo-card__ghost { display: grid; gap: 0.4rem; padding: var(--space-3) 0; opacity: 0.6; }
.seo-card__ghost i { height: 0.55rem; border-radius: 1rem; background: var(--color-border); }
.seo-card__ghost i:first-child { width: 45%; }
.seo-card__ghost i:nth-child(2) { width: 80%; height: 0.7rem; }
.seo-tree, .seo-tree ul { margin: 0; padding: 0; list-style: none; }
.seo-tree { padding: var(--space-5); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); font-size: 0.875rem; }
.seo-tree ul { margin-left: 0.6rem; padding-left: 1rem; border-left: 2px solid var(--purple-200); }
.seo-tree li { margin: 0.45rem 0 0; }
.seo-tree span { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem; padding: 0.3rem 0.65rem; border-radius: var(--radius-sm); background: var(--purple-100); color: var(--purple-900); font-weight: 600; }
.seo-tree span.is-on { background: var(--green-100); color: var(--green-700); box-shadow: inset 0 0 0 2px var(--green-500); }
.seo-tree span.is-muted { background: transparent; box-shadow: inset 0 0 0 1px var(--color-border); color: var(--graypurple-700); font-weight: 500; }
.seo-tree em { font-style: normal; font-size: 0.75rem; font-weight: 700; opacity: 0.85; }

/* Annotated product page */
.annotated { position: relative; }
.annotated > .mock { box-shadow: var(--shadow-lg); }
.annotated__notes { margin: 0; padding: 0; list-style: none; }
.annotated__notes li {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.3rem 0.65rem 0.3rem 0.45rem;
  border-radius: var(--door-btn);
  background: var(--purple-900);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: var(--shadow);
  transform: translate(-0.6rem, -50%);
}
.annotated__notes li::before { content: ""; width: 0.6rem; height: 0.58rem; flex-shrink: 0; border-radius: 46% 46% 14% 14% / 52% 52% 14% 14%; background: var(--green-500); }
@media (max-width: 559px) {
  .annotated__notes { display: grid; gap: var(--space-2); margin-top: var(--space-4); }
  .annotated__notes li { position: static; justify-self: start; transform: none; }
}
