/* ============================================================
   FONTS
   ============================================================ */
@font-face { font-family: "Tiempos Text"; src: url("/agent/visual/fonts/TiemposText-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Tiempos Text"; src: url("/agent/visual/fonts/TiemposText-RegularItalic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Tiempos Text"; src: url("/agent/visual/fonts/TiemposText-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Tiempos Text"; src: url("/agent/visual/fonts/TiemposText-MediumItalic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Suisse Intl"; src: url("/agent/visual/fonts/SuisseIntl-Book.woff2") format("woff2"); font-weight: 350; font-style: normal; font-display: swap; }
@font-face { font-family: "Suisse Intl"; src: url("/agent/visual/fonts/SuisseIntl-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Suisse Intl"; src: url("/agent/visual/fonts/SuisseIntl-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Suisse Intl"; src: url("/agent/visual/fonts/SuisseIntl-Semibold.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Suisse Intl"; src: url("/agent/visual/fonts/SuisseIntl-Semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Good Sans"; src: url("/agent/visual/fonts/GoodSans-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --ink:          #092419;
  --earthy:       #465D38;
  --white:        #FFFFFF;
  --paper:        #FAFAF7;
  --light-yellow: #FFF2C8;
  --marigold:     #F8D561;

  --ink-80:  rgba(9,36,25,0.80);
  --ink-60:  rgba(9,36,25,0.60);
  --ink-50:  rgba(9,36,25,0.50);
  --ink-40:  rgba(9,36,25,0.40);
  --ink-20:  rgba(9,36,25,0.20);
  --ink-10:  rgba(9,36,25,0.10);
  --ink-05:  rgba(9,36,25,0.05);

  --fg:      var(--ink);
  --fg-2:    var(--ink-80);
  --fg-3:    var(--ink-60);
  --fg-mute: var(--ink-50);

  --font-serif: "Tiempos Text", "Source Serif Pro", Georgia, serif;
  --font-sans:  "Suisse Intl", "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-meta:  "Good Sans", "Suisse Intl", "Inter", -apple-system, sans-serif;

  --fs-display-xl: 96px;
  --fs-display-lg: 72px;
  --fs-display:    56px;
  --fs-h1:         44px;
  --fs-h2:         36px;
  --fs-h3:         28px;
  --fs-h4:         22px;
  --fs-body-lg:    19px;
  --fs-body:       17px;
  --fs-body-sm:    15px;
  --fs-meta:       13px;

  --lh-display: 1.10;
  --lh-snug:    1.20;
  --lh-body: 1.40;

  --ls-tight: -0.020em;
  --ls-snug:  -0.012em;
  --ls-meta: 0.02em;

  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:20px;
  --s-6:24px; --s-7:32px; --s-8:40px; --s-9:48px; --s-10:64px;
  --s-11:80px; --s-12:96px; --s-13:120px; --s-14:160px;

  --r-sm:8px; --r-md:12px; --r-lg:16px; --r-xl:24px; --r-2xl:32px; --r-pill:999px;

  --shadow-1: 0 1px 2px rgba(9,36,25,0.04), 0 0 0 1px rgba(9,36,25,0.06);
  --shadow-2: 0 4px 14px rgba(9,36,25,0.05), 0 0 0 1px rgba(9,36,25,0.05);
  --shadow-3: 0 18px 40px -16px rgba(9,36,25,0.18), 0 2px 6px rgba(9,36,25,0.04);

  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 160ms;

  --gutter: 60px;
  --gutter-sm: 24px;
  --max-w: 1280px;

  /* --- New in final brand kit --- */
  --light-fuchsia: #EBD7EC;
  --light-green:   #DBE5CF;
  --light-clay:    #F8DAD0;
  --forest:        var(--ink);
  --forest-2:      var(--earthy, #465D38);
  --bone:          var(--paper);
  --black:         #000000;
  --cream:         var(--light-yellow);
  --gold:          var(--marigold);
  --ink-100: rgba(9,36,25,1);
  --forest-100: var(--ink-100); --forest-80: var(--ink-80); --forest-60: var(--ink-60);
  --forest-50: var(--ink-50); --forest-40: var(--ink-40); --forest-20: var(--ink-20);
  --forest-10: var(--ink-10); --forest-05: var(--ink-05, rgba(9,36,25,0.05));
  --bg:         var(--paper);
  --bg-elev:    var(--white);
  --bg-soft:    var(--light-yellow);
  --bg-inverse: var(--ink);
  --fg-on-dark:   var(--white);
  --fg-on-dark-2: rgba(255,255,255,0.72);
  --fg-on-dark-3: rgba(255,255,255,0.50);
  --fg-faint:   var(--ink-40);
  --line:         var(--ink-10);
  --line-strong:  var(--ink-20);
  --line-emph:    var(--ink);
  --line-dark:    rgba(255,255,255,0.14);
  --positive: #2F6F4F;
  --warning:  #C28A1F;
  --critical: #8E2C2C;
  --ls-tighter: -0.025em;
  --ls-normal:   0em;
  --ls-wide:     0.010em;
  --ls-wider:    0.020em;
  --lh-tight: 1.05;
  --lh-loose: 1.60;
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-slow:  420ms;
  --dur-stage: 700ms;
  --container-max:  1280px;
  --container-wide: 1440px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { font-weight: 400; }

html { scroll-behavior: auto; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
/* Reading column */
.container-read {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================================
   EYEBROW
   ============================================================ */
.eyebrow {
  font-family: var(--font-meta);
  font-weight: 500;
  font-size: var(--fs-meta);
  letter-spacing: var(--ls-meta);
  text-transform: uppercase;
  color: var(--fg-mute);
  line-height: 1.6;
}

/* ============================================================
   PILLS
   ============================================================ */
.pill {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-weight: 350;
  font-size: 15px;
  letter-spacing: 0.01em;
  line-height: 1;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.pill .dot { width: 6px; height: 6px; border-radius: var(--r-pill); flex-shrink: 0; }
.pill-yellow           { background: var(--light-yellow); color: var(--ink); }
.pill-yellow .dot      { background: var(--ink); }
.pill-yellow:hover     { background: var(--marigold); }
.pill-glass            { background: rgba(255,255,255,0.12); color: var(--white); border: 1px solid rgba(255,255,255,0.18); }
.pill-glass .dot       { background: var(--white); }
.pill-glass:hover      { background: var(--white); color: var(--ink); }
.pill-glass:hover .dot { background: var(--ink); }

/* Arrow text link */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--fg);
  border-bottom: 1px solid var(--ink-20);
  padding-bottom: 2px;
  transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.arrow-link:hover { border-color: var(--fg); }
.arrow-link-light {
  color: rgba(255,255,255,0.7);
  border-bottom-color: rgba(255,255,255,0.25);
}
.arrow-link-light:hover { color: var(--white); border-color: var(--white); }

/* ============================================================
   NAV
   ============================================================ */
.nav-shell {
  position: sticky;
  top: 18px;
  z-index: 200;
  padding: 0 var(--gutter);
  pointer-events: none;
}
.nav {
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 22px;
  border-radius: var(--r-lg);
  background: rgba(250,250,247,0.88);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--ink-10);
  box-shadow: var(--shadow-2);
  max-width: var(--max-w);
  margin: 0 auto;
}
.nav-left  { display: flex; align-items: center; gap: 56px; }
.nav-logo  { height: 18px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: normal;
  color: var(--ink);
  opacity: 1;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.nav-links a:hover { opacity: 0.72; }
.nav-links a.active { opacity: 1; font-weight: 500; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-phone {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0;
  white-space: nowrap;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.nav-phone:hover { opacity: 0.65; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 350;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--ink);
  background: var(--light-yellow);
  padding: 13px 22px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-out);
}
.nav-cta:hover { background: var(--marigold); }
.nav-cta .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--ink); flex-shrink: 0; }


/* ===== CANONICAL FOOTER - hard-coded values, identical on every page (do not edit per-page) ===== */
.footer { background: linear-gradient(to bottom, #FAFAF7 0%, rgba(250,250,247,0.94) 5%, rgba(250,250,247,0.82) 10%, rgba(250,250,247,0.64) 15%, rgba(250,250,247,0.45) 20%, rgba(250,250,247,0.28) 26%, rgba(250,250,247,0.14) 33%, rgba(250,250,247,0.05) 40%, rgba(250,250,247,0) 48%), linear-gradient(180deg, rgba(9,36,25,0) 22%, rgba(9,36,25,0.5) 50%, rgba(9,36,25,0.72) 72%, rgba(9,36,25,0.85) 100%), url('/agent/visual/assets/optimized/img-06.jpg') center/cover no-repeat; padding: 224px 0 40px; }
.footer-inner { display: flex; flex-direction: column; gap: 48px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.footer-logo { height: 20px; width: auto; }
.footer-tagline { font-family: "Tiempos Text", "Source Serif Pro", Georgia, "Times New Roman", serif; font-size: clamp(18px, 1.8vw, 28px); font-weight: 400; color: rgba(255,255,255,0.5); letter-spacing: -0.012em; max-width: 340px; line-height: 1.2; margin-top: 24px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, auto); gap: 32px 96px; justify-items: start; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title { font-family: "Good Sans", "Suisse Intl", "Inter", -apple-system, sans-serif; font-weight: 500; font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 8px; }
.footer-col a { font-family: "Suisse Intl", "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; font-size: 14px; color: rgba(255,255,255,0.72); transition: color 160ms; white-space: nowrap; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.footer-copy { font-family: "Suisse Intl", "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; font-size: 13px; color: rgba(255,255,255,0.3); }
.footer-right { display: flex; align-items: center; gap: 24px; }
.footer-bbb { height: 88px; display: block; filter: invert(1) grayscale(1); mix-blend-mode: screen; opacity: 0.45; transition: opacity 160ms; width: auto; }
.footer-bbb:hover { opacity: 0.7; }
@media (max-width: 960px) { .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px 40px; } .footer-top { flex-direction: column; } }
/* ===== END CANONICAL FOOTER ===== */

/* ===== CANONICAL NAV - forced identical on every page (do not edit per-page) ===== */
.nav { padding: 13px 22px !important; border-radius: 16px !important; max-width: 1280px !important; }
.nav-left { gap: 56px !important; align-items: center !important; }
.nav-logo { height: 18px !important; width: auto !important; }
.nav-links { gap: 22px !important; }
.nav-links a { font-family: "Suisse Intl", "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif !important; font-size: 16px !important; font-weight: 400 !important; letter-spacing: 0 !important; }
.nav-links a.active { font-weight: 500 !important; }
.nav-right { gap: 18px !important; align-items: center !important; }
.nav-phone { font-family: "Suisse Intl", "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif !important; font-size: 16px !important; font-weight: 400 !important; letter-spacing: 0 !important; }
.nav-cta { font-family: "Suisse Intl", "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif !important; font-size: 15px !important; font-weight: 350 !important; letter-spacing: 0.01em !important; padding: 13px 22px !important; gap: 10px !important; }
.nav-cta .dot { width: 6px !important; height: 6px !important; }
/* ===== END CANONICAL NAV ===== */

/* ===== CANONICAL MOBILE MENU (injected, self-contained) ===== */
.nav-menu-btn { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; margin-left: 6px; color: var(--ink); background: none; border: none; cursor: pointer; }
.mobile-menu { position: fixed; inset: 0; z-index: 300; background: var(--paper); padding: 78px 24px 64px; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity 260ms ease; }
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu-close { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; color: var(--ink); }
.mobile-menu-links { display: flex; flex-direction: column; gap: 2px; margin-top: 56px; }
.mobile-menu-links a { font-family: var(--font-serif); font-size: 32px; line-height: 1.1; letter-spacing: var(--ls-tight); color: var(--ink); text-decoration: none; }
.mobile-menu-foot { margin-top: auto; display: flex; flex-direction: column; gap: 20px; padding-top: 32px; border-top: 1px solid var(--ink-10); }
.mobile-menu-phone { font-family: var(--font-sans); font-size: 18px; font-weight: 500; color: var(--ink); text-decoration: none; }
.mobile-menu-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--marigold); color: var(--ink); font-family: var(--font-sans); font-size: 16px; font-weight: 500; padding: 16px 22px; border-radius: 999px; text-decoration: none; }
.mobile-menu-cta .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--ink); }
@media (max-width: 960px) { .nav-menu-btn { display: inline-flex; } .nav .nav-links { display: none !important; } .nav .nav-cta { display: none !important; } .nav .nav-phone { display: none !important; } }
@media (min-width: 961px) { .mobile-menu { display: none !important; } }

/* ===== LOG IN button (desktop nav + mobile menu) ===== */
.nav-login { display: inline-flex; align-items: center; justify-content: center; padding: 12px 16px; border-radius: var(--r-pill); border: 1px solid var(--ink-20); background: var(--white); font-family: var(--font-sans); font-size: 14px; font-weight: 500; letter-spacing: 0; line-height: 1; color: var(--ink); opacity: 1; transition: background 160ms, border-color 160ms; white-space: nowrap; text-decoration: none; }
.nav-login:hover { background: var(--paper); border-color: var(--ink-30, rgba(9,36,25,0.30)); }
.mobile-menu-login { font-family: var(--font-sans); font-size: 18px; font-weight: 500; color: var(--ink); text-decoration: none; }
@media (max-width: 960px) {
  /* show Log in as a compact pill button grouped with the hamburger on the right (SaaS-style) */
  .nav-login, .nav .nav-login {
    display: inline-flex !important; align-items: center; opacity: 1 !important;
    background: var(--white); border: 1px solid var(--ink-20); color: var(--ink) !important;
    font-size: 14px; font-weight: 500; letter-spacing: 0;
    padding: 12px 16px; border-radius: var(--r-pill);
  }
  .nav-right { gap: 10px !important; }
  .nav-menu-btn { margin-left: 0 !important; }
}
