/* ═══════════════════════════════════════════════════════════════════
   MENTES SHELL — v4.1 (2026-10-27). Tokens, base, nav, buttons, footer,
   cursor. Shared by the home page (inlined by build.py), /pricing/,
   /domains/ and the blog (linked as /assets/mentes-shell.css).
   ═══════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
html, body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; background: none; border: 0; outline: 0; }
ul { list-style: none; }

:root {
  --paper: #F5F3EE;
  --paper-2: #ECEAE3;
  --white: #FFFFFF;
  --ink: #060606;
  --ink-2: #141414;
  --orange: #FF9500;
  --orange-deep: #D97C00;
  --mute: #66635B;
  --soft: #9A978F;
  --line: rgba(6, 6, 6, 0.12);
  --line-strong: rgba(6, 6, 6, 0.28);
  --line-dark: rgba(245, 243, 238, 0.14);

  --display: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --body: "DM Sans", "Helvetica Neue", Arial, sans-serif;

  --gut: clamp(20px, 4vw, 64px);
  --max: 1360px;
  --pad-y: clamp(96px, 12vw, 180px);
  --r-card: 14px;

  /* legacy aliases still used by the pricing / domains checkout JS + markup */
  --bg: var(--paper); --fg: var(--ink); --fg-dim: var(--mute); --card: var(--white); --error: #C9372C; --green: #1F9D5A; --r: var(--r-card); --r-stage: 28px; --stage: var(--ink);
}

html { background: var(--paper); }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
.h-xl { font-size: clamp(40px, 5.1vw, 76px); letter-spacing: -0.045em; line-height: .98; }
.h-l  { font-size: clamp(34px, 4.2vw, 62px); letter-spacing: -0.04em; }
.h-m  { font-size: clamp(26px, 2.5vw, 36px); letter-spacing: -0.025em; line-height: 1.08; }
.lede { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; color: var(--mute); max-width: 56ch; }
.section { padding: var(--pad-y) 0 0; }
.section__head {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section__head .lede { justify-self: end; }
@media (max-width: 860px) {
  .section__head { grid-template-columns: 1fr; align-items: start; }
  .section__head .lede { justify-self: start; }
}

/* ── Cursor (desktop only) ─────────────────────────────────────────── */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 2000;
  width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid var(--orange);
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: width .25s ease, height .25s ease, background-color .25s ease, opacity .3s ease;
  will-change: transform;
}
.cursor.is-visible { opacity: 1; }
.cursor.is-hover { width: 40px; height: 40px; background: rgba(255, 149, 0, 0.14); }
.cursor.is-text { width: 3px; height: 26px; border-radius: 2px; background: var(--orange); border-color: var(--orange); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ── Nav ───────────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px var(--gut);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  transition: padding .4s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav__brand { /* the mark alone — no word, no box, brand orange. */
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  justify-self: start; position: relative;
}
.nav__brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* "MENTES" stays for screen readers only */
.nav__brand img {
  width: 40px; height: 40px; display: block;
  transition: filter .35s ease, transform .6s cubic-bezier(.2,.7,.2,1);   /* the mark stays brand orange */
}
.nav__brand::before { /* a soft orange pulse that only shows on hover */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,149,0,.28), transparent 70%);
  opacity: 0; transform: scale(.6); transition: opacity .35s ease, transform .5s cubic-bezier(.2,.7,.2,1);
}
.nav__brand:hover img, .nav__brand:focus-visible img { filter: drop-shadow(0 0 6px rgba(255,149,0,.55)); transform: rotate(-6deg) scale(1.08); }
.nav__brand:hover::before, .nav__brand:focus-visible::before { opacity: 1; transform: scale(1.15); }
.nav__links {
  display: flex; align-items: center; gap: 2px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 10px 30px -18px rgba(6,6,6,.25);
  transition: box-shadow .4s ease;
}
.nav__links > a {
  padding: 8px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--ink);
  transition: background-color .2s ease, color .2s ease;
}
.nav__links > a:hover { background: rgba(6,6,6,.06); }
.nav__links > a.is-active { background: var(--ink); color: var(--paper); }
.nav__cta {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-size: 14px; font-weight: 600;
  transition: background-color .25s ease, color .25s ease;
}
.nav__cta:hover { background: var(--orange); color: var(--ink); }
.nav.is-scrolled { padding-top: 12px; }
.nav.is-scrolled .nav__links { box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 18px 40px -20px rgba(6,6,6,.35); }
.nav__links .mentes-lang-toggle { margin-left: 4px; background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav__links .mentes-lang-toggle button { color: var(--soft); }
.nav__links .mentes-lang-toggle button:hover { color: var(--ink); }
.nav__links .mentes-lang-toggle button.is-active { color: var(--orange-deep); }
.nav__links .mentes-lang-sep { color: var(--line-strong); }
.nav__menu-btn { background: var(--ink) !important; border-color: var(--ink) !important; }
.nav__drawer:not(.is-open) { box-shadow: none !important; }
@media (max-width: 1040px) { .nav__links > a { padding: 8px 11px; font-size: 13px; } }
@media (max-width: 760px) { .nav { grid-template-columns: 1fr auto; } .nav__links { display: none; } }

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 26px; border-radius: 999px;
  font-family: var(--body); font-size: 15px; font-weight: 600; line-height: 1;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn .arrow { display: none; }
.btn--primary { background: var(--orange); color: var(--ink); }
.btn--primary:hover { background: var(--ink); color: var(--paper); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--orange); color: var(--ink); }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--white); }
.btn--on-dark { border: 1px solid var(--line-dark); color: var(--paper); }
.btn--on-dark:hover { border-color: var(--paper); }
.btn--sm { padding: 12px 18px; font-size: 14px; }

/* ── Footer ────────────────────────────────────────────────────────── */
.footer { margin-top: var(--pad-y); background: var(--ink); color: var(--paper); padding: clamp(64px, 8vw, 120px) 0 28px; overflow: hidden; position: relative; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 96px); align-items: end; padding-bottom: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line-dark); }
.footer__h { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4vw, 58px); letter-spacing: -0.04em; line-height: 1; max-width: 14ch; }
.footer__h span { color: var(--orange); white-space: nowrap; }
.footer__lede { margin-top: 18px; color: rgba(245,243,238,.62); font-size: 16px; line-height: 1.55; max-width: 46ch; }
.footer__ctas { display: flex; gap: 10px; flex-wrap: wrap; justify-self: end; }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); padding: clamp(40px, 5vw, 64px) 0; }
.footer__col h4 { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: -0.005em; color: var(--paper); margin-bottom: 16px; }
.footer__col li { font-size: 14.5px; line-height: 1.5; color: rgba(245,243,238,.62); margin-bottom: 9px; }
.footer__col a { border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease; }
.footer__col a:hover { color: var(--paper); border-bottom-color: var(--orange); }
.footer__col .is-on { color: var(--paper); }
.footer__mega { font-family: var(--display); font-weight: 800; letter-spacing: -0.06em; line-height: .8; font-size: clamp(96px, 19.5vw, 300px); color: rgba(245,243,238,.06); user-select: none; white-space: nowrap; margin-top: clamp(8px, 2vw, 24px); }
.footer__row { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-top: clamp(24px, 3vw, 40px); padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: 13.5px; color: rgba(245,243,238,.55); }
.footer__row .brand { display: inline-flex; align-items: center; gap: 10px; color: rgba(245,243,238,.75); }
.footer__row .brand img { width: 22px; height: 22px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer__nav a:hover { color: var(--orange); }
.footer__lang { display: inline-flex; gap: 10px; }
.footer__lang a.is-on { color: var(--orange); }
@media (max-width: 980px) {
  .footer__top { grid-template-columns: 1fr; align-items: start; }
  .footer__ctas { justify-self: start; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .footer__cols { grid-template-columns: 1fr; gap: 28px; }
}
