/* =====================================================================
   Nori — Landing Page
   Front-end implementation of Reference Document/nori-landing-page-DESIGN-SPEC.md
   Vanilla CSS. No build step, no external dependencies, no CDN fonts.
   ===================================================================== */

/* ---------------------------------------------------------------------
   0. Fonts — self-hosted (data sovereignty: no third-party font CDN)
   --------------------------------------------------------------------- */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./fonts/outfit-600.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/outfit-700.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/plexsans-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./fonts/plexsans-500.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/plexmono-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./fonts/plexmono-500.woff2") format("woff2");
}

/* ---------------------------------------------------------------------
   1. Design tokens — §4 Colour, §5 Typography, §6 Space/shape
   --------------------------------------------------------------------- */
:root {
  /* dark theme (default) */
  --void: #07070b;
  --panel: #0c1518;
  --panel-2: #0f1d21;
  --raise: rgba(255, 255, 255, 0.03);
  --line: rgba(25, 194, 221, 0.16);
  --line-soft: rgba(255, 255, 255, 0.08);
  --ink: #eaf6f7;
  --muted: #8fa9ae;
  --dim: #7b989d;
  --cyan: #19c2dd;
  --green: #08f598;
  --accent: #19c2dd;
  --pos: #08f598;
  /* fill gradient: identical in both themes (buttons, chips, ribbons, seals) */
  --gradient: linear-gradient(115deg, #19c2dd 0%, #08f598 100%);
  /* text-clip gradient: theme-dependent, only for gradient-clipped text (AA safe) */
  --gradient-text: linear-gradient(115deg, #19c2dd 0%, #08f598 100%);
  --on-gradient: #04231f;
  --purple: #af70e3;
  --purple-deep: #522987;
  --purple-wash: rgba(82, 41, 135, 0.16);
  --purple-line: rgba(175, 112, 227, 0.26);
  --glow: rgba(8, 245, 152, 0.22);
  --shadow-color: rgba(0, 0, 0, 0.45);
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.35);

  /* console (own colour set, must stay legible in both themes) */
  --code-bg: #0a1417;
  --code-bar: #0d191d;
  --code-line: rgba(255, 255, 255, 0.08);
  --code-ink: #e6f4f5;
  --code-key: #19c2dd;
  --code-str: #08f598;
  --code-comment: #6a8c92;
  --code-fn: #b79bff;
  --code-punct: #4e6b70;

  /* fonts */
  --font-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  /* space / shape */
  --page-max: 1560px;
  --gutter: clamp(20px, 5vw, 80px);
  --section-pad: 84px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 14px;
  --r-xl: 16px;
  --r-pill: 20px;

  --motion-fast: 250ms;
  --motion-med: 350ms;
  --motion-slow: 600ms;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

:root[data-theme="light"] {
  --void: #f3f8f8;
  --panel: #ffffff;
  --panel-2: #eaf3f4;
  --raise: rgba(8, 60, 70, 0.035);
  --line: rgba(14, 120, 140, 0.2);
  --line-soft: rgba(10, 45, 52, 0.11);
  --ink: #07191c;
  --muted: #456369;
  --dim: #547278;
  --accent: #0b7e95;
  --pos: #04884f;
  /* --gradient stays the vivid brand gradient in every theme — only fill-safe.
     --gradient-text is the AA-safe swap used exclusively for text-clipping. */
  --gradient-text: linear-gradient(115deg, #0c9cb8 0%, #04a768 100%);
  --on-gradient: #04231f;
  --purple: #6b33a8;
  --purple-deep: #522987;
  --purple-wash: rgba(175, 112, 227, 0.1);
  --purple-line: rgba(107, 51, 168, 0.22);
  --glow: rgba(6, 160, 120, 0.2);
  --shadow-color: rgba(20, 50, 60, 0.14);
  --shadow: 0 24px 60px rgba(10, 50, 60, 0.13);
  --shadow-sm: 0 8px 24px rgba(10, 50, 60, 0.1);

  --code-bg: #ffffff;
  --code-bar: #f1f7f8;
  --code-line: rgba(10, 45, 52, 0.12);
  --code-ink: #0a1f24;
  --code-key: #0a7189;
  --code-str: #04794a;
  --code-comment: #547278;
  --code-fn: #6b3fb5;
  --code-punct: #6e8b91;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --void: #f3f8f8;
    --panel: #ffffff;
    --panel-2: #eaf3f4;
    --raise: rgba(8, 60, 70, 0.035);
    --line: rgba(14, 120, 140, 0.2);
    --line-soft: rgba(10, 45, 52, 0.11);
    --ink: #07191c;
    --muted: #456369;
    --dim: #547278;
    --accent: #0b7e95;
    --pos: #04884f;
    --gradient-text: linear-gradient(115deg, #0c9cb8 0%, #04a768 100%);
    --on-gradient: #04231f;
    --purple-wash: rgba(175, 112, 227, 0.1);
    --purple-line: rgba(107, 51, 168, 0.22);
    --glow: rgba(6, 160, 120, 0.2);
    --shadow-color: rgba(20, 50, 60, 0.14);
    --shadow: 0 24px 60px rgba(10, 50, 60, 0.13);
    --shadow-sm: 0 8px 24px rgba(10, 50, 60, 0.1);
    --code-bg: #ffffff;
    --code-bar: #f1f7f8;
    --code-line: rgba(10, 45, 52, 0.12);
    --code-ink: #0a1f24;
    --code-key: #0a7189;
    --code-str: #04794a;
    --code-comment: #547278;
    --code-fn: #6b3fb5;
    --code-punct: #6e8b91;
  }
}

/* ---------------------------------------------------------------------
   2. Reset & base
   --------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  transition: background var(--motion-med) var(--ease), color var(--motion-med) var(--ease);
  overflow-x: hidden;
}
img,
svg {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font-family: inherit;
  color: inherit;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}
h3 {
  font-size: 19px;
  letter-spacing: -0.01em;
}
h4 {
  font-size: 16px;
}
p {
  margin: 0;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hidden {
  display: none !important;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

h1 {
  font-size: clamp(33px, 3.5vw, 49px);
}
h2 {
  font-size: clamp(26px, 3.4vw, 40px);
}
.lede {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--muted);
  max-width: 64ch;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}
.mono {
  font-family: var(--font-mono);
}

/* Signature left rail — fixed gradient spine (§ reference) */
.rail {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient);
  z-index: 70;
}

.container {
  width: 70%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}
@media (max-width: 1280px) { .container { width: 80%; } }
@media (max-width: 1080px) { .container { width: 86%; } }
@media (max-width: 680px) { .container { width: 92%; } }

.section {
  padding: var(--section-pad) 0;
  position: relative;
}
/* First section of a panel is tighter; later ones separate with a hairline rule */
.tabpanel > .section:first-child {
  padding-top: 64px;
}
.tabpanel > .section + .section {
  border-top: 1px solid var(--line-soft);
}
#connect {
  border-top: 1px solid var(--line-soft);
  padding: 88px 0;
}
/* Ambient colour fields — purple for Forteam/community surfaces, cyan for contact */
#marketplace-buy,
#marketplace-sell,
#last-mile,
#connect {
  overflow: hidden;
}
#marketplace-buy::before,
#marketplace-sell::before,
#last-mile::before {
  content: "";
  position: absolute;
  top: -260px;
  right: -190px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, var(--purple-wash) 0%, transparent 62%);
  pointer-events: none;
  z-index: 0;
}
#connect::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(25, 194, 221, 0.12) 0%, transparent 66%);
  pointer-events: none;
  z-index: 0;
}
#marketplace-buy > .container,
#marketplace-sell > .container,
#last-mile > .container,
#connect > .container {
  position: relative;
  z-index: 1;
}
.section__head {
  max-width: 72ch;
  margin-bottom: 44px;
}
.section__head h2 {
  margin-bottom: 14px;
}
.section__intro {
  margin-top: 14px;
  color: var(--muted);
  max-width: 72ch;
}

.grid {
  display: grid;
  gap: 20px;
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* entrance animation */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--motion-slow) var(--ease), transform var(--motion-slow) var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------------------------------------------------------------------
   3. Buttons — §8.1
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  padding: 13px 22px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: transform var(--motion-fast) var(--ease), box-shadow var(--motion-fast) var(--ease),
    background var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--gradient);
  color: var(--on-gradient);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--glow);
}
.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover {
  border-color: var(--accent);
  background: var(--raise);
}
.btn--small {
  padding: 9px 16px;
  font-size: 14px;
}
.btn--block {
  width: 100%;
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
}

/* ---------------------------------------------------------------------
   4. Navigation — §8.13
   --------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease),
    backdrop-filter var(--motion-fast) var(--ease);
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--void) 78%, transparent);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 70px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}
.nav__logo-img {
  height: 25px;
  width: 124px;
  display: block;
  flex: none;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}
.nav__link {
  font-size: 14px;
  padding: 6px 2px;
  border-radius: var(--r-sm);
  text-decoration: none;
  color: var(--muted);
  transition: color var(--motion-fast) var(--ease), background var(--motion-fast) var(--ease);
}
.nav__link:hover {
  color: var(--ink);
  background: var(--raise);
}
.nav__tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: border-color var(--motion-fast) var(--ease), background var(--motion-fast) var(--ease);
}
.icon-btn:hover {
  border-color: var(--accent);
  background: var(--raise);
}
.icon-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-btn .icon-moon {
  display: none;
}
:root[data-theme="light"] .icon-btn .icon-sun {
  display: none;
}
:root[data-theme="light"] .icon-btn .icon-moon {
  display: block;
}
.lang-select {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line-soft);
  color: var(--ink);
  border-radius: var(--r-sm);
  padding: 8px 28px 8px 12px;
  font-size: 13px;
  font-family: var(--font-mono);
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%);
  background-position: calc(100% - 14px) 55%, calc(100% - 9px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.nav__account {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__account-name {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav__burger {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.nav__burger svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px var(--gutter) 20px;
  background: var(--void);
  border-bottom: 1px solid var(--line-soft);
}
.nav__mobile.is-open {
  display: flex;
}
.nav__mobile .nav__link {
  color: var(--ink);
  padding: 12px;
}

/* ---------------------------------------------------------------------
   5. Hero + console — §3, §8.4
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 132px 0 76px;
  overflow: hidden;
}
.hero__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.55;
}
.hero__blob--a {
  width: 820px;
  height: 820px;
  top: -360px;
  left: -240px;
  background: radial-gradient(circle, rgba(25, 194, 221, 0.2) 0%, transparent 62%);
  animation: drift-a 22s ease-in-out infinite alternate;
}
.hero__blob--b {
  width: 860px;
  height: 860px;
  bottom: -430px;
  right: -260px;
  background: radial-gradient(circle, rgba(8, 245, 152, 0.15) 0%, transparent 62%);
  animation: drift-b 26s ease-in-out infinite alternate;
}
:root[data-theme="light"] .hero__blob--a {
  background: radial-gradient(circle, rgba(25, 194, 221, 0.3) 0%, transparent 64%);
}
:root[data-theme="light"] .hero__blob--b {
  background: radial-gradient(circle, rgba(8, 245, 152, 0.24) 0%, transparent 64%);
}
/* Masked dot grid behind the hero copy */
.hero__dots {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: radial-gradient(circle, var(--line-soft) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 78%);
}
@keyframes drift-a {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(60px, 40px);
  }
}
@keyframes drift-b {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-50px, -30px);
  }
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 54px;
  align-items: center;
}
.hero__copy h1 {
  margin-bottom: 20px;
}
.hero__copy h1 strong {
  font-weight: 600;
}
.hero__copy h1 .grad {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lede {
  margin-bottom: 28px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}
.hero__note {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__note .dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pos);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pos) 25%, transparent);
}

.console {
  background: var(--code-bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.console__bar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border-bottom: 1px solid var(--code-line);
  background: var(--code-bar);
}
.console__dots {
  display: flex;
  gap: 6px;
}
.console__dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--code-line);
}
.console__dots span:first-child {
  background: var(--pos);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pos) 20%, transparent);
}
.console__tabs {
  display: flex;
  gap: 4px;
  margin-right: auto;
}
.console__tab {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--code-comment);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 14px 12px;
  cursor: pointer;
  transition: color var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease);
}
.console__tab:hover {
  color: var(--code-ink);
}
.console__tab.is-active {
  color: var(--code-key);
  border-bottom-color: var(--code-key);
  background: transparent;
}
.console__copy {
  background: transparent;
  border: 1px solid var(--code-line);
  color: var(--code-comment);
  border-radius: 6px;
  padding: 5px 9px;
  font-size: 11.5px;
  font-family: var(--font-mono);
  cursor: pointer;
}
.console__copy:hover {
  color: var(--code-ink);
  border-color: var(--code-key);
}
.console__body {
  height: 326px;
  overflow-y: auto;
  background: var(--code-bg);
}
.console__code {
  margin: 0;
  padding: 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--code-ink);
  white-space: pre;
}
.console__code .ln {
  display: block;
  opacity: 0;
  transform: translateY(2px);
  animation: line-in 260ms ease forwards;
}
@keyframes line-in {
  to {
    opacity: 1;
    transform: none;
  }
}
.tok-key {
  color: var(--code-key);
}
.tok-str {
  color: var(--code-str);
}
.tok-comment {
  color: var(--code-comment);
  font-style: italic;
}
.tok-fn {
  color: var(--code-fn);
}
.tok-punct {
  color: var(--code-punct);
}
.console__picker {
  padding: 14px 18px;
  border-top: 1px solid var(--code-line);
}
.console__picker-label {
  display: block;
  margin-bottom: 4px;
  color: var(--code-comment);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10.5px;
}
.console__blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.chip-block {
  font-family: var(--font-mono);
  font-size: 11.5px;
  border: 1px solid var(--code-line);
  border-radius: var(--r-pill);
  padding: 6px 12px;
  background: transparent;
  color: var(--code-punct);
  cursor: pointer;
  transition: all var(--motion-fast) var(--ease);
}
.chip-block:hover {
  border-color: var(--code-key);
  color: var(--code-ink);
}
.chip-block.is-on {
  background: var(--gradient);
  border-color: transparent;
  color: var(--on-gradient);
  font-weight: 500;
}
.console__readout {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 13px 18px;
  border-top: 1px solid var(--code-line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--code-comment);
}
.readout-item {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
}
.readout-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--code-comment);
}
.readout-value {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--code-str);
  font-weight: 500;
}

/* ---------------------------------------------------------------------
   6. Metrics strip
   --------------------------------------------------------------------- */
.metrics {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.metrics__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.metrics__inner > div {
  padding: 26px 24px;
  border-right: 1px solid var(--line-soft);
}
.metrics__inner > div:last-child {
  border-right: none;
}
.metrics__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 25px;
  margin-bottom: 2px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.metrics__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------------------------------------------------------------------
   7. Tab bar — §8.5
   --------------------------------------------------------------------- */
.tabbar {
  position: sticky;
  top: 70px;
  z-index: 40;
  background: color-mix(in srgb, var(--void) 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  overflow-x: auto;
}
.tabbar__inner {
  display: flex;
  gap: 4px;
  justify-content: center;
}
.tab-btn {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}
.tab-btn__label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  color: var(--muted);
}
.tab-btn__caption {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.tab-btn.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}
.tab-btn.is-active .tab-btn__label {
  color: var(--ink);
}
.tabpanel {
  display: none;
}
.tabpanel.is-active {
  display: block;
}

/* ---------------------------------------------------------------------
   8. Cards — §8.3
   --------------------------------------------------------------------- */
.card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 26px 24px;
  transition: transform var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.card__rule {
  width: 26px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  margin-bottom: 16px;
}
.card--problem .card__rule {
  background: var(--dim);
  opacity: 0.5;
}
.card--problem .eyebrow {
  color: var(--dim);
}
/* Company pricing header is centred in the reference */
#companies-licenses > .container > .section__head {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
#companies-licenses > .container > .section__head .section__intro {
  margin-left: auto;
  margin-right: auto;
}
.card h3 {
  margin-bottom: 9px;
}
.card p {
  color: var(--muted);
  font-size: 14.5px;
}
.card--cat {
  padding: 24px 22px;
}
.card--cat h3 {
  margin-bottom: 5px;
}
.card--cat > p {
  font-size: 13.5px;
}
.card--step {
  border-radius: var(--r-lg);
  padding: 28px 24px;
}
.card--step h3 {
  margin-bottom: 8px;
}
.card__step-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 18px;
}
.card__output {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-soft);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--dim);
}

/* AI panels — §platform.ai (gradient-dot bullet list) */
.ai-panel {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 28px 26px;
  transition: transform var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease),
    box-shadow var(--motion-fast) var(--ease);
}
.ai-panel:hover {
  transform: translateY(-3px);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.ai-panel h3 {
  margin-bottom: 16px;
}
.ai-list {
  display: grid;
  gap: 11px;
}
.ai-list li {
  position: relative;
  padding-left: 19px;
  font-size: 14.5px;
  color: var(--muted);
}
.ai-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient);
}

.tag {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 5px 10px;
}
.tag-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.flow-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}
.flow-chip {
  font-family: var(--font-mono);
  font-size: 11.5px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-pill);
  padding: 6px 12px;
  color: var(--muted);
}
.flow-chip--first {
  background: var(--gradient);
  color: var(--on-gradient);
  border-color: transparent;
}
.flow-arrow {
  color: var(--dim);
}

/* Before & after — two-column comparison cards (not a table) */
.cmp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cmp-col {
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: var(--panel);
  overflow: hidden;
}
.cmp-head {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.cmp-col--nori .cmp-head {
  color: var(--on-gradient);
  background: var(--gradient);
  font-weight: 600;
}
.cmp-col ul {
  display: flex;
  flex-direction: column;
}
.cmp-col li {
  padding: 14px 22px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px;
  color: var(--muted);
  display: flex;
  gap: 11px;
}
.cmp-col li:last-child {
  border-bottom: none;
}
.cmp-col li::before {
  content: "—";
  color: var(--dim);
  flex-shrink: 0;
}
.cmp-col--nori li {
  color: var(--ink);
}
.cmp-col--nori li::before {
  content: "✓";
  color: var(--pos);
  font-weight: 700;
}

/* ---------------------------------------------------------------------
   9. Pricing — §8.6, §8.7
   --------------------------------------------------------------------- */
.pricing-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.pricing-tier {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  transition: transform var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease),
    box-shadow var(--motion-fast) var(--ease);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 28px 24px;
}
.pricing-tier:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.pricing-tier--featured {
  border-color: transparent;
  background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--gradient) border-box;
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
}
.ribbon {
  position: absolute;
  top: -11px;
  left: 24px;
  background: var(--gradient);
  color: var(--on-gradient);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: var(--r-pill);
}
.pricing-tier__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}
.pricing-tier__audience {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dim);
}
.price {
  margin-top: 16px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.price__currency {
  font-size: 15px;
  font-weight: 500;
  transform: translateY(-6px);
  color: var(--muted);
}
.price__figure {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  line-height: 1.15;
}
.price__unit {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--dim);
}
.addon-box {
  margin-top: 14px;
  border: 1px dashed var(--line);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  font-size: 13px;
  color: var(--muted);
}
.pricing-tier__desc {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 14px;
}
.feature-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}
.feature-list li[data-mark="cross"] {
  color: var(--dim);
}
.mark {
  font-family: var(--font-mono);
  font-weight: 700;
  flex: 0 0 auto;
}
.mark--check {
  color: var(--pos);
}
.mark--star {
  color: var(--purple);
}
.mark--cross {
  color: var(--dim);
}
.pricing-tier .btn {
  margin-top: 22px;
}

.scale-strip {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.scale-strip__head {
  padding: 16px 22px;
  background: var(--raise);
  border-bottom: 1px solid var(--line-soft);
}
.scale-strip__head h3 {
  font-size: 16px;
  margin-bottom: 2px;
}
.scale-strip__head p {
  color: var(--muted);
  font-size: 13px;
}
.scale-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.scale-panel {
  padding: 22px;
  text-align: center;
  border-right: 1px solid var(--line-soft);
}
.scale-panel:last-child {
  border-right: none;
}
.scale-panel__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dim);
}
.scale-panel__figure {
  display: block;
  margin-top: 8px;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 27px;
  line-height: 1.1;
}
.scale-panel__figure + .scale-panel__label {
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--muted);
}
.scale-panel--cheap .scale-panel__figure {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------------------------------------------------------------
   10. Comparison tables — §8.8
   --------------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
}
.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 13.5px;
}
.compare-table thead th {
  background: var(--raise);
  font-family: var(--font-display);
  text-align: left;
  padding: 14px 16px;
  font-size: 14.5px;
}
.compare-table thead th:first-child {
  font-family: var(--font-mono);
  color: var(--dim);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 10.5px;
  letter-spacing: 0.12em;
}
.compare-table td,
.compare-table th {
  border-top: 1px solid var(--line-soft);
  padding: 14px 18px;
}
.compare-table td:first-child {
  color: var(--ink);
  font-weight: 500;
  font-size: 13.5px;
  width: 240px;
}
.compare-table td {
  color: var(--muted);
}
.compare-table .row-group td {
  font-family: var(--font-mono);
  text-transform: uppercase;
  color: var(--accent);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  background: var(--raise);
}
.compare-table .m-pos {
  color: var(--pos);
  font-weight: 600;
}
.compare-table .m-neg {
  color: var(--dim);
}

/* ---------------------------------------------------------------------
   11. Callout strip — §8.9
   --------------------------------------------------------------------- */
.callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1px dashed var(--line);
  background: var(--raise);
  border-radius: var(--r-lg);
  padding: 22px 24px;
}
.icon-tile,
.callout__icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--raise);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
/* Inline SVGs default to fill:black / stroke:none — without this rule every
   icon-tile glyph paints as a solid black blob. Matches the site icon system:
   single-line stroke, 1.8px, 24px grid, currentColor. */
.icon-tile svg,
.callout__icon svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Brand marks are solid logotypes, not stroke glyphs. */
.icon-tile--brand svg {
  fill: currentColor;
  stroke: none;
}
.callout__body p {
  color: var(--muted);
  font-size: 14.5px;
  margin-top: 4px;
}
.callout__actions {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------------------------------------------------------------------
   12. Marketplace cards — §8.10
   --------------------------------------------------------------------- */
.marketplace-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.marketplace-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 26px;
  padding-top: 30px;
  overflow: hidden;
}
.marketplace-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
}
.marketplace-card--community::before {
  background: linear-gradient(115deg, var(--purple), var(--purple-deep));
}
.marketplace-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.marketplace-card__badge svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
.marketplace-card--community .marketplace-card__badge {
  color: var(--purple);
}
.marketplace-card h3 {
  margin-top: 12px;
}
.marketplace-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

/* ---------------------------------------------------------------------
   12b. Last-mile handoff — §12 (Forteam voice: purple)
   --------------------------------------------------------------------- */
.handoff {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}
.handoff-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: var(--panel);
  padding: 28px 26px;
}
.handoff-card.ft-side {
  background: var(--purple-wash);
  border-color: var(--purple-line);
}
.handoff-card span {
  display: block;
  margin-bottom: 13px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
}
.handoff-card.ft-side span {
  color: var(--purple);
}
.handoff-card h3 {
  margin-bottom: 9px;
}
.handoff-card p {
  color: var(--muted);
  font-size: 14.5px;
}
.handoff-arrow {
  font-family: var(--font-mono);
  color: var(--purple);
  font-size: 20px;
  text-align: center;
}

/* ---------------------------------------------------------------------
   13. Certification path — §8.11
   --------------------------------------------------------------------- */
.cert-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: start;
}
.cert-view .supplier-cta {
  margin-bottom: 44px;
}
.cert-perks {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}
.perk {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.perk-ic {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--raise);
  border: 1px solid var(--line);
}
.perk-ic svg {
  width: 17px;
  height: 17px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
}
.perk h4 {
  margin-bottom: 3px;
}
.perk p {
  font-size: 13.5px;
  color: var(--muted);
}
.opt-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  color: var(--accent);
  margin-left: 8px;
  vertical-align: middle;
}

.cert-path {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.cert-path__head {
  background: var(--raise);
  padding: 20px 22px;
  border-bottom: 1px solid var(--line-soft);
}
.cert-path__head h3 {
  font-size: 17px;
}
.cert-path__steps {
  padding: 8px 22px 22px;
}
.cert-step {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line-soft);
}
.cert-step:last-child {
  border-bottom: none;
}
.cert-step__num {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: var(--raise);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
}
.cert-step h4 {
  font-size: 14.5px;
  margin-bottom: 2px;
}
.cert-step p {
  color: var(--muted);
  font-size: 13px;
}
.cert-path__footer {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 22px;
  border-top: 1px solid var(--line-soft);
  background: var(--raise);
}
.cert-path__footer .btn {
  margin-left: auto;
}

/* Certification audience toggle (developer / company) */
.cert-toggle {
  display: flex;
  gap: 4px;
  width: fit-content;
  margin: 0 auto 40px;
  padding: 4px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-pill);
  background: var(--raise);
}
.cert-toggle__btn {
  padding: 9px 20px;
  border: none;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--motion-fast) var(--ease), background var(--motion-fast) var(--ease);
}
.cert-toggle__btn:hover {
  color: var(--ink);
}
.cert-toggle__btn.is-active {
  background: var(--gradient);
  color: var(--on-gradient);
  font-weight: 600;
}

/* Distributor license — dedicated marketable card */
.distributor-card {
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
  border-radius: var(--r-lg);
  background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--gradient) border-box;
  box-shadow: var(--shadow-sm);
  padding: 28px 26px;
}
.distributor-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}
.distributor-card h3 {
  margin-bottom: 10px;
}
.distributor-card > p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}
.distributor-card__list {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}
.distributor-card__list li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);
}
.distributor-card__list li::before {
  content: "★";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--accent);
  font-size: 12px;
}
.distributor-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.distributor-card__footer .btn {
  margin-left: auto;
}

/* ---------------------------------------------------------------------
   14. Contact
   --------------------------------------------------------------------- */
.contact__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}
.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.contact-card__head {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--raise);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.contact-card__rows {
  padding: 8px 24px 20px;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}
.contact-row:last-child {
  border-bottom: none;
}
.contact-row__icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}
.contact-row__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dim);
  margin-bottom: 2px;
}
.contact-row__value {
  font-size: 14.5px;
  font-weight: 500;
  word-break: break-word;
  text-decoration: none;
  color: var(--ink);
}
a.contact-row__value:hover {
  color: var(--accent);
}
.contact-card__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 24px 24px;
}

/* ---------------------------------------------------------------------
   14b. Community + newsletter — shared surface across every tab
   --------------------------------------------------------------------- */
#community {
  border-top: 1px solid var(--line-soft);
  padding: 84px 0;
  overflow: hidden;
}
#community::before {
  content: "";
  position: absolute;
  top: -220px;
  left: -180px;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, var(--purple-wash) 0%, transparent 62%);
  pointer-events: none;
  z-index: 0;
}
#community > .container {
  position: relative;
  z-index: 1;
}
.community__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.newsletter {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.newsletter__head {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--raise);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.newsletter__body {
  padding: 20px 24px 22px;
}
.newsletter__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  margin-bottom: 16px;
}
.newsletter .field {
  margin-bottom: 0;
}
.newsletter .field-row {
  margin-bottom: 16px;
}
.newsletter__note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}
.newsletter__success {
  padding: 30px 24px;
}

/* Social channel rows reuse the contact-card shell */
a.community-row {
  text-decoration: none;
  cursor: pointer;
}
.community-row__name {
  display: block;
}
.community-row__desc {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--muted);
}
.community-row__ext {
  margin-left: auto;
  flex: 0 0 auto;
  color: var(--dim);
  transition: transform var(--motion-fast) var(--ease), color var(--motion-fast) var(--ease);
}
.community-row__ext svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}
a.community-row:hover .community-row__name {
  color: var(--accent);
}
a.community-row:hover .community-row__ext {
  color: var(--accent);
  transform: translate(2px, -2px);
}

/* ---------------------------------------------------------------------
   14c. Platform-tab supplier CTA — convert a browsing company into a lead
   --------------------------------------------------------------------- */
.supplier-cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  padding: 56px 44px;
  text-align: center;
}
.supplier-cta::before {
  content: "";
  position: absolute;
  top: -46%;
  left: 50%;
  width: 720px;
  height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--accent) 22%, transparent) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.supplier-cta::after {
  content: "";
  position: absolute;
  bottom: -60%;
  right: -8%;
  width: 620px;
  height: 520px;
  background: radial-gradient(ellipse at center, var(--purple-wash) 0%, transparent 62%);
  pointer-events: none;
  z-index: 0;
}
.supplier-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}
.supplier-cta__badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--raise);
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.supplier-cta h2 {
  margin: 18px 0 14px;
  font-size: clamp(24px, 3.4vw, 34px);
}
.supplier-cta__body {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 60ch;
  margin: 0 auto 28px;
}
.supplier-cta__note {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--dim);
}
.btn--lg {
  padding: 14px 30px;
  font-size: 15.5px;
}
@media (max-width: 680px) {
  .supplier-cta {
    padding: 40px 22px;
  }
}

/* ---------------------------------------------------------------------
   15. Footer — §8.13
   --------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--line-soft);
  padding: 42px 0 34px;
}
.footer__grid {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  align-items: flex-start;
  padding-bottom: 30px;
}
.footer__brand {
  max-width: 280px;
  margin-right: auto;
}
.footer__brand p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13.5px;
  max-width: 32ch;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 9px;
}
.footer__logo-img {
  height: 22px;
  width: 109px;
  display: block;
  flex: none;
}
.footer__forteam-logo {
  height: 15px;
  width: 60px;
  display: inline-block;
  vertical-align: middle;
  opacity: 0.92;
  flex: none;
}
.card--forteam {
  background: var(--purple-wash);
  border-color: var(--purple-line);
}
.footer__col h4 {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--dim);
  font-family: var(--font-mono);
  font-weight: 500;
}
.footer__col ul {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__col a {
  text-decoration: none;
  color: var(--muted);
  font-size: 13.5px;
}
.footer__col a:hover {
  color: var(--ink);
}
.footer__bottom {
  border-top: 1px solid var(--line-soft);
  padding: 22px 0 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: var(--dim);
}
.footer__bottom a {
  text-decoration: none;
  color: var(--dim);
}
.footer__bottom a:hover {
  color: var(--ink);
}
.footer__bottom strong {
  color: var(--purple);
  font-weight: 600;
}

/* ---------------------------------------------------------------------
   16. Modals — §8.12
   --------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(3, 8, 10, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--motion-med) var(--ease);
}
.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.modal {
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  transform: translateY(16px) scale(0.98);
  transition: transform var(--motion-med) var(--ease);
  box-shadow: var(--shadow);
}
.modal--wide {
  max-width: 620px;
}
.modal-overlay.is-open .modal {
  transform: none;
}
.modal__header {
  position: relative;
  padding: 24px 26px 18px;
  border-bottom: 1px solid var(--line-soft);
}
.modal__header .eyebrow {
  margin-bottom: 7px;
}
.modal__header h3 {
  font-size: 21px;
}
.modal__header p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13.5px;
}
.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal__close svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
.modal__body {
  padding: 22px 26px;
}
.modal__footer {
  padding: 18px 26px 24px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
}
.modal__footer .btn {
  flex: 1;
  min-width: 150px;
}
.modal__footer-note {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--dim);
  width: 100%;
  text-align: center;
  line-height: 1.5;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--dim);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--raise);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color var(--motion-fast) var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.field textarea {
  min-height: 90px;
  resize: vertical;
}
.field__error {
  margin-top: 6px;
  font-size: 12.5px;
  color: #ff6b6b;
  min-height: 15px;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #ff6b6b;
}
.field--checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.field--checkbox input {
  width: auto;
  margin-top: 3px;
}
.field--checkbox label {
  text-transform: none;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  letter-spacing: normal;
  margin-bottom: 0;
}

.form-alert {
  margin-top: 4px;
  margin-bottom: 14px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: 13.5px;
}
.form-alert--error {
  background: rgba(255, 107, 107, 0.12);
  color: #ff8b8b;
  border: 1px solid rgba(255, 107, 107, 0.3);
}

.addon-panel {
  margin-top: 4px;
  margin-bottom: 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 16px 18px;
}
.addon-panel__note {
  font-size: 12px;
  color: var(--dim);
  margin: 4px 0 12px;
}
.addon-panel ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}
.addon-panel li {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 8px;
}
.addon-panel__price {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
}

.option-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.option-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: var(--raise);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 16px;
  cursor: pointer;
  transition: border-color var(--motion-fast) var(--ease), transform var(--motion-fast) var(--ease);
}
.option-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.option-item__icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--raise);
  border: 1px solid var(--line);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.option-item__title {
  font-weight: 600;
  font-size: 14.5px;
}
.option-item__desc {
  margin-top: 3px;
  font-size: 13px;
  color: var(--muted);
}

.modal-success {
  text-align: center;
  padding: 20px 6px 6px;
}
.modal-success__seal {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-gradient);
}
.modal-success__seal svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.4;
}
.modal-success p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

/* ---------------------------------------------------------------------
   17. Toast — §8.14
   --------------------------------------------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 12px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 20px;
  font-size: 14px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--motion-fast) var(--ease), transform var(--motion-fast) var(--ease);
  box-shadow: var(--shadow);
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------------------------------------------------------------------
   18. Portal (protected page shell reused on portal.html)
   --------------------------------------------------------------------- */
.portal {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.portal-card {
  width: 100%;
  max-width: 560px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  padding: 34px;
}
.portal-card__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
}
.portal-card__row:first-of-type {
  border-top: none;
}
.portal-card__row dt {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dim);
}
.portal-card__row dd {
  margin: 0;
  text-align: right;
}
.portal-badge {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-radius: var(--r-pill);
  padding: 4px 10px;
}

/* ---------------------------------------------------------------------
   19. Responsive — §10
   --------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav__links {
    gap: 16px;
  }
  .cert-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact__inner,
  .community__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-row {
    grid-template-columns: 1fr;
  }
  .metrics__inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics__inner > div:nth-child(2) {
    border-right: none;
  }
  .metrics__inner > div:nth-child(1),
  .metrics__inner > div:nth-child(2) {
    border-bottom: 1px solid var(--line-soft);
  }
  .marketplace-grid {
    grid-template-columns: 1fr;
  }
  .handoff {
    grid-template-columns: 1fr;
  }
  .handoff-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 820px) {
  .nav__account-name {
    display: none;
  }
  .tabbar {
    top: 0;
  }
  .tabbar__inner {
    justify-content: flex-start;
  }
  .tab-btn {
    padding: 15px 14px;
  }
  .tab-btn__label {
    font-size: 14px;
  }
}

@media (max-width: 680px) {
  .hero {
    padding: 106px 0 58px;
  }
  .grid--2,
  .grid--3,
  .grid--4,
  .field-row,
  .contact__inner,
  .community__inner {
    grid-template-columns: 1fr;
  }
  .metrics__inner {
    grid-template-columns: 1fr;
  }
  .metrics__inner > div {
    border-right: none;
    border-bottom: 1px solid var(--line-soft);
  }
  .metrics__inner > div:last-child {
    border-bottom: none;
  }
  .scale-panels {
    grid-template-columns: 1fr;
  }
  .scale-panel {
    border-right: none;
    border-bottom: 1px solid var(--line-soft);
  }
  .scale-panel:last-child {
    border-bottom: none;
  }
  .console__body {
    height: 286px;
  }
  .modal__footer {
    flex-direction: column;
    align-items: stretch;
  }
  .modal__footer .btn {
    width: 100%;
  }
  .footer__grid {
    gap: 30px;
  }
  .footer__brand {
    margin-right: 0;
    max-width: none;
  }
  .hero__actions .btn {
    width: 100%;
  }
}

/* =====================================================================
   Top-section navigation + views (Soluções / Sobre / Notícias)
   ===================================================================== */
.nav__sections {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.nav__tools {
  margin-left: 20px;
}
.nav-section {
  position: relative;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  color: var(--muted);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px 6px;
  transition: color var(--motion-fast) var(--ease);
}
.nav-section:hover { color: var(--ink); }
.nav-section.is-active { color: var(--ink); }
.nav-section.is-active::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: -4px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}
.nav__mobile .nav__link {
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 15px;
}

.view { display: none; }
.view.is-active { display: block; }
#view-sobre > .section:first-child,
#view-noticias > .section:first-child { padding-top: 124px; }

/* =====================================================================
   About
   ===================================================================== */
.about-prose {
  max-width: 74ch;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--muted);
}
.about-prose p { margin: 0; }
.about-pillar { padding: 28px 26px; }
.about-pillar .eyebrow { display: block; margin-bottom: 10px; }
.about-pillar p { margin: 0; color: var(--muted); }
/* =====================================================================
   News
   ===================================================================== */
.news-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.news-tab {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-pill);
  padding: 8px 18px;
  cursor: pointer;
  transition: color var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease), background var(--motion-fast) var(--ease);
}
.news-tab:hover { color: var(--ink); border-color: var(--line); }
.news-tab.is-active {
  color: var(--on-gradient);
  background: var(--gradient);
  border-color: transparent;
}

.news-grid {
  display: grid;
  grid-template-columns: 40% 40%;
  column-gap: 10%;
  row-gap: 40px;
  justify-content: center;
}
.news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 420px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease), box-shadow var(--motion-fast) var(--ease);
}
.news-card:hover { transform: translateY(-3px); border-color: var(--line); box-shadow: var(--shadow-sm); }
.news-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.news-card__media { aspect-ratio: 16 / 9; background: var(--panel-2); overflow: hidden; flex: none; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card__media--empty { background: linear-gradient(135deg, var(--panel-2), var(--raise)); }
.news-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px; flex: 1; min-height: 0; }
.news-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.news-card__badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-radius: var(--r-pill);
  padding: 3px 10px;
}
.news-card__date { font-family: var(--font-mono); font-size: 11px; color: var(--dim); }
.news-card__title { font-size: 19px; margin: 0; }
.news-card__excerpt {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card__excerpt p { margin: 0 0 6px; }
.news-card__excerpt a { color: var(--accent); }
.news-card__more {
  margin-top: auto;
  padding-top: 6px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
}
.news-card:hover .news-card__more { text-decoration: underline; }
.news-empty { text-align: center; color: var(--dim); padding: 60px 0; font-family: var(--font-mono); }

/* News category tabbar — same look as the Solutions tab bar */
.news-tabbar { border-bottom: 1px solid var(--line-soft); margin-bottom: 32px; overflow-x: auto; }
.news-tabbar__inner { display: flex; gap: 4px; justify-content: center; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .section__intro { margin-left: auto; margin-right: auto; }

/* Pagination */
.news-pager { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; }
.news-pager__perpage { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--dim); }
.news-pager__perpage select { background: var(--panel); border: 1px solid var(--line-soft); color: var(--ink); border-radius: var(--r-sm); padding: 6px 10px; font-family: var(--font-mono); font-size: 13px; }
.news-pager__nav { display: inline-flex; align-items: center; gap: 12px; }
.news-pager__count { color: var(--muted); font-size: 12.5px; }
.news-pager .btn[disabled] { opacity: 0.4; pointer-events: none; }

/* News detail modal */
/* Fixed 950x800 (image 500 · gap 50 · text 400), responsive keeping the ratio */
.news-modal {
  padding: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  max-width: none;
  width: min(1020px, 95vw, calc(90vh * 1020 / 800));
  aspect-ratio: 1020 / 800;
  max-height: 90vh;
}
.news-modal__media { flex: 0 0 49.02%; height: 100%; background: var(--panel-2); display: flex; align-items: center; justify-content: center; }
.news-modal__media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.news-modal .modal__body {
  flex: 0 0 49.02%;
  height: 100%;
  overflow-y: auto;
  padding: 34px 18px 34px 34px; /* ~10px gap between text and the 8px scrollbar */
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--muted) 26%, transparent) transparent;
}
.news-modal .modal__body::-webkit-scrollbar { width: 8px; }
.news-modal .modal__body::-webkit-scrollbar-track { background: transparent; }
.news-modal .modal__body::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--muted) 24%, transparent); border-radius: 8px; transition: background var(--motion-fast) var(--ease); }
.news-modal .modal__body:hover::-webkit-scrollbar-thumb,
.news-modal .modal__body:focus-within::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--muted) 60%, transparent); }
.news-modal__badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-radius: var(--r-pill);
  padding: 3px 10px;
  margin-bottom: 12px;
}
.news-modal__title { margin: 0 0 14px; }
.news-modal__text { color: var(--muted); }
.news-modal__text p { margin: 0 0 12px; }
.news-modal__text a { color: var(--accent); }
.news-modal__text img { display: inline-block; vertical-align: top; max-width: 300px; max-height: 300px; width: auto; height: auto; object-fit: contain; border-radius: var(--r-sm); margin: 6px; }
.news-modal__text ul.rte-check { list-style: none; padding-left: 4px; }
.news-modal__text ul.rte-check li { display: flex; align-items: flex-start; gap: 8px; }
.news-modal__text ul.rte-check input[type=checkbox] { margin-top: 3px; flex: none; }
.news-modal__text ul, .news-modal__text ol { margin: 8px 0; padding-left: 22px; }
.news-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: color-mix(in srgb, var(--void) 55%, transparent);
  backdrop-filter: blur(6px);
  border-radius: 50%;
}

/* =====================================================================
   Promotional pricing overlay
   ===================================================================== */
.price__was { display: block; font-family: var(--font-mono); font-size: 20px; line-height: 1.2; color: var(--muted); margin-bottom: 5px; }
/* Diagonal strike instead of the horizontal rule — keeps the old figure legible */
.price__was s {
  position: relative;
  display: inline-block;
  color: var(--muted);
  text-decoration: none;
  padding: 1px 3px;
}
.price__was s::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.75;
  transform: translateY(-50%) rotate(-14deg);
  transform-origin: center;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) { .price__was s::after { transition: opacity 0.2s ease; } }
.promo-badge { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.promo-badge__off {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  color: var(--on-gradient);
  background: var(--gradient);
  border-radius: var(--r-pill);
  padding: 3px 10px;
}
.promo-badge__meta { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }

/* Launch-pricing disclaimer under the company license cards */
.launch-note {
  margin-top: 26px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--accent) 7%, transparent);
}
.launch-note__tag {
  flex: none;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--on-gradient);
  background: var(--gradient);
  border-radius: var(--r-pill);
  padding: 4px 11px;
  margin-top: 1px;
}
.launch-note__body { font-size: 13.5px; line-height: 1.65; color: var(--muted); }
.launch-note__body strong { color: var(--ink); font-weight: 600; }
@media (max-width: 620px) {
  .launch-note { flex-direction: column; gap: 10px; padding: 14px 16px; }
}

/* =====================================================================
   Responsive — new components
   ===================================================================== */
@media (max-width: 820px) {
  .nav__sections { display: none; }
  .nav__tools { margin-left: auto; }
  .nav__burger { display: inline-flex; align-items: center; justify-content: center; }
}
@media (max-width: 680px) {
  .news-grid { grid-template-columns: 1fr; column-gap: 0; }
  .news-card { min-height: 0; }
  #view-sobre > .section:first-child,
  #view-noticias > .section:first-child { padding-top: 104px; }
}

/* =====================================================================
   Connect — contact + newsletter + social, combined and compact
   ===================================================================== */
.connect__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.85fr 1fr;
  gap: 32px;
  align-items: start;
}
.connect__lead { align-self: center; }
.connect__lead .section__intro { margin-bottom: 0; }
.connect__lead .btn { margin-top: 20px; }
.connect__aside {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.connect__social-head {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dim);
  margin-bottom: 12px;
}
.connect__social-row { display: flex; flex-wrap: wrap; gap: 10px; }
.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px 7px 7px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-pill);
  text-decoration: none;
  color: var(--ink);
  font-size: 13.5px;
  transition: border-color var(--motion-fast) var(--ease), background var(--motion-fast) var(--ease);
}
.social-chip:hover { border-color: var(--line); background: var(--raise); }
.social-chip .icon-tile { width: 30px; height: 30px; flex: none; }
/* News-only mode (Notícias section): drop the contact column */
.connect--news-only .connect__inner { grid-template-columns: 1fr 1fr; }

@media (max-width: 980px) {
  .connect__inner,
  .connect--news-only .connect__inner { grid-template-columns: 1fr; gap: 26px; }
}
