/* Good Eggs (goodeggs.net, the apex's own site): the theme's own colours and sizes, unchanged, plus the layout of the
   homepage's feature rows (tests/ux/demo/content.ts featureRows), after brevo.com's product rows. The theme
   (tests/ux/demo/content.ts DEMO_THEME) sets every colour; this file sets none of its own. */

html[data-skin='goodeggs'] {
  /* A skinned tenant gets no style presets (SiteShell), so the Roomy display type's variables (theme.ts
     STYLE_VALUES.type.display, the tenant's setting) are restated here as they are, so the site looks as it does without
     a skin. tests/unit/tenant-skin.test.ts keeps them in step: change the preset, then this block. */
  --site-wrap: 1240px;
  --site-gutter: clamp(1rem, 4vw, 2.5rem);
  --site-section: clamp(4rem, 9vw, 8rem);
  --body-size: clamp(18px, calc(1rem + 0.5vw), 20px);
  --body-line: 1.5;
  --h1-size: clamp(2.75rem, 5.5vw, 4rem);
  --h1-line: 1.2;
  --h1-track: -0.025em;
  --h2-size: clamp(2.125rem, 4vw, 3rem);
  --h2-line: 1.2;
  --h2-track: -0.025em;
  --h3-size: clamp(1.375rem, 2vw, 1.625rem);
  --h3-line: 1.5;
  --h3-track: 0;
  --h3-weight: 600;
  --heading-weight: 900;
  --heading-wrap: balance;
  --text-wrap: pretty;
  --lede-size: 1.625rem;
  --panel-radius: 28px;
  --pill-height: 52px;
  --pill-size: 1.0625rem;
  --pill-weight: 700;
  --pill-pad: 1.6rem;
  --pill-border: 0px;
  --btn-pad: 1.05rem 1.75rem;
  --btn-size: 1.0625rem;
  --btn-lift: -2px;
  --font-smoothing: antialiased;
  --text-rendering: optimizeLegibility;
  --screens-radius: min(var(--radius-card), 14px);
  --screens-shadow: 0 1px 2px color-mix(in srgb, var(--color-ink) 5%, transparent), 0 10px 28px -14px color-mix(in srgb, var(--color-ink) 20%, transparent);
  --page-gap: clamp(4rem, 9vw, 8rem);
  --page-flush: 0px;
  --page-gap-tight: clamp(3rem, 6vw, 5rem);
  --prose-size: var(--body-size);
  --prose-line: var(--body-line);
  --prose-beside-cols: minmax(0, 36rem);
  --prose-beside-gap: 1.5rem;
}

/* The feature rows (tests/ux/demo/content.ts featureRows, a Feature explorer in Groups as you scroll): each group's
   slide on its own pastel, as brevo.com's rows. The pastels are only here and on the who-it's-for cards: the rest of the
   site keeps the theme's colours. */
html[data-skin='goodeggs'] .explorer[data-variant='scroll'] .explorer__slide { --slide-bg: #fde8ef; } /* rose */
html[data-skin='goodeggs'] .explorer[data-variant='scroll'] .explorer__slide[data-group='2'] { --slide-bg: #e4efff; } /* sky */
html[data-skin='goodeggs'] .explorer[data-variant='scroll'] .explorer__slide[data-group='3'] { --slide-bg: #e2f4e6; } /* mint */
html[data-skin='goodeggs'] .explorer[data-variant='scroll'] .explorer__slide[data-group='4'] { --slide-bg: #efe8ff; } /* lilac */
html[data-skin='goodeggs'] .explorer[data-variant='scroll'] .explorer__slide[data-group='5'] { --slide-bg: #ffe8dc; } /* peach */
html[data-skin='goodeggs'] .explorer[data-variant='scroll'] .explorer__slide[data-group='6'] { --slide-bg: #e6f3f6; } /* mist */

/* Who it's for (content.ts, #audiences), as brevo.com's agent cards: each card's egg whole, on a pastel. */
html[data-skin='goodeggs'] #audiences .icon-card__photo {
  --gg-panel: #fde8ef;
  background: var(--gg-panel);
  padding: 1.25rem 1.25rem 0;
}
html[data-skin='goodeggs'] #audiences .icon-card:nth-child(2) .icon-card__photo { --gg-panel: #e4efff; }
html[data-skin='goodeggs'] #audiences .icon-card:nth-child(3) .icon-card__photo { --gg-panel: #e2f4e6; }
html[data-skin='goodeggs'] #audiences .icon-card:nth-child(4) .icon-card__photo { --gg-panel: #efe8ff; }
html[data-skin='goodeggs'] #audiences .icon-card__photo img {
  object-fit: contain;
  object-position: center bottom;
}

/* "One place for everything you do" (content.ts, #engage), as brevo.com's "Engage your audience your way": small white
   cards with a border, the title at the top left and the drawing below it, in a row that scrolls. */
html[data-skin='goodeggs'] #engage .browse__cards {
  grid-auto-columns: min(15.5rem, 70vw);
}
html[data-skin='goodeggs'] #engage .browse-photo {
  background: var(--color-surface, #fff);
  color: var(--color-ink);
  border: 1px solid var(--color-line, #e6e6e1);
  border-radius: 16px;
  justify-content: flex-start;
}
html[data-skin='goodeggs'] #engage .browse-photo > * {
  display: flex;
  flex-direction: column;
  color: var(--color-ink);
  padding: 1.1rem 1.1rem 1.25rem;
  height: 100%;
}
html[data-skin='goodeggs'] #engage .browse-photo > *::after {
  content: none;
}
html[data-skin='goodeggs'] #engage .browse-photo__text {
  position: static;
  order: -1;
}
html[data-skin='goodeggs'] #engage .browse-photo h3 {
  min-height: 2.6em; /* two lines, so the drawings line up; the size is the homepage's card titles' (below) */
}
html[data-skin='goodeggs'] #engage .browse-photo img {
  width: 62%;
  margin: 1rem auto 0;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
/* the animated drawings (Scene) in the egg's place: the whole card's width, so the little scene stays legible */
html[data-skin='goodeggs'] #engage .browse-photo .scene {
  width: 100%;
  margin: 0.75rem auto 0;
  padding: 0;
  aspect-ratio: 1 / 1;
}
/* the drawn object sits on the pale yolk, as brevo.com's sit on pale lavender */
html[data-skin='goodeggs'] #engage .scene__panel {
  fill: var(--color-blue-soft);
  fill-opacity: 1;
}
html[data-skin='goodeggs'] #engage .browse-photo a:hover {
  border-color: var(--color-ink);
}
/* a card lifts a little under the pointer, as brevo.com's do */
@media (prefers-reduced-motion: no-preference) {
  html[data-skin='goodeggs'] #engage .browse-photo {
    transition: translate 0.2s ease, box-shadow 0.2s ease;
  }
  html[data-skin='goodeggs'] #engage .browse-photo:hover {
    translate: 0 -3px;
    box-shadow: 0 12px 28px rgb(0 0 0 / 0.08);
  }
}

/* "Made for groups like yours" (content.ts, #audiences), as brevo.com's AI agents: the intro on the left on white, no
   panel, and the cards in one row that scrolls sideways, each with a dark button. */
html[data-skin='goodeggs'] #audiences .panel {
  background: none;
  padding: 0;
}
html[data-skin='goodeggs'] #audiences .band--panel {
  padding-bottom: var(--band-space);
}
html[data-skin='goodeggs'] #audiences .fan__head svg,
html[data-skin='goodeggs'] #audiences .fan__head .arrow {
  display: none;
}
html[data-skin='goodeggs'] #audiences .fan__grid {
  display: flex;
  gap: 1.25rem;
  margin: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}
html[data-skin='goodeggs'] #audiences .fan__grid > .icon-card {
  flex: 0 0 min(19rem, 78vw);
  scroll-snap-align: start;
  border: 1px solid var(--color-line, #e6e6e1);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: none;
}
html[data-skin='goodeggs'] #audiences .icon-card .btn-accent {
  background: var(--color-ink);
  color: var(--color-primary);
}

/* The homepage's type in three sizes and no more, each from the block above: every section heading at --h2-size and
   the heading weight (the feature rows' and the safe panel's titles are drawn smaller and lighter elsewhere, for a
   half-width section: explorer.css, home.css); every card and question title at the one size; and every line of words
   under them, the sections' intros and the cards' and answers' words alike, at --body-size. The blocks' own styles set
   these between 15px and 22px each, so side by side the sections read as several sites. The hero keeps its bigger
   lede, and the three steps (#how, below) their titles a size up, under their big drawn eggs. */
html[data-skin='goodeggs'] #features .explorer__title,
html[data-skin='goodeggs'] #features .explorer__stitle,
html[data-skin='goodeggs'] #safe .icon-list__title {
  font-size: var(--h2-size);
  font-weight: var(--heading-weight);
  letter-spacing: var(--h2-track);
  line-height: var(--h2-line);
}
html[data-skin='goodeggs'] #engage .browse-photo h3,
html[data-skin='goodeggs'] #audiences .icon-card h3,
html[data-skin='goodeggs'] #faq .questions__summary {
  font-size: 1.375rem; /* --h3-size's smallest: at its biggest the questions wrap beside the wider animation */
  font-weight: var(--h3-weight);
  letter-spacing: var(--h3-track);
  line-height: 1.3;
}
html[data-skin='goodeggs'] #features :is(.explorer__lede, .explorer__sbody),
html[data-skin='goodeggs'] #audiences :is(.fan__head p, .icon-card p),
html[data-skin='goodeggs'] #safe .icon-list__text,
html[data-skin='goodeggs'] #faq .cols__fold-body p,
html[data-skin='goodeggs'] #how :is(.how__copy p, .how__step p),
html[data-skin='goodeggs'] #how + #enquire .prose p {
  font-size: var(--body-size);
  line-height: var(--body-line);
}

/* The homepage's questions (content.ts, #faq): the egg photo fills the wider column, and on a phone sits under the
   questions. */
html[data-skin='goodeggs'] #faq .cols__figure {
  width: 100%;
  max-width: 44rem;
  margin-inline: auto;
}
html[data-skin='goodeggs'] #faq .cols__figure img {
  width: 100%;
  height: auto;
}

/* "Safe, secure and sensible" (content.ts, #safe), as brevo.com's awards panel: the heading centred over the four
   points in a row, each icon above its words. */
html[data-skin='goodeggs'] #safe .icon-list__title {
  text-align: center;
  margin-inline: auto;
}
/* the one column never grows past the panel: left to itself it takes the row of points' width (four at 12rem), so on a
   phone the title sat centred in a column wider than the screen and ran off it */
html[data-skin='goodeggs'] #safe .icon-list__inner {
  grid-template-columns: minmax(0, 1fr);
}
html[data-skin='goodeggs'] #safe .icon-list__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1.5rem;
  max-width: 62rem;
  margin: 2rem auto 0;
  padding: 0;
}
html[data-skin='goodeggs'] #safe .icon-list__items > li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
  margin: 0;
}
html[data-skin='goodeggs'] #safe .icon-list__icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

/* The homepage's hero (content.ts, #hero): on the page's white straight under the header, the words on the left and
   the yolk circle behind the photo. */
html[data-skin='goodeggs'] #hero {
  margin-top: 0;
  padding-top: 0;
  border-radius: 0 0 clamp(1.75rem, 4vw, 3rem) clamp(1.75rem, 4vw, 3rem);
  overflow: hidden;
}
html[data-skin='goodeggs'] #hero .hero-band {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
/* the circle keeps the yolk (the theme's primary) */
html[data-skin='goodeggs'] #hero .hero__frame::before {
  background: #ffc633;
}
/* The headline's and lede's widths, which hero.css gives in ch: the width of the font's "0", 0.718em in Satoshi 900 and
   0.683em in Satoshi 400, but 0.56em and 0.55em in the Arial stand-in that shows until Satoshi arrives
   (src/styles/site/fonts.css). In ch the headline's box was a fifth narrower in the stand-in, so it ran a line longer
   and pushed the photo down when the font swapped in. The same widths in em, which both fonts agree on. */
html[data-skin='goodeggs'] #hero .hero__card h1 {
  max-width: 10.05em; /* 14ch */
}
html[data-skin='goodeggs'] #hero .hero__lede {
  max-width: 25.95em; /* 38ch */
}

/* The two closing bands (content.ts, #how and the homepage's #enquire), as brevo.com's integrations and "Ready to grow"
   bands: the full width, rounded at the top, the second tucked under the first's foot so the grey shows round its
   corners. Each band's frame gives the room above and below; the section inside adds none of its own (it doubled it,
   to some 180px of empty band over each heading). */
html[data-skin='goodeggs'] #how,
html[data-skin='goodeggs'] #how + #enquire[data-bg='band'] {
  --gg-band-round: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--gg-band-round) var(--gg-band-round) 0 0;
}
html[data-skin='goodeggs'] #how {
  margin-bottom: 0;
  padding-bottom: calc(var(--site-section) + var(--gg-band-round));
}
html[data-skin='goodeggs'] #how > .band,
html[data-skin='goodeggs'] #how + #enquire[data-bg='band'] > .cols {
  padding-block: 0;
}
html[data-skin='goodeggs'] #how + #enquire[data-bg='band'] {
  margin-top: calc(-1 * var(--gg-band-round));
  position: relative;
  background: var(--color-blue-soft); /* the pale yolk, as brevo.com's pale mint */
}

/* "Talk. Set up. Done." (#how): each step in a white egg on the grey, narrow end up and turned a little its own way,
   holding the drawn egg, the day's pill, the title (a size up from the homepage's other card titles) and the words.
   The egg is a pseudo-element of the step, so it turns without turning what is in it; the steps' dashed line goes, as
   the eggs stand apart. */
html[data-skin='goodeggs'] #how .how__steps {
  gap: 1.5rem;
  margin-top: 2.5rem;
}
html[data-skin='goodeggs'] #how .how__steps::before {
  display: none;
}
html[data-skin='goodeggs'] #how .how__steps li {
  --frame-bg: #fff;
  --gg-step-turn: -4deg;
  isolation: isolate;
  gap: 0.75rem;
  padding: 3rem 2.75rem 4rem;
}
html[data-skin='goodeggs'] #how .how__steps li:nth-child(2) {
  --gg-step-turn: 3deg;
}
html[data-skin='goodeggs'] #how .how__steps li:nth-child(3) {
  --gg-step-turn: -2deg;
}
html[data-skin='goodeggs'] #how .how__steps li::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  rotate: var(--gg-step-turn);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: #fff;
}
html[data-skin='goodeggs'] #how .how__step-picture {
  width: 6.5rem;
  height: 6.5rem;
  object-fit: contain;
}
html[data-skin='goodeggs'] #how .how__step-title {
  font-size: clamp(1.75rem, 2.4vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
html[data-skin='goodeggs'] #how .how__step p {
  max-width: 17rem;
  color: var(--color-ink);
}
/* on a phone the heading and intro stand centred over the steps, as on a desktop */
@media (max-width: 34rem) {
  html[data-skin='goodeggs'] #how .how__copy {
    align-items: center;
    text-align: center;
  }
  html[data-skin='goodeggs'] #how .how__steps {
    gap: 1.5rem;
    justify-items: center;
  }
  /* narrower than the screen, so each egg stands taller than it is wide and its turn clears the edges */
  html[data-skin='goodeggs'] #how .how__steps li {
    width: min(100%, 300px);
    padding: 3.5rem 2rem 4.5rem;
  }
}

/* "Ready to get going" (the homepage's #enquire): the call, its words and the two buttons on the left, the egg photo
   of someone at their desk on the right; on a phone the photo comes under the buttons, a little smaller. */
html[data-skin='goodeggs'] #how + #enquire[data-bg='band'] .cols__figure {
  width: 100%;
  max-width: 26rem;
  margin-inline: auto;
}
html[data-skin='goodeggs'] #how + #enquire[data-bg='band'] .cols__figure img {
  width: 100%;
  height: auto;
}
@media (max-width: 52rem) {
  html[data-skin='goodeggs'] #how + #enquire[data-bg='band'] .cols__figure {
    max-width: 18rem;
  }
}

/* The footer, as brevo.com's: light, not the bright yellow, so the page ends calm; the link columns in ink. */
html[data-skin='goodeggs'] .site-footer--big {
  --footer-bg: #fafaf7;
  background: #fafaf7;
  color: var(--color-ink);
  border-top: 1px solid var(--color-line, #e3e3de);
}
html[data-skin='goodeggs'] .site-footer--big a {
  color: var(--color-ink);
}

/* The contact page's form (content.ts, #enquire): its words centred over a narrower form. */
html[data-skin='goodeggs'] #enquire .enquiry__inner {
  max-width: 44rem;
  margin-inline: auto;
}
html[data-skin='goodeggs'] #enquire .enquiry__inner > h2,
html[data-skin='goodeggs'] #enquire .enquiry__intro {
  text-align: center;
  margin-inline: auto;
}
html[data-skin='goodeggs'] #enquire form {
  max-width: 44rem;
  margin-inline: auto;
}
html[data-skin='goodeggs'] #audiences .icon-card .btn-accent svg {
  color: var(--color-ink);
}

/* a post's page: the words at the site's own body size, with the summary a size up */
html[data-skin='goodeggs'] .article__body p,
html[data-skin='goodeggs'] .article__body li {
  font-size: var(--body-size);
  line-height: 1.65;
}
html[data-skin='goodeggs'] .article__standfirst {
  font-size: 1.375rem;
  line-height: 1.45;
}
