:root {
  --brand-ink: #071d25;
  --brand-green: #12d862;
  --brand-green-hover: #1be56d;
  --brand-surface: #fbfaf6;
  --ink: var(--brand-ink);
  --green: var(--brand-green);
  --green-dark: #079447;
  --muted: #526165;
}

::selection {
  background: rgba(18, 216, 98, .24);
  color: var(--brand-ink);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--brand-ink);
  color: #fff;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  z-index: 30;
  width: min(1320px, calc(100% - 96px));
  height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  color: var(--brand-ink);
}

.topbarOverlay {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.topbar .brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  color: var(--brand-ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.topbar .brand img {
  display: block;
  width: 103px;
  height: auto;
}

.topbar .brand span {
  padding-left: 14px;
  border-left: 1px solid rgba(184, 189, 183, .55);
  line-height: 1;
}

.topbar nav {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 30px;
  font-size: 13px;
  font-weight: 600;
}

.topbar nav a {
  position: relative;
  padding: 30px 0 25px;
  color: var(--brand-ink);
  text-decoration: none;
  white-space: nowrap;
}

.topbar nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 20px;
  height: 2px;
  background: var(--brand-green);
  transition: right .25s ease;
}

.topbar nav a:hover::after,
.topbar nav a.active::after {
  right: 0;
}

.topbar .navDropdown {
  position: relative;
  align-self: stretch;
}

.topbar .navDropdown summary {
  position: relative;
  height: 100%;
  padding: 30px 0 25px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-ink);
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}

.topbar .navDropdown summary::-webkit-details-marker {
  display: none;
}

.topbar .navDropdown summary::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 20px;
  height: 2px;
  background: var(--brand-green);
  transition: right .25s ease;
}

.topbar .navDropdown summary:hover::after,
.topbar .navDropdown summary.active::after,
.topbar .navDropdown[open] summary::after {
  right: 0;
}

.topbar .navDropdown summary span {
  font-size: 14px;
  line-height: 1;
  transition: transform .2s ease;
}

.topbar .navDropdown[open] summary span {
  transform: rotate(180deg);
}

.topbar .navDropdownMenu {
  position: absolute;
  z-index: 40;
  top: 64px;
  left: 50%;
  min-width: 230px;
  padding: 7px;
  display: none;
  border: 1px solid rgba(184, 189, 183, .5);
  border-radius: 14px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 42px rgba(7, 29, 37, .14);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.topbar .navDropdown[open] .navDropdownMenu {
  display: block;
}

.topbar .navDropdownMenu a {
  display: block;
  padding: 11px 13px;
  border-radius: 9px;
}

.topbar .navDropdownMenu a:hover,
.topbar .navDropdownMenu a.active {
  background: rgba(18, 216, 98, .1);
  color: #087b3d;
}

.topbar .navDropdownMenu a::after {
  display: none;
}

.topbar .topActions,
.topbar .navCta {
  justify-self: end;
}

.topbar .navCta,
.topbar .buttonSmall {
  min-height: 40px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border-radius: 999px;
  background: var(--brand-ink);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 9px 24px rgba(7, 29, 37, .12);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.topbar .navCta:hover,
.topbar .buttonSmall:hover {
  transform: translateY(-2px);
  background: #102a31;
  box-shadow: 0 13px 28px rgba(7, 29, 37, .18);
}

.topbar .menuButton {
  display: none;
}

.topbar a:focus-visible,
.topbar button:focus-visible,
.topbar summary:focus-visible {
  outline: 3px solid rgba(18, 216, 98, .48);
  outline-offset: 4px;
}

@media (max-width: 1100px) {
  .topbar nav {
    gap: 22px;
    font-size: 12px;
  }
}

@media (max-width: 960px) {
  .topbar {
    width: calc(100% - 40px);
    height: 70px;
    grid-template-columns: 1fr auto;
  }

  .topbar nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    display: none;
    padding: 16px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid rgba(184, 189, 183, .55);
    border-radius: 16px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 18px 45px rgba(8, 42, 31, .12);
    backdrop-filter: blur(18px);
  }

  .topbar nav.open {
    display: flex;
  }

  .topbar nav a {
    padding: 13px 0;
  }

  .topbar .navDropdown {
    width: 100%;
  }

  .topbar .navDropdown summary {
    height: auto;
    padding: 13px 0;
  }

  .topbar .navDropdown summary::after {
    display: none;
  }

  .topbar .navDropdownMenu {
    position: static;
    min-width: 0;
    margin: 0 0 8px;
    padding: 0 0 0 14px;
    border: 0;
    border-left: 2px solid rgba(18, 216, 98, .35);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    backdrop-filter: none;
  }

  .topbar .navDropdownMenu a {
    padding: 10px 0;
  }

  .topbar nav a::after {
    display: none;
  }

  .topbar nav a.active {
    color: #167d43;
  }

  .topbar .topActions,
  .topbar .navCta {
    display: none;
  }

  .topbar .menuButton {
    position: relative;
    z-index: 2;
    justify-self: end;
    width: 42px;
    height: 42px;
    padding: 10px;
    display: grid;
    place-content: center;
    gap: 5px;
    border: 1px solid rgba(184, 189, 183, .7);
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 8px 24px rgba(8, 42, 31, .08);
  }

  .topbar .menuButton span {
    width: 21px;
    height: 2px;
    margin: 0;
    display: block;
    background: var(--brand-ink);
    transition: transform .2s ease, opacity .2s ease;
  }

  .topbar .menuButton[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .topbar .menuButton[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .topbar .menuButton[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 700px) {
  .topbar {
    width: calc(100% - 32px);
    height: 64px;
  }

  .topbar .brand {
    gap: 10px;
  }

  .topbar .brand img {
    width: 92px;
  }

  .topbar .brand span {
    padding-left: 10px;
    font-size: 12px;
  }

  .topbar nav {
    top: 64px;
  }
}

/* Shared production-style footer for AI Studio and Copilot. */
.siteFooter {
  width: 100%;
  box-sizing: border-box;
  padding: 0 max(50px, calc((100vw - 1180px) / 2));
  border: 0;
  background: #fff;
  color: #071d25;
}

.siteFooter .footerTop {
  min-height: 104px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 44px;
}

.siteFooter .footerBrand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #071d25;
  text-decoration: none;
  white-space: nowrap;
}

.siteFooter .footerBrand span {
  padding-left: 12px;
  border-left: 1px solid #d9ddda;
  font-size: 13px;
  font-weight: 700;
}

.siteFooter .footerPages {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 27px;
  font-size: 12px;
}

.siteFooter .footerPages a,
.siteFooter .footerCopyright,
.siteFooter .recaptchaNotice,
.siteFooter .recaptchaNotice a {
  color: #7b8480;
}

.siteFooter .footerPages a,
.siteFooter .recaptchaNotice a {
  text-decoration: none;
}

.siteFooter .footerPages a:hover,
.siteFooter .footerPages a:focus-visible,
.siteFooter .recaptchaNotice a:hover {
  color: #079447;
}

.siteFooter .footerCopyright {
  font-size: 12px;
  white-space: nowrap;
}

.siteFooter .footerConnections {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 18px 44px;
  border: 0;
}

.siteFooter .footerGroup {
  display: flex;
  align-items: center;
  gap: 10px;
}

.siteFooter .footerGroup strong {
  margin-right: 2px;
  font-size: 11px;
}

.siteFooter .footerGroup a {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.siteFooter .footerGroup img {
  width: 20px;
  height: 20px;
  display: block;
}

.siteFooter .appsGroup {
  margin-left: auto;
}

.siteFooter .recaptchaNotice {
  margin: 0;
  padding: 16px 0 20px;
  border: 0;
  text-align: center;
  font-size: 10px;
  line-height: 1.5;
}

@media (max-width: 1040px) {
  .siteFooter .footerTop {
    grid-template-columns: auto 1fr;
    gap: 22px 32px;
    padding-block: 28px;
  }

  .siteFooter .footerPages {
    justify-content: flex-end;
  }

  .siteFooter .footerCopyright {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .siteFooter {
    padding-inline: 20px;
  }

  .siteFooter .footerTop {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }

  .siteFooter .footerPages {
    justify-content: flex-start;
    gap: 14px 22px;
  }

  .siteFooter .footerCopyright {
    grid-column: auto;
  }

  .siteFooter .footerConnections {
    padding-block: 8px 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .siteFooter .footerGroup {
    max-width: 100%;
    flex-wrap: wrap;
  }

  .siteFooter .appsGroup {
    margin-left: 0;
  }
}
