/* ==========================================================================
   LOCAL TOKENS
   All color, spacing, radius and type tokens now live in tokens.css
   (linked before this file). Only page-layout values that aren't part of
   that shared library stay here, plus a couple of placeholder-only values
   that exist purely to stand in for real content and shouldn't be
   promoted into the permanent design system.
   ========================================================================== */
:root {
  --container-width: 1200px;
  --nav-height: 69px;

  /* Not a design token — a neutral fill for the temporary .img-placeholder
     boxes only. Lightest step of Core Neutral; remove once real images
     are wired in. */
  --color-placeholder: var(--color-core-neutral-100);
}

/* ==========================================================================
   RESET / BASE
   ========================================================================== */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* Self-hosted to match tokens.css's --font-body: "Inter Variable" — Google
   Fonts only ever serves this family as plain "Inter", which wouldn't match
   the token name and would silently fall back to the generic sans-serif.
   Two subsets: latin covers standard copy, latin-ext covers the accented
   characters in the footer's German/Romanian addresses (e.g. "Straße"). */
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Plus Jakarta Sans is not variable upstream, so it's 3 static weights x
   2 subsets (6 files) rather than 1 file per subset like Inter above. */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("fonts/plus-jakarta-sans-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("fonts/plus-jakarta-sans-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("fonts/plus-jakarta-sans-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-surface);
}

img {
  max-width: 100%;
  display: block;
}

/* Stand-in for every real image/mockup. Sized to match Figma exactly,
   swap for the real asset (img/picture/svg) when it's ready. */
.img-placeholder {
  background: var(--color-placeholder);
  border-radius: 8px;
  width: 100%;
  flex-shrink: 0;
}

button {
  font: inherit;
  cursor: pointer;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ==========================================================================
   SECTION: Navigation
   ========================================================================== */
.navbar {
  position: relative;
  width: 100%;
  background: var(--color-surface);
}

.navbar__inner {
  max-width: var(--container-width);
  height: var(--nav-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px 0 0;
}

.navbar__logo img {
  height: 26px;
  width: auto;
}

/* Hamburger: hidden on desktop, shown below the mobile breakpoint. */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.navbar__hamburger:hover {
  background: var(--color-core-neutral-50);
}

.navbar__hamburger span {
  width: 20px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Morphs into an X when the drawer is open. */
.navbar__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.navbar__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* On desktop this wrapper is invisible to layout — its children (the
   links nav + actions) flow directly into .navbar__inner's row exactly
   as if the wrapper weren't there. Only below the breakpoint does it
   become an actual drawer element (see the media query near the bottom
   of this file). */
.navbar__drawer {
  display: contents;
}

/* Mobile-only "Back" button inside each mega-menu panel, for the
   drill-down pattern (tap a category -> its content replaces the list,
   Back returns to it). Irrelevant on desktop, where panels float as
   normal dropdowns. */
.navbar__panel-back {
  display: none;
}

.navbar__links {
  flex: 1 0 0;
  display: flex;
  align-items: center;
  height: 100%;
  margin-left: 40px;
  background: none;
  border: none;
}

.navbar__item {
  position: relative;
  height: 100%;
}

.navbar__link {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  padding: 0 12px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text);
  white-space: nowrap;
}

.navbar__link--dropdown[aria-expanded="true"] {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.navbar__link--dropdown[aria-expanded="true"] .chevron {
  background-color: var(--color-primary);
  transform: rotate(180deg);
}

.chevron {
  width: 8px;
  height: 4px;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease;
  background-color: var(--color-text-muted);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8 4"><path d="M0 0L4 4L8 0" stroke="black" stroke-width="1.2" fill="none"/></svg>') no-repeat center / contain;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8 4"><path d="M0 0L4 4L8 0" stroke="black" stroke-width="1.2" fill="none"/></svg>') no-repeat center / contain;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
}

.navbar__lang {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 0 12px;
  background: none;
  border: none;
}

.icon-globe {
  width: 16px;
  height: 16px;
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.navbar__login {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 12px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--color-text);
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 52px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.308px;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

/* Visible on keyboard focus only — mouse/touch activation doesn't need
   the ring. Same treatment for both variants so focus is predictable
   regardless of which button you land on. */
.btn:focus-visible {
  outline: 2px solid var(--color-core-700);
  outline-offset: 2px;
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* --- Primary: solid core-700 fill --- */
.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

.btn--primary:hover {
  background: var(--color-primary-hover);
}

.btn--primary:active {
  background: var(--color-primary-active);
}

/* --- Secondary: outline on white, fills subtly on interaction --- */
.btn--secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--secondary:hover {
  background: var(--color-primary-subtle);
  border-color: var(--color-primary-hover);
}

.btn--secondary:active {
  background: var(--color-core-200);
  border-color: var(--color-primary-active);
  color: var(--color-primary-active);
}

.btn--large {
  padding: 12px 24px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.672px;
}

.icon-chevron-right {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6 3l5 5-5 5" stroke="black" stroke-width="1.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center / contain;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6 3l5 5-5 5" stroke="black" stroke-width="1.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center / contain;
}

.icon-arrow-up-right {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-color: var(--color-core-700);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 12L12 4M12 4H5M12 4V11" stroke="black" stroke-width="1.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center / contain;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 12L12 4M12 4H5M12 4V11" stroke="black" stroke-width="1.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center / contain;
}

/* ==========================================================================
   SECTION: Navigation — Mega Menu (Platform / Solutions)
   Shared panel shell, plus two column-content variants: Platform's
   icon + colored-dot columns, and Solutions' plain label columns.
   ========================================================================== */
.navbar__panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 24px 48px -12px rgba(31, 1, 57, 0.16);
  z-index: 40;
}

.navbar__panel--open {
  display: block;
}

.navbar__panel-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 40px 40px 48px;
  display: flex;
  gap: 56px;
}

.navbar__panel-col {
  flex: 1;
  min-width: 0;
}

/* --- Platform variant: dot + heading, icon + label rows --- */
.navbar__panel-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-core-neutral-100);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.352px;
  color: var(--color-core-neutral-800);
  white-space: nowrap;
}

.navbar__panel-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
}

.navbar__panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.navbar__panel-list a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px;
  margin: 0 -8px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: -0.308px;
  color: var(--color-core-neutral-600);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.navbar__panel-list a:hover {
  background: var(--color-primary-subtle);
  color: var(--color-primary);
}

/* Real icon set (from Figma) — fill/stroke="currentColor" so each icon
   just inherits the link's text color, including on hover, with no
   separate color rule needed. */
.navbar__panel-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Nested submenu — "How to Install?" / "Compare" style parents with a
   set of child links indented underneath, visually distinct as a group. */
.navbar__panel-sublist {
  list-style: none;
  margin: 4px 0 4px 12px;
  padding: 0 0 0 18px;
  border-left: 1px solid var(--color-core-neutral-100);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.navbar__panel-sublist a {
  padding: 6px 8px;
  margin: 0 -8px;
  font-size: 13px;
  color: var(--color-core-neutral-500);
}

.navbar__panel-badge {
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0;
  white-space: nowrap;
}

/* --- Solutions variant: uppercase label heading, plain text rows --- */
.navbar__panel-inner--solutions {
  gap: 64px;
}

.navbar__panel-heading--label {
  justify-content: space-between;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--color-text-subtle);
}

.navbar__panel-heading--label .icon-chevron-right {
  width: 12px;
  height: 12px;
  background-color: var(--color-text-subtle);
}

.navbar__panel-list--plain a {
  padding: 10px 8px;
  color: var(--color-text);
  font-size: 14px;
}

.navbar__panel-list--plain a:hover {
  color: var(--color-primary);
}

/* --- Language switcher: compact, right-aligned under its own trigger
   (not the mega-menu panels' full-navbar positioning) --- */
.navbar__panel--lang {
  left: auto;
  right: 0;
  width: auto;
  min-width: 180px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: 0 16px 32px -8px rgba(31, 1, 57, 0.16);
}

.navbar__panel-inner--lang {
  padding: 8px;
  display: block;
}

.navbar__lang-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar__lang-option {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-core-neutral-600);
}

.navbar__lang-option:hover {
  background: var(--color-primary-subtle);
  color: var(--color-primary);
}

.navbar__lang-option--active {
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  font-weight: 600;
}

/* ==========================================================================
   Responsive navigation — hamburger + drill-down drawer below 900px.
   Above 900px, .navbar__drawer's display:contents keeps this whole block
   inert (its selectors only take effect once the media query is active).
   ========================================================================== */
@media (max-width: 900px) {
  .navbar__links,
  .navbar__login {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  .navbar__inner {
    padding-right: 20px;
  }

  /* The drawer becomes a real element: a full-width panel hanging off
     the bottom of the 69px header, scrollable if content runs long. */
  .navbar__drawer {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 16px 32px -8px rgba(31, 1, 57, 0.16);
    flex-direction: column;
  }

  .navbar--menu-open .navbar__drawer {
    display: flex;
  }

  .navbar__links {
    display: flex;
    flex-direction: column;
    height: auto;
    width: 100%;
    margin-left: 0;
  }

  .navbar__item {
    height: auto;
    width: 100%;
  }

  .navbar__link {
    height: auto;
    width: 100%;
    padding: 16px 20px;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-core-neutral-100);
  }

  .navbar__link--dropdown[aria-expanded="true"] {
    border-bottom-color: var(--color-core-neutral-100);
  }

  .navbar__actions {
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 20px;
  }

  .navbar__actions .navbar__item {
    width: auto;
  }

  .navbar__login {
    display: flex;
    justify-content: center;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
  }

  .navbar__actions .btn--primary {
    justify-content: center;
    width: 100%;
  }

  .navbar__lang {
    width: 100%;
    justify-content: space-between;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
  }

  /* Mega-menu panels: drop the floating-dropdown treatment and become a
     full-width screen that swaps in for the list (drill-down pattern).
     They're DOM siblings of .navbar__inner, not children of the drawer
     above, so they need their own scroll container — body scroll is
     locked while the drawer/panel is open (see the JS), so without this
     a long panel (e.g. Resources) would have no way to scroll at all. */
  .navbar__panel {
    position: static;
    width: 100%;
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
    box-shadow: none;
    border-top: none;
  }

  .navbar__panel--lang {
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .navbar__panel-inner,
  .navbar__panel-inner--platform,
  .navbar__panel-inner--solutions {
    flex-direction: column;
    gap: 24px;
    padding: 12px 20px 20px;
    max-width: none;
  }

  .navbar__panel-back {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: 16px 20px;
    background: none;
    border: none;
    border-bottom: 1px solid var(--color-core-neutral-100);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    color: var(--color-core-neutral-600);
    cursor: pointer;
  }

  .navbar__panel-back .icon-chevron-right {
    transform: rotate(180deg);
    background-color: var(--color-core-neutral-600);
  }

  /* While a panel is drilled into, hide the top-level list/actions so
     only the panel (with its Back button) fills the drawer. */
  .navbar--drilled .navbar__links,
  .navbar--drilled .navbar__actions {
    display: none;
  }
}

/* ==========================================================================
   SECTION: Hero
   ========================================================================== */
.hero {
  padding: 40px 0 0;
  text-align: center;
}

.hero__container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 0 20px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--color-core-50);
  border-radius: 100px;
  padding: 6px 12px 6px 6px;
}

.pill__tag {
  background: var(--color-core-700);
  color: var(--color-text-inverse);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.308px;
  padding: 6px 8px;
  border-radius: 50px;
}

.pill__text {
  color: var(--color-core-700);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.308px;
  padding: 0 4px 0 8px;
}

.hero__heading {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -1.664px;
  color: var(--color-core-700);
}

.hero__subhead {
  margin: 0;
  max-width: 712px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.48px;
  color: var(--color-core-neutral-800);
}

.hero__ctas {
  display: flex;
  gap: 12px;
}

.hero__ratings {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 0 0;
}

.rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.308px;
}

.rating__star {
  /* No amber/gold in the current token set — leaving literal until there's
     a --color-rating or similar semantic to hang this off. */
  color: #ffb800;
}

.rating__number {
  color: var(--color-text);
}

.rating__label {
  color: var(--color-core-neutral-500);
}

.rating__logo {
  display: inline-flex;
  align-items: center;
  margin-left: 2px;
}

.rating__logo svg {
  height: 14px;
  width: auto;
  display: block;
}

.rating__divider {
  width: 1px;
  height: 28px;
  background: var(--color-border);
}

.hero__mockup {
  max-width: var(--container-width);
  margin: 60px auto 0;
  padding: 0 20px 24px;
}

.hero__mockup img {
  width: 100%;
  height: auto;
}

/* ==========================================================================
   SECTION: Trio (3-column copy grid, e.g. Diagnose/Know/Move)
   ========================================================================== */
.trio {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 28px 20px;
  display: flex;
}

.trio__col {
  flex: 1;
  min-width: 0;
  padding: 0 32px;
  text-align: center;
  border-left: 1px solid var(--color-border);
}

.trio__col:first-child {
  border-left: none;
}

.trio__col h3 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.48px;
  color: var(--color-core-neutral-800);
}

.trio__col p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.672px;
  color: var(--color-core-neutral-500);
}

/* ==========================================================================
   SECTION: Stages
   ========================================================================== */
.stages {
  background: var(--color-core-neutral-50);
  padding: 52px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stages__heading {
  max-width: var(--container-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.stages__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -1.44px;
  background: linear-gradient(157deg, var(--color-core-950) 0%, #8e238b 53%, #c04363 74%, #e55728 89%, var(--color-accent-default) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stages__subhead {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.48px;
  color: var(--color-core-neutral-800);
}

/* Sticky while its containing .stage-sections wrapper (tab bar + the 4
   stage sections) is in view; scrolls away normally once you pass Act. */
.stages__tabs {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  justify-content: center;
  background: var(--color-core-neutral-50);
}

.stages__tabs-inner {
  display: flex;
  border-bottom: 1px solid var(--color-core-neutral-200);
}

.stages__tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.48px;
  color: var(--color-core-neutral-800);
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.stages__tab:hover {
  color: var(--color-core-700);
}

.stages__tab:focus-visible {
  outline: 2px solid var(--color-core-700);
  outline-offset: -4px;
}

.stages__tab--active {
  background: var(--color-core-neutral-100);
  color: var(--color-core-700);
  border-bottom: 1px solid var(--color-core-700);
}

.stage-sections__spacer {
  height: 52px;
  background: var(--color-core-neutral-50);
}

/* Anchor targets for the tab bar — offsets the jump so the section
   heading lands clear of the sticky bar instead of tucked under it. */
.observe {
  scroll-margin-top: var(--stage-tab-offset, 64px);
}

.icon-rings {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid var(--color-core-neutral-500);
  flex-shrink: 0;
}

.icon-rings--active {
  border-color: var(--color-core-700);
}

/* ==========================================================================
   SECTION: Observe (heading + accordion + mockup)
   ========================================================================== */
.observe {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 52px 20px;
}

.eyebrow {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.48px;
  color: var(--color-core-700);
  text-align: center;
}

.observe__title {
  margin: 0 0 76px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -1.12px;
  color: var(--color-core-neutral-800);
  text-align: center;
}

.observe__title strong {
  font-weight: 700;
}

.observe__row {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.accordion {
  flex: 1;
  min-width: 0;
}

.accordion__item {
  transition: background-color 0.3s ease;
}

.accordion__bar {
  height: 2px;
  background: var(--color-core-neutral-100);
  position: relative;
  overflow: hidden;
}

.accordion__bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--color-core-700);
}

/* Runs only while its item is the open/"playing" one. Removing the
   --open class (manual click or auto-advance) drops this rule from
   matching, so the fill reverts to width: 0 above instantly — no
   separate JS reset needed. */
.accordion__item--open .accordion__bar-fill {
  animation: accordion-progress 5s linear forwards;
}

/* Paused while the user is hovering the accordion, or while its section
   is scrolled out of view (toggled via JS). A paused CSS animation also
   withholds its animationend event, which is what the autoplay JS
   listens for — so this pauses the advance timing too, not just the
   visual fill. */
.accordion[data-autoplay-paused] .accordion__item--open .accordion__bar-fill {
  animation-play-state: paused;
}

@keyframes accordion-progress {
  from { width: 0%; }
  to { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .accordion__bar-fill {
    animation: none !important;
    width: 100%;
  }
}

.accordion__item--open,
.accordion__item:hover {
  background: var(--color-core-neutral-50);
}

.accordion__head {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 24px 16px 24px 24px;
  background: none;
  border: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.accordion__head--link {
  text-decoration: none;
}

.accordion__head h3 {
  flex: 1;
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.672px;
  color: var(--color-core-neutral-500);
  transition: color 0.2s ease;
}

.accordion__item--open .accordion__head h3,
.accordion__head--link h3 {
  color: var(--color-core-700);
}

.accordion__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s ease-in-out;
}

.accordion__item--open .accordion__panel {
  max-height: 240px;
}

.accordion__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 40px 24px 24px;
}

.accordion__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.672px;
  color: var(--color-core-neutral-600);
}

.accordion__link {
  margin: 0;
  padding: 0 40px 20px 24px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 16px;
  letter-spacing: -0.672px;
  color: var(--color-core-700);
}

.accordion__link .icon-arrow-up-right {
  margin-left: 4px;
  flex-shrink: 0;
}

.caret {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background-color: var(--color-core-neutral-500);
  transform: rotate(0deg);
  transition: transform 0.3s ease-in-out, background-color 0.3s ease;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6 9l6 6 6-6" stroke="black" stroke-width="1.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center / contain;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6 9l6 6 6-6" stroke="black" stroke-width="1.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center / contain;
}

.accordion__item--open .caret {
  background-color: var(--color-core-700);
  transform: rotate(180deg);
}

.observe__mockup {
  flex: 1;
  min-width: 0;
  position: relative;
}

/* One image per accordion item — only the one matching the currently
   open item shows, kept in sync by JS. */
.observe__mockup-img {
  display: none;
}

.observe__mockup-img--active {
  display: block;
}

.observe__ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

/* ==========================================================================
   SECTION: Proof Stats
   Sits between Analyze and Understand. Arrow colors are new to the
   palette — green/red aren't in tokens.css (core/core-neutral/accent are
   purple+orange only) — flagging as candidates for real semantic tokens
   (e.g. --color-positive / --color-negative) if this pattern repeats.
   ========================================================================== */
.proof-stats {
  padding: 40px 20px;
}

.proof-stats__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  border-top: 1px solid var(--color-core-neutral-100);
  border-bottom: 1px solid var(--color-core-neutral-100);
  padding: 40px 0;
}

.proof-stats__item {
  flex: 1;
  min-width: 0;
  padding: 0 32px;
  border-left: 1px solid var(--color-core-neutral-100);
}

.proof-stats__item:first-child {
  padding-left: 0;
  border-left: none;
}

.proof-stats__item:last-child {
  padding-right: 0;
}

.proof-stats__value {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 40px;
  letter-spacing: -0.02em;
  color: var(--color-core-neutral-800);
}

.proof-stats__arrow {
  font-size: 28px;
  line-height: 1;
}

.proof-stats__value--up .proof-stats__arrow {
  color: #1FA855;
}

.proof-stats__value--down .proof-stats__arrow {
  color: #E2542A;
}

.proof-stats__value--instant .proof-stats__arrow {
  color: var(--color-primary);
}

.proof-stats__label {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.396px;
  color: var(--color-core-neutral-800);
}

.proof-stats__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: -0.308px;
  color: var(--color-core-neutral-500);
}

.proof-stats__text a {
  color: var(--color-primary);
  text-decoration: none;
}

.proof-stats__text a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

/* ==========================================================================
   SECTION: Trusted by Industry Leaders
   ========================================================================== */
.leaders {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 52px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

.leaders__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -1.12px;
  color: var(--color-core-neutral-800);
  text-align: center;
}

.leaders__row {
  display: flex;
  gap: 16px;
  width: 100%;
}

.leaders__card {
  position: relative;
  flex: 1;
}

.leaders__img {
  aspect-ratio: 328/218;
  border-radius: 16px;
}

.leaders__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-core-neutral-600);
}

/* ==========================================================================
   SECTION: Built for the way you actually work
   ========================================================================== */
.workflow {
  background: var(--color-core-neutral-50);
  padding: 52px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.workflow__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -1.44px;
  text-align: center;
  background: linear-gradient(139deg, var(--color-core-950) 12%, #8e238b 43%, #c04363 55%, #e55728 63%, var(--color-accent-default) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.workflow__tabs {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
}

.workflow__tab {
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px dashed var(--color-core-neutral-300);
  background: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.672px;
  color: var(--color-core-neutral-500);
}

.workflow__tab--active {
  border: 1px solid var(--color-core-300);
  background: var(--color-core-50);
  color: var(--color-core-700);
}

.workflow__tab {
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.workflow__tab--dashed:hover {
  color: var(--color-core-700);
  border-color: var(--color-core-neutral-400);
}

.workflow__tab:focus-visible {
  outline: 2px solid var(--color-core-700);
  outline-offset: 2px;
}

.workflow__mockup {
  position: relative;
  max-width: var(--container-width);
  width: 100%;
  margin-top: 40px;
}

/* One team-group per tab; only the active team's group of 3 shows. */
.workflow__mockup-team {
  display: none;
}

.workflow__mockup-team--active {
  display: block;
}

/* Within a team-group, stacked placeholder states — only the active one
   is shown. The on-image counter is a preview aid so it's obvious which
   of the 3 is live; drop it (and the other 2 states) once real images
   replace these. */
.workflow__mockup-img {
  display: none;
  position: relative;
}

.workflow__mockup-img--active {
  display: block;
}

.workflow__mockup-count {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 40px;
  letter-spacing: -0.02em;
  color: var(--color-core-neutral-300);
}

/* One team-group per tab; only the active team's 3 cards show. */
.workflow__cards-team {
  display: none;
  width: 100%;
}

.workflow__cards-team--active {
  display: block;
}

.workflow__cards {
  max-width: var(--container-width);
  width: 100%;
  margin: 0 auto;
  display: flex;
  /* Sits flush against .workflow__mockup above — no gap between them. */
  margin-top: 0;
}

.workflow__card {
  flex: 1;
  padding: 32px 24px;
  border-top: 2px solid var(--color-core-neutral-100);
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.workflow__card:hover {
  background: var(--color-core-neutral-100);
}

.workflow__card:focus-visible {
  outline: 2px solid var(--color-core-700);
  outline-offset: -2px;
}

.workflow__card--active {
  border-top: 2px solid var(--color-core-700);
}

.workflow__card-title {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.672px;
  color: var(--color-core-700);
}

.workflow__card p {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.672px;
  color: var(--color-core-neutral-600);
}

.workflow__card a {
  color: var(--color-core-700);
  font-weight: 600;
}

.icon-arrow-right {
  width: 10px;
  height: 10px;
  background-color: currentColor;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 10"><path d="M1 5h8M5 1l4 4-4 4" stroke="black" stroke-width="1.3" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center / contain;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 10"><path d="M1 5h8M5 1l4 4-4 4" stroke="black" stroke-width="1.3" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center / contain;
}

/* ==========================================================================
   SECTION: Backed by Thousands (reviews)
   ========================================================================== */
.reviews {
  width: 100%;
  padding: 52px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.reviews .leaders__title {
  padding: 0 20px;
}

.reviews__track {
  width: 100%;
  overflow: hidden;
}

.reviews__marquee {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: reviews-scroll 70s linear infinite;
}

.reviews__track:hover .reviews__marquee {
  animation-play-state: paused;
}

.reviews__track--reverse .reviews__marquee {
  animation-direction: reverse;
}

@keyframes reviews-scroll {
  from { transform: translateX(0); }
  /* Exactly half the track's width, since the card set is duplicated
     once — the loop point lines up seamlessly with no visible jump. */
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .reviews__marquee {
    animation: none;
  }
}

.review-card {
  background: var(--color-core-neutral-50);
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  gap: 24px;
  align-items: center;
  /* Sized for ~4 visible at once on a typical desktop viewport — wider
     screens will naturally reveal a bit more of the next card in line. */
  width: 380px;
  flex-shrink: 0;
}

.review-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
}

.review-card__stars {
  color: #ffb800;
  font-size: 13px;
  letter-spacing: 2px;
}

.review-card__body h4 {
  margin: 4px 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.396px;
  color: var(--color-core-700);
}

.review-card__body p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: -0.264px;
  color: var(--color-core-neutral-800);
}

/* ==========================================================================
   SECTION: FAQ
   ========================================================================== */
.faq {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 52px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

.faq__list {
  width: 100%;
}

.faq__item {
  border-top: 1px solid var(--color-core-neutral-100);
}

.faq__item--last {
  border-bottom: 1px solid var(--color-core-neutral-100);
}

.faq__item--open {
  border-top: none;
  background: var(--color-core-neutral-50);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 24px 16px 24px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.48px;
  color: var(--color-core-700);
}

.faq__question--dim {
  color: var(--color-core-neutral-500);
}

.faq__item--open .caret {
  background-color: var(--color-core-700);
  transform: rotate(180deg);
}

.faq__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.faq__item--open .faq__answer {
  max-height: 240px;
}

.faq__answer-text {
  margin: 0;
  padding: 0 40px 24px 24px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.352px;
  color: var(--color-core-neutral-600);
}

/* ==========================================================================
   SECTION: Newsletter Banner
   Verified against Figma (node 778:10954) — #4d0396 and #6b02d5 are the
   actual intended values, not approximations; they simply sit outside
   the core scale's own steps.
   ========================================================================== */
.newsletter {
  background: #4d0396;
}

.newsletter__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.newsletter__left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.newsletter__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #6b02d5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-envelope {
  width: 22px;
  height: 22px;
  background-color: var(--color-text-inverse);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 5h18v14H3z" stroke="black" stroke-width="1.6" fill="none" stroke-linejoin="round"/><path d="M3 6l9 7 9-7" stroke="black" stroke-width="1.6" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center / contain;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 5h18v14H3z" stroke="black" stroke-width="1.6" fill="none" stroke-linejoin="round"/><path d="M3 6l9 7 9-7" stroke="black" stroke-width="1.6" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center / contain;
}

.newsletter__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  letter-spacing: -0.352px;
  color: var(--color-text-inverse);
}

.newsletter__text strong {
  font-size: 20px;
  font-weight: 600;
}

.newsletter__form {
  display: flex;
  gap: 12px;
}

.newsletter__input {
  width: 300px;
  padding: 12px 24px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text);
}

.newsletter__input::placeholder {
  color: var(--color-text-subtle);
}

.newsletter__submit {
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  background: var(--color-accent-default);
  color: var(--color-text-inverse);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
}

/* ==========================================================================
   SECTION: Footer
   ========================================================================== */
.footer {
  background: var(--color-core-700);
  /* 60px top — exact Figma value (974:16867), not the --space-16 (64px)
     rounding used elsewhere for scale consistency. */
  padding: 60px var(--space-5) var(--space-10);
}

.footer__top {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  /* 68px — exact Figma value (974:16727), not the --space-16 (64px)
     rounding used elsewhere for scale consistency. */
  gap: 68px;
  flex-wrap: wrap;
}

.footer__brand {
  flex: 1 1 450px;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.footer__cta-row {
  display: flex;
  gap: var(--space-3);
}

/* Both footer buttons sit on the core-700 background, so a core-700
   focus ring (the default .btn:focus-visible) would nearly disappear —
   use the light inverse color for focus visibility here instead. */
.footer .btn:focus-visible {
  outline-color: var(--color-text-inverse);
}

.footer__btn-white {
  background: var(--color-surface);
  color: var(--color-core-700);
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-body-sm-size);
}

.footer__btn-white:hover {
  background: var(--color-core-neutral-50);
}

.footer__btn-white:active {
  background: var(--color-core-neutral-100);
}

.footer__btn-outline {
  /* #aa74ff — confirmed via Figma (node 974:16867) as the real intended
     value, used verbatim rather than swapped for --color-core-300. */
  background: transparent;
  border: 1px solid #aa74ff;
  color: var(--color-text-inverse);
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-body-sm-size);
}

.footer__btn-outline:hover {
  background: color-mix(in srgb, var(--color-text-inverse) 12%, transparent);
  border-color: var(--color-text-inverse);
}

.footer__btn-outline:active {
  background: color-mix(in srgb, var(--color-text-inverse) 20%, transparent);
  border-color: var(--color-text-inverse);
}

.footer__btn-white .icon-chevron-right,
.footer__btn-outline .icon-chevron-right {
  width: 16px;
  height: 16px;
}

.footer__affiliate-title {
  margin: 0 0 var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-body-lg-size);
  line-height: var(--text-body-lg-line-height);
  letter-spacing: var(--text-body-lg-tracking);
  color: var(--color-text-inverse);
}

.footer__affiliate-title .icon-arrow-right {
  color: var(--color-text-inverse);
}

.footer__affiliate-text {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  letter-spacing: var(--text-body-tracking);
  color: var(--color-text-inverse);
}

.footer__sep {
  border: none;
  border-top: 1px solid rgba(250, 249, 252, 0.2); /* fallback if color-mix() is unsupported */
  border-top: 1px solid color-mix(in srgb, var(--color-text-inverse) 20%, transparent);
  margin: 0;
  width: 100%;
}

.footer__addresses {
  display: flex;
  gap: var(--space-6);
}

.footer__addresses > div {
  flex: 1;
}

.footer__addr-title {
  margin: 0 0 var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-body-lg-size);
  line-height: var(--text-body-lg-line-height);
  letter-spacing: var(--text-body-lg-tracking);
  color: var(--color-text-inverse);
}

.footer__addr-text {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  letter-spacing: var(--text-body-tracking);
  color: var(--color-text-inverse);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  width: 158px;
  flex-shrink: 0;
}

.footer__col-title {
  margin: 0 0 var(--space-1);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  letter-spacing: var(--text-body-tracking);
  /* #aa74ff — confirmed via Figma (node 974:16867). */
  color: #aa74ff;
}

.footer__col a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  letter-spacing: var(--text-body-tracking);
  color: var(--color-text-inverse);
}

.footer__sep--full {
  max-width: var(--container-width);
  margin: var(--space-8) auto;
}

.footer__bottom {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.footer__copyright {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  letter-spacing: var(--text-body-tracking);
  color: var(--color-text-inverse);
}

.footer__social {
  display: flex;
  gap: var(--space-6);
}

.footer__social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--space-6);
  height: var(--space-6);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-primary);
  flex-shrink: 0;
}

.footer__social-icon svg {
  width: 14px;
  height: 14px;
}
