/* Brin design system, lifted from brinsolutions.com so the product sites and
   the parent site are one brand. Token names and values match the parent
   exactly. Change them here only when the parent changes. */

:root{
  --background:#fafaf8; --background-secondary:#f4f3ef; --background-tertiary:#eeece7;
  --foreground:#0e0e10; --foreground-secondary:#4a4a52; --foreground-muted:#7a7a82;
  --brand:#6078ea; --brand-hover:#4f66d9; --brand-active:#3f54c7; --brand-light:#eef0fe;
  --brand-glow:#6078ea38;
  --accent:#17ead9; --accent-soft:#a5f4ec;
  --surface:#fff; --surface-border:#e4e2db; --surface-border-light:#ebe9e3;
  --surface-hover:#f7f6f2;
  --status-ok:#15803d; --status-warn:#b45309; --status-info:#4f46e5;
  --brand-gradient:linear-gradient(180deg,#17ead9 0%,#6078ea 100%);
  --brand-gradient-h:linear-gradient(90deg,#17ead9 0%,#6078ea 100%);
  --radius-sm:8px; --radius-md:12px; --radius-lg:16px; --radius-xl:20px;
  --radius-full:9999px;
  --shadow-sm:0 1px 2px #0e0e100a; --shadow-md:0 4px 12px #0e0e100f;
  --shadow-lg:0 8px 30px #0e0e101a; --shadow-glow:0 0 30px #6078ea24;
  --maxw:1152px;
}

:root:not([data-theme="light"]){
  --background:#0a1220; --background-secondary:#111a2c; --background-tertiary:#182238;
  --foreground:#f4f1ea; --foreground-secondary:#a8b0c2; --foreground-muted:#6c7689;
  --brand:#7c8ef5; --brand-hover:#94a4f8; --brand-active:#acb8fa; --brand-light:#1e2454;
  --brand-glow:#7c8ef54d;
  --accent:#5deadd; --accent-soft:#2b3f4c;
  --surface:#131e33; --surface-border:#2a3553; --surface-border-light:#222d47;
  --surface-hover:#1c2840;
  --status-ok:#28c840; --status-warn:#febc2e; --status-info:#818cf8;
  --brand-gradient:linear-gradient(180deg,#5deadd 0%,#7c8ef5 100%);
  --brand-gradient-h:linear-gradient(90deg,#5deadd 0%,#7c8ef5 100%);
  --shadow-sm:0 1px 2px #0000004d; --shadow-md:0 4px 12px #0006;
  --shadow-lg:0 8px 30px #0000008c; --shadow-glow:0 0 40px #7c8ef538;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{animation:none!important;transition:none!important}
}

body{
  margin:0;background:var(--background);color:var(--foreground);
  font-family:Geist,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}
.narrow{max-width:768px}

/* Type. Fraunces for display, Geist for everything else, matching the parent. */
h1,h2,.display{
  font-family:Fraunces,ui-serif,Georgia,"Times New Roman",serif;
  font-weight:500;margin:0;text-wrap:balance;
}
h1{font-size:clamp(38px,6vw,60px);line-height:1.05;letter-spacing:-1.5px}
h2{font-size:clamp(30px,4.4vw,48px);line-height:1.1;letter-spacing:-1.2px}
h3{font-family:inherit;font-size:18px;font-weight:600;letter-spacing:normal;margin:0;line-height:1.4}
p{margin:0}

.eyebrow{
  font-size:12px;font-weight:600;letter-spacing:2.4px;text-transform:uppercase;
  color:var(--brand);margin:0 0 16px;
}
.lede{font-size:clamp(17px,2vw,19px);line-height:1.65;color:var(--foreground-secondary)}
.muted{color:var(--foreground-secondary)}
.dim{color:var(--foreground-muted)}

a{color:var(--brand);text-decoration:none}
a:hover{color:var(--brand-hover)}

/* Buttons. Pill, brand fill, matching the parent's "Book a Call". */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:44px;padding:0 24px;border-radius:var(--radius-full);
  font-family:inherit;font-size:14px;font-weight:600;line-height:1;
  background:var(--brand);color:#fff;border:1px solid transparent;
  cursor:pointer;white-space:nowrap;transition:background .15s ease,border-color .15s ease;
}
.btn:hover{background:var(--brand-hover);color:#fff}
.btn.ghost{background:transparent;color:var(--foreground);border-color:var(--surface-border)}
.btn.ghost:hover{background:var(--surface-hover);border-color:var(--brand);color:var(--foreground)}
.btn.sm{height:36px;padding:0 18px;font-weight:500}

/* Surfaces */
.card{
  background:var(--surface);border:1px solid var(--surface-border);
  border-radius:var(--radius-lg);padding:24px;
}
.section{padding:88px 0;border-top:1px solid var(--surface-border-light)}
.section.tight{padding:64px 0}

/* Nav */
.nav{
  position:sticky;top:0;z-index:50;height:65px;
  background:color-mix(in srgb,var(--background) 85%,transparent);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid var(--surface-border-light);
}
.nav .wrap{height:100%;display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:flex;align-items:center;gap:10px;color:var(--foreground)}
.brand:hover{color:var(--foreground)}
.brand svg,.brand img{width:28px;height:28px;flex:none;display:block}
.brand-text{font-size:16px;font-weight:500;letter-spacing:-.01em;white-space:nowrap}
.brand-text .sub{color:var(--foreground-secondary);font-weight:400}
.nav-links{display:flex;align-items:center;gap:28px}
.nav-links a{font-size:14px;font-weight:400;color:var(--foreground-secondary)}
.nav-links a:hover{color:var(--foreground)}

/* Lists */
.ticks{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.ticks li{display:flex;gap:12px;align-items:flex-start;color:var(--foreground-secondary)}
.ticks li::before{
  content:"";flex:none;width:18px;height:18px;margin-top:4px;border-radius:var(--radius-full);
  background:var(--brand-light);border:1px solid var(--brand);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.6L12 5.7' fill='none' stroke='%237c8ef5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size:14px;background-position:center;background-repeat:no-repeat;
}
.dots{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.dots li{display:flex;gap:12px;align-items:flex-start;color:var(--foreground-secondary)}
.dots li::before{
  content:"";flex:none;width:6px;height:6px;margin-top:11px;border-radius:var(--radius-full);
  background:var(--foreground-muted);
}

.chips{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:0;padding:0}
.chips li{
  font-size:14px;color:var(--foreground-secondary);
  background:var(--background-secondary);border:1px solid var(--surface-border-light);
  border-radius:var(--radius-full);padding:8px 16px;
}

/* Layout helpers */
.split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.stack-sm{display:grid;gap:12px}
.stack{display:grid;gap:20px}
.stack-lg{display:grid;gap:32px}
.cta-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}

/* Media */
.shot{
  border:1px solid var(--surface-border);border-radius:var(--radius-lg);
  overflow:hidden;background:var(--background-secondary);box-shadow:var(--shadow-lg);
}
.shot img{display:block;width:100%;height:auto}

figure{margin:0}

/* Footer */
.foot{border-top:1px solid var(--surface-border-light);padding:48px 0;font-size:14px}
.foot-row{display:flex;flex-wrap:wrap;gap:24px;justify-content:space-between;align-items:flex-start}
.foot a{color:var(--foreground-secondary)}
.foot a:hover{color:var(--foreground)}
.foot-links{display:flex;flex-wrap:wrap;gap:20px}

@media (max-width:860px){
  .split{grid-template-columns:1fr;gap:36px}
  .grid3,.grid4{grid-template-columns:1fr 1fr}
  .section{padding:64px 0}
}
@media (max-width:600px){
  .grid3,.grid4{grid-template-columns:1fr}
  .nav-links{display:none}
  .brand-text .sub{display:none}
  .section{padding:52px 0}
}
