/* Base styles + header tokens from Figma */

:root {
  /* Colors */
  --color-text-title: #131313;
  /* Darkened for WCAG AA (~4.5:1) with white / light backgrounds */
  --color-brand: #057a44;
  --color-brand-dark: #046b3b;
  --color-brand-shadow: rgba(5, 122, 68, 0.2);
  --cta-grid:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 48px 48px;
  --color-btn-secondary-bg: #ededed;
  --color-icon-stroke: #121217;
  --color-white: #ffffff;
  --color-text: #1a1a1a;
  --color-body-text: #6b6a6a;
  --color-text-muted: #5c5c5c;
  --color-bg: #ffffff;
  --color-bg-muted: rgba(237, 237, 237, 1);
  --color-border: #e2e8e4;

  /* Typography — Body/Text-sm (nav) */
  --text-sm-size: 14px;
  --text-sm-line: 1.4;
  --text-sm-weight: 400;

  /* Typography — button label */
  --btn-font-family: "Inter", system-ui, sans-serif;
  --btn-font-size: 14px;
  --btn-font-weight: 600;
  --btn-line-height: 1.5;

  /* Button shell (Small) */
  --btn-radius: 6px;
  --btn-padding-y: 8px;
  --btn-padding-x: 12px;
  --btn-gap: 8px;
  --btn-shadow-primary: 0 0 20px 4px var(--color-brand-shadow);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container-pad: clamp(1rem, 3vw, 2.5rem);
  --container-width: none;
  --radius: 0.5rem;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  --header-bar-radius: 9999px;
  --header-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);

  /* Footer */
  --color-footer-bg: #121212;
  --color-footer-body-light: rgba(255, 255, 255, 0.7);
  --color-footer-white: #ffffff;
  --footer-radius: 1.5rem;
  --text-xs-size: 12px;
  --text-xs-line: 18px;
  --footer-heading-size: 16px;
  --footer-heading-line: 24px;

  /* Keyboard focus ring (PageSpeed / WCAG) */
  --focus-ring-color: var(--color-brand);
  --focus-ring-offset: 2px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 20px;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg-muted);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-brand);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  padding-inline: var(--container-pad);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  z-index: 1000;
  background: var(--color-brand);
  color: #fff;
}

.skip-link:focus {
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  left: 1rem;
  top: 1rem;
  padding: 0.5rem 1rem;
  white-space: normal;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Visible focus for keyboard users; mouse clicks stay clean */
:where(
  a,
  button,
  input,
  select,
  textarea,
  summary,
  [tabindex]:not([tabindex="-1"])
):focus-visible {
  outline: 2px solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
}

.btn--primary:focus-visible,
.btn--white:focus-visible,
.stats__ask:focus-visible {
  outline-color: #fff;
}

.site-header__toggle:focus-visible,
.site-nav__link:focus-visible {
  outline-offset: 3px;
}

.site-nav__submenu a:focus-visible {
  color: var(--color-brand);
  background: var(--color-bg-muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html.is-nav-open {
  overflow: hidden;
}

/* Header */

.site-header {
  position: sticky;
  top: 20px;
  z-index: 100;
  padding: 0;
  background: transparent;
}

.site-header__inner {
  width: 100%;
  max-width: var(--container-width);
  padding-inline: var(--container-pad);
  margin-inline: auto;
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
  padding: 0.875rem 1.5rem 0.875rem 1.75rem;
  background: var(--color-white);
  border-radius: var(--header-bar-radius);
  box-shadow: var(--header-shadow);
}

.site-logo {
  flex-shrink: 0;
  text-decoration: none;
}

.site-logo img {
  height: 2.25rem;
  width: auto;
}

.site-header__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: var(--btn-radius);
  background: transparent;
  color: var(--color-brand);
  cursor: pointer;
}

.site-header__toggle-icon--close {
  display: none;
}

.site-header.is-nav-open .site-header__toggle-icon--open {
  display: none;
}

.site-header.is-nav-open .site-header__toggle-icon--close {
  display: block;
}

.btn__label--mobile {
  display: none;
}

.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.site-nav__list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__item {
  position: relative;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-sans);
  font-size: var(--text-sm-size);
  font-weight: var(--text-sm-weight);
  line-height: var(--text-sm-line);
  color: var(--color-text-title);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.site-nav__link:hover {
  color: var(--color-brand);
}

.site-nav__chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.site-nav__item--open .site-nav__chevron {
  transform: rotate(180deg);
}

.site-nav__item--open > .site-nav__link {
  color: var(--color-brand);
}

.site-nav__submenu {
  display: none;
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 0;
  z-index: 110;
  min-width: 12rem;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--btn-radius);
  box-shadow: var(--shadow);
}

.site-nav__item--open .site-nav__submenu {
  display: block;
}

.site-nav__submenu a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: var(--text-sm-size);
  font-weight: var(--text-sm-weight);
  line-height: var(--text-sm-line);
  color: var(--color-text-title);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav__submenu a:hover {
  color: var(--color-brand);
  background: var(--color-bg-muted);
}

.site-header__actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.5rem;
}

/* Hero / homepage section styles live in home.css */

/* Footer */

.site-footer {
  padding: 0;
}

.site-footer__panel {
  padding: 2.5rem 2.5rem 1.75rem;
  background: var(--color-footer-bg);
  border-radius: var(--footer-radius);
  color: var(--color-footer-body-light);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(16rem, 1fr) minmax(0, 1fr);
  column-gap: 2rem;
  row-gap: 2rem;
  align-items: start;
}

.site-footer__links {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  column-gap: 3rem;
  row-gap: 2rem;
  align-items: start;
  justify-content: start; /* start of right half ≈ page center */
  min-width: 0;
}

.site-footer__logo {
  display: inline-block;
  text-decoration: none;
}

.site-footer__logo img {
  width: 140px;
  height: 56px;
}

.site-footer__tagline {
  margin: 1rem 0 0;
  /* ~2 lines for “Private-company financial intelligence for better decisions.” */
  max-width: 20rem;
  font-size: var(--text-sm-size);
  font-weight: var(--text-sm-weight);
  line-height: var(--text-sm-line);
  color: var(--color-footer-body-light);
}

.site-footer__social {
  display: flex;
  gap: 0.65rem;
  margin: 1rem 0 0;
}

.site-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-footer-white);
  text-decoration: none;
}

.site-footer__social-link:hover,
.site-footer__social-link:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  color: var(--color-footer-white);
}

.site-footer__heading {
  margin: 0 0 1rem;
  font-size: var(--footer-heading-size);
  font-weight: 600;
  line-height: var(--footer-heading-line);
  letter-spacing: 0;
  text-transform: uppercase;
  color: #6ee7a8;
}

.site-footer__toggle {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  text-transform: inherit;
  cursor: pointer;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.site-footer__icon,
.site-footer__chevron {
  display: none;
}

.site-footer__toggle-label {
  display: block;
}

.site-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__list li + li {
  margin-top: 0.75rem;
}

.site-footer__list a {
  font-size: var(--text-sm-size);
  font-weight: var(--text-sm-weight);
  line-height: var(--text-sm-line);
  color: var(--color-footer-body-light);
  text-decoration: none;
}

.site-footer__list a:hover {
  color: var(--color-footer-white);
}

.site-footer__list--contact,
.site-footer__list--contact a {
  color: var(--color-footer-white);
  font-size: var(--text-sm-size);
  font-weight: var(--text-sm-weight);
  line-height: var(--text-sm-line);
}

.site-footer__col--contact {
  justify-self: start;
  min-width: 0;
  max-width: 100%;
}

.site-footer__list--contact li {
  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.site-footer__list--contact a:hover {
  color: var(--color-brand);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__copyright {
  margin: 0;
  font-size: var(--text-xs-size);
  font-weight: 400;
  line-height: var(--text-xs-line);
  color: var(--color-footer-body-light);
}

.site-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
}

.site-footer__legal-links a {
  font-size: var(--text-xs-size);
  font-weight: 400;
  line-height: var(--text-xs-line);
  color: var(--color-footer-body-light);
  text-decoration: none;
}

.site-footer__legal-links a:hover {
  color: var(--color-footer-white);
}

@media (max-width: 48rem) {
  .site-footer {
    padding: 0;
  }

  .site-footer__panel {
    padding: 1.25rem 1.25rem 1rem;
    border-radius: var(--footer-radius, 1.5rem);
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    row-gap: 1rem;
  }

  .site-footer__links {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 0;
    width: 100%;
    justify-content: stretch;
    text-align: left;
  }

  .site-footer.is-accordion .site-footer__links {
    margin-top: 0.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-footer.is-accordion .site-footer__col {
    grid-column: 1 / -1;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-footer.is-accordion .site-footer__col:last-child {
    border-bottom: 0;
  }

  .site-footer.is-accordion .site-footer__heading {
    margin: 0;
    text-transform: none;
    color: #fff;
  }

  .site-footer.is-accordion .site-footer__toggle {
    min-height: 48px;
    gap: 0.75rem;
    padding: 0.7rem 0;
  }

  .site-footer.is-accordion .site-footer__icon,
  .site-footer.is-accordion .site-footer__chevron {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
  }

  .site-footer.is-accordion .site-footer__icon {
    width: 20px;
    height: 20px;
    color: #22c55e;
  }

  .site-footer.is-accordion .site-footer__toggle-label {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: #fff;
  }

  .site-footer.is-accordion .site-footer__chevron {
    width: 16px;
    height: 16px;
    color: rgba(255, 255, 255, 0.85);
    transition: transform 0.18s ease;
  }

  .site-footer.is-accordion .site-footer__col.is-open .site-footer__chevron {
    transform: rotate(180deg);
  }

  .site-footer.is-accordion .site-footer__list {
    display: none !important;
    padding: 0 0 0.85rem 2.05rem;
  }

  .site-footer.is-accordion .site-footer__col.is-open .site-footer__list {
    display: block !important;
  }

  .site-footer.is-accordion .site-footer__list--contact {
    padding-left: 0;
    text-align: left;
  }

  .site-footer.is-accordion .site-footer__list--contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    text-align: left;
  }

  .site-footer.is-accordion .site-footer__list--contact li::before {
    content: "";
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    background-color: #fff;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
  }

  .site-footer.is-accordion .site-footer__list--contact li:nth-child(1)::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 21s7-6.2 7-11.2A7 7 0 1 0 5 9.8C5 14.8 12 21 12 21z' stroke='black' stroke-width='1.8'/%3E%3Ccircle cx='12' cy='9.8' r='2.2' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 21s7-6.2 7-11.2A7 7 0 1 0 5 9.8C5 14.8 12 21 12 21z' stroke='black' stroke-width='1.8'/%3E%3Ccircle cx='12' cy='9.8' r='2.2' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E");
  }

  .site-footer.is-accordion .site-footer__list--contact li:nth-child(2)::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6.5 3.8h3.2l1.2 3-2 1.2a12.5 12.5 0 0 0 6.1 6.1l1.2-2 3 1.2v3.2c0 .7-.6 1.3-1.3 1.3C9.7 17.8 6.2 14.3 6.2 5.1c0-.7.6-1.3 1.3-1.3z' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6.5 3.8h3.2l1.2 3-2 1.2a12.5 12.5 0 0 0 6.1 6.1l1.2-2 3 1.2v3.2c0 .7-.6 1.3-1.3 1.3C9.7 17.8 6.2 14.3 6.2 5.1c0-.7.6-1.3 1.3-1.3z' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");
  }

  .site-footer.is-accordion .site-footer__list--contact li:nth-child(3)::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='3.5' y='5.5' width='17' height='13' rx='2' stroke='black' stroke-width='1.8'/%3E%3Cpath d='m4.5 7.2 7.5 5.5 7.5-5.5' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='3.5' y='5.5' width='17' height='13' rx='2' stroke='black' stroke-width='1.8'/%3E%3Cpath d='m4.5 7.2 7.5 5.5 7.5-5.5' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  }

  .site-footer__brand {
    grid-column: 1 / -1;
    text-align: center;
  }

  .site-footer__logo img {
    margin-inline: auto;
  }

  .site-footer__tagline {
    width: 100%;
    max-width: 326px;
    margin: 0.5rem auto 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
  }

  .site-footer__social {
    width: 100%;
    margin-top: 0.5rem;
    justify-content: flex-start;
  }

  .site-footer__heading {
    margin-bottom: 0.5rem;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    text-transform: uppercase;
    color: rgba(6, 147, 82, 1);
    text-align: left;
  }

  .site-footer__list li + li {
    margin-top: 0.4rem;
  }

  .site-footer__list,
  .site-footer__list a {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.7);
  }

  .site-footer__list a:hover {
    color: rgba(255, 255, 255, 1);
  }

  .site-footer__list--contact,
  .site-footer__list--contact a {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(255, 255, 255, 1);
  }

  .site-footer__col--contact {
    grid-column: 1 / -1;
    min-width: 0;
    max-width: none;
    width: 100%;
    margin-inline: 0;
    justify-self: stretch;
    text-align: left;
  }

  .site-footer__copyright,
  .site-footer__legal-links a {
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    color: rgba(255, 255, 255, 0.7);
  }

  .site-footer__legal-links a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0.75rem 0;
  }

  .site-footer__legal-links a:hover {
    color: rgba(255, 255, 255, 1);
  }

  .site-footer__legal {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    margin-top: 1rem;
    padding-top: 0.65rem;
  }

  .site-footer__copyright {
    text-align: left;
  }

  .site-footer__legal-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
  }
}

/*
  Full horizontal nav needs ~1280px (logo + 7 links + CTAs).
  Keep the hamburger until then so Blog / Sign In / Trial never overlap.
*/
@media (min-width: 80rem) and (max-width: 89.99rem) {
  .site-header__bar {
    gap: 0.75rem;
    padding: 0.75rem 1.15rem 0.75rem 1.25rem;
  }

  .site-nav__list {
    gap: 0.85rem;
  }

  .site-nav__link {
    font-size: 0.8125rem;
  }

  .site-header__actions {
    gap: 0.375rem;
  }

  .site-header__actions .btn {
    padding-inline: 0.65rem;
    font-size: 0.8125rem;
  }
}

@media (max-width: 79.99rem) {
  .site-header__toggle {
    display: inline-flex;
  }

  .btn__label--desktop {
    display: none;
  }

  .btn__label--mobile {
    display: inline;
  }

  .site-nav,
  .site-header__actions {
    display: none;
  }

  .site-header.is-nav-open {
    z-index: 200;
  }

  .site-header.is-nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(18, 18, 23, 0.45);
  }

  .site-header.is-nav-open .site-header__inner {
    width: min(100% - 1.5rem, 28rem);
    margin-inline: auto;
  }

  .site-header.is-nav-open .site-header__bar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0;
    min-height: 0;
    padding: 1rem 1.25rem 1.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  }

  .site-header.is-nav-open .site-logo {
    grid-column: 1;
    grid-row: 1;
  }

  .site-header.is-nav-open .site-header__toggle {
    grid-column: 2;
    grid-row: 1;
    margin-left: 0;
  }

  .site-header.is-nav-open .site-nav,
  .site-header.is-nav-open .site-header__actions {
    display: flex;
    width: 100%;
    grid-column: 1 / -1;
  }

  .site-header.is-nav-open .site-nav {
    order: unset;
    flex-direction: column;
    justify-content: flex-start;
    margin-top: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e8e8e8;
  }

  .site-header.is-nav-open .site-header__actions {
    order: unset;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e8e8e8;
  }

  .site-header.is-nav-open .site-header__actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 2.75rem;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    width: 100%;
  }

  .site-nav__link {
    width: 100%;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
  }

  .site-nav__chevron {
    color: var(--color-icon-stroke);
  }

  .site-nav__item--open > .site-nav__link,
  .site-nav__item--open .site-nav__chevron {
    color: var(--color-brand);
  }

  .site-nav__submenu {
    position: static;
    min-width: 0;
    width: 100%;
    margin: 0.875rem 0 0;
    padding: 0 0 0 0.25rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav__submenu li + li {
    margin-top: 0.875rem;
  }

  .site-nav__submenu a {
    padding: 0;
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--color-text-title);
    background: transparent;
  }

  .site-nav__submenu a:hover {
    background: transparent;
    color: var(--color-brand);
  }
}

/* Buttons, cards, tabs — component styles */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--btn-gap);
  padding: var(--btn-padding-y) var(--btn-padding-x);
  border: 1px solid transparent;
  border-radius: var(--btn-radius);
  font-family: var(--btn-font-family);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  line-height: var(--btn-line-height);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary {
  background: var(--color-brand);
  color: var(--color-white);
  box-shadow: var(--btn-shadow-primary);
}

.btn--primary:hover {
  background: var(--color-brand-dark);
  color: var(--color-white);
}

.btn--primary .btn__icon {
  flex-shrink: 0;
}

.btn--secondary {
  background: var(--color-btn-secondary-bg);
  color: var(--color-brand);
}

.btn--secondary:hover {
  background: #e2e2e2;
  color: var(--color-brand-dark);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn--ghost:hover {
  background: var(--color-bg-muted);
}

.btn--lg {
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.btn--lg .btn__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn--white {
  background: #fff;
  color: var(--color-text-title);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  box-shadow: none;
}

.btn--white .btn__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  color: var(--color-brand);
}

.btn--white .btn__icon svg {
  display: block;
  width: 14.67px;
  height: 12px;
}

.btn--white:hover {
  background: #f3f3f3;
  color: var(--color-text-title);
}

.btn--white:hover .btn__icon {
  color: var(--color-brand-dark);
}

.btn--outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(236, 236, 236, 0.24);
  backdrop-filter: blur(60px);
  -webkit-backdrop-filter: blur(60px);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(236, 236, 236, 0.36);
  color: #fff;
}

/* Shot frame (screenshot / product preview chrome) */

.shot-frame {
  min-width: 0;
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(236, 236, 236, 1);
  border-radius: 20px;
  background: rgba(244, 246, 245, 1);
  box-shadow: 0 20px 45px 0 rgba(0, 0, 0, 0.06);
}

.shot-frame__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  vertical-align: top;
}

/* Text link (Figma: buttons/link) */

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--color-brand);
  text-decoration: none;
}

.text-link__arrow {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  padding: 3px 2px;
  box-sizing: border-box;
}

.text-link__arrow svg {
  display: block;
  width: 11px;
  height: 10px;
}

.text-link:hover {
  text-decoration: underline;
}

/* Section lead (Figma: Body / Text-base) */

.section-lead {
  margin: 0;
  max-width: 531px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--color-body-text);
}

.section-lead strong {
  font-weight: 600;
  color: var(--color-text-title);
}

.section-lead--center {
  max-width: 713px;
  margin-inline: auto;
  text-align: center;
}

/* Section title (Figma: Headings / Text-3xl + brand accent) */

.section-title {
  margin: 0 0 1rem;
  max-width: 757px;
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 2.5vw, 36px);
  font-weight: 600;
  line-height: 1.111; /* 40 / 36 */
  letter-spacing: -0.06em;
  color: var(--color-text-title);
}

.section-title__accent {
  color: var(--color-brand);
}

.section-title--center {
  max-width: 712px;
  margin-inline: auto;
  text-align: center;
}

/* Section badge (Figma: green pill label) */

.section-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 1rem;
  padding: 4px 10px;
  border: 1px solid rgba(5, 122, 68, 0.22);
  border-radius: 30px;
  background: rgba(5, 122, 68, 0.08);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-brand);
}

.section-badge--dot::before {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-brand);
}

.section-badge--dot {
  padding: 8px 16px;
  font-size: var(--text-sm-size);
  font-weight: var(--text-sm-weight);
  line-height: var(--text-sm-line);
  text-transform: none;
  color: var(--color-text-title);
  flex-wrap: nowrap;
  white-space: nowrap;
}

.section-badge--dot span {
  color: var(--color-brand);
}

.section-badge--on-brand {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.35);
  font-family: var(--font-sans); /* Typhography/Font family/Body */
  font-size: 14px;
  font-weight: 700;
  font-style: normal;
  line-height: 20px;
  letter-spacing: 0;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
}

/* Cards */

.card-grid {
  display: grid;
  gap: 1.5rem;
}

.card {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
}

.card__link {
  font-weight: 600;
  text-decoration: none;
}

.card__link:hover {
  text-decoration: underline;
}

/* Tabs */

.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tabs__tab {
  padding: 0.625rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  font: inherit;
  cursor: pointer;
}

.tabs__tab.is-active {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: #fff;
}

.tabs__panel {
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.tabs__panel:not(.is-active) {
  display: none;
}

@media (min-width: 48rem) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* AI Insights — Max mock (forest/sage) */

body.ai-page #main {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding-inline: var(--container-pad);
}

@media (max-width: 39.99rem) {
  body.ai-page {
    overflow-x: clip;
    padding: 12px;
  }

  body.ai-page #main,
  body.ai-page .container,
  body.ai-page .site-header__inner {
    padding-inline: 0;
  }
}

.ai-btn-outline {
  border: 1.5px solid #0f4a38;
  color: #0f4a38;
  background: #fff;
}

.ai-btn-outline:hover {
  background: #f3f8f4;
  color: #0b3d2e;
  border-color: #0b3d2e;
}

.ai-btn-mint {
  border: 1.5px solid #cfe8d6;
  color: #0f4a38;
  background: #eaf5ec;
}

.ai-btn-mint:hover {
  background: #dff0e3;
  color: #0b3d2e;
  border-color: #b7dcc2;
}

/* —— Hero —— */
.ai-hero {
  padding: 0;
}

.ai-hero__layout {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-hero__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3rem);
  background: #fff;
  border-radius: 1.5rem;
}

.ai-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 46rem;
}

.ai-hero__copy > .section-badge {
  margin-bottom: 1rem;
}

.ai-hero__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.06em;
  color: var(--color-text-title);
}

.ai-hero__lead {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--color-body-text);
}

.ai-hero__stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  margin: 0 0 1.65rem;
  padding: 0;
  list-style: none;
  width: 100%;
}

.ai-hero__stats-row li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  min-width: 0;
}

.ai-hero__stats-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 999px;
  background: #eaf5ec;
  color: #0f4a38;
  flex-shrink: 0;
}

.ai-hero__stats-icon svg {
  display: block;
  width: 2.3rem;
  height: 2.3rem;
}

.ai-hero__stats-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.ai-hero__stats-value {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text-title);
}

.ai-hero__stats-label {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-text-muted);
}

.ai-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ai-hero__trust {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 1rem 0 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.ai-hero__trust-icon {
  display: inline-flex;
  color: #0f4a38;
}

.ai-hero__media {
  min-width: 0;
  display: flex;
}

.ai-hero__stage {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  width: 100%;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border-radius: 1.5rem;
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(110, 231, 168, 0.22), transparent 55%),
    linear-gradient(160deg, #0b3d2e 0%, #0f4a38 55%, #057a44 100%);
  color: #fff;
}

.ai-hero__stage-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ai-hero__stage-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.1rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  animation: ai-rise 0.55s ease both;
}

.ai-hero__stage-item:nth-child(2) { animation-delay: 0.08s; }
.ai-hero__stage-item:nth-child(3) { animation-delay: 0.16s; }

.ai-hero__stage-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: #0b3d2e;
  flex-shrink: 0;
}

.ai-hero__stage-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.ai-hero__stage-copy strong {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ai-hero__stage-copy span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.78);
}

.ai-hero__stage-note {
  margin: 0.25rem 0 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
}

@keyframes ai-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 47.99rem) {
  .ai-hero__copy {
    align-items: center;
    text-align: center;
    max-width: none;
  }

  .ai-hero__stats-row {
    grid-template-columns: 1fr;
    justify-items: start;
    text-align: left;
  }

  .ai-hero__stats-row li {
    justify-content: flex-start;
  }

  .ai-hero__cta {
    flex-direction: column;
    width: 100%;
  }

  .ai-hero__cta .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 64rem) {
  .ai-hero__layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 12px;
  }
}

/* —— How Max works —— */
.ai-how {
  padding: 0;
}

.ai-how__panel {
  padding: clamp(1.75rem, 3vw, 2.75rem) clamp(1.25rem, 3vw, 2.5rem);
  background: #fff;
  border-radius: 1.5rem;
}

.ai-how__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
  color: #0f4a38;
}

.ai-how__lead {
  margin: 0 auto 2rem;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  color: var(--color-body-text);
}

.ai-how__grid {
  display: grid;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.ai-how__grid li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  text-align: center;
}

.ai-how__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 999px;
  background: #eaf5ec;
  color: #0f4a38;
}

.ai-how__icon svg {
  width: 2.65rem;
  height: 2.65rem;
}

.ai-how__name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f4a38;
}

.ai-how__text {
  margin: 0;
  max-width: 16.5rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--color-body-text);
}

.ai-how__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: #eaf5ec;
  color: #0f4a38;
  font-size: 0.9rem;
  font-weight: 700;
}

@media (min-width: 48rem) {
  .ai-how__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 1rem;
  }
}

@media (min-width: 64rem) {
  .ai-how__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }

  .ai-how__grid li {
    padding: 0 1.25rem;
  }

  .ai-how__grid li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 42%;
    right: -0.65rem;
    width: 0.85rem;
    height: 0.85rem;
    transform: translateY(-50%);
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M4 2l4 4-4 4' stroke='%230f4a38' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / contain no-repeat;
  }
}

/* —— Ask Max —— */
.ai-ask {
  padding: 0;
}

.ai-ask__panel {
  padding: clamp(1.75rem, 3vw, 2.75rem) clamp(1.25rem, 3vw, 2.5rem);
  background: #fff;
  border-radius: 1.5rem;
}

.ai-ask__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
  color: #0f4a38;
}

.ai-ask__lead {
  margin: 0 auto 1.75rem;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  color: var(--color-body-text);
}

.ai-ask__grid {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.ai-ask__grid li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.15rem 1.2rem;
  border-radius: 1rem;
  background: #eaf5ec;
  border: 1px solid #d9ebe0;
}

.ai-ask__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  margin-top: 0.05rem;
  color: #0f4a38;
  flex-shrink: 0;
  background: none;
  border-radius: 0;
  font-size: inherit;
  font-weight: inherit;
}

.ai-ask__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ai-ask__q {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--color-text-title);
}

.ai-ask__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  text-align: center;
  color: var(--color-body-text);
}

.ai-ask__note svg {
  flex-shrink: 0;
  color: #0f4a38;
}

@media (min-width: 48rem) {
  .ai-ask__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .ai-ask__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* —— Quotes —— */
.ai-quotes {
  padding: 0;
}

.ai-quotes__panel {
  padding: clamp(1.75rem, 3vw, 2.75rem) clamp(1.25rem, 3vw, 2.5rem);
  background: #f3f6f4;
  border-radius: 1.5rem;
}

.ai-quotes__title {
  margin: 0 0 1.75rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--color-text-title);
}

.ai-quotes__grid {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai-quotes__grid li {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  padding: 1.6rem 1.55rem 1.4rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid #e4ebe6;
}

.ai-quotes__mark {
  display: block;
  width: 1.75rem;
  height: 1.4rem;
  color: #0f4a38;
  line-height: 0;
}

.ai-quotes__mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ai-quotes__text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--color-body-text);
}

.ai-quotes__person {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
}

.ai-quotes__avatar-wrap {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #eaf5ec;
}

.ai-quotes__avatar {
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  max-height: none;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.ai-quotes__meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.ai-quotes__meta strong {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-text-title);
}

.ai-quotes__meta span {
  font-size: 0.875rem;
  line-height: 1.3;
  color: var(--color-text-muted);
}

@media (min-width: 56rem) {
  .ai-quotes__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

/* —— CTA band —— */
.ai-cta-band {
  padding: 0;
}

.ai-cta-band__panel {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.35rem, 3vw, 2.25rem);
  border-radius: 1.25rem;
  background: #f3f6f4;
}

.ai-cta-band__left {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-width: 0;
}

.ai-cta-band__lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: #0f4a38;
  color: #fff;
  flex-shrink: 0;
}

.ai-cta-band__copy {
  min-width: 0;
}

.ai-cta-band__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--color-text-title);
}

.ai-cta-band__lead {
  margin: 0;
  max-width: 34rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--color-body-text);
}

.ai-cta-band__divider {
  display: none;
}

.ai-cta-band__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.ai-cta-band__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ai-cta-band__note {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
  color: var(--color-text-muted);
}

.ai-cta-band__note svg {
  flex-shrink: 0;
  color: #8a9790;
}

@media (min-width: 64rem) {
  .ai-cta-band__panel {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .ai-cta-band__left {
    flex: 1 1 auto;
    align-items: center;
  }

  .ai-cta-band__actions {
    flex: 0 0 auto;
    align-items: center;
  }

  .ai-cta-band__note {
    justify-content: center;
  }
}

@media (max-width: 39.99rem) {
  .ai-cta-band__buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .ai-cta-band__buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .ai-cta-band__actions {
    align-items: stretch;
  }

  .ai-cta-band__note {
    justify-content: center;
  }
}
