/* ── Spotlight.Riviera ──────────────────────────────────────────────────────
   Rebuilt from the live Wix site. Colours sampled from the logo artwork:
   gold #ffd51e, navy #1d3b58. The site is serif throughout — Libre Baskerville
   on the original, which is on Google Fonts, so this is the real typeface
   rather than a substitute.                                                  */

:root {
  --gold:       #ffd51e;
  --gold-soft:  #ffe777;
  --navy:       #1d3b58;
  --navy-deep:  #142a40;
  --ink:        #1d3b58;
  --muted:      #5d5d61;
  --line:       #e4e7ea;
  --white:      #ffffff;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans:  Avenir, "Avenir Next", Mulish, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* ── header / nav ───────────────────────────────────────────────────────── */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: var(--white);
  border-bottom: 1px solid rgba(29,59,88,.08);
}
.site-head .wrap {
  display: flex; align-items: center; gap: 30px;
  min-height: 78px; padding-top: 10px; padding-bottom: 10px;
}
.brand { flex: none; }
.brand img { height: 38px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.nav a {
  font-family: var(--serif);
  font-size: 18px; color: var(--navy); text-decoration: none;
  padding: 4px 0; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--gold); }
.nav a[aria-current="page"] { color: var(--gold); }
.navtoggle {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--line); border-radius: 2px;
  color: var(--navy); font-size: 20px; line-height: 1; padding: 8px 12px; cursor: pointer;
}

/* The one nav item that is not a page but a product: the client tool. A gold
   pill so it reads as a destination rather than another brochure page. */
.nav a.nav-tool {
  background: var(--gold);
  color: var(--navy);
  padding: 7px 16px;
  border-radius: 999px;
  border-bottom: none;
  font-weight: 700;
  font-size: 16.5px;
  line-height: 1.2;
  box-shadow: 0 1px 0 rgba(29,59,88,.18);
}
.nav a.nav-tool:hover { background: var(--navy); color: var(--gold); }
.nav a.nav-tool[aria-current="page"] { background: var(--navy); color: var(--gold); }
@media (max-width: 820px) {
  .nav a.nav-tool { display: inline-block; width: auto; margin: 8px 0; }
}

/* ── the gold band ──────────────────────────────────────────────────────── */
.gold { background: var(--gold); color: var(--navy); text-align: center; padding: 64px 0 58px; }
.gold h1 {
  font-size: clamp(38px, 6.4vw, 68px);
  line-height: 1.12; font-weight: 700; margin: 0 0 34px;
  text-wrap: balance; letter-spacing: -.005em;
}
.gold h2 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.18; margin: 0 0 26px; }
.gold p { max-width: 62ch; margin: 0 auto 20px; font-size: 15.5px; line-height: 1.9; }
.gold .lede { font-size: 16px; }

/* ── buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block; background: var(--navy); color: var(--white);
  font-family: var(--serif); font-weight: 700; font-size: 16px;
  padding: 13px 30px; border: 2px solid var(--navy); border-radius: 2px;
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--white); }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--navy); color: var(--white); }

/* ── search ─────────────────────────────────────────────────────────────── */
.search { margin: 26px auto 0; max-width: 320px; position: relative; }
.search input {
  width: 100%; font-family: var(--serif); font-size: 15px;
  padding: 11px 14px 11px 40px;
  border: 1px solid var(--navy); border-radius: 2px; background: var(--white); color: var(--ink);
}
.search input:focus { outline: 2px solid var(--navy); outline-offset: 1px; }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); opacity: .55; }
.search-results {
  margin: 14px auto 0; max-width: 620px; text-align: left;
  background: var(--white); border: 1px solid var(--navy); border-radius: 2px;
  padding: 6px; display: none;
}
.search-results a {
  display: block; padding: 9px 12px; text-decoration: none; font-size: 14.5px; line-height: 1.5;
  border-bottom: 1px solid var(--line);
}
.search-results a:last-child { border-bottom: none; }
.search-results a:hover { background: #f6f7f8; }
.search-results .sr-page { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-family: var(--sans); }
.search-results .sr-none { padding: 12px; color: var(--muted); font-size: 14px; }

/* ── product announcement ───────────────────────────────────────────────────
   Navy, so it separates the gold hero from the photograph below without
   competing with either. The gold button is the only one on the site that is
   not navy — it is the single loudest thing on the page, deliberately.       */
.announce {
  background: var(--navy);
  color: #fff;
  padding: 34px 0 38px;
  border-bottom: 4px solid var(--gold);
}
.announce .wrap { text-align: center; }
.announce .tagline {
  margin: 0 0 10px;
  font-size: clamp(21px, 2.9vw, 28px); line-height: 1.3; color: #fff;
}
.announce .tagline strong { color: var(--gold); font-weight: 700; }
.announce .new {
  display: inline-block; vertical-align: middle;
  background: var(--gold); color: var(--navy);
  font-family: var(--sans); font-size: 11px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px; margin-right: 12px;
  position: relative; top: -2px;
}
.announce .blurb {
  margin: 0 auto 22px; max-width: 66ch;
  font-size: 15.5px; line-height: 1.8; color: rgba(255,255,255,.86);
}
.announce .cta { margin: 0; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn.ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn.ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn.gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn.gold:hover { background: #fff; border-color: #fff; color: var(--navy); }
@media (max-width: 620px) {
  .announce .new { display: block; margin: 0 auto 10px; width: max-content; top: 0; }
}

/* ── full-bleed photograph ──────────────────────────────────────────────── */
.band { height: min(62vh, 560px); background-size: cover; background-position: center; }
.band.short { height: min(38vh, 320px); }

/* ── plain sections ─────────────────────────────────────────────────────── */
.section { padding: 72px 0; }
.section.tight { padding: 52px 0; }
.section h2 {
  font-size: clamp(26px, 3.6vw, 38px); line-height: 1.25;
  margin: 0 0 22px; text-wrap: balance;
}
.section h3 { font-size: 20px; margin: 0 0 10px; }
.center { text-align: center; }
.center p { max-width: 64ch; margin-left: auto; margin-right: auto; }
.quiet { color: var(--muted); }

/* ── founder note ───────────────────────────────────────────────────────── */
.founder { text-align: center; }
.founder blockquote {
  margin: 0 auto; max-width: 60ch;
  font-size: clamp(19px, 2.4vw, 25px); line-height: 1.6;
}
.founder .who {
  margin-top: 22px; font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  font-family: var(--sans); font-weight: 800; color: var(--navy);
}
.founder .who span { display: block; letter-spacing: .06em; text-transform: none; font-weight: 400; color: var(--muted); margin-top: 4px; }

/* ── service / industry cards ───────────────────────────────────────────── */
.cards { display: grid; gap: 26px; margin-top: 40px; }
@media (min-width: 720px) { .cards.two   { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .cards.three { grid-template-columns: repeat(3, 1fr); } }
.card {
  border-top: 3px solid var(--gold);
  padding: 24px 0 0;
}
.card h3 { font-size: 21px; margin: 0 0 6px; }
.card .tag { font-size: 14.5px; color: var(--muted); font-style: italic; margin: 0 0 12px; }
.card p { font-size: 15px; margin: 0; }

/* ── numbered list (Why choose) ─────────────────────────────────────────── */
.numbered { display: grid; gap: 30px; margin-top: 40px; }
@media (min-width: 720px) { .numbered { grid-template-columns: repeat(2, 1fr); } }
.numbered .n {
  display: flex; gap: 18px; align-items: baseline;
}
.numbered .num {
  font-size: 34px; font-weight: 700; color: var(--gold); line-height: 1; flex: none;
  -webkit-text-stroke: 1px rgba(29,59,88,.25);
}
.numbered h3 { margin: 0; font-size: 19px; }

/* ── ticks ──────────────────────────────────────────────────────────────── */
.ticks { list-style: none; padding: 0; margin: 28px auto 0; max-width: 70ch; }
.ticks li { position: relative; padding-left: 34px; margin-bottom: 14px; font-size: 15.5px; }
.ticks li::before {
  content: '✔'; position: absolute; left: 0; top: 0;
  color: var(--gold); font-size: 18px;
  -webkit-text-stroke: .6px var(--navy);
}

/* ── gallery ────────────────────────────────────────────────────────────── */
.gallery { display: grid; gap: 14px; margin-top: 36px; }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figure { margin: 0; overflow: hidden; }
.gallery img { width: 100%; height: 240px; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.04); }

/* ── case studies ───────────────────────────────────────────────────────── */
.case { border-top: 1px solid var(--line); padding: 34px 0; }
.case:first-of-type { border-top: none; }
.case h2 { font-size: clamp(21px, 2.8vw, 28px); margin: 0 0 12px; }
.case p { margin: 0; max-width: 76ch; }

/* ── testimonial ────────────────────────────────────────────────────────── */
.testimonial { background: var(--navy); color: var(--white); text-align: center; padding: 72px 0; }
.testimonial blockquote {
  margin: 0 auto; max-width: 62ch;
  font-size: clamp(18px, 2.3vw, 23px); line-height: 1.65; font-style: italic;
}
.testimonial .who {
  margin-top: 24px; font-family: var(--sans); font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 800;
}

/* ── newsletter + footer ────────────────────────────────────────────────── */
.subscribe { text-align: center; padding: 60px 0; border-top: 1px solid var(--line); }
.subscribe h2 { font-size: clamp(20px, 2.6vw, 26px); margin: 0 0 22px; }
.subscribe form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.subscribe input {
  font-family: var(--serif); font-size: 15px; padding: 12px 14px;
  border: 1px solid var(--navy); border-radius: 2px; min-width: 280px; color: var(--ink);
}
.subscribe .note { font-size: 13.5px; color: var(--muted); margin-top: 14px; min-height: 20px; }

.site-foot { background: var(--navy); color: rgba(255,255,255,.82); padding: 40px 0 46px; font-size: 14px; }
.site-foot .wrap { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.site-foot a { color: rgba(255,255,255,.82); text-decoration: none; }
.site-foot a:hover { color: var(--gold); }
.social { display: flex; gap: 14px; align-items: center; }
.social a { display: inline-flex; }
.social svg { width: 22px; height: 22px; fill: currentColor; }
.legal { font-size: 13px; color: rgba(255,255,255,.6); }
.legal a { text-decoration: underline; }

/* Fixed social rail, as on the original */
.rail {
  position: fixed; right: 0; bottom: 90px; z-index: 30;
  display: flex; flex-direction: column;
}
.rail a {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--navy); color: var(--white);
}
.rail a:hover { background: var(--gold); color: var(--navy); }
.rail svg { width: 19px; height: 19px; fill: currentColor; }

/* ── responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 820px) {
  .navtoggle { display: block; }
  .nav {
    display: none; width: 100%; order: 3;
    flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 10px 0 14px; margin-left: 0;
  }
  .nav.open { display: flex; }
  .nav a { padding: 9px 0; width: 100%; }
  .site-head .wrap { flex-wrap: wrap; min-height: 64px; }
  .rail { display: none; }
  .gold { padding: 48px 0 44px; }
  .section { padding: 52px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ── pricing ────────────────────────────────────────────────────────────── */
.prices { display: grid; gap: 18px; }
@media (min-width: 720px) { .prices { grid-template-columns: repeat(2, 1fr); } }
.price {
  border: 1px solid var(--line); border-radius: 2px; padding: 28px 26px;
  text-align: center; position: relative; background: #fff;
}
.price.featured { border: 2px solid var(--navy); }
.price .ribbon {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy);
  font-family: var(--sans); font-size: 10.5px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.price h3 { font-size: 20px; margin: 0 0 14px; }
.price .amount { margin: 0 0 8px; line-height: 1.2; }
.price .was { color: var(--muted); text-decoration: line-through; font-size: 17px; margin-right: 8px; }
.price .amount strong { font-size: clamp(30px, 4.4vw, 40px); color: var(--navy); }
.price .per { color: var(--muted); font-size: 15px; margin-left: 4px; }
.price .off {
  margin: 0 0 10px; color: var(--navy); background: var(--gold);
  display: inline-block; padding: 3px 12px; border-radius: 999px;
  font-family: var(--sans); font-size: 12px; font-weight: 800;
}
.price .note2 { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.price .trial { margin: 12px 0 0; font-size: 14px; color: var(--muted); }

.faq h3 { font-size: 18px; margin: 26px 0 6px; }
.faq h3:first-child { margin-top: 0; }
.faq p { margin: 0; }
code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: .88em; background: #f2f3f5; padding: .1em .35em; border-radius: 2px;
}

/* ── ask bubble ─────────────────────────────────────────────────────────── */
.sr-chat { position: fixed; right: 20px; bottom: 20px; z-index: 60; font-family: var(--sans); }
.sr-launch {
  display: flex; align-items: center; gap: 9px;
  background: var(--navy); color: #fff; border: 2px solid var(--navy);
  border-radius: 999px; padding: 12px 20px; cursor: pointer;
  font-family: var(--serif); font-size: 15px; font-weight: 700;
  box-shadow: 0 6px 22px rgba(29,59,88,.28);
}
.sr-launch:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.sr-launch-icon { font-size: 15px; line-height: 1; }
.sr-open .sr-launch { display: none; }

.sr-panel {
  display: none; flex-direction: column;
  width: min(380px, calc(100vw - 32px));
  height: min(540px, calc(100vh - 96px));
  background: #fff; border: 1px solid var(--navy); border-radius: 3px;
  box-shadow: 0 18px 50px rgba(0,0,0,.28); overflow: hidden;
}
.sr-open .sr-panel { display: flex; }

.sr-head {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 14px; background: var(--navy); color: #fff; flex: none;
}
.sr-title { font-family: var(--serif); font-size: 15px; font-weight: 700; }
.sr-badge {
  font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  background: var(--gold); color: var(--navy); border-radius: 999px;
  padding: 2px 9px; font-weight: 800;
}
.sr-badge:empty { display: none; }
.sr-close {
  margin-left: auto; background: none; border: none; color: #fff;
  font-size: 24px; line-height: 1; cursor: pointer; padding: 0 4px;
}
.sr-close:hover { color: var(--gold); }

.sr-log { flex: 1 1 auto; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #fbfbfa; }
.sr-msg { max-width: 88%; padding: 10px 13px; border-radius: 3px; font-size: 14px; line-height: 1.6; white-space: pre-wrap; }
.sr-bot { background: #fff; border: 1px solid var(--line); color: var(--ink); align-self: flex-start; }
.sr-user { background: var(--navy); color: #fff; align-self: flex-end; }

.sr-sugg { display: flex; flex-wrap: wrap; gap: 6px; }
.sr-chip {
  background: #fff; border: 1px solid var(--navy); color: var(--navy);
  border-radius: 999px; padding: 6px 12px; font-size: 12.5px; cursor: pointer;
  font-family: var(--sans);
}
.sr-chip:hover { background: var(--gold); border-color: var(--gold); }

/* Source chips under an answer — quieter than the suggestion chips above,
   because they are a provenance note rather than something to click. */
.sr-srcs { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.sr-src {
  background: #f7f8f9; border: 1px solid var(--line); color: var(--muted);
  border-radius: 999px; padding: 3px 9px; font-size: 11px; line-height: 1.5;
  font-family: var(--sans); white-space: nowrap;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis;
}
.sr-src b { color: var(--navy); font-weight: 700; }

.sr-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); flex: none; background: #fff; }
.sr-input {
  flex: 1 1 auto; min-width: 0; font-family: var(--sans); font-size: 14px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 2px; color: var(--ink);
}
.sr-input:focus { outline: none; border-color: var(--navy); }
.sr-send {
  background: var(--navy); color: #fff; border: none; border-radius: 2px;
  padding: 0 16px; cursor: pointer; font-family: var(--serif); font-weight: 700; font-size: 14px;
}
.sr-send:disabled { opacity: .45; cursor: default; }
.sr-foot { padding: 8px 12px 10px; font-size: 11.5px; color: var(--muted); background: #fff; flex: none; }
.sr-foot a { color: var(--navy); }

@media (max-width: 480px) {
  .sr-chat { right: 12px; bottom: 12px; left: 12px; }
  .sr-panel { width: 100%; height: min(70vh, 520px); }
  .sr-launch { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { .sr-panel { transition: none; } }

/* ── blog posts ──────────────────────────────────────────────────────────── */
.post-date { font-size: 14px; margin: 0 0 10px; }
.post-date a { color: inherit; }
.post-title { font-size: clamp(28px, 4vw, 40px); margin: 0 0 22px; }
.post-cover { border-radius: 6px; margin: 0 0 30px; height: auto; }
.post-body p, .post-body ul { line-height: 1.85; font-size: 15.5px; margin: 0 0 18px; }
.post-body h2 { font-size: 24px; margin: 34px 0 12px; }
.post-body h3 { font-size: 19px; margin: 28px 0 10px; }
.post-body ul { padding-left: 22px; }
.post-body li { margin-bottom: 10px; }
.card .thumb { border-radius: 6px; margin-bottom: 14px; height: auto; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }

/* ── language switch ─────────────────────────────────────────────────────── */
/* A quiet EN/FR marker rather than a flag: flags stand for countries, and the
   French page is for anyone reading French, not for France. */
.nav .langswitch {
  border: 1px solid var(--line); border-radius: 3px;
  padding: 3px 8px; font-size: 11.5px; font-weight: 800;
  letter-spacing: .08em; color: var(--muted);
}
.nav .langswitch:hover { border-color: var(--navy); color: var(--navy); }
@media (max-width: 820px) {
  .nav .langswitch { align-self: flex-start; margin-top: 6px; }
}

/* The nav grew: seven links plus up to two language chips. Between the mobile
   breakpoint and a roomy desktop it needs to be tighter or it wraps and drags
   the header open to double height. */
.nav .langswitches { display: inline-flex; gap: 6px; flex: none; }
@media (max-width: 1260px) and (min-width: 821px) {
  .site-head .wrap { gap: 18px; }
  .nav { gap: 16px; }
  .nav a { font-size: 16px; }
  .nav a.nav-tool { font-size: 15px; padding: 6px 13px; }
}
