:root {
  --blue: #00b67a;
  --yellow: #00b67a;
}

.site-header { height: 90px; }
.legal-header-inner { min-height: 90px; }
.shop-header { min-height: 90px; }

.brand,
.footer-contact .brand,
.shop-brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 10px;
  width: 270px;
  height: 60px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.brand .brand-mark,
.footer-contact .brand .brand-mark,
.shop-brand img {
  display: block;
  flex: none;
  box-sizing: border-box;
  width: 54px;
  height: 54px;
  padding: 3px;
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}

.brand-text,
.shop-brand span { display: flex; flex-direction: column; gap: 4px; }

.brand-text strong,
.footer-contact .brand-text strong,
.shop-brand span strong {
  display: block;
  color: #fff;
  font: 800 20px/1 Arial, sans-serif;
  letter-spacing: .2px;
}

.brand-text strong em,
.shop-brand span strong em {
  color: #00b67a;
  font-style: normal;
}

.brand-text small,
.footer-contact .brand-text small,
.shop-brand span small {
  display: block;
  color: #4ed5a1;
  font: 700 9px/1 Arial, sans-serif;
  letter-spacing: 1.2px;
}

.button,
.shop-primary,
.shop-cart-link { background: linear-gradient(135deg, #00b67a 0%, #007f56 100%); }
.offer-bar { background: #c9f2e4; }
.shop-hero .eyebrow,
.legal-hero p { color: #31c994; }
.legal-content a { color: #007f56; }
.shop-secondary { border-color: #007f56; color: #007f56; }

.hero-actions { display: flex; align-items: center; justify-content: center; gap: 12px; }
.hero-actions .hero-button { min-width: 0; min-height: 60px; padding: 9px 24px; font-size: 24px; }
.hero-actions .hero-call-button {
  min-height: 60px;
  padding: 9px 20px;
  border: 2px solid #4ed5a1;
  background: #00152eb8;
  font-size: 19px;
  cursor: pointer;
}

.ai-tools { padding: 76px 20px 80px; background: #eff9f5; text-align: center; }
.ai-tools .wide { max-width: 1108px; margin: auto; }
.ai-kicker { margin: 0 0 10px; color: #007f56; font-size: 13px; font-weight: 800; letter-spacing: 2px; }
.ai-tools h2 { margin: 0 0 18px; color: #061631; font: 400 clamp(36px, 5vw, 62px)/1 "Bebas Neue", sans-serif; }
.ai-lead { max-width: 780px; margin: 0 auto 34px; color: #233248; font-size: 20px; line-height: 1.5; }
.ai-tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 32px; text-align: left; }
.ai-tool-grid article { padding: 26px; border: 1px solid #cfe9df; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px #092d160d; }
.ai-tool-grid h3 { margin: 0 0 10px; color: #00875b; font-size: 23px; }
.ai-tool-grid p { margin: 0; color: #253750; font-size: 17px; line-height: 1.5; }
.ai-call-button { border: 0; cursor: pointer; }
.ai-note { margin: 22px auto 0; color: #526174; font-size: 13px; }

.call-dialog { width: min(520px, calc(100vw - 24px)); max-height: min(88vh, 820px); padding: 26px; overflow-y: auto; border: 0; border-radius: 18px; box-shadow: 0 24px 70px #0006; color: #061631; }
.call-dialog::backdrop { background: #000b26bd; }
.call-dialog-close { position: absolute; top: 6px; right: 14px; border: 0; background: transparent; color: #263c53; font-size: 32px; line-height: 1; cursor: pointer; }
.call-dialog-intro { margin: 4px 30px 18px 0; font-size: 16px; line-height: 1.5; }
.call-dialog .shop-box { padding: 0; border: 0; box-shadow: none; }
.call-dialog .shop-form h2 { margin: 0 0 6px; }

@media (max-width: 700px) {
  .site-header { height: 82px; }
  .mobile-menu { top: 82px; inset: 82px 0 0; }
  .legal-header-inner { min-height: 82px; }
  .shop-header { min-height: 82px; }
  .brand,
  .footer-contact .brand,
  .shop-brand { width: 230px; height: 48px; gap: 8px; }
  .brand .brand-mark,
  .footer-contact .brand .brand-mark,
  .shop-brand img { width: 44px; height: 44px; padding: 2px; }
  .brand-text strong,
  .footer-contact .brand-text strong,
  .shop-brand span strong { font-size: 17px; letter-spacing: 0; }
  .brand-text small,
  .footer-contact .brand-text small,
  .shop-brand span small { font-size: 7px; letter-spacing: .8px; }
  .hero { height: auto; min-height: 720px; padding-bottom: 28px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .hero-button,
  .hero-actions .hero-call-button { width: 245px; min-height: 52px; font-size: 19px; }
  .ai-tools { padding: 48px 20px 54px; }
  .ai-lead { font-size: 16px; }
  .ai-tool-grid { grid-template-columns: 1fr; }
  .ai-call-button { width: 100%; font-size: 20px; white-space: normal; }
  .call-dialog { padding: 20px; }
}

/* The supplied horizontal brand artwork replaces the former mark and text lockup. */
.brand,
.footer-contact .brand,
.shop-brand {
  display: block;
  position: relative;
  width: 306px;
  height: 70px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}
.brand .brand-mark,
.footer-contact .brand .brand-mark,
.shop-brand img {
  position: absolute;
  top: -16px;
  left: 0;
  width: 306px;
  height: 102px;
  max-width: none;
  padding: 0;
  border-radius: 0;
  object-fit: contain;
  background: #fff;
}
.brand-text,
.shop-brand span { display: none; }

.hero-portrait span {
  right: 20%;
  top: 76%;
  font: 500 italic 39px/1 "Dancing Script", cursive;
  letter-spacing: -1.1px;
  white-space: nowrap;
  transform: rotate(-9deg);
  text-shadow: 0 2px 5px #001129bd;
}
.hero-portrait span::after {
  content: "";
  display: block;
  height: 8px;
  margin: -3px 1px 0 19px;
  border-bottom: 2px solid currentColor;
  border-radius: 50%;
  transform: rotate(-4deg);
}

.shop-header nav { gap: clamp(8px, 1.3vw, 20px); }
.shop-mobile-menu { display: none; }
@media (max-width: 1000px) {
  .shop-header { flex-wrap: wrap; }
  .shop-header nav { width: 100%; justify-content: center; }
}
@media (max-width: 700px) {
  .brand,
  .footer-contact .brand,
  .shop-brand { width: 230px; height: 54px; }
  .brand .brand-mark,
  .footer-contact .brand .brand-mark,
  .shop-brand img { top: -12px; width: 230px; height: 77px; }
  .hero-portrait span { right: 14%; top: 74%; font-size: 20px; letter-spacing: -.4px; }
  .shop-header { flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: nowrap; }
  .shop-header .shop-desktop-nav { display: none; }
  .shop-mobile-menu { display: block; position: relative; }
  .shop-mobile-menu summary { list-style: none; cursor: pointer; font-size: 30px; line-height: 1; color: white; }
  .shop-mobile-menu summary::-webkit-details-marker { display: none; }
  .shop-mobile-menu nav { position: absolute; z-index: 30; top: 42px; right: 0; width: 220px; display: grid; gap: 0; padding: 8px 0; border: 1px solid #325073; border-radius: 12px; background: #03102d; box-shadow: 0 15px 35px #0008; }
  .shop-mobile-menu nav a { display: block; padding: 10px 15px; }
}

.formation-hero { background: radial-gradient(circle at 82% 22%, #063d82, #03102d 60%); }
.formation-hero h1 { max-width: 850px; margin: 12px auto; }
.formation-actions { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.formation-outline { display: inline-flex; align-items: center; justify-content: center; width: fit-content; padding: .82rem 1.35rem; border: 2px solid #00a56f; border-radius: 100px; color: #006b49!important; background: #fff; font-weight: 800; text-decoration: none; }
.shop-hero .formation-outline { color: #fff!important; border-color: #67d9b1; background: transparent; }
.formation-page h2 { margin: 0 0 16px; color: #061631; font: 400 clamp(33px, 4vw, 50px)/1.04 'Bebas Neue', sans-serif; }
.formation-page h3 { margin: 0 0 9px; font-size: 20px; color: #061631; }
.formation-page p { line-height: 1.65; }
.formation-eyebrow { color: #00875b; font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.formation-intro { align-items: center; }
.formation-section { margin-top: 78px; }
.formation-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.formation-grid .shop-box { padding: 20px; }
.formation-grid p,.formation-module-grid p { margin: 0; }
.formation-number { display: block; margin-bottom: 16px; color: #00a56f; font: 400 35px/1 'Bebas Neue', sans-serif; }
.formation-module-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 18px; margin: 24px 0; }
.formation-module-grid a.shop-box { text-decoration: none; color: inherit; }
.formation-module-grid a.shop-box:hover { border-color: #00a56f; }
.formation-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding: 36px; border-radius: 22px; background: #e8f8f2; }
.formation-demo img { display: block; width: 100%; border-radius: 12px; }
.formation-links { padding-bottom: 20px; }
@media (max-width: 900px) { .formation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .formation-section { margin-top: 48px; }
  .formation-grid { grid-template-columns: 1fr; }
  .formation-demo { grid-template-columns: 1fr; padding: 22px; }
}

/* Keep the navigation surface continuous with the white logo artwork. */
.site-header,
.shop-header,
.legal-header {
  background: #fff;
  color: #061631;
  box-shadow: 0 1px 0 #e5eaf0;
}
.desktop-nav a,
.shop-header nav a,
.legal-back { color: #061631; }
.desktop-nav a:hover,
.shop-header nav a:hover,
.legal-back:hover { color: #075ce8; }
@media (max-width: 700px) {
  .mobile-controls button,
  .shop-mobile-menu summary { color: #061631; }
  .shop-mobile-menu nav a,
  .shop-mobile-menu nav a:hover { color: #fff; }
}
