/* ===========================================================
   VALUE NEXT FINRISE — Design tokens
   Blue   #1B4D8C  (from VALUE wordmark)
   Green  #0E7A45  (from arrow)
   Orange #E87722  (from EXT wordmark)
   Ink    #0B0F14  (from FINRISE)
   Paper  #F7F5F0  (warm background, not stark white)
=========================================================== */

:root{
  --blue:        #1B4D8C;
  --blue-deep:   #123761;
  --green:       #0E7A45;
  --orange:      #D9650F;
  --ink:         #0B0F14;
  --paper:       #F7F5F0;
  --paper-warm:  #F0ECE3;
  --white:       #FFFFFF;
  --line:        rgba(11,15,20,0.12);
  --line-soft:   rgba(11,15,20,0.07);

--font-display: 'Montserrat', sans-serif;
--font-body:    'Montserrat', sans-serif;

  --maxw: 1180px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font-body);
  background:var(--paper);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
  line-height:1.5;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
h1,h2,h3,h4{font-family:var(--font-display);margin:0;line-height:1.12;font-weight:600;}
p{margin:0;}
ul{margin:0;padding:0;list-style:none;}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important; transition-duration:0.001ms !important;}
}

:focus-visible{
  outline:3px solid var(--orange);
  outline-offset:2px;
}

.eyebrow{
  font-family:var(--font-display);
  font-size:13px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--orange);
  font-weight:600;
  margin:0 0 14px;
}
.eyebrow-light{color:var(--green);}

/* ============ BUTTONS ============ */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 28px;
  border-radius:8px;
  font-family:var(--font-display);
  font-weight:600;
  font-size:15px;
  cursor:pointer;
  border:none;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary{
  background:var(--orange);
  color:var(--white);
  box-shadow:0 6px 18px rgba(232,119,34,0.28);
}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(232,119,34,0.36);}
.btn-ghost{
  background:transparent;
  color:var(--ink);
  border:1.5px solid var(--line);
}
.btn-ghost:hover{border-color:var(--ink);}
.btn-block{width:100%;}

/* ============ NAV ============ */
.nav{
  position:sticky;top:0;z-index:100;
  background:rgba(247,245,240,0.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line-soft);
}
.nav-inner{
  max-width:var(--maxw);
  margin:0 auto;
  padding:14px 24px;
  display:flex;
  align-items:center;
  gap:32px;
}
.brand{display:flex;align-items:center;}
.brand-logo{height:60px;width:auto;}
.nav-links{
  display:flex;
  gap:28px;
  margin-left:auto;
  font-size:14.5px;
  font-weight:500;
}
.nav-links a{opacity:0.8;transition:opacity .15s;}
.nav-links a:hover{opacity:1;}
.nav-cta{
  background:var(--ink);
  color:var(--white);
  padding:10px 20px;
  border-radius:7px;
  font-size:14px;
  font-weight:600;
  font-family:var(--font-display);
  transition:background .15s;
}
.nav-cta:hover{background:var(--blue-deep);}
.nav-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
  padding:6px;
}
.nav-toggle span{width:22px;height:2px;background:var(--ink);}
.nav-mobile{
  display:none;
  flex-direction:column;
  padding:0 24px 18px;
  gap:14px;
  font-weight:500;
}
.nav-mobile a{padding:6px 0;border-bottom:1px solid var(--line-soft);}
.nav-mobile-cta{
  margin-top:6px;
  background:var(--orange);
  color:var(--white);
  text-align:center;
  border-radius:7px;
  padding:12px;
  font-weight:600;
}

@media (max-width:880px){
  .nav-links{display:none;}
  .nav-cta{display:none;}
  .nav-toggle{display:flex;}
  .nav-mobile.open{display:flex;}
}

/* ============ HERO ============ */
.hero{
  max-width:var(--maxw);
  margin:0 auto;
  padding:64px 24px 0;
}
.hero-inner{
  display:grid;
  grid-template-columns:1.05fr 0.95fr;
  gap:48px;
  align-items:center;
}
.hero-copy h1{
  font-size:clamp(34px,4.6vw,54px);
  letter-spacing:-0.01em;
}
.hero-copy h1 em{
  font-style:normal;
  color:var(--blue);
  position:relative;
}
.hero-sub{
  margin-top:22px;
  font-size:17px;
  color:rgba(11,15,20,0.72);
  max-width:48ch;
  line-height:1.6;
}
.hero-actions{
  display:flex;
  gap:14px;
  margin-top:32px;
  flex-wrap:wrap;
}
.hero-trust{
  display:flex;
  align-items:center;
  gap:20px;
  margin-top:48px;
  flex-wrap:wrap;
}
.trust-item{display:flex;flex-direction:column;}
.trust-num{font-family:var(--font-display);font-weight:700;font-size:16px;color:var(--green);}
.trust-label{font-size:12.5px;color:rgba(11,15,20,0.55);margin-top:2px;}
.trust-divider{width:1px;height:30px;background:var(--line);}

.hero-chart{position:relative;}
.chart-svg{width:100%;height:auto;}
.axis-line{stroke:rgba(11,15,20,0.18);stroke-width:1.5;}
.grid-lines line{stroke:rgba(11,15,20,0.06);stroke-width:1;}
.growth-path{
  stroke:var(--green);
  stroke-width:4;
  stroke-linecap:round;
  stroke-dasharray:900;
  stroke-dashoffset:900;
  animation:drawPath 2.2s ease-out 0.3s forwards;
}
.arrow-head{
  stroke:var(--green);
  stroke-width:4;
  stroke-linecap:round;
  fill:none;
  opacity:0;
  animation:fadeIn 0.4s ease 2.2s forwards;
}
.growth-dot{fill:var(--orange);}
.chart-label{
  font-family:var(--font-body);
  font-size:12px;
  fill:rgba(11,15,20,0.5);
}
.chart-label-y{font-size:11px;}
.chart-caption{
  font-size:12.5px;
  color:rgba(11,15,20);
  margin-top:8px;
  max-width:42ch;
  line-height:1.5;
}

@keyframes drawPath{to{stroke-dashoffset:0;}}
@keyframes fadeIn{to{opacity:1;}}

.hero-divider{
  margin-top:64px;
  display:flex;justify-content:center;
}
.hero-divider span{
  width:1px;height:36px;
  background:linear-gradient(to bottom, var(--line), transparent);
}

@media (max-width:880px){
  .hero-inner{grid-template-columns:1fr;}
  .hero-chart{order:0;}
}

/* ============ MARQUEE ============ */
.marquee{
  border-top:1px solid var(--line-soft);
  border-bottom:1px solid var(--line-soft);
  background:var(--paper-warm);
  overflow:hidden;
  margin-top:56px;
}
.marquee-track{
  display:flex;
  gap:18px;
  white-space:nowrap;
  padding:14px 0;
  font-family:var(--font-display);
  font-size:13.5px;
  font-weight:600;
  letter-spacing:0.04em;
  color:var(--blue);
  animation:scrollMarquee 28s linear infinite;
  width:max-content;
}
.marquee-track span:nth-child(odd){color:var(--orange);}
@keyframes scrollMarquee{
  from{transform:translateX(0);}
  to{transform:translateX(-50%);}
}

/* ============ SECTION HEAD ============ */
.section-head{
  max-width:var(--maxw);
  margin:0 auto;
  padding:96px 24px 48px;
}
.section-head h2{font-size:clamp(28px,3.4vw,40px);max-width:18ch;}
.section-head-light .eyebrow{color:var(--green);}
.section-head-light h2{color:var(--white);}

/* ============ SERVICES ============ */
.services{max-width:var(--maxw);margin:0 auto;padding:0 24px 100px;}
.services-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:var(--line-soft);
  border:1px solid var(--line-soft);
  border-radius:16px;
  overflow:hidden;
}
.service-card{
  background:var(--white);
  padding:36px 32px;
  display:flex;
  flex-direction:column;
}
.service-anchor{
  grid-column:1 / 3;
  grid-row:1 / 3;
  background:var(--blue);
  color:var(--white);
  padding:44px 40px;
}
.service-anchor h3{font-size:26px;color:var(--white);}
.service-anchor p{color:rgba(255,255,255,0.82);font-size:15.5px;margin-top:14px;max-width:46ch;}
.service-anchor .service-icon svg .ic-stroke{stroke:var(--white);}
.service-icon{margin-bottom:18px;}
.service-icon svg{width:36px;height:36px;}
.ic-stroke{stroke:var(--blue);stroke-width:2.4;fill:none;stroke-linecap:round;stroke-linejoin:round;}
.service-card h3{font-size:18.5px;}
.service-card p{font-size:14.5px;rgb(255 255 255);;margin-top:10px;line-height:1.55;}
.service-link{
  margin-top:auto;
  padding-top:18px;
  font-family:var(--font-display);
  font-weight:600;
  color:var(--white);
  font-size:14.5px;
  display:inline-block;
}

@media (max-width:880px){
  .services-grid{grid-template-columns:1fr;}
  .service-anchor{grid-column:1;grid-row:auto;}
}

/* ============ SECTION RULE (logo underline motif) ============ */
.section-rule{display:flex;justify-content:center;padding:0 24px;}
.section-rule-inner{
  max-width:var(--maxw);
  width:100%;
  height:1px;
  background:linear-gradient(to right, transparent, var(--ink) 15%, var(--ink) 85%, transparent);
  opacity:0.15;
}

/* ============ APPROACH ============ */
.approach{max-width:var(--maxw);margin:0 auto;padding:100px 24px;}
.approach-inner{
  display:grid;
  grid-template-columns:0.85fr 1.15fr;
  gap:64px;
}
.approach-copy h2{font-size:clamp(26px,3vw,36px);}
.approach-lead{
  margin-top:22px;
  font-size:16px;
  color:rgba(11,15,20,0.68);
  line-height:1.65;
  max-width:38ch;
}
.approach-list{display:flex;flex-direction:column;gap:30px;}
.approach-item{display:flex;gap:18px;align-items:flex-start;}
.approach-mark{
  font-family:var(--font-display);
  font-size:20px;
  color:var(--orange);
  flex-shrink:0;
  margin-top:2px;
}
.approach-item h4{font-size:17px;font-weight:600;}
.approach-item p{font-size:14.5px;color:rgba(11,15,20,0.65);margin-top:6px;line-height:1.55;}

@media (max-width:880px){
  .approach-inner{grid-template-columns:1fr;}
}

/* ============ PATH ============ */
.path{
  background:var(--ink);
  padding-bottom:100px;
}
.path-track{
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 24px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background:rgba(255,255,255,0.1);
  border-radius:14px;
  overflow:hidden;
}
.path-step{
  background:#10151b;
  padding:36px 28px;
  position:relative;
}
.path-num{
  font-family:var(--font-display);
  font-size:38px;
  font-weight:700;
  color:var(--green);
  opacity:0.85;
}
.path-step h4{color:var(--white);font-size:17px;margin-top:18px;}
.path-step p{color:rgba(255,255,255,0.62);font-size:14px;margin-top:10px;line-height:1.55;}

@media (max-width:880px){
  .path-track{grid-template-columns:1fr;}
}

/* ============ WHY ============ */
.why{max-width:var(--maxw);margin:0 auto;padding:100px 24px;}
.why-copy h2{font-size:clamp(26px,3.2vw,38px);max-width:22ch;}
.why-grid{
  margin-top:48px;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:36px 48px;
}
.why-point h4{
  font-size:17px;
  font-weight:600;
  display:flex;
  align-items:center;
  gap:10px;
}
.why-point h4::before{
  content:'';
  width:7px;height:7px;
  border-radius:50%;
  background:var(--orange);
  flex-shrink:0;
}
.why-point p{font-size:14.5px;color:rgba(11,15,20,0.65);margin-top:8px;line-height:1.55;padding-left:17px;}

@media (max-width:600px){
  .why-grid{grid-template-columns:1fr;}
}

/* ============ FAQ ============ */
.faq{max-width:var(--maxw);margin:0 auto;padding:0 24px 110px;}
.faq-list{
  border-top:1px solid var(--line);
  max-width:780px;
}
.faq-item{
  border-bottom:1px solid var(--line);
  padding:22px 0;
}
.faq-item summary{
  font-family:var(--font-display);
  font-weight:600;
  font-size:16.5px;
  cursor:pointer;
  list-style:none;
  position:relative;
  padding-right:30px;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{
  content:'+';
  position:absolute;
  right:0;top:-2px;
  font-size:22px;
  color:var(--orange);
  transition:transform .2s;
}
.faq-item[open] summary::after{transform:rotate(45deg);}
.faq-item p{
  margin-top:14px;
  font-size:14.5px;
  color:rgba(11,15,20,0.68);
  line-height:1.6;
  max-width:62ch;
}

/* ============ CONTACT ============ */
.contact{background:var(--blue);}
.contact-inner{
  max-width:var(--maxw);
  margin:0 auto;
  padding:100px 24px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
}
.contact-copy h2{color:var(--white);font-size:clamp(26px,3.2vw,38px);}
.contact-sub{
  margin-top:18px;
  color:rgba(255,255,255,0.78);
  font-size:15.5px;
  max-width:42ch;
  line-height:1.6;
}
.contact-details{margin-top:36px;display:flex;flex-direction:column;gap:14px;}
.contact-details li{
  color:var(--white);
  font-size:15px;
  display:flex;
  gap:10px;
}
.contact-details li span{
  color:rgba(255,255,255,0.55);
  font-family:var(--font-display);
  font-size:12.5px;
  text-transform:uppercase;
  letter-spacing:0.08em;
  min-width:60px;
  padding-top:2px;
}
.contact-form{
  background:var(--white);
  border-radius:14px;
  padding:36px;
  display:flex;
  flex-direction:column;
  gap:16px;
}
.contact-form label{
  font-size:13px;
  font-weight:600;
  color:rgba(11,15,20,0.7);
  display:flex;
  flex-direction:column;
  gap:7px;
}
.contact-form input, .contact-form select{
  font-family:var(--font-body);
  font-size:15px;
  padding:11px 13px;
  border:1.5px solid var(--line);
  border-radius:7px;
  background:var(--paper);
  color:var(--ink);
}
.contact-form input:focus, .contact-form select:focus{
  border-color:var(--blue);
  outline:none;
}
.form-note{
  font-size:13.5px;
  color:var(--green);
  font-weight:600;
  min-height:18px;
}

@media (max-width:880px){
  .contact-inner{grid-template-columns:1fr;}
}

/* ============ FOOTER ============ */
.footer{background:var(--ink);padding:70px 24px 36px;}
.footer-inner{max-width:var(--maxw);margin:0 auto;}
.footer-brand{max-width:340px;}
.footer-logo{height:60px;filter:brightness(0) invert(1);opacity:0.9;}
.footer-brand p{
  margin-top:16px;
  font-size:13.5px;
  color:rgba(255,255,255,0.55);
  line-height:1.6;
}
.footer-cols{
  display:flex;
  gap:64px;
  margin-top:44px;
}
.footer-col h5{
  font-family:var(--font-display);
  color:rgba(255,255,255,0.4);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:0.1em;
  margin-bottom:14px;
}
.footer-col a{
  display:block;
  color:rgba(255,255,255,0.75);
  font-size:14.5px;
  padding:5px 0;
}
.footer-col a:hover{color:var(--white);}
.footer-disclosure{
  margin-top:56px;
  padding-top:28px;
  border-top:1px solid rgba(255,255,255,0.1);
}
.footer-disclosure p{
  font-size:12px;
  color:rgba(255,255,255,0.7);
  line-height:1.6;
  max-width:760px;
}
.footer-copyright{margin-top:14px;color:rgba(255,255,255,0.3) !important;}

@media (max-width:600px){
  .footer-cols{flex-direction:column;gap:32px;}
}
