/* Trova Insights (trovainsights.com)
   Matches the IBI site (Rob, 2026-11-17): same tokens, fonts, square corners, 2px ink
   rules, hairline dividers. Source: IBI-Website/site/assets/css/site.css.
   Trust badge values come from the Trova app (workshop/brand/trust-badges.md). The
   badges keep the app's rounded pill because they depict the product. */

:root{
  --color-primary:#164F90;
  --color-secondary:#7AADD3;
  --color-ink:#1B222B;
  --surface-base:#FFFFFF;
  --surface-alt:#F4F6F8;
  --surface-dark:#00214D;
  --surface-footer:#1B222B;
  --text-heading:#1B222B;
  --text-body-strong:#3E4A58;
  --text-body:#5C6670;
  --color-gray:#999999;
  --border-default:#E3E8EC;
  --border-strong:#B3B3B3;
  --font-heading:'Oswald','Arial Narrow',sans-serif;
  --font-body:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --radius:0;
  --content-max:1280px;
  --gutter:48px;
  --transition:150ms ease;

  /* Trust levels, from the app (updated 2026-11-16). */
  --verified:#287A5D;  --verified-tint:#E8F4EF;
  --informed:#8C6912;  --informed-tint:#FBF4E2;
  --general:#62707E;   --general-tint:#F2F5F8;
}

/* ---------- base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:var(--font-body);font-size:16px;line-height:1.6;color:var(--text-body);background:var(--surface-base);-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
h1,h2,h3{font-family:var(--font-heading);color:var(--text-heading);margin:0;text-wrap:balance}
p{margin:0}
ul,ol{margin:0;padding:0;list-style:none}
a{color:inherit}
[id]{scroll-margin-top:80px}
@media (max-width:480px){[id]{scroll-margin-top:104px}}

.wrap{max-width:var(--content-max);margin:0 auto;padding:0 var(--gutter)}
.eyebrow{font-family:var(--font-heading);font-weight:600;font-size:13px;letter-spacing:.18em;text-transform:uppercase;color:var(--color-gray)}

/* ---------- accessibility ---------- */
.skip{position:absolute;left:-9999px;top:0;z-index:100;background:var(--color-primary);color:#fff;padding:12px 20px;font-family:var(--font-heading);font-size:14px;letter-spacing:.06em;text-transform:uppercase;text-decoration:none}
.skip:focus{left:0}
:focus-visible{outline:3px solid var(--color-primary);outline-offset:3px}
.on-dark :focus-visible{outline-color:var(--color-secondary)}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition-duration:.01ms !important;animation-duration:.01ms !important}
}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;font-family:var(--font-heading);font-weight:600;font-size:14px;letter-spacing:.1em;text-transform:uppercase;text-decoration:none;border-radius:var(--radius);white-space:nowrap;height:46px;padding:0 28px;border:0;transition:background var(--transition),color var(--transition),border-color var(--transition)}
.btn--primary{background:var(--color-primary);color:#fff}
.btn--primary:hover{background:var(--color-ink)}
.btn--lg{height:56px;padding:0 34px;font-size:15px}
.btn--xl{height:58px;padding:0 36px;font-size:15px}
.btn--light{background:#fff;color:var(--surface-dark);height:52px;padding:0 32px}
.btn--light:hover{background:var(--color-secondary);color:var(--surface-dark)}
.btn--ghost{background:transparent;color:var(--color-primary);border:2px solid var(--color-primary);height:46px;padding:0 28px}
.btn--ghost:hover{background:var(--color-primary);color:#fff}

/* ---------- header ---------- */
.site-header{position:sticky;top:0;z-index:40;background:#fff;border-bottom:2px solid var(--color-ink)}
.site-header__inner{display:flex;align-items:stretch;justify-content:space-between;gap:24px;min-height:78px}
.site-header__logo{display:inline-flex;align-items:center;flex:0 0 auto}
.site-header__logo img{height:40px;width:auto}
.site-nav{display:flex;align-items:stretch;margin-left:auto}
.site-nav a{display:flex;align-items:center;padding:0 28px;border-left:1px solid var(--border-default);font-family:var(--font-heading);font-weight:500;font-size:14px;letter-spacing:.1em;text-transform:uppercase;color:var(--text-heading);text-decoration:none;transition:background var(--transition)}
.site-nav a:last-child{border-right:1px solid var(--border-default)}
.site-nav a:hover{background:var(--surface-alt)}
.site-header .btn{height:auto;align-self:stretch;padding:0 30px}
/* Impact by Insight, the company behind Trova: the IBI mark above the name. Mirrors the
   Trova cell in the IBI site's header. width/height on the img carry the display size,
   so a stale stylesheet cannot draw it at file size. */
.site-nav a.site-nav__company{flex-direction:column;justify-content:center;gap:5px;padding:0 24px;font-size:12px}
.site-nav__company img{height:24px;width:auto}

/* ---------- hero ---------- */
.hero{padding:112px 0 104px;border-bottom:2px solid var(--color-ink)}
/* Mark on the right, as on the IBI hero. The SVG is drawn from the V and dot in
   trova-logo.png (workshop/brand/trova-mark-svg.md). */
.hero__grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:72px;align-items:center}
.hero__mark{display:flex;align-items:center;justify-content:center}
.hero__mark img{width:100%;max-width:340px;height:auto}
.hero h1{font-size:clamp(44px,5.6vw,84px);font-weight:700;line-height:.98;letter-spacing:.002em;margin-bottom:36px}
/* One sentence per line where it fits; the sentences wrap naturally below that. */
.hero__line{display:block;text-wrap:balance}
.hero__sub{font-size:clamp(17px,1.6vw,20px);line-height:1.6;color:var(--text-body-strong);max-width:58ch;margin-bottom:40px;text-wrap:pretty}
.hero__beta{margin-top:28px;padding-left:16px;border-left:2px solid var(--color-primary);font-size:15px;line-height:1.5;color:var(--text-body);max-width:58ch}

/* ---------- section heads ---------- */
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:80px;align-items:start}
.section-title{font-size:clamp(34px,4.2vw,60px);font-weight:700;line-height:1.04;letter-spacing:.01em;text-wrap:pretty}
.prose p{font-size:clamp(17px,1.6vw,19px);line-height:1.65;color:var(--text-body-strong);text-wrap:pretty}
.prose p + p{margin-top:22px}
.prose a{color:var(--color-primary);text-decoration:underline;text-underline-offset:3px}
.prose a:hover{color:var(--color-ink)}

/* ---------- problem ---------- */
.problem{padding:104px 0}
.problem .prose{padding-top:10px}

/* ---------- how it works ---------- */
.how{background:var(--surface-alt);padding:96px 0;border-top:1px solid var(--border-default);border-bottom:1px solid var(--border-default)}
.how .section-title{margin-bottom:56px}
.steps{display:grid;grid-template-columns:repeat(4,1fr);border-top:2px solid var(--color-ink)}
.step{padding:30px 36px 8px;border-right:1px solid var(--border-default)}
.step:first-child{padding-left:0}
.step:last-child{padding-right:0;border-right:0}
.step h3{font-size:clamp(26px,2.4vw,34px);font-weight:700;line-height:1;letter-spacing:.01em;color:var(--color-primary);margin-bottom:16px}
.step p{font-size:16px;line-height:1.7;text-wrap:pretty}

/* ---------- trust ---------- */
.trust-section{background:var(--surface-dark);padding:104px 0 0}
.trust-section .section-title{color:#fff}
.trust-section .prose p{color:rgba(255,255,255,.8)}
.levels{margin-top:80px;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid rgba(255,255,255,.25)}
.level{padding:34px 44px 104px;border-right:1px solid rgba(255,255,255,.25)}
.level:first-child{padding-left:0}
.level:last-child{padding-right:0;border-right:0}
.level p{margin-top:20px;font-size:16px;line-height:1.72;color:rgba(255,255,255,.8);text-wrap:pretty}

/* Trust badge, built as in the app: tinted pill, solid circle with a white glyph, label
   in the level colour. Sizes are scaled up 1.5x from the app's 24px pill for display. */
.trust{display:inline-flex;align-items:center;gap:9px;height:36px;padding:0 16px 0 6px;border-radius:999px;font-family:var(--font-body);font-size:16px;font-weight:600;line-height:1;white-space:nowrap}
.trust__icon{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:currentColor;flex:0 0 auto}
.trust__icon svg{width:15px;height:15px;display:block;color:#fff}
.trust--verified{background:var(--verified-tint);color:var(--verified)}
.trust--informed{background:var(--informed-tint);color:var(--informed)}
.trust--general{background:var(--general-tint);color:var(--general)}

/* ---------- security ---------- */
.security{padding:104px 0}
.security .prose{padding-top:10px}

/* ---------- closing ---------- */
.closing{background:var(--color-primary);padding:112px 0}
.closing__inner{display:flex;align-items:center;justify-content:space-between;gap:64px}
.closing__inner .btn{flex:0 0 auto}
.closing h2{font-size:clamp(34px,4.4vw,64px);font-weight:700;line-height:1.02;letter-spacing:.01em;color:#fff}
.closing .btn--light{color:var(--color-primary)}
.closing .btn--light:hover{background:var(--color-ink);color:#fff}

/* ---------- footer ---------- */
.site-footer{background:var(--surface-footer);color:rgba(255,255,255,.7)}
.site-footer__upper{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:56px;padding-top:56px;padding-bottom:24px}
.site-footer__logo{height:38px;width:auto}
.site-footer h2{font-family:var(--font-heading);font-size:13px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--color-secondary);margin-bottom:12px}
.site-footer li{font-size:14.5px;line-height:1.6;margin-bottom:10px}
.site-footer a{text-decoration:none;color:rgba(255,255,255,.7);transition:color var(--transition)}
.site-footer a:hover{color:#fff}
.site-footer__legal{border-top:1px solid rgba(255,255,255,.14);padding-top:20px;padding-bottom:40px;display:flex;justify-content:space-between;align-items:flex-start;gap:32px;font-size:12.5px;color:rgba(255,255,255,.5)}
.site-footer__legal p{flex:0 0 auto}
.site-footer__legal a{color:rgba(255,255,255,.5)}
.site-footer__legal ul{display:flex;gap:10px 26px;flex-wrap:wrap;justify-content:flex-end}
.site-footer__legal li{margin:0;font-size:12.5px}

/* ---------- legal pages ---------- */
.legal{padding:88px 0 96px;border-bottom:1px solid var(--border-default)}
.legal h1{font-size:clamp(34px,4.6vw,48px);font-weight:700;line-height:1.1;letter-spacing:.005em;margin-bottom:14px}
.legal__kicker{margin-bottom:18px;color:var(--color-primary)}
.legal__body{max-width:75ch}
.legal__updated{font-family:var(--font-heading);font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--color-gray);margin-bottom:36px}
.legal__sub{font-style:italic;margin-bottom:10px}
.legal__body h2{font-size:clamp(22px,2.4vw,26px);font-weight:700;line-height:1.25;letter-spacing:.02em;margin:48px 0 14px;padding-top:28px;border-top:1px solid var(--border-default)}
.legal__body h2:first-child{margin-top:0;padding-top:0;border-top:0}
.legal__body h3{font-size:clamp(17px,1.8vw,19px);font-weight:600;line-height:1.3;letter-spacing:.02em;color:var(--text-heading);margin:28px 0 10px}
.legal__body p{font-size:16px;line-height:1.75;margin-bottom:18px}
.legal__body strong{color:var(--text-heading)}
.legal__body ul{margin:0 0 18px;padding:0}
.legal__body li{font-size:16px;line-height:1.7;padding-left:18px;position:relative;margin-bottom:8px}
.legal__body li::before{content:"";position:absolute;left:0;top:.72em;width:7px;height:1px;background:var(--color-secondary)}
.legal__body a{color:var(--color-primary);text-decoration:underline;text-underline-offset:2px}
.legal__body a:hover{color:var(--color-ink)}
.table-scroll{overflow-x:auto;margin:8px 0 24px;border:1px solid var(--border-default)}
.legal__body table{width:100%;min-width:640px;border-collapse:collapse;font-size:14.5px}
.legal__body th,.legal__body td{text-align:left;vertical-align:top;padding:10px 14px;border-bottom:1px solid var(--border-default);line-height:1.55}
.legal__body th{font-family:var(--font-heading);font-weight:500;letter-spacing:.04em;color:var(--text-heading);background:var(--surface-alt)}
.legal__body tr:last-child td{border-bottom:0}
.legal__body td p,.legal__body th p{margin:0;font-size:inherit;line-height:inherit}

/* ---------- 404 ---------- */
.notfound{padding:104px 0 112px}
.notfound h1{font-size:clamp(40px,5vw,64px);font-weight:700;line-height:1.02;margin-bottom:20px}
.notfound p{font-size:18px;color:var(--text-body-strong)}
.notfound__links{display:flex;flex-wrap:wrap;gap:12px;margin-top:36px}

/* ---------- cookie consent ---------- */
.consent{position:fixed;left:0;right:0;bottom:0;z-index:60;background:#fff;border-top:1px solid var(--border-strong)}
.consent__inner{display:flex;align-items:center;justify-content:space-between;gap:32px;padding-top:20px;padding-bottom:20px}
.consent__text{font-size:15px;line-height:1.6;max-width:72ch}
.consent__text a{color:var(--color-primary);text-decoration:underline;text-underline-offset:2px}
.consent__actions{display:flex;align-items:center;gap:12px;flex:0 0 auto}
.consent__actions .btn{height:42px;padding:0 22px;font-size:13px}
.consent-link{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;text-decoration:none;transition:color var(--transition)}
.consent-link:hover{color:#fff}

/* ---------- responsive ---------- */
@media (max-width:1024px){
  .hero__grid{grid-template-columns:1fr;gap:48px}
  .hero__mark{justify-content:flex-start}
  .hero__mark img{max-width:160px}
  .hero h1{font-size:clamp(44px,7vw,96px)}
}
@media (max-width:1100px){
  .closing__inner{flex-direction:column;align-items:flex-start;gap:36px}
  .steps{grid-template-columns:1fr 1fr}
  .step{padding:30px 32px 36px;border-bottom:1px solid var(--border-default)}
  .step:nth-child(odd){padding-left:0}
  .step:nth-child(even){padding-right:0;border-right:0}
  .step:nth-child(n+3){border-bottom:0}
}
@media (max-width:900px){
  :root{--gutter:24px}
  .site-header__logo img{height:34px}
  .site-nav a{padding:0 18px}
  .site-header .btn{padding:0 20px}
  .hero{padding:80px 0 72px}
  .split{grid-template-columns:1fr;gap:28px}
  .problem,.security{padding:76px 0}
  .problem .prose,.security .prose{padding-top:0}
  .how{padding:72px 0}
  .how .section-title{margin-bottom:40px}
  .trust-section{padding:80px 0 0}
  .levels{grid-template-columns:1fr;margin-top:56px}
  .level{padding:30px 0 40px;border-right:0;border-bottom:1px solid rgba(255,255,255,.25)}
  .level:last-child{border-bottom:0;padding-bottom:80px}
  .closing{padding:84px 0}
  .site-footer__upper{grid-template-columns:1fr 1fr;gap:40px}
  .site-footer__upper > div:first-child{grid-column:1 / -1}
  .site-footer__legal{flex-direction:column;gap:14px}
  .site-footer__legal ul{justify-content:flex-start}
  .legal{padding:64px 0 72px}
}
@media (max-width:760px){
  .consent__inner{flex-direction:column;align-items:flex-start;gap:16px;padding-top:16px;padding-bottom:16px}
  .consent__actions{width:100%}
  .consent__actions .btn{flex:1 1 auto}
  .consent__text{font-size:14px}
}
@media (max-width:640px){
  .steps{grid-template-columns:1fr}
  .step,.step:nth-child(odd),.step:nth-child(even){padding:28px 0 32px;border-right:0;border-bottom:1px solid var(--border-default)}
  .step:last-child{border-bottom:0;padding-bottom:0}
}
@media (max-width:560px){
  :root{--gutter:20px}
  .site-header__inner{gap:12px;min-height:62px}
  .site-header__logo img{height:28px}
  .site-nav a{padding:0 14px;font-size:12px}
  .site-nav a.site-nav__company{padding:0 12px;font-size:10px;gap:3px}
  .site-nav__company img{height:18px}
  .site-header .btn{padding:0 14px;font-size:12px}
  .btn{height:44px;padding:0 20px;font-size:13px}
  .btn--lg,.btn--xl,.btn--light{height:50px;padding:0 24px;font-size:14px}
  .hero{padding:56px 0}
  .hero h1{margin-bottom:28px}
  .problem,.security{padding:60px 0}
  .how{padding:60px 0}
  .trust-section{padding:64px 0 0}
  .closing{padding:64px 0}
  .site-footer__upper{grid-template-columns:1fr;gap:32px;padding-top:48px}
  .legal{padding:48px 0 60px}
}
/* At 480px and below the header no longer fits one row (measured break 388px with the
   Impact by Insight cell; 480px matches the IBI site and leaves room for fallback
   fonts). The nav moves to a second row with a top rule; Book a Demo stays in the bar. */
@media (max-width:480px){
  .site-header__inner{flex-wrap:wrap;row-gap:0;min-height:0}
  .site-header__logo{min-height:54px}
  .site-header .btn{align-self:center;height:38px}
  .site-nav{order:3;flex:1 1 100%;margin-left:0;border-top:1px solid var(--border-default)}
  .site-nav a{flex:1;justify-content:center;padding:12px 0;border-left:0;border-right:0}
  .site-nav a:last-child{border-right:0}
  .site-nav a + a{border-left:1px solid var(--border-default)}
  .site-nav a.site-nav__company{flex-direction:row;gap:6px;padding:12px 0;font-size:11px}
  .site-nav__company img{height:16px}
}
@media (max-width:360px){
  .trust{font-size:15px}
}
